Computational fluid dynamics is the use of numerical methods and algorithms to solve and analyze problems involving fluid flows.Computational fluid dynamics solves the conservation equations of mass, momentum, and energy on a discrete grid that describes the flow domain. These differential equations — Navier–Stokes — are notoriously nonlinear and turbulent. CFD methods (finite volume, finite element, spectral) approximate derivatives and advance the solution through iterations. Turbulence models (RANS, LES, DNS) handle the chaotic small scales. The result is a detailed map of velocities, pressures, and temperatures, allowing engineers to test designs virtually and scientists to study galaxy formation and blood flow.
Ideas date back to the early 20th century and Lewis Fry Richardson's dream of a 'weather prediction factory' with human computers. True CFD emerged in the 1960s with the work of Francis Harlow at Los Alamos (particle-in-cell method) and panel methods in aerodynamics. In the 1980s, commercial codes FLUENT and CFX appeared, and in the 1990s, unstructured meshes and massive parallelization. Today, CFD is a pillar of engineering design and environmental sciences.
The Navier–Stokes equations for incompressible fluid: ∇·v = 0 and ρ(∂v/∂t + v·∇v) = -∇p + μ∇²v + f. They are discretized on a grid. In the finite volume method, fluxes through cell faces are computed for each cell using Gauss's theorem. Convective terms are treated with limiters to prevent spurious oscillations. The pressure–velocity coupling is resolved by algorithms like SIMPLE. The resulting large sparse linear systems are solved iteratively (multigrid, Krylov subspace methods). Boundary conditions specify inlets, walls, and far field. Postprocessing extracts forces, moments, and particle trajectories.
It optimizes aircraft wings, forecasts weather and ocean currents, helps design quiet fans and heart valves — all without expensive prototypes.
The first CFD calculation of an entire aircraft (F-16) was performed in 1983 on a Cray supercomputer with 8 million grid nodes. Today, toy CFD apps run on a smartphone.













