- Practice · 5 marks
2D and 3D mesh elements, prism layers
Short answer
Common 2D elements are triangles (easy automatic meshing) and quadrilaterals (higher accuracy when aligned). 3D elements include tetrahedra, hexahedra, prisms, pyramids, and polyhedra. Prism (inflation) layers are thin stacked prismatic cells near walls, with a growth ratio, used to resolve steep normal gradients, meet y+ requirements, and reduce numerical diffusion for accurate wall shear and heat flux.
Describe the common 2D and 3D mesh element types used in CFD. What are prism (inflation) layers and why are they used?
2D elements
- Triangle: three nodes; fits any boundary, fully automatic generation, but needs more cells and gives more numerical diffusion if not aligned with flow.
- Quadrilateral: four nodes; good accuracy when aligned with the flow, fewer cells, preferred in boundary layers and simple shapes.
3D elements
| Element | Faces | Features |
|---|---|---|
| Tetrahedron | 4 triangles | Easy automatic meshing of any CAD; large cell count; poor in thin boundary layers |
| Hexahedron | 6 quads | Highest accuracy and lowest cell count; hard to generate for complex shapes |
| Prism (wedge) | 2 triangles + 3 quads | Used for boundary layers; extruded from a surface triangle mesh |
| Pyramid | 1 quad + 4 triangles | Transition between hexa and tetra regions |
| Polyhedron | Any number of faces | Created by merging tetra cells (e.g. in Fluent); fewer cells, more neighbours, good gradients |
tetra hexa prism pyramid
/\ +----+ /|--|\ /\
/__\ | | / | | \ / \
\ / +----+ \_|__|_/ +---+
Prism (inflation) layers
Prism layers are several thin layers of prismatic (or hexahedral) cells stacked from a wall, with the first-layer height small and each layer thicker than the previous by a growth ratio (usually 1.1 to 1.3).
Reasons for use:
- Velocity and temperature gradients are steepest normal to the wall, so many cells are needed in that direction only; stretched cells save cell count.
- The first cell height can be set to meet the required for the turbulence model (about 1 for wall-resolved, 30 to 300 for wall functions).
- Cells aligned with the wall reduce numerical diffusion and improve wall shear stress and heat flux prediction.
- Total layer thickness should be about the boundary layer thickness, with smooth transition to the core cells.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Compare FDM, FVM and FEM · Applied Computational Fluid Dynamics, chapter 3
- First layer height from y+ estimate · Applied Computational Fluid Dynamics, chapter 4
- Pressure drop in a pipe network · Applied Computational Fluid Dynamics, chapter 6
- Transition elements; non-typical 3d element · Engineering Chemistry, chapter 5
- Transition elements; why so called; 3d configurations · Engineering Chemistry, chapter 5
- Why 3D graphics is more complex than 2D · Computer Graphics, chapter 4
- Equilibrium and its equations in 2D and 3D · Applied Mechanics, chapter 2
All Applied Computational Fluid Dynamics chapter 4 questions →