Question: 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 error
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
