fem_to_medit


fem_to_medit, a Fortran90 code which reads a pair of FEM files defining the node coordinates and elements of a finite element mesh, and rewrites the data as a medit() MESH file.

The code can convert 2D meshes of triangles, or 3D meshes of tetrahedrons.

Usage:

fem_to_medit prefix
where prefix is the file name prefix, so that:

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

fem_to_medit is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version.

Related Data and codes:

fem_to_medit_test

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.

mesh, 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, a Fortran90 code 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, a Fortran90 code which reads data defining a triangulation, determines which nodes lie on the boundary, and writes their coordinates to a file.

Reference:

  1. Pascal Frey,
    MEDIT: An interactive mesh visualization software,
    Technical Report RT-0253,
    Institut National de Recherche en Informatique et en Automatique,
    03 December 2001.

Source Code:


Last revised on 24 February 2023.