GMSH_IO
Read and Write GMSH Mesh files


GMSH_IO, a MATLAB library which can read and write the files used by the GMSH meshing program.

Licensing:

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

Languages:

GMSH_IO 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_TO_GMSH, a MATLAB program 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.

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_test

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

MSH, a data directory of examples of MSH files, the native 3D mesh format used by Gmsh.

Reference:

  1. Christophe Geuzaine, Jean-Francois Remacle,
    Gmsh: a three-dimensional finite element mesh generator with built-in pre- and post-processing facilities,
    International Journal for Numerical Methods in Engineering,
    Volume 79, Number 11, pages 1309-1331, 2009.

Source Code:


Last revised on 24 January 2019.