fem2d_poisson_rectangle_test
fem2d_poisson_rectangle_test,
a MATLAB code which
calls fem2d_poisson_rectangle(), which
solves the 2D Poisson equation using the finite element method (FEM),
and piecewise quadratic basis functions.
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:
fem2d_poisson_rectangle,
a MATLAB code which
solves the 2D Poisson equation on a rectangle,
using the finite element method,
and piecewise quadratic triangular elements.
Source Code:
-
rectangle_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);
-
rectangle_nodes.txt,
a text file containing a list, for each node, of its X and Y
coordinates;
-
rectangle_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);
-
rectangle_elements.txt,
a text file containing a list, for each element, of the six
nodes that compose it;
-
rectangle_solution.txt,
a text file containing a list, for each node, of the value
of the solution;
Last revised on 13 July 2023.