Question: Computational Fluid Dynamics (CFD) Need to solve by using matlab Question 4: Multidimensional Diffusion The multidimensional diffusion equation can be written as - BVPT =

Computational Fluid Dynamics (CFD) Need to solve by using matlab Question 4: Multidimensional Diffusion The multidimensional diffusion equation can be written as - BVPT = 0, where T is temperature and B is the thermal diffusion coefficient. Write a two-dimensional solver using second-order central differences for the second derivative calculations and first order explicit in time for the time derivative. Solve for heat diffusion in a square plate with xe [0, 1] x [0, 1] where the left, bottom, right, and top of the plate are fixed at T = 0 and the top of the plate is at T = 1 using the diffusion coefficient B = 1. (a) Plot the final solution of the heat distribution using the contourf command at T = 10 for the number of grid points ng = ny = 10, 20, 40, 80. (b) Repeat part a) but now with both the top and bottom of the plate at T = 1 (c) Comment on your results. Doe they converge as you refine the grid? Are the boundary conditions being enforced? Computational Fluid Dynamics (CFD) Need to solve by using matlab Question 4: Multidimensional Diffusion The multidimensional diffusion equation can be written as - BVPT = 0, where T is temperature and B is the thermal diffusion coefficient. Write a two-dimensional solver using second-order central differences for the second derivative calculations and first order explicit in time for the time derivative. Solve for heat diffusion in a square plate with xe [0, 1] x [0, 1] where the left, bottom, right, and top of the plate are fixed at T = 0 and the top of the plate is at T = 1 using the diffusion coefficient B = 1. (a) Plot the final solution of the heat distribution using the contourf command at T = 10 for the number of grid points ng = ny = 10, 20, 40, 80. (b) Repeat part a) but now with both the top and bottom of the plate at T = 1 (c) Comment on your results. Doe they converge as you refine the grid? Are the boundary conditions being enforced
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
