gmsh_io, a Fortran90 code which can read and write the files used by the gmsh() meshing program.


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


gmsh_io 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 Programs:


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

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_to_fem, a Fortran90 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.

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


  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 11 July 2020.