fem2d_heat_rectangle_test, a FORTRAN90 code which calls fem2d_heat_rectangle(), which solves the time-dependent 2D heat equation using the finite element method in space, and a method of lines in time with the backward Euler approximation for the time derivative, over a rectangular region with a uniform grid.


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

Related Data and codes:

fem2d_heat_rectangle, a FORTRAN90 code which uses the finite element method (FEM) to solve the 2D time dependent heat equation on the unit square, using a uniform grid of triangular elements.

Source Code:

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

Last revised on 08 July 2020.