A classic example of a diffusion problem with a time-varying boundary condition is the diffusion of...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
A classic example of a diffusion problem with a time-varying boundary condition is the diffusion of heat into the crust of the Earth, as surface temperature varies with the seasons. Suppose the mean daily temperature at a particular point on the surface varies as: 2t To(t) = A + B sin where T = 365 days, A = 10 -C and B = 12 -C. At a depth of 20m below the surface almost all annual temperature variation is ironed out and the temperature is, to a good approximation, a constant 11 -C (which is higher than the mean surface temperature of 10 -C-temperature increases with depth, due to heating from the hot core of the planet). The thermal diffusivity of the Earth's crust varies somewhat from place to place, but for our purposes we will treat it as constant with value D = 0.1 mday' Write a program to calculate the temperature profile of the crust as a function of depth up to 20m and time up to 10 years, using Forward Time Centered Space (FTCS). Instructions: Start with temperature everywhere equal to 10 -C, except at the surface and the deepest point. Choose values for the number of grid points and the time-step h, considering the length scale and time scale of this problem, and making sure to satisfy the stability condition for FTCS. Then run your program for the first nine simulated years, to allow it to settle down into whatever pattern it reaches. Then for the tenth and final year plot four temperature profiles taken at 3-month intervals on a single graph to illustrate how the temperature changes as a function of depth and time. Make sure, by comparing with a larger number of grid points and a smaller time-step h (differing by at least a factor of 2), that your choices for these give accurate results. A classic example of a diffusion problem with a time-varying boundary condition is the diffusion of heat into the crust of the Earth, as surface temperature varies with the seasons. Suppose the mean daily temperature at a particular point on the surface varies as: 2t To(t) = A + B sin where T = 365 days, A = 10 -C and B = 12 -C. At a depth of 20m below the surface almost all annual temperature variation is ironed out and the temperature is, to a good approximation, a constant 11 -C (which is higher than the mean surface temperature of 10 -C-temperature increases with depth, due to heating from the hot core of the planet). The thermal diffusivity of the Earth's crust varies somewhat from place to place, but for our purposes we will treat it as constant with value D = 0.1 mday' Write a program to calculate the temperature profile of the crust as a function of depth up to 20m and time up to 10 years, using Forward Time Centered Space (FTCS). Instructions: Start with temperature everywhere equal to 10 -C, except at the surface and the deepest point. Choose values for the number of grid points and the time-step h, considering the length scale and time scale of this problem, and making sure to satisfy the stability condition for FTCS. Then run your program for the first nine simulated years, to allow it to settle down into whatever pattern it reaches. Then for the tenth and final year plot four temperature profiles taken at 3-month intervals on a single graph to illustrate how the temperature changes as a function of depth and time. Make sure, by comparing with a larger number of grid points and a smaller time-step h (differing by at least a factor of 2), that your choices for these give accurate results.
Expert Answer:
Related Book For
Posted Date:
Students also viewed these computer network questions
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Dale and Roy formed a partnership early this year. Dale contributed $150,000 cash in exchange for a 50% interest in the partnership. Roy contributed land with a tax basis of $90,000, and a fair...
-
Which of the resumes does the best job of portraying each candidate's work experience? a. McDonald's, Peoria, IL, 2000-2001. Part-time cook. Worked 15 hours per week while attending high school....
-
(A) The following is information related to the business of Jasmine Florist Sdn. Bhd. for the year ending 2023. Inventory RM5,000 General and administrative expenses 1,000 Ordinary shares 50,000 Cash...
-
Nevin Company makes three products in its factory: plastic cups, plastic tablecloths, and plastic bottles. The expected overhead costs for the next fiscal year include the following. Nevin uses...
-
How does the database ensure atomicity when inserting multiple related records across different tables? Can you give examples of scenarios where this might be particularly challenging?
-
Jan Nordstrom, a small ski equipment retailer in Utah, is planning inventory for a new pair of ski goggles for the upcoming ski season. He will purchase the ski goggles for $50 each and sell the...
-
Burham Industry needs RM 825,471.70 as a minimum cash requirement to support the firm's day-to-day operations. Hence, Burham Industry implement several strategies that could reduce the cash cycle and...
-
7. a) By means of K-map simplify the following Boolean function G(a,b,c) in the form of SOP and b) draw corresponding logical diagram (circuit). G(a,b,c)-2(0,1,2,3,4,6) 8. a) By means of K-map...
-
(Future value) Selma and Patty Bouvier are twins, and both work at the Springfield DMV. They decide to save for retirement, which is 30 years away. They'll both receive an annual return of 8 percent...
-
Aria Kim is a Marketing Director for Petopia Products, a manufacturer of pet products with an extensive product catalogue and multiple product lines. With her recent promotion, she is responsible for...
-
On October 1, 2018, Aquaman Company purchased inventory from Storm Surge Corporation for euro () 200,000, with payment due on February 1, 2019. On October 1, 2018, Storm Surge delivered the inventory...
-
Find the equation of the tangent line at the indicated domain value. y = square root x; x =16
-
Let (X. A. p) be a measure space. Show that for any A,B A, we have the equality: (AUB)+(An B) = (A) + (B).
-
Which of the following systems undergo a quasistatic process? (a) A gas-containing balloon is popped inside a vacuum container. System: container, gas, and balloon. (b) A cup of coffee cools down....
-
Which is greater in each pair: (a) the thermal energy of a pool of water or that of a glass of water at the same temperature, (b) the heat capacity of a pool of water or that of a glass of water at...
-
(a) During a certain day the outdoor temperature ranges between \(60^{\circ} \mathrm{F}\) and \(80^{\circ} \mathrm{F}\). What is the corresponding range in degrees Celsius and in kelvins? (b) The...
Study smarter with the SolutionInn App