tet_mesh_to_gmsh


tet_mesh_to_gmsh, a C++ code which converts a pair of files defining a tetrahedral mesh into an equivalent file using the gmsh() format.

In particular, the code reads a node coordinate file listing the coordinates of a set of 3D points, and an element file list sets of 4, 10 or 20 nodes that form tetrahedral elements. It creates a single equivalent file in the Gmsh msh format.

Usage:

tet_mesh_to_gmsh prefix
where

Licensing:

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

Languages:

tet_mesh_to_gmsh is available in a C++ version and a Fortran90 version and a MATLAB version and an Octave version.

Related Programs:

tet_mesh_to_gmsh_test

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

gmsh, examples which illustrate the use of the Gmsh program, a 3D mesh generator for the finite element method (FEM).

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

tet_mesh, a C++ code which includes a variety of routines for working with tetrahedral meshes.

tet_mesh_l2q, a C++ code which takes a 4-node tet mesh and makes a 10-node tet mesh.

tet_mesh_order4, a dataset directory which contains a description and examples of a tet mesh using order 4 elements.

tet_mesh_order10, a dataset directory which contains a description and examples of a tet mesh using order 10 elements.

tet_mesh_order20, a dataset directory which contains examples of order 20 tetrahedral meshes.

tet_mesh_q2l, a C++ code which takes a 10-node tet mesh and makes a 4-node tet mesh.

tet_mesh_to_xml, a C++ code which reads information defining a tet mesh, namely a file of node coordinates and a file of elements defined by node in

triangulation_to_gmsh, a C++ code which converts the data defining a triangulation into an equivalent Gmsh msh file.

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 29 April 2020.