fem2d_heat_rectangle_test
fem2d_heat_rectangle_test,
a MATLAB 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.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the MIT license
Related Data and Programs:
a MATLAB code 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.
Source Code:
-
elements.png,
a PNG image of
the elements, for NX = NY = 7 (the picture is
hard to read for larger values of NX and NY);
-
elements.txt,
a text file containing a list, for each element, of the six
nodes that compose it;
-
nodes.png,
a PNG image of
the nodes, for NX = NY = 7 (the picture is
hard to read for larger values of NX and NY);
-
nodes.txt,
a text file containing a list, for each node, of its X and Y
coordinates;
-
time.txt,
a text file containing the solution times;
-
u0000.txt,
the solution U at time step 0;
Last revised on 04 January 2020.