Recall the heat equation which we solved numerically T= = DTxx There we implemented an explicit...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Recall the heat equation which we solved numerically T₁= = DTxx There we implemented an explicit numerical scheme (FTCS) which led to a conditionally stable solution - meaning that for certain time step values our solution would be unstable. The recent lecture introduced an implicit numerical scheme known as the Backwards in Time Central in Space (BTCS) method, which is expressed below: (1+20) T+¹oT+1-oT!+1 DAt where o = This scheme is unconditionally stable, meaning we can choose any arbitrarily large step size and the solution is always stable. (Δ.x)2 In the tutorial you began by using the brute force solution method, which involves solving a matrix equation each timestep. The Thomas algorithm (pseudocode provided more efficient approach at solving the same system of equations. = Th is a much The Thomas algorithm splits the lower, major and upper diagonal into 3 one dimensional arrays a, b and c, respectively. It uses these vectors in a forward elimination phase and backward substitution phase to determine Tnp1, which is the temperature at the next timestep. Your MATLAB function should take as input dx, dt, nt (space discretization step, timestep size in seconds, and number of timepoints), and output Tn, a, b, c, m (the final temperature distribution, and the intermediate variables used in the Thomas algorithm). You MUST use the Thomas algorithm and ensure you include the variables a, b, c, and m in your code, which match the pseudocode described in the lecture slide. Recall the heat equation which we solved numerically T₁= = DTxx There we implemented an explicit numerical scheme (FTCS) which led to a conditionally stable solution - meaning that for certain time step values our solution would be unstable. The recent lecture introduced an implicit numerical scheme known as the Backwards in Time Central in Space (BTCS) method, which is expressed below: (1+20) T+¹oT+1-oT!+1 DAt where o = This scheme is unconditionally stable, meaning we can choose any arbitrarily large step size and the solution is always stable. (Δ.x)2 In the tutorial you began by using the brute force solution method, which involves solving a matrix equation each timestep. The Thomas algorithm (pseudocode provided more efficient approach at solving the same system of equations. = Th is a much The Thomas algorithm splits the lower, major and upper diagonal into 3 one dimensional arrays a, b and c, respectively. It uses these vectors in a forward elimination phase and backward substitution phase to determine Tnp1, which is the temperature at the next timestep. Your MATLAB function should take as input dx, dt, nt (space discretization step, timestep size in seconds, and number of timepoints), and output Tn, a, b, c, m (the final temperature distribution, and the intermediate variables used in the Thomas algorithm). You MUST use the Thomas algorithm and ensure you include the variables a, b, c, and m in your code, which match the pseudocode described in the lecture slide.
Expert Answer:
Answer rating: 100% (QA)
Point 1 Inlet air conditions t1 34C 70 RH Point 3 Exit air condition t... View the full answer
Posted Date:
Students also viewed these mechanical engineering questions
-
An air conditioning system is to take in air at 1 atm, 32oC, 65% relative humidity and deliver it at 22oC, 40% relative humidity. Air flows first over the cooling coils, where it is cooled and...
-
An air-conditioning system is to take in air at 1 atm, 34C, and 70 percent relative humidity and deliver it at 22C and 50 percent relative humidity. The air flows first over the cooling coils, where...
-
The solubility of Xe in water at 1 atm pressure and 20 oC is approximately 5 10-3. Compare this with the solubilities of Ar and Kr in water (Table 13.1) and explain what properties of the rare gas...
-
How do you ensure data quality?
-
Refer to E3-8 for information regarding Ridgecrest Company. Required Complete all requirements for E3-8 using the FIFO method. 1. Reconcile the number of physical units worked on during the period....
-
Prove that sec = 1/cos .
-
A pictorial or graphical representation of the overall flow of work, documents, and operations in an application system is shown in a(n) ( _____________ ). (a) IPO chart (b) forms distribution chart...
-
Baker, Inc., supplies wheels for a large bicycle manufacturing company. The bicycle company has recently requested that Baker decrease its delivery time. Baker made a commitment to reduce the lead...
-
Central Limit Theorem 2. It has been estimated that 15% of the people in Corner Brook will buy a Season Pass to the Marble Mountain Ski Resort this year. If we randomly selected 76 people from the...
-
Response rates to Web surveys are typically low, partially due to users starting but not finishing the survey. The factors that influence response rates were investigated in Survey Methodology (Dec....
-
A cube with side length 10 Angstroms has electrons affixed at each corner. To be clear, each corner has just one electron and the center of the cube is at the origin of the coor- dinate system. The...
-
The Greensboro Performing Arts Center (GPAC) has a total capacity of 9,100 seats: 2,500 center seats, 3,000 side seats, and 3,600 balcony seats. The budgeted and actual tickets sold for a Broadway...
-
QUESTION 4 ( 4 Marks ) Fully explain what is meant by the following terms in relation to a security or a fund. a) Alpha b) Beta Question 6 (4 Marks) Use the following information for a bond to...
-
PT Saratoga Investama Sedaya Tbk (SRTG) is a leading investment company in Indonesia, which was founded in 1997 and then became publicly listed on the Indonesian Stock Exchange (IDX) in 2013. As of...
-
Evaluate California law A.B. 2222. Does it go too far in protecting the rights of employees with disabilities? Solve Break into two groups, with one arguing the need for the provision of the law and...
-
Delta Company produces a single product. The cost of producing and selling a single unit of this product at the company's normal activity level of 60,000 units per year is: Direct materials Direct...
-
Pre-Financing Post-Financing Security # of Shares %alvavalue # of Shares % Common - Founder 1 50% 600,000 do % Common - Founder 2 25% 300,000 % Common - Founder 3 Common Employee 150,000 12.5%...
-
Aztec Furnishings makes hand-crafted furniture for sale in its retail stores. The furniture maker has recently installed a new assembly process, including a new sander and polisher. With this new...
-
Draw a project balance chart for Problem 17. Data From Problem 17: 17. Your company is looking at purchasing a dump truck at a cost of $65,000. The truck would have a useful life of five years. At...
-
Canfield Manufacturing, Inc., operates a plant that produces its own regionally marketed Spicy Steak Sauce. The sauce is produced in two processes, blending and bottling. In the Blending Department,...
-
Draw a project balance chart for Problem 18. Data From Problem 18: 18. Your company is looking at purchasing a loader at a cost of $125,000. The loader would have a useful life of
Study smarter with the SolutionInn App