Mesh Quality Metrics — Six Evaluation Criteria That Determine Numerical Accuracy
Theory and Physics
What is Mesh Quality
Professor, what should I look at for mesh quality? There are so many metrics, it's confusing...
I understand how you feel. But in practice, only three are most important: Aspect Ratio (ideal is 1:1, acceptable below 3:1), Skewness (0 is ideal, 0.95 or above is NG), and Orthogonality (below 0.1 is NG). If you master these three, you generally won't run into major problems.
Just three? But I also hear about Jacobian, Warping, etc...
Of course, Jacobian, Warping, and Taper are also important, but they often "become bad in conjunction when the top three are bad." In other words, if you keep the three major metrics in good condition, the others will naturally improve in most cases.
Mesh quality metrics are evaluation criteria that quantify how much a finite element or finite volume cell deviates from an ideal shape (equilateral triangle, square, regular tetrahedron, cube, etc.). If low-quality elements are mixed in, the approximation accuracy of shape functions deteriorates, causing the following problems in a chain reaction.
- Increase in local discretization error → Overestimation/underestimation of stress/flow velocity
- Deterioration of stiffness matrix condition number → Poor convergence of iterative solvers
- Singularity of Jacobian matrix → Calculation itself fails (Negative Jacobian error)
- Increase in numerical diffusion in CFD → Insufficient resolution of vortex structures and boundary layers
Aspect Ratio
Aspect ratio is about the "slenderness" of an element, right? Why is it so important?
Simply put, it's because "an element that is extremely slender in only one direction cannot properly capture changes in that direction." For example, if you model a car's front pillar and use an element that is very slender vertically (aspect ratio 20:1 or so) with only one element in the thickness direction, you won't be able to properly calculate the bending stress distribution.
Aspect ratio is defined as the ratio of the longest side to the shortest side (or maximum dimension to minimum dimension) of an element.
| Aspect Ratio | Quality Level | FEM Structural Analysis | CFD Fluid Analysis |
|---|---|---|---|
| 1.0 | Ideal | Highest accuracy | Highest accuracy |
| 1.0 – 3.0 | Good | Recommended range | Recommended range |
| 3.0 – 5.0 | Acceptable | Caution required | Acceptable (general domain) |
| 5.0 – 10.0 | Warning | Possible accuracy degradation | NG except for boundary layers |
| 10.0 or above | Poor | Correction mandatory | NG except for boundary layer mesh |
Huh? But for CFD boundary layer meshes, you stack thin elements against the wall, right? Isn't the aspect ratio extremely high for those?
Good question! Boundary layer meshes can have aspect ratios of 100 or more, but that is intentional. They need to be thin to resolve the steep velocity gradient in the wall-normal direction. Since the flow direction is almost uniform, high aspect ratio is not a problem. In other words, "aspect ratio in a direction aligned with the physics" is acceptable.
Skewness
Skewness represents how much an element is "distorted" from its ideal shape on a scale of 0 to 1. A typical definition is equiangle skewness.
Here, $\theta_e$ is the interior angle of the ideal element (60° for triangles, 90° for quadrilaterals), and $\theta_{\max}$, $\theta_{\min}$ are the maximum and minimum interior angles of the element.
| Skewness | Quality | Practical Handling |
|---|---|---|
| 0 – 0.25 | Excellent | No problem at all |
| 0.25 – 0.50 | Good | General acceptable range |
| 0.50 – 0.75 | Acceptable | OK if localized (except stress concentration areas) |
| 0.75 – 0.90 | Poor | Accuracy degradation present. Improvement recommended |
| 0.90 – 0.95 | Very Poor | Can cause convergence issues |
| 0.95 – 1.0 | Degenerate Element | Correction mandatory. High risk of calculation failure |
What kind of element shape specifically has a skewness of 0.95 or above?
For a triangular element, it's a "flattened" element where the three vertices are almost in a straight line. For a tetrahedron, it's when the four vertices are almost on the same plane. Such elements have area/volume approaching zero, so the Jacobian also degenerates and the calculation fails.
I see... So elements with collapsed shapes can't even interpolate physical quantities properly.
Orthogonality (Orthogonal Quality)
Orthogonality is a metric that evaluates the degree of orthogonality between a cell face's normal vector and the vector connecting cell centers. It is considered especially critical in CFD (Finite Volume Method). In Ansys Fluent, it is reported as Orthogonal Quality in the range of 0 to 1.
Here, $\vec{A}_i$ is the cell face normal vector, $\vec{f}_i$ is the vector from the cell center to the face center, and $\vec{c}_i$ is the vector connecting adjacent cell centers.
When I ran a mesh check in Fluent, it said "Minimum Orthogonal Quality = 0.008". Is that okay?
That's a fail. If the Fluent mesh check shows cells with a minimum orthogonality below 0.01, you must correct them. Consider results from cells below 0.01 to have zero reliability. Ideally, the minimum should be above 0.1 and the average above 0.9. First, identify the location of the problematic cells and correct the mesh locally.
| Orthogonality (OQ) | Quality | Handling in Fluent/Star-CCM+ |
|---|---|---|
| 0.95 – 1.0 | Excellent | Highest accuracy |
| 0.70 – 0.95 | Good | No problem for general analysis |
| 0.20 – 0.70 | Acceptable | OK if localized |
| 0.10 – 0.20 | Poor | Accuracy degradation present. Improvement recommended |
| 0.01 – 0.10 | Very Poor | Causes convergence issues / numerical oscillations |
| Below 0.01 | Unusable | Correction mandatory. Risk of calculation failure |
Jacobian
In the Finite Element Method, the mapping between physical coordinates $\mathbf{x}$ and natural coordinates $\boldsymbol{\xi}$ is defined by the Jacobian matrix.
The Jacobian must be positive ($J > 0$) at all integration points within the element. A negative Jacobian means the element is "inverted," and the calculation outputs physically meaningless results.
What is Jacobian ratio? Does it have to be 1.0?
Jacobian ratio is the ratio of the minimum to maximum Jacobian value within an element. For an ideal shape, the value is the same at all integration points, so the ratio is 1.0. In practice, 0.3 or above is recommended. If 0.0 or below (negative Jacobian) appears, that mesh cannot be used for calculation. Abaqus or Nastran will stop with an error if they detect a negative Jacobian.
Ah, I once got a negative Jacobian when I moved the mid-side nodes of a quadratic element (like a 10-node tetra)...
A common issue with quadratic elements. If you shift mid-side nodes significantly away from the edge midpoint, the mapping becomes nonlinear and the Jacobian can change sign inside the element. This happens especially with meshes following curved surfaces. The countermeasures are to restrict mid-side node positions to near the edge midpoint or to refine the mesh in areas of high curvature.
Warpage and Taper
Warpage evaluates the non-planarity of quadrilateral element (QUAD/HEX) faces in degrees. If all 4 vertices lie on the same plane, it's 0° (ideal), and the value increases with greater twist.
Taper indicates how much the length ratio of opposite sides of a quadrilateral element deviates from the ideal (1:1). An element that tapers like a trapezoid has a high taper value.
| Metric | Ideal Value | Acceptable Value | Impact |
|---|---|---|---|
| Warpage | 0° | < 15° (Strict: < 5°) | Bending accuracy of shell elements decreases |
| Taper | 0 | < 0.5 | Stress symmetry breaks down |
In what cases does warpage become a problem?
A typical case is modeling vehicle body panels or aircraft outer skins using shell elements. When QUAD elements are placed on curved surfaces, the four nodes may not lie on the same plane in areas of high curvature. If warpage exceeds 15°, the calculation accuracy for bending stiffness plummets. Countermeasures are to mix in TRIA (triangles, always planar) instead of QUAD, or to refine the mesh so the curvature can be approximated by planes.
Relationship with Numerical Solution Methods
Impact of Mesh Quality on Solution Accuracy
If mesh quality is poor, what specifically goes wrong in the calculation? "Accuracy decreases" is too vague...
Good question. The accuracy of the Finite Element Method is determined by how accurately shape functions can interpolate physical quantities. Let's look at the element stiffness matrix calculation.
Here, $B$ is the strain-displacement matrix, $D$ is the constitutive matrix, $J$ is the Jacobian, and $w_g$ is the integration point weight.
When an element is distorted, accuracy degrades in three stages.
- Stage 1 (Distortion of shape functions): High aspect ratio makes gradients in the short direction dominant, failing to capture changes in the long direction.
- Stage 2 (Numerical integration error): High skewness makes Gaussian integration point placement non-optimal, reducing integration accuracy.
- Stage 3 (Deterioration of condition number): Poor-quality elements worsen the stiffness matrix condition number, slowing iterative solver convergence (or worst case, no convergence).
Is it the same for CFD?
It's even more serious in CFD (Finite Volume Method). For cells with low orthogonality, non-orthogonal correction is needed to approximate diffusive fluxes. If the correction is large, it cannot be treated implicitly, making iterations unstable. When "Divergence detected" appears in Fluent, the cause is often cells with minimum orthogonality below 0.05.
Quality Sensitivity by Element Type
Not all element types are equally affected by mesh quality. Their sensitivity to quality degradation is summarized below.
| Element Type | Quality Sensitivity | Main Issues with Quality Degradation | Recommended Max AR |
|---|---|---|---|
| Linear Tetrahedron (TET4) | Very High | Shear locking + accuracy degradation occur simultaneously | 3 |
| Quadratic Tetrahedron (TET10) | High | Mid-node misalignment → Negative Jacobian | 5 |
| Linear Hexahedron (HEX8) | Medium | Warpage → Bending accuracy decrease | 5 |
| Quadratic Hexahedron (HEX20) | Low | High-order functions absorb distortion easily | 10 |
| Shell (QUAD4) | High | Warpage → Bending stiffness error | 3 |
| Polyhedral | Low | Polyhedra are robust against distortion | 10 |
So linear tetrahedra are most sensitive to quality, and polyhedral are most tolerant. That's one reason Star-CCM+ recommends polyhedral meshes...
Exactly. Polyhedral meshes have many faces, so the impact of non-orthogonality per face is distributed. However, they are not a panacea; boundary layer meshes should still be stacked with prisms (hexahedra) as a basic rule.
y+ and Mesh Quality in CFD
Can y+ also be considered a type of mesh quality metric?
Precisely. y+ is the dimensionless height of the first cell off the wall, and can be thought of as a quality indicator for whether it meets the turbulence model's requirements.
| Turbulence Model | Required y+ | Guideline for First Cell Height |
|---|---|---|
| k-omega SST (Wall-resolved) | y+ < 1 | Several μm to tens of μm |
| k-epsilon + Wall Functions | 30 < y+ < 300 | Hundreds of μm to several mm |
| Spalart-Allmaras | y+ < 1 (recommended) | Several μm to tens of μm |
| LES / DNS | y+ < 1 (mandatory) | Extremely thin first cell |
If you make the first cell too thin to satisfy y+, the aspect ratio explodes, right? How do you balance that?
Aspect ratio for boundary layer meshes can be intentionally high. However, pay attention to the Growth Ratio. The size ratio between adjacent cells should be 1.2 or less. If it exceeds 1.5, non-orthogonality deteriorates rapidly, turning into an orthogonality problem. In other words, y+ and aspect ratio are not a trade-off; Growth Rate and Orthogonality become the bottleneck.
Practical Guide
Practical Quality Check Flow
After creating a mesh, in what order should I perform quality checks?
Let me teach you the 5-step quality check flow used in practice.
- Check Global Statistics — Check the min/max/average aspect ratio, skewness, orthogonality for the whole model. Look at the distribution with a histogram.
- Identify Location of Worst Elements — Visualize where the worst-quality elements are. They are often concentrated at shape edges or areas of high curvature.
- Check Alignment with Structurally Important Regions — Check if poor-quality elements overlap with stress concentration areas or wake regions. Poor quality in distant areas has little impact.
- Perform Local Correction — Correct only the problematic elements. No need to re-mesh the entire model.
- Re-check After Correction — Verify that the correction hasn't worsened quality elsewhere.
Quality Improvement Techniques
Please teach me specific methods to fix poor-quality meshes!
These six are your weapons for quality improvement. The theory is to try them in order from the top.
Related Topics
なった
詳しく
報告