Develop a MATLAB code to solve the FTCS 2D heat diffusion equation -AV f in a...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Develop a MATLAB code to solve the FTCS 2D heat diffusion equation -AV² f in a domain (x,y)= (0,1)x(0,1) with initial condition: f(x,y,0)= x(1-x)y(1-y)= f(x,y) and boundary conditions: f(x,0,t)= f(x,l,t) = f(0, y,t)=f(1,y,t)=0. at Use the following parameters: x=0.1; Ay= Ax=0.05; At=(Ax² /x)/4;1=20At Generate a solution and compare to the series analytical solution 120-n'r [-1]+12nn-1] +24+24 [1])(-2+2[-]"). N (x,y)= Σ Σ series n'x¹m² n-1m-1 series (a) Show a surface plot of fari. (x,y,0)-f(x,y) (this quantity should be (10) Question: Why do this test? (b) In a second surfate plot shown fres(X,Y,tat) (c) In a third surface plot show Frics (X,Ust float)-Series (X,Y,t final) FICS (d) Report L_ norm for the error. This number should be (10) CIN =100]: Lxsin(nxx)sin(mzy)e series Develop a MATLAB code to solve the FTCS 2D heat diffusion equation -AV² f in a domain (x,y)= (0,1)x(0,1) with initial condition: f(x,y,0)= x(1-x)y(1-y)= f(x,y) and boundary conditions: f(x,0,t)= f(x,l,t) = f(0, y,t)=f(1,y,t)=0. at Use the following parameters: x=0.1; Ay= Ax=0.05; At=(Ax² /x)/4;1=20At Generate a solution and compare to the series analytical solution 120-n'r [-1]+12nn-1] +24+24 [1])(-2+2[-]"). N (x,y)= Σ Σ series n'x¹m² n-1m-1 series (a) Show a surface plot of fari. (x,y,0)-f(x,y) (this quantity should be (10) Question: Why do this test? (b) In a second surfate plot shown fres(X,Y,tat) (c) In a third surface plot show Frics (X,Ust float)-Series (X,Y,t final) FICS (d) Report L_ norm for the error. This number should be (10) CIN =100]: Lxsin(nxx)sin(mzy)e series
Expert Answer:
Answer rating: 100% (QA)
To solve the 2D heat diffusion equation using the Forward Time Centered Space FTCS method in MATLAB ... View the full answer
Related Book For
Numerical Methods With Chemical Engineering Applications
ISBN: 9781107135116
1st Edition
Authors: Kevin D. Dorfman, Prodromos Daoutidis
Posted Date:
Students also viewed these programming questions
-
What criteria to consider when selecting an app for partnership to cross promote each other's app on the Google Play Store? Include source.
-
Supply and Demand. Given the following data for individuals, draw the market demand curve and market supply curve for CDs. Assume that these are the only individuals in the entire market. Price is...
-
Let a function f be the line graph connecting the data points (1, 2), (4,9), and (6,3). (a) Write the formula for a piecewise-linear function f that passes through these data points whose domain is 1...
-
Solve Prob. 13.130, assuming that a constant braking force of 19 kN is applied to car B but the brakes on car A are not applied.
-
At Livermore Delivery and Courier Service the following items were found to cause a difference between the bank statement and the firm's records. Indicate whether each item will affect the bank...
-
What do you like best about working at this company?
-
Feeble Co. on January 1, 2011 initiated a noncontributory, defined-benefit pension plan that grants benefits to its 100 employees for services rendered in years prior to the adoption of the pension...
-
A square insulating plate, 2 meters by 2 meters, lies flat on the floor. A total charge Q = 8 10-8 C is distributed uniformly on the sheet. A pith ball (a small non-conducting ball made of a light...
-
Sunrise Bakery Expansion The Sunrise Bakery Corporation was originally founded in Houston, TX in 1991 by Griffin Harris, who currently serves as the company's Chief Executive Officer. About four...
-
You can find a long list of experts in scholarly articles by looking at the _ _ _ _ _ _ _ _ . Encyclopedia of Associations phone book organization guidebook Internet
-
What feature or characteristic of the development process does 'The New Service Development Cycle'diagram emphasize? What is a benefit and a disadvantage of that emphasis? How does the diagram...
-
Define a Bank Reconciliation and why they are done. Why are they important to the company? Discuss which internal control principles you think are the most important to safeguard cash receipts and...
-
References: Valacich, J. S., Schneider, C., & Hashim, M. (2022). Information Systems Today: Managing in the Digital World (9th ed.). Pearson. 9780136735854 2-1. Compare and contrast the...
-
A series of numbers follows the pattern T_(n)=n^(2), where T_(n) represents the value of the term and n represents the position of the term in the series. Find the value of T_(n) when n is 35 .
-
3). Which expression will make a random number generator that can only generate integers between 0 and 1 generate numbers between 94 and 140? A). R*94 - 46 B). R*94+46 C). R*140 46 - D). R*47+95 E)....
-
What is interest? O Return on capital. An equity investment. Payment for the use of money. O None of the above.
-
(a) With not more than 300 words, examine why Malaysia missed its 2020 targets to divert 40% of waste from landfills and increase recycling rates to 22%. (10 marks) b) Why arent Malaysian recycling?...
-
Solve Eq. (1.2.70) subject to an initial condition c(x, 0) = 1 and homogeneous boundary conditions at x = 0 and x = L. at a2c = D 32 (1.2.70)
-
What ODE is solved by the following MATLAB code and what method is used? Include the initial condition in your answer. 1 function problem4_23 2 3 4 nsteps = 100; y = 1; t = 0; h = 0.01; 5 6 g=figure;...
-
Lets assume we have a computer that can solve a 100 100 system in 1 second using Gauss elimination. Estimate the time required to solve the following problems on the same computer. You must indicate...
-
Mega Tech, Inc. designs and manufactures automotive components. For years, the company enjoyed a stable marketplace, a small but loyal group of customers, and a relatively predictable environment....
-
Describe the features of a project. How do they differ from day-to-day processes within an organization?
-
In 2003, the Department of Health and Human Services in Victoria, Australia, initiated a AU$323 million project to develop HealthSMART, an integrated IT system that would deliver resource management,...
Study smarter with the SolutionInn App