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.

You are now following this Submission

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 (2026). Finite Difference Method to solve Heat Diffusion Equation in Two Dimensions. (https://nl.mathworks.com/matlabcentral/fileexchange/42604-finite-difference-method-to-solve-heat-diffusion-equation-in-two-dimensions), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Thermal Analysis in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0