The Simplex Package

Simplicial Quality Measures

For the finite element method, the simplicial elements of the mesh should be ``well-shaped'' to ensure accuracy and stability of the solution.

Large angles reduce interpolation accuracy. Small or large angles increase the condition number of the stiffness matrix. Poorly conditioned elements slow down solvers and introduce large roundoff errors.

Below are the nine ways the vertices of a tetrahedron may become nearly colinear or coplanar.

poor_quality_tetrahedra.jpg

Degenerate tetrahedra.

Geometric Quality Metrics

Geometric quality metrics are a function of the geometry of the simplex

geometric_quality.jpg

The dihedral angle and the insphere and circumsphere used to calculate the aspect ratio.

Algebraic Quality Metrics

Algebraic quality metrics are a function of the Jacobian matrix of the affine map that transforms the reference (equilateral) simplex to the physical simplex. The $ N \times N $ Jacobian matrix $ S $ has information about the volume, shape and orientation of the element.

In 3-D, the condition number metric is $ \displaystyle \kappa(S) = \frac{ |S| }{ |S^{-1}| } $. $ S $ becomes singular when the element volume vanishes. $ \kappa(S) $ measures the distance from singular matrices.

In 3-D, the mean ratio metric is $ \eta(S) = \displaystyle \frac{ |S|^2 }{ 3 \mathrm{det}(S)^{2/3} } $.

These metrics are unity for the equilateral tetrahedron and are singular for tetrahedron of zero volume.

These two algebraic quality metrics have a number of desirable properties.

Metrics for Inverted Elements

Because of their singularities, these algebraic metrics cannot be used to optimize meshes with inverted elements. Even for good quality meshes, the optimization algorithm may assess the quality of inverted elements in trying to improve the mesh.

We implement the condition number and mean ratio metrics presented in ``Simultaneous Untangling and Smoothing of Tetrahedral Meshes'' by Escobar et al. They modified the metrics to be defined for inverted elements.

triangle_height.jpg

Iscosoles triangle of varying height.

mod_mean_ratio.jpg

The modified and unmodified mean ratio metrics for the triangle are shown in blue and red, respectively.

Content

The Simplex package has algebraic quality metrics for simplices (triangles, tetrahedra, etc.). There are four quality functions: condition number, modified condition number, mean ratio and modified mean ratio. The condition number and mean ratio metrics are defined for simplices with positive content (hypervolume). The modified versions are defined for simplices with positive, zero and negative content.

This package has implementations of the work presented in ``Simultaneous Untangling and Smoothing of Tetrahedral Meshes'' by Escobar et al. in Computer Methods in Applied Mechanics and Engineering, 192 (2003) 2775-2787. Also see:

Classes

The four classes which implement the quality metrics are:

These quality metric clases inherit or use functionality from the following classes.

Finally, there are classes for assessing the quality of a complex of simplices that are adjacent to a vertex.

Use these classes by including the file geom/mesh/simplex.h .

Generated on Thu Jun 30 02:14:58 2016 for Computational Geometry Package by  doxygen 1.6.3