tet_mesh_to_xml


tet_mesh_to_xml, a MATLAB code which reads a file of node coordinates and a file of elements defined by node indices, which define a tetrahedral mesh of a 3D region in terms of 4, 10, or 20-node tetrahedrons, and creates a corresponding DOLFIN XML mesh file.

DOLFIN is the C++ interface to FENICS.

Usage:

tet_mesh_to_xml ( 'prefix' )
where prefix is the common filename prefix:

Licensing:

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

Languages:

tet_mesh_to_xml 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 mesh file from gmsh, medit, metis or scotch format to an xml format suitable for use by dolfin or fenics, by anders logg.

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

tet_mesh_l2q, a MATLAB 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 MATLAB code which takes a 10-node tet mesh and makes a 4-node tet mesh.

tet_mesh_to_xml_test

triangulation_to_xml, a MATLAB code 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 dolfin xml mesh file.

xml, a data directory which contains examples of xml files, a standard, general datafile format.

Reference:

  1. Anders Logg, Kent-Andre Mardal, Garth Wells,
    Automated Solution of Differential Equations by the Finite Element Method: The FEniCS Book,
    Lecture Notes in Computational Science and Engineering,
    Springer, 2011,
    ISBN13: 978-3642230981,
    LC:

Source Code:


Last revised on 02 April 2019.