Question: I need help with both the Matlab code and using the finite difference method Finite Difference Method with Matlab Program A very tall and long
I need help with both the Matlab code and using the finite difference method
Finite Difference Method with Matlab Program A very tall and long wall has a thickness of 0.2 m. Air flows past both sides of the wall and has the temperature Too = 5C. The convection coefficient is h= 10 W/m.K, the thermal conductivity of the wall is k = 0.5 W/mK, and the thermal diffusivity is a = 0.5x10-6 m/s. The initial temperature of the wall is T; = 45C. We are interested to know the Toth temperatures at the centerline (x = 0.1 m) and 0.05 m below the surface (x = 0.05 m) of the wall at various times. Problem 1. Use the finite difference method and Matlab to calculate and plot: a) The temperatures at x = 0.05 m and 0.1 m in the wall as a function of time (until steady-state is reached). [Plot both temperatures in one single graph.] b) The temperature distribution T(x,t) in the wall at t=0 min. 30 min. 2 hours, and the steady state). [T(x,t) for all four times should be plotted on a single graph.] c) The heat flux through the wall surface as a function of time (until steady-state is reached). Problem 2. Compare your finite difference solutions with the analytical solutions for T(0.05 m, 30 min) and T(0.1 m, 2 h) Problem 3. If the air temperature at the left wall suddenly changed to -20C at t=2 h, find the temperatures at x = 0.05 m, 0.1 m, and 0.15 m in the wall at t= 3 h and 5 h
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
