Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please use MATLAB for the coding. Please include the .m file too. Develop a MATLAB code to solve the FTCS 2D heat diffusion equation -AV'f
Please use MATLAB for the coding. Please include the .m file too.
Develop a MATLAB code to solve the FTCS 2D heat diffusion equation -AV'f in a domain (x,y)e(o,l)x(o,1 with initial condition: f(x.y ot and boundary conditions:(xo,t)-f(xLt)-f(o.y.t)-(yt)-o (Ar2 / K) / 4 ; tfinal-80At Use the following parameters: K-o1 ; y-Ar-oos , a Generate a solution and compare to the analytical solution given by [from lecture notes -1 ml a) Show a surface plot of |fros(x,yo)-f-(x,y,0) (Hint: with # of models 50, this number should be O(10-3) ). b) In a second surface plot show xy Report L norm for the error Develop a MATLAB code to solve the FTCS 2D heat diffusion equation -AV'f in a domain (x,y)e(o,l)x(o,1 with initial condition: f(x.y ot and boundary conditions:(xo,t)-f(xLt)-f(o.y.t)-(yt)-o (Ar2 / K) / 4 ; tfinal-80At Use the following parameters: K-o1 ; y-Ar-oos , a Generate a solution and compare to the analytical solution given by [from lecture notes -1 ml a) Show a surface plot of |fros(x,yo)-f-(x,y,0) (Hint: with # of models 50, this number should be O(10-3) ). b) In a second surface plot show xy Report L norm for the errorStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started