tet_mesh_q2l, a Fortran90 code which reads information describing a tet mesh of a set of points using 10-node ("quadratic") triangles, and creates a 4-node ("linear") tet mesh.
The same nodes are used, but each 10-node tetrahedron is broken up into 8 smaller 4-node tetrahedrons.
tet_mesh_q2l prefixwhere prefix is the common file prefix:
The input and output files use the simple TABLE format; comment lines begin with a "#" character. Otherwise, each line of the file contains one set of information, either the coordinates of a node (for a node file), or the indices of nodes that make up a tetrahedron, (for a tetrahedron file).
The input file tetras.txt contains the tetrahedron information for the 10-node tet mesh. Each line contains the indices of 10 nodes that form a tetrahedron, in a particular order. The first 4 indices are the vertices. Subsequent nodes can be described by the pair of vertices they lie between, as follows:
1 2 3 4 (1+2) (1+3) (1+4) (2+3) (2+4) (3+4)
The output file tetras.l2q.txt contains the tetrahedron information for the 4-node tet mesh.
The information on this web page is distributed under the MIT license.
tet_mesh_q2l is available in a C++ version and a Fortran90 version and a MATLAB version and an Octave version.
cvt_tet_mesh, a Fortran90 code which uses CVT methods to compute a tet mesh in a region.
geompack, a Fortran90 code which contains a routine DTRIS3() that can compute the tet mesh for a set of 3D points, as well as the adjacency information.
table_tet_mesh, a Fortran90 code which can compute the tet mesh for a given set of points.
test_tet_mesh, a Fortran90 code which defines a few test regions for the generation of a tet mesh.
tet_mesh, a Fortran90 code which includes a variety of routines for working with tetrahedral meshes.
tet_mesh_display, a MATLAB code which reads the node and tetra files defining a tet mesh and displays a wireframe image.
tet_mesh_display_opengl, a C++ code which reads a tet mesh and displays the nodes and edges using OpenGL.
tet_mesh_l2q, a Fortran90 code which takes a 4-node tet mesh and makes a 10-node tet mesh, by inserting new nodes.
tet_mesh_order4, a directory which contains a description and examples of a tet mesh using order 4 elements.
tet_mesh_order10, a directory which contains a description and examples of a tet mesh using order 10 elements.
tet_mesh_quality, a Fortran90 code which computes the quality of a mesh.
tet_mesh_rcm, a Fortran90 code which takes a 4-node or 10-node tet mesh and relabels the nodes to reduce the bandwidth of the corresponding adjacency matrix.
tet_mesh_refine, a Fortran90 code which refines a tet mesh.
tet_mesh_tet_neighbors, a Fortran90 code which computes the tetrahedral adjacency information.
tet_mesh_volumes, a Fortran90 code which computes the volume of each tetrahedron in a tet mesh;
tetrahedron, a Fortran90 code which computes properties of a given tetrahedron.
tetrahedrons, a dataset directory which contains examples of tetrahedrons;
You may copy data for an example problem:
You can go up one level to the Fortran90 source codes.