TETHEX
Triangles/Tetrahedrons -> Quadrilaterals/Hexahedrons


TETHEX: examples which illustrate the use of TETHEX, a C++ program which can read a Gmsh file defining a mesh of triangles or tetrahedrons, and subdivide the mesh into quadrilaterals or hexahedrons, which are suitable for use by the DEALII finite element program, by Mikhail Artemiev.

Licensing:

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

Related Data and Programs:

DEALII, examples which illustrate the use of DEAL.II, a finite element method (FEM) Differential Equations Analysis Library (DEAL), by Wolfgang Bangerth and others.

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.

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

TET_MESH_TO_GMSH, a C++ program 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 Gmsh mesh file.

TRIANGULATION_TO_GMSH, a C++ program which reads information defining a trinagulation, namely a file of node coordinates and a file of elements defined by node indices, and creates a corresponding Gmsh mesh file.

Author:

Mikhail Artemiev

Reference:

A brief explanantion, and the current source code for tethex are available at http://code.google.com/p/tethex/wiki/Tethex.

Examples and Tests:

RECTANGLE is a simple mesh of a 2D rectangle. It was created by the MESH2D program, and written out as two files, one of node coordinates and one of triples of node indices that define a triangle. These two files were read by triangulation_to_gmsh, which converted them to a single msh file. Then tethex was used to convert the msh file of triangles into an msh file of quadrilaterals.

You can go up one level to the EXAMPLES directory.


Last revised on 27 May 2013.