fem2d_heat_test, a MATLAB program which calls fem2d_heat() to solve 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 GNU LGPL license.

Related Data and Programs:

fem2d_heat, a MATLAB program 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 program CONTOUR_SEQUENCE4 can make contour plots from the sequence of solutions:

Last revised on 18 April 2019.