FEM_TO_MESH is a MATLAB program which reads a pair of FEM files defining the node coordinates and elements of a finite element mesh, and rewrites the data as a MESH file.
The program can convert 2D meshes of triangles, or 3D meshes of tetrahedrons.
fem_to_mesh prefixwhere prefix is the file name prefix, so that:
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
FEM_TO_MESH is available in a C++ version and a FORTRAN90 version and a MATLAB version.
FEM_TO_TEC is a MATLAB program which converts FEM models into TECPLOT ASCII files.
FEM2D, a data directory which contains examples of 2D FEM files, text files that describe a 2D finite element geometry and associated nodal values;
FEM3D, a data directory which contains examples of 3D FEM files, three text files that describe a 3D finite element geometry and associated nodal values.
ICE_TO_MESH is a MATLAB program which reads a NETCDF file containing an ICE dataset and rewrites the information as a MESH file.
MESH is a data directory which contains examples of MESH files, which can be used to define the geometry of a finite element mesh in 2D or 3D, using triangles, quadrilaterals, tetrahedrons or hexahedrons.
TET_MESH_BOUNDARY is a MATLAB program which returns the nodes and faces of the boundary of a tetrahedral mesh, which themselves form a 3D triangular mesh or "TRI_SURFACE".
TRIANGULATION_BOUNDARY_NODES is a MATLAB program which reads data defining a triangulation, determines which nodes lie on the boundary, and writes their coordinates to a file.
ELL is a 2D L-shaped region, with a grid of 65 nodes and 96 elements of order 3 triangles.
P01 is 3D FEM data for a rectangular channel of dimensions 3x1x1 physical units, using 584 nodes and 2568 tetrahedral elements.
You can go up one level to the MATLAB source codes.