gmsh_to_fem


gmsh_to_fem, a MATLAB code 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.

Usage:

gmsh_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 MIT license

Languages:

gmsh_to_fem is available in a C version and a C++ 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 MATLAB code which reads or writes node, element and data files defining a model associated with the finite element method (FEM).

fem_to_gmsh, a MATLAB 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.

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, examples which illustrate the use of the Gmsh program, a 1D, 2D or 3D mesh generator that can create meshes suitable for use by the finite element method (FEM).

gmsh_io, a MATLAB code which can read or write some of the files created by the Gmsh program for 1D, 2D or 3D meshes used by the finite element method (FEM).

gmsh_to_fem_test

triangle_to_fem, a MATLAB code which reads the NODE and ELE files created by triangle() to describe a triangular mesh, and writes a corresponding pair of node and element files in the 2D FEM format.

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:


Last revised on 24 January 2019.