Real-time calculation of aspect ratio, skewness, and orthogonality. Instantly compare against OpenFOAM, ANSYS Fluent, and Star-CCM+ guidelines with interactive radar chart.
Parameters
Element Type
Presets
Aspect Ratio AR
Recommended: <5 (interior), <100 (boundary layer)
Skewness S
0=ideal, <0.85=acceptable (Fluent guideline)
Non-orthogonality θ [°]
°
0°=perfect, <70°=acceptable (OpenFOAM)
Smoothness Ratio
Adjacent cell size ratio, <1.2 recommended
Expansion Ratio ER
Boundary layer growth rate, 1.05–1.2 recommended
Results
1.00
Aspect Ratio AR
0.00
Skewness S
1.000
Orthog. Quality cos θ
1.00
Smoothness Ratio
1.00
Expansion Ratio ER
100
Overall Score / 100
Element Shape Preview (quality color)
Quality Radar Chart
Acceptable Ranges by Software
Metric
OpenFOAM
Fluent
Star-CCM+
Skewness
<0.85
<0.85
<0.85
Aspect Ratio
<1000
<100
<1000
Non-orth. [°]
<70
—
<85
Orth. Quality
>0.01
>0.1
>0.1
Smoothness
<1.2
<1.2
<1.15
Expansion
<1.3
<1.2
<1.2
Overall: Excellent
CFD Integration
Equivalent metrics to OpenFOAM checkMesh, ANSYS Fluent Mesh Quality Report, and Star-CCM+ Mesh Diagnostics. High skewness causes Rhie-Chow interpolation oscillations; high aspect ratio degrades linear solver convergence in non-aligned flow directions.
$\theta_{equi}$: ideal equiangle (60° for tri, 90° for quad)
Aspect Ratio: $AR = L_{max}/ L_{min}$
Orthogonality: $Q_{orth}= \cos\theta$ (angle between face normal and cell centroid vector)
Overall Score: Weighted average of normalized per-metric scores (0–100)
What is CFD Mesh Quality?
🙋
What exactly is a "bad mesh" in CFD, and why does it cause simulations to fail?
🎓
Basically, a bad mesh has cells with extreme shapes that distort the physics. For instance, a very long, thin cell (high aspect ratio) can't accurately resolve flow across its width. In practice, this leads to solver divergence or nonsense results. Try moving the "Aspect Ratio" slider above to a high value like 100—you'll see it instantly flagged as "Poor" because it violates ANSYS Fluent and OpenFOAM guidelines.
🙋
Wait, really? So the software just crashes? What's the most common culprit?
🎓
Not always a crash, but often unstable, oscillating results. A common culprit is high skewness. Imagine a quadrilateral cell that's severely sheared like a parallelogram—the calculation of gradients across it becomes inaccurate. In this simulator, set the Skewness (S) above 0.85. That's a typical threshold where solvers like Star-CCM+ start warning you about potential Rhie-Chow interpolation errors, which cause pressure-velocity coupling to oscillate.
🙋
Okay, so we check these numbers. But in a real mesh, how do we fix a high skewness warning?
🎓
Great question. First, you locate the bad cells using your solver's mesh report—this tool shows you the same metrics. Then, you might re-mesh that local region, adjust the mesh growth (Expansion Ratio), or use smoothing. For example, in a car aerodynamics simulation, high skewness often appears near complex curves like the wheel well. By adjusting the "Non-orthogonality" and "Smoothness Ratio" controls here, you can see how improving one metric can sometimes affect another.
Physical Model & Key Equations
The most critical metric is Equiangle Skewness. It measures how far a cell's angles deviate from the ideal angle (e.g., 90° for a quad, 60° for a triangle). A perfect cell has a skewness of 0; a degenerate, unusable cell approaches 1.
Where $S$ is the skewness, $\theta_{max}$ is the largest angle in the cell, and $\theta_{equi}$ is the ideal equiangle. This formula normalizes the deviation so you can compare cells of different types.
Aspect Ratio (AR) is another key metric. It's the ratio of the longest edge to the shortest edge of a cell, or sometimes the ratio of cell dimensions in different coordinate directions. High AR cells can severely degrade solver convergence if the flow is not aligned with the long direction.
$$AR = \frac{L_{max}}{L_{min}}$$
Here, $L_{max}$ and $L_{min}$ are the maximum and minimum characteristic dimensions of the cell. In boundary layers, a high AR is acceptable (and needed) if the long direction is aligned with the flow gradient.
Frequently Asked Questions
The aspect ratio is the value obtained by dividing the length of the longest edge of a mesh element by the length of the shortest edge. The closer it is to 1, the closer the element is to an ideal square or cube, and the larger the value, the more elongated the element. In OpenFOAM, a value of 10 or less is generally recommended, while in ANSYS Fluent, 5 or less is recommended.
When skewness is high, the angles within the element deviate significantly from the ideal shape, increasing discretization errors in numerical calculations. In particular, the accuracy of gradient calculations and diffusion terms decreases, leading to solution divergence or non-physical oscillations. As a guideline, values of 0.8 or higher require correction.
This tool supports three major solvers: OpenFOAM, ANSYS Fluent, and Star-CCM+. It automatically compares the aspect ratio, skewness, and orthogonality with the recommended tolerance ranges of each solver, and evaluates mesh quality in three levels: 'Good', 'Caution', and 'Needs Correction'.
If orthogonality is poor, review the mesh snapping process and layer settings. Specifically, reduce the growth rate of the boundary layer mesh, increase the number of smoothing iterations, or, in the case of hexahedral meshes, adjust the block division to improve the cell faces so that they are orthogonal to the flow direction.
Real-World Applications
Aerospace Wing Design: Meshes around an airplane wing require very low skewness and controlled aspect ratio to accurately capture the pressure gradient and lift forces. A poor mesh here can lead to a 10% error in predicted drag, which is critical for fuel efficiency.
Internal Combustion Engine Simulation: The moving valves and pistons create complex, deforming mesh regions. Engineers must tightly control the expansion ratio and smoothness to prevent negative cell volumes during motion, which would instantly crash the simulation.
Electronic Cooling (Heat Sinks): The fins of a heat sink require high-aspect-ratio, prismatic cells to resolve thin thermal boundary layers. However, if the skewness at the base of the fins is too high, it can cause erroneous heat flux predictions, leading to an under-designed cooling system.
Automotive Aerodynamics (Underhood Flow): The complex geometry of engine bays leads to high non-orthogonality. Solvers like OpenFOAM's `checkMesh` flag these cells, as they require special treatment in the discretization scheme to maintain stability and accuracy in predicting cooling flow rates.
Common Misconceptions and Points to Note
First, there is a misconception that "a completely green radar chart means perfection." In reality, depending on the type of analysis or domain, you might intentionally worsen a specific metric. For example, in boundary layer analysis around an aircraft wing, you use extremely elongated mesh elements (aspect ratios over 1000) perpendicular to the wall surface. This is a "strategic degradation" to correctly capture the physical phenomenon. The tool's acceptable ranges are merely general guidelines. Ultimately, you should make judgments based on "what you want to calculate."
Next, there is overconfidence that "it's fine because the tool checked it." This tool evaluates the "geometric quality" of the mesh, but that alone can be insufficient. For instance, in supersonic flow with shock waves, if the mesh resolution along the flow direction (which this tool's metrics cannot measure) is not fine enough, the shock wave position will be off. Balancing both geometric quality and physical resolution is crucial.
Finally, overlooking locally bad elements. Even if the overall average is good, if a single bad element with a "skewness of 0.9" exists in a critical flow region (e.g., the separation point behind a car's side mirror), error can amplify from there and ruin the entire flow field. After calculating metrics with the tool, make it a habit to always visualize and check *where* the elements with poor values are located.