tet_mesh_to_gmsh


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

The code reads a node coordinate file listing the coordinates of a set of 3D points, and an element file list of 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 computer code and data files made available on this web page are 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 program 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, an Octave code which includes a variety of routines for working with tetrahedral meshes.

tet_mesh_display, an Octave code which can read in the node and tetra files defining a tet mesh and display a wireframe image.

tet_mesh_l2q, an Octave code which takes a 4-node tet mesh and makes a 10-node tet mesh.

tet_mesh_order4, a dataset directory which contains examples of order 4 tetrahedral meshes.

tet_mesh_order10, a dataset directory which contains examples of order 10 tetrahedral meshes.

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

tet_mesh_q2l, an Octave code which takes a 10-node tet mesh and makes a 4-node tet mesh.

tet_mesh_to_xml, an Octave code which reads information defining a tet mesh, namely a file of node coordinates and a file of elements defined by node indices, and creates a corresponding dolfin() XML mesh file.

triangulation_to_gmsh, an Octave 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 07 July 2023.