Hexadominant Mesh

Category: Fluid Analysis – Meshing | Revised 2026-10-01
CAE visualization for hex dominant theory - technical simulation diagram
Hex-Dominant Mesh

Theory: cell count and flow alignment

Overview

🙋

Tet meshes are easy to generate automatically. Why bother with hexahedra?

🎓

Two reasons. First, cell count: at the same resolution hexes need a fraction of the tets. Second, accuracy: hex faces can align with the flow. When flow crosses the grid obliquely, discretisation error appears as artificial diffusion that blurs velocity and temperature profiles. Filling complex geometry entirely with hexes is laborious, though, so hex-dominant meshing fills most of it automatically with hexes and patches the remaining gaps with tets and similar cells.

Estimating cell count

$$ N_{hex} = \frac{V}{h^3},\qquad N_{tet} \approx 6\,N_{hex},\qquad N_{hexdom} = f\,N_{hex} + 6\,(1-f)\,N_{hex} $$

V is volume, h cell size and f the fraction of volume filled with hexes. The tet count assumes each hex is split into six tets.

False diffusion of first-order upwind

$$ \Gamma_{false} = \frac{\rho U\,\Delta x\,\Delta y\,\sin 2\theta}{4\left(\Delta y\sin^3\theta + \Delta x\cos^3\theta\right)} $$

θ is the angle between flow and grid lines. It is zero at θ = 0 (aligned) and largest at 45°.

Coffee Break Trivia

Blurring by oblique flow

In the 1970s de Vahl Davis and Mallinson derived the false diffusion created by first-order upwind differencing when flow crosses the grid obliquely. The result spurred both higher-order schemes and efforts to align grids with flow. Second-order schemes are now standard and false diffusion is much smaller, but grid orientation still matters, and resolving boundary and shear layers with flow-aligned hexes or prisms remains fundamental.

Worked examples

Example 1: 1 m cube at 10 mm cells

MeshCellsFacesNote
Hex only1.0 M~3 M6 faces per cell
Tet (hex split in 6)6.0 M~12 M4 faces per cell
Regular tet (10 mm edge)8.5 M—Volume h³/(6√2)
Polyhedral (tet dual)~1.0 M~7 M~14 faces per cell
Hex-dominant (85%)1.75 M—About 30% of tet

Example 2: flow angle and false diffusion (10 mm cells, 1 m/s)

Flow-grid angleFalse diffusionvs air νvs water ν
0°000
15°1.4×10⁻³ m²/s911,361
30°2.8×10⁻³ m²/s1862,795
45°3.5×10⁻³ m²/s2363,536
🙋

False diffusion over 200 times air's viscosity — can the results be trusted?

🎓

That's first order; the second-order schemes used in practice give much less. Still, error remains larger wherever flow crosses the grid obliquely. Tetrahedra are oblique to flow in every direction, so they need finer grids for the same accuracy, while flow-aligned hexes keep error down with fewer cells. In hex-dominant meshing, put the hex region where the main flow is, and align near-wall flow with prism layers. Pyramids appear at hex–tet interfaces and tend to degrade quality, so keep those interfaces away from important flow regions.

Meshing tips

  1. Add prism (inflation) layers on walls first.
  2. Fill the interior with hexes, patching only near complex geometry with tets.
  3. Align hexes with the main flow direction.
  4. Check quality (skewness, volume ratio) of pyramids and transitions.
  5. Check mesh independence by varying cell count.
Coffee Break Trivia

“Pipe pressure drop that wouldn't match”

Pressure drop in a pipe with many bends came out about 15% above measurement on a tet mesh. Adding cells barely closed the gap, and the count reached tens of millions. Remeshing as hex-dominant — flow-aligned hexes in straight runs, tets only in bends — cut cells to about a third and the discrepancy to a few percent. The likely cause was false diffusion smearing the velocity profile in straight runs on the tet mesh.

Common mistakes

Mistakes and fixes

MistakeEffectFix
No prism layers on wallsWrong wall friction and heat transferInflation layers
Hexes oblique to flowNo accuracy gainAlign with main flow
Interface in key regionErrors from pyramidsMove the interface
Comparing by cell count onlyFace count and cost overlookedCheck face counts too
No mesh-independence checkUnknown errorCompare 3 levels
🙋

I'd like to learn related topics.

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