Definitioncore
Scaled Jacobian
Also called scaled Jacobian quality.
The determinant of the element Jacobian at a corner divided by the product of the edge lengths there, 1 for a cube and at most 0 for an inverted element.
The scaled Jacobian of a mesh element is the determinant of the edge vectors at a corner divided by the product of their lengths, minimized over the corners. It is 1 for a square or a cube corner, it is near 0 for a flat or badly skewed element, and it is negative when the element is inverted. Hexahedral and quadrilateral meshers report it first, because a non-positive value means that the element map is not invertible and the finite element computation fails.
Definition
Corner value. Let be a corner of an element in , or , and let be the vectors from along the element edges at , in the order that gives a positive determinant for a correctly oriented element. The corner value is
For a triangle or a quadrilateral, , where is the interior angle at , and it is negative at a reflex corner. The name comes from the element map. The bilinear map of a quadrilateral, the trilinear map of a hexahedron and the linear map of a simplex all have the edge vectors as the columns of their Jacobian matrix at the corner . So is the Jacobian there, and is that Jacobian scaled by the edge lengths.
Element value. For a quadrilateral or a hexahedron, over the 4 or 8 corners. A simplex needs a normalization, because the regular simplex does not have right angles. For a triangle, . For a tetrahedron, . Codes differ in these constants, so a reported value needs its convention.
As a quality measure. Larger is better. For quadrilaterals and hexahedra the range is with ideal value 1, reached exactly by rectangles and boxes. For triangles the range is and for tetrahedra , with ideal value 1, reached exactly by the regular simplex. The measure detects inversion (a value at most 0) and angular distortion: skew, flat corners and slivers. It does not detect stretching. A box has , so the measure is used with an aspect ratio or an edge ratio. It is one of the mesh quality measures.
Range of a corner value. By the Hadamard bound, , with equality for nonzero vectors if and only if they are pairwise orthogonal. So , and if and only if the edges at are orthogonal and positively ordered. A box has orthogonal edges at every corner, so its value is 1, and a quadrilateral or a hexahedron with every corner value 1 has right angles everywhere and is a rectangle or a box.
Invariance. A translation does not change the edge vectors. A rotation has and keeps lengths, so . Scaling one edge vector by multiplies the determinant and the product of lengths by . So is invariant under translations, rotations, uniform scaling, and independent scaling of the edges at the corner. A reflection changes the sign of every , which is how the measure detects inversion. A shear or a general affine map changes the value.
Theorem (positivity of the bilinear map). Let a quadrilateral have the bilinear map on . If the four corner Jacobians are positive, then everywhere on the square.
Proof. Here and , with , and . So , and . The Jacobian is an affine function of , so its minimum over the square is at a corner. At the corners it equals the corner Jacobians, which are positive.
So for a quadrilateral, if and only if the bilinear map is invertible, which is the case for a strictly convex quadrilateral. The same claim fails for the trilinear hexahedron: its Jacobian is a polynomial of higher degree, and Knupp showed that positive Jacobians at the 8 corners do not guarantee a positive Jacobian inside. So a positive hexahedral is a necessary check, not a proof of validity.
Theorem (the tetrahedron normalization). For every positively oriented tetrahedron, , with equality if and only if the tetrahedron is regular. So .
Proof. At a corner , let , , be the three face angles, that is, the angles between pairs of edges at , with opposite and so on. The Gram matrix of the unit edge vectors has determinant . With ,
To check this, write and . With and , the product is , and expands to the Gram determinant.
The 12 face angles of a tetrahedron are the angles of its 4 triangular faces, so they add up to . The 4 corner sums have the mean , so some corner has . At that corner, each face angle is less than the sum of the other two, so , , are in . The function is concave on , and the three numbers have the mean . By Jensen's inequality, . So . On both factors increase, so , and the inequality is strict when .
Now suppose that . No corner can have . Since the mean of the corner sums is , every corner has . Equality in Jensen's inequality at every corner forces . Then all four faces are equilateral, all edges are equal, and the tetrahedron is regular. The regular tetrahedron has at every corner, so equality holds.
For a triangle the same holds with a short proof: the smallest angle is at most , so , with equality only for the equilateral triangle. A single corner of a simplex can still have : the tetrahedron has corner values . That is why the element value takes the minimum.
For a tetrahedron with the even orderings of the corners, every corner determinant equals , with the signed volume. So for . The value is 0 exactly when the volume is 0, whatever the edge lengths are, which is why it detects slivers.
Examples and non-examples
Quadrilaterals and hexahedra.
- The unit cube: every corner has three orthogonal unit edges, so and . The box also has .
- The parallelepiped with a angle in its base, applied to the cube: every corner value is .
- The trapezoid : all four corners have angle or , so .
- Non-example, a dart: . The corner at is reflex, with interior angle about and . The bilinear map of this quadrilateral folds over itself.
- Non-example, a dented cube: the unit cube with the vertex moved to . The moved corner has and its three neighbors have , so and the element is inverted near that corner.
Tetrahedra.
- The regular tetrahedron: .
- The corner tetrahedron : .
- The sliver of the radius-edge ratio page, four nearly cocircular and coplanar points: every corner value is about , so , while its radius-edge ratio is a good .
- The cap with apex at height over an equilateral triangle inscribed in the unit circle: the corner values are about at the base and at the apex, so .
Related definitions
- Mesh quality measures: the other measures, with their ranges and the defects they detect.
- Radius-edge ratio: bounded by Delaunay refinement, but blind to slivers. The scaled Jacobian sees them.
- Sliver tetrahedron: the flat element with good edges, whose scaled Jacobian is near 0.
- Mesh untangling: moves vertices until every corner value is positive.
- Optimization-based mesh smoothing: maximizes the worst value, often the scaled Jacobian, over the elements around a vertex.
- Hexahedral mesh generation and structured grid generation: the settings in which a minimum scaled Jacobian is the first number to check.
References
- Patrick M. Knupp, Algebraic mesh quality metrics, SIAM Journal on Scientific Computing 23(1), 2001, 193 to 218, the Jacobian matrices at the corners of triangles, quadrilaterals, tetrahedra and hexahedra as the basis of quality metrics, and their invariance under scaling and rotation (general locator)
- Patrick M. Knupp, On the invertibility of the isoparametric map, Computer Methods in Applied Mechanics and Engineering 78(3), 1990, 313 to 329, positive corner Jacobians make the bilinear map of a quadrilateral invertible, but not the trilinear map of a hexahedron
- Jonathan Richard Shewchuk, What is a good linear element? Interpolation, conditioning, and quality measures, Proceedings of the 11th International Meshing Roundtable, Sandia National Laboratories, 2002, 115 to 126, quality measures for tetrahedra and what each one detects (general locator)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag ECBX02 Edit this page History Report an error Markdown