Unstructured Grid

Category: Fluid Analysis (CFD) | Integrated 2026-04-06
CAE visualization for unstructured mesh theory - technical simulation diagram
Unstructured Grid

Unstructured Grids: Theoretical Foundations

Overview

🧑‍🎓

Professor, what makes unstructured grids so convenient?


🎓

An unstructured grid (unstructured mesh) is a grid that explicitly stores the connectivity relationships between cells as a table. It allows different cell shapes like tetrahedra (tet), hexahedra (hex), triangular prisms (prism/wedge), and pyramids to be freely mixed. Its biggest advantage is that it enables automatic mesh generation for complex 3D shapes.


🧑‍🎓

So you mean if you throw a CAD model in, it automatically creates a mesh?


🎓

Pretty much. Modern CFD meshers like Fluent Meshing, STAR-CCM+, and snappyHexMesh can automatically generate volume meshes just by inputting an STL surface. This is the reason why unstructured grids have become overwhelmingly popular in industry.


Delaunay Triangulation

🧑‍🎓

How does the automatic mesh generation algorithm work?


🎓

The most basic one is Delaunay triangulation. For a given set of points, it constructs triangles such that no other point lies inside the circumcircle of any triangle.


🎓

Writing the Delaunay condition mathematically, for a triangle $T$ and its circumcircle $C(T)$:


$$ \forall p \notin T: \quad p \notin \text{interior}(C(T)) $$

Satisfying this condition maximizes the minimum angle among the triangles. In other words, you get a mesh that is as close as possible to "equilateral triangles".


🧑‍🎓

What about in 3D?


🎓

In 3D, it becomes Delaunay tetrahedralization. The circumcircle is replaced by a circumsphere. However, in 3D, quality guarantees are not as effective as in 2D, and sliver tetrahedra (flat tetrahedra) tend to occur. Sliver removal is an important challenge in 3D automatic mesh generation.


Advancing Front Method

🎓

Another major algorithm is the Advancing Front method. It "extrudes" elements from the boundary surface towards the interior.


1. Initialize the surface mesh on the boundary as the "front"

2. Select a face on the front, generate a new point, and create an element

3. Update the front (remove old faces, add new faces)

4. Repeat until the front disappears


🧑‍🎓

What's the difference from the Delaunay method?


🎓

The Advancing Front method has high boundary conformity and tends to produce good mesh quality near boundaries. On the other hand, the Delaunay method is more robust and easier to implement. In actual tools, hybrid algorithms combining both are often used.


Relationship with Finite Volume Method

🧑‍🎓

How do you discretize the Navier-Stokes equations on an unstructured grid?


🎓

We use the Finite Volume Method (FVM). It applies the conservation law in integral form to each cell.


$$ \frac{\partial}{\partial t}\int_V \mathbf{Q}\,dV + \oint_S \mathbf{F} \cdot d\mathbf{S} = 0 $$

The flux $\mathbf{F} \cdot d\mathbf{S}$ passing through the cell face is evaluated numerically. Unlike structured grids, the grid is irregular, so methods like Gauss-Green or least squares are needed to reconstruct gradients between cell centers.


🧑‍🎓

What about accuracy?


🎓

The finite volume method on unstructured grids is basically standard second-order accuracy. This is because values at faces are linearly interpolated from cell center values and gradients. If the grid non-orthogonality is large, a non-orthogonal correction term is needed, which affects both convergence and accuracy.


Coffee Break Yomoyama Talk

History of Unstructured Grid CFD—The Era Opened by the 1987 Jameson-Baker Paper

The practical application of CFD using unstructured meshes accelerated when Antony Jameson and his collaborators published "Finite Volume Method for Euler Equations on Unstructured Triangular Meshes" in 1987. Before that, structured meshes were mainstream in aerospace CFD, requiring experts to spend months generating meshes for complex shapes. Jameson et al.'s method enabled mesh generation independent of shape complexity, becoming a technological turning point that advanced the "democratization of CFD." Combined with the acceleration of computers in the 1990s, unstructured grid CFD spread rapidly, and all major modern CFD solvers (Fluent, OpenFOAM, SU2, etc.) adopt unstructured grids as their basic architecture.

Computational Methods for Unstructured Grids

Cell Shape Comparison

🧑‍🎓

There are tetrahedra, hexahedra, prisms... How are they different?


🎓

Let's compare the main cell shapes used in CFD.


Cell ShapeNumber of FacesNumber of Adjacent CellsAccuracyEase of Auto-Generation
Tetrahedron (Tet)44Low–Medium (High numerical diffusion)Very Easy
Hexahedron (Hex)66High (Low numerical diffusion)Difficult (Requires structured grid)
Triangular Prism (Prism)55Medium–HighCan be auto-generated for boundary layers
Pyramid55MediumFor hex/tet connection
PolyhedralManyManyMedium–HighConversion from tets
🧑‍🎓

What does it mean that tetrahedra have high numerical diffusion?


🎓

Tetrahedra have fewer faces, resulting in lower diversity of direction vectors from the cell center to each face. This reduces gradient approximation accuracy and increases numerical diffusion when evaluating fluxes in oblique directions. For the same number of cells, hexahedra are often 2–3 times more accurate.


Gradient Reconstruction Methods

🧑‍🎓

Gradient calculation is special for unstructured grids, right?


🎓

Exactly. There are three main methods.


Green-Gauss Method

$$ (\nabla \phi)_C \approx \frac{1}{V_C} \sum_f \phi_f \mathbf{S}_f $$

Calculates gradient from face values $\phi_f$. Includes cell-based and node-based methods depending on how face values are evaluated.

Least-Squares Method (Least-Squares)

$$ \min \sum_{nb} w_{nb} \left[ (\nabla \phi)_C \cdot \Delta \mathbf{r}_{nb} - (\phi_{nb} - \phi_C) \right]^2 $$

Finds the best gradient in the least-squares sense from differences with neighboring cells. Robust even on distorted meshes.

🧑‍🎓

Which one should be used in Fluent?


🎓

For meshes generated by Fluent Meshing, Green-Gauss Node-Based or Least-Squares is recommended. For tetrahedral meshes, Least-Squares is often more stable.


Non-Orthogonal Correction

🧑‍🎓

How does non-orthogonality affect CFD?


🎓

When calculating the diffusion term flux in the finite volume method, it's simple if the vector between cell centers $\mathbf{d}$ and the face normal vector $\mathbf{S}$ are parallel (orthogonal grid), but for non-orthogonal cases, a correction term is needed.


$$ \nabla \phi \cdot \mathbf{S} = \nabla \phi \cdot \mathbf{S}_\perp + \nabla \phi \cdot \mathbf{S}_\parallel $$

The second term is the non-orthogonal correction term. Treating this explicitly worsens convergence, and if the grid non-orthogonality exceeds 70 degrees, the risk of divergence increases. In OpenFOAM, the nonOrthogonalCorrectors parameter sets the number of iterations for this correction.


🧑‍🎓

So 70 degrees is a guideline.


🎓

Yes. As a general guideline, non-orthogonality should be kept below 70 degrees, ideally below 40 degrees. Especially for segregated solvers like OpenFOAM, they are sensitive to non-orthogonality.


Coffee Break Yomoyama Talk

Delaunay Triangulation—Mathematical Foundation of Unstructured Mesh Generation and Quality Control

The "Delaunay triangulation," which forms the basis for automatic unstructured triangle/tetrahedral mesh generation, is a triangulation that satisfies the optimality condition: "no other point lies inside the circumcircle." This property maximizes the minimum angle of generated triangles, automatically suppressing elongated elements (high skewness) that are problematic in CFD. A mathematical concept proposed by Boris Delaunay in 1934 was rediscovered as a mesh generation algorithm in the computer age 50 years later, becoming the core of modern unstructured mesh generation software. Modern core algorithms in tools like TetGen, netgen, and TetMeshGC combine "Constrained Delaunay" methods for controlling element size on boundaries with Point Insertion for mesh quality improvement.

Related Simulators

Experience the theory firsthand with the interactive simulator for this field

All Simulators

Related fields

Thermal AnalysisV&V · Quality AssuranceStructural Analysis
Rate this article
Thank you for your feedback!
Helpful
More details
Report error
Helpful
0
More details
0
Report error
0
Written by NovaSolver Contributors
Anonymous Engineers & AI — Sitemap
About the Authors