fem_to_medit, a C++ code which reads a set of FEM files defining the node coordinates, boundary nodes, 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.
fem_to_medit prefixwhere prefix is the file name prefix, so that:
The information on this web page is distributed under the MIT license.
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.
fem_to_gmsh, a C++ code which reads FEM files definining a 1D, 2D or 3D mesh, namely a file of node coordinates and a file of elements defined by node indices, and creates a Gmsh mesh file.
fem_to_triangle, a C++ code which reads FEM files defining a 2D mesh of triangles, namely a file of node coordinates and a file of elements defined by node indices, and creates a corresponding pair of node and element files for use by Jonathan Shewchuk's triangle code.
fem_to_xml, a C++ code which reads FEM files defining a 1D, 2D or 3D mesh, namely a file of node coordinates and a file of elements defined by node indices, and creates a corresponding XML file for input to DOLFIN or FENICS.
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.
medit, a data directory which contains examples of files which can be used by the MEDIT code 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 code 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 code is by Pascal Frey.
medit_to_fem, a C++ code which reads a mesh file created by the MEDIT code and writes a corresponding pair of node and element files that correspond to the FEM format.
triangle_to_medit, a C++ code which reads the NODE and ELE files created by triangle() to describe a triangular mesh, and writes a corresponding MESH file for input to medit().
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 C++ source codes.