MEDIT_TO_FEM
Convert Mesh Data from MEDIT to FEM Format.


MEDIT_TO_FEM is a C++ program which reads a mesh file created by the MEDIT program and writes a corresponding pair of node and element files that correspond to the FEM format.

Usage:

medit_to_fem prefix
where prefix is the common filename prefix so that:

Licensing:

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

Languages:

MEDIT_TO_FEM is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

DOLFIN-CONVERT, a Python program which can convert a mesh file from Gmsh, MEDIT, METIS or SCOTCH format to an XML format suitable for use by DOLFIN or FENICS, by Anders Logg.

FEM_IO, a C++ library which reads or writes node, element and data files defining a model associated with the finite element method (FEM).

FEM2D, a data directory which contains examples of 2D FEM files, a pair of files defining the coordinates of nodes, and the nodes that form triangular elements.

GMSH_TO_FEM, a C++ program which reads a mesh data file created by the GMSH program and writes a pair of node and element files that correspond to the FEM format.

MEDIT, a data directory which contains examples of files which can be used by the MEDIT program to define a 2D or 3D mesh for use by the finite element method (FEM), using triangles, quadrilaterals, tetrahedrons or hexahedrons.

MEDIT, examples which illustrate the use of medit, an interactive graphics program developed to visualize numerical simulation results on unstructured meshes in two and three dimensions. Scalar, vector and tensor fields can be easily associated and displayed with meshes. The program is by Pascal Frey.

MEDIT_IO, a C++ library which can read or write files used by the MEDIT program, which can be used to define the a mesh associated with the finite element method (FEM) in 2D or 3D, using triangles, quadrilaterals, tetrahedrons or hexahedrons.

XML_TO_FEM, a Python program which reads an XML file created by FENICS or DOLFIN, describing a mesh in 1D, 2D, or 3D, and creates corresponding FEM files, namely, a file of node coordinates, and a file of element connectivities.

Source Code:

Examples and Tests:

CUBE86 is a 3D mesh of tetrahedrons.

ELL is a 2D mesh of triangles.

List of Routines:

You can go up one level to the C++ source codes.


Last revised on 08 November 2014.