Finite Difference Method to solve Heat Diffusion Equation in Two Dimensions.

Heat diffusion equation of the form Ut=a(Uxx+Uyy) is solved numerically. All units are arbitrary.
6.8K Downloads
Updated 12 Jul 2013

View License

This code employs finite difference scheme to solve 2-D heat equation. A heated patch at the center of the computation domain of arbitrary value 1000 is the initial condition. Bottom wall is initialized at 100 arbitrary units and is the boundary condition. As the algorithm marches in time, heat diffusion is illustrated using a movie function at every 50th time step. Code also indicates, if solution reaches steady state within predetermined number of iterations. All the units are arbitrary.

Cite As

Sathyanarayan Rao (2024). Finite Difference Method to solve Heat Diffusion Equation in Two Dimensions. (https://www.mathworks.com/matlabcentral/fileexchange/42604-finite-difference-method-to-solve-heat-diffusion-equation-in-two-dimensions), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Thermal Analysis in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0