fem2d_heat_test, a MATLAB code which calls fem2d_heat(), which solves a 2D heat equation posed in the unit square, using the finite element method (FEM).


The computer code and data files described and made available on this web page are distributed under the MIT license

Related Data and Programs:

fem2d_heat, a MATLAB code which uses the finite element method and the backward Euler method to solve the 2D time-dependent heat equation on an arbitrary triangulated region. In order to run, it requires user-supplied routines that define problem data.

Source Code:

The MATLAB code CONTOUR_SEQUENCE4 can make contour plots from the sequence of solutions:

Last revised on 18 April 2019.