Computational Fluid Dynamics

Solving the
unsolvable.

The Navier-Stokes equations govern every fluid flow in existence, yet no general analytical solution exists in 3D. CFD discretises these equations and solves them numerically — giving aerospace engineers the ability to simulate aerodynamics without building a single physical model.

The Navier-Stokes
equations.

Every CFD solver numerically approximates the solution to the Navier-Stokes equations. Understanding these equations is essential to using any CFD tool correctly.

MOMENTUM EQUATION (INCOMPRESSIBLE)
ρ(∂u/∂t + u·∇u) = −∇p + μ∇²u + ρg
ρ ∂u/∂t

Unsteady / local acceleration. Zero for steady RANS. Critical for flutter, gust response, rotating machinery.

ρ u·∇u

Convective acceleration. The nonlinear term responsible for turbulence and why no general solution exists.

−∇p

Pressure gradient force. Fluid accelerates from high to low pressure. The primary lift-generating mechanism.

μ∇²u

Viscous diffusion. Significant only in the thin boundary layer adjacent to walls (y⁺ ≤ 1 region).

ρg

Body force (gravity). Often negligible in external aerodynamics but important for buoyancy-driven flows.

Taming
turbulence.

Resolving every turbulent eddy requires DNS at a cost proportional to Re³ — infeasible at aircraft Reynolds numbers. RANS models introduce turbulent viscosity to close the equations at a fraction of the cost.

k-ω SST Model

The workhorse of external aerodynamics

The k-ω Shear Stress Transport (SST) model by Menter blends k-ε in the freestream (where it performs well) with k-ω in the near-wall boundary layer (where k-ω is more accurate). It is the standard model for external aerodynamics because it accurately predicts flow separation and adverse pressure gradient behaviour. Two transport equations are solved: one for turbulent kinetic energy k and one for specific dissipation rate ω. SST is the recommended starting model for any aerofoil or aircraft simulation in ANSYS Fluent.

Equations2 (k and ω)
Best forExternal aero, separation
y⁺ requirement≤ 1 (low-Re mode)
k-ε Model

For freestream and internal flows

The k-ε model solves for turbulent kinetic energy k and dissipation rate ε. It performs well in the freestream and for fully turbulent internal flows (pipes, ducts, jet mixing). It over-predicts separation in adverse pressure gradients near walls and is not recommended for external aerodynamics. The Realizable k-ε variant improves on the standard model by satisfying physical realizability constraints. Often used as a first-pass solver to initialise SST runs.

Equations2 (k and ε)
Best forInternal flows, freestream
WeaknessAdverse pressure gradient
LES — Large Eddy Simulation

Resolving large turbulent structures

LES resolves eddies larger than the mesh filter width directly and only models the small sub-grid scales. It captures unsteady flow phenomena that RANS cannot — vortex shedding, separated shear layers, and jet noise. Cost scales as Re^1.8 vs Re³ for DNS, making it feasible for moderate Reynolds numbers. Detached Eddy Simulation (DES) hybridises RANS near walls with LES in separated regions — an excellent compromise for high-AoA separated flows and store separation problems.

Mesh Quality

y⁺, orthogonality, and skewness

Mesh quality determines solution accuracy more than solver choice. The dimensionless wall distance y⁺ = u*·y/ν must be ≤ 1 for low-Reynolds RANS to resolve the viscous sublayer. Cells with skewness above 0.9 or orthogonality below 0.1 cause solver divergence. Structured hexahedral meshes give highest accuracy per cell count. Hybrid meshes use prismatic layers near walls and unstructured tetrahedra elsewhere. A mesh independence study — showing solution does not change with further refinement — is mandatory before trusting any CFD result.

Wall Distance y⁺
y⁺ = u* · y / ν  (target: ≤ 1)

From geometry
to results.

A CFD study follows five sequential phases. Errors in early phases propagate through to final results — garbage in, garbage out applies absolutely in CFD.

01 — PRE-PROCESSING — GEOMETRY

Define the aerofoil or aircraft geometry. For a NACA profile: import surface coordinates, create the fluid domain extending 20 chord lengths upstream and 30 downstream, and Boolean-subtract the geometry from the fluid block. Named Selections: aerofoil_wall, inlet, outlet, far-field.

02 — PRE-PROCESSING — MESHING

Generate the computational mesh. Target 80,000–200,000 quad cells for a 2D RANS aerofoil. Apply inflation layers near the wall targeting y⁺ ≤ 1 with growth ratio ≤ 1.2. Check quality metrics: max skewness < 0.9, min orthogonality > 0.1. Poor mesh is the leading cause of solver divergence.

03 — PRE-PROCESSING — BOUNDARY CONDITIONS

Set boundary conditions in Fluent: Velocity Inlet (V = 50 m/s, Tu = 0.1%), Pressure Outlet (gauge = 0 Pa), Wall (no-slip). Select k-ω SST turbulence model. Enable Realizable k-ε as a comparison run. These conditions define the physical problem — wrong BCs give a correct solution to the wrong problem.

04 — SOLVING — CONVERGENCE

Run the solver. Monitor residuals (target < 1×10⁻⁴) and force coefficients CL and CD. If CL oscillates without settling, the flow is unsteady and requires a transient simulation. A well-setup 2D RANS aerofoil converges in 200–400 iterations. Initialise with Hybrid Initialization.

05 — POST-PROCESSING — VALIDATION

Extract CL, CD, and the Cp distribution. Compare the Cp plot against NACA experimental data or XFOIL. If agreement is not within 5–10%, revisit mesh quality and boundary conditions before using results for any design decision. Wall y⁺ contours confirm near-wall mesh adequacy.

See CFD
work.

Visualise flow fields, mesh generation, and turbulence models — the concepts made visible.

WHAT IS CFD IN 30 SECONDS?
Computational Fluid Dynamics replaces physical wind tunnel testing with a computer simulation. You build a digital model of the geometry, divide space around it into millions of tiny cells (the mesh), then solve the Navier-Stokes equations in each cell thousands of times until the numbers stop changing (converge). The result tells you pressure, velocity, and temperature everywhere in the flow field — without building a single physical prototype.
CFD WORKFLOW — STEP BY STEP INTERACTIVE
FLOW FIELD VISUALISER — PRESSURE & VELOCITY INTERACTIVE
WHAT YOU'RE SEEING
The colour field shows either pressure (red = high, blue = low) or velocity magnitude. The streamlines show the path that fluid particles follow around the aerofoil. In CFD, this is what post-processing looks like.
AoA
TURBULENCE MODELS — RANS vs LES vs DNS REFERENCE
Resolved scales
Relative cost
Use case

Explore more
on AerospaceKit.

Foundation
Aerodynamics

The physics that CFD simulates — lift, drag, boundary layers, and shock waves. Understand the theory before running simulations.

Related
Propulsion

Inlet aerodynamics, nozzle flows, and combustor CFD — propulsion and CFD go hand in hand.

Related
Flight Mechanics

The CL and CD values your CFD produces feed directly into flight mechanics performance calculations.

Tools
MATLAB

Import Cp distributions from Fluent into MATLAB, integrate for CL and CD, and validate against NACA experimental data.

Projects
Dissertation Ideas

Turbulence model sensitivity studies, supersonic inlet simulations, NACA aerofoil parametric studies — all with defined methodologies.

Start Here
Intro to Aerospace

New to CFD? Start with the broader picture of aerospace engineering disciplines and where CFD fits in.

Also by Noor Keshaish

Interested in coding?

SheCodes Lab teaches Python and C++ from scratch — side by side, free, no experience needed. Includes an engineering module covering NumPy, pandas, ISA models, cost index, and flight data analysis. The same tools used to build the calculators on this site.

shecodeslab.com  →
SheCodes Lab
Python & C++