Skip to content
Field Atlas

Atlas / Mathematics / The Computation Thread

Field · Emerged 1922 – 1977

Numerical Methods for PDEs

How do you turn the continuous equations of physics into a finite computation whose answer converges to the truth?

5 chapters5 min read6 turning points1 open problem

Branched from
Numerical Analysis + Differential Equations
Branched into
Not yet surveyed past here
Figures
Lewis Fry Richardson, Richard Courant, Kurt Friedrichs, Hans Lewy, John von Neumann, Jule Charney, Ray Clough, Radii Fedorenko, Achi Brandt, Frans Pretorius

In brief

The laws of fluids, heat, elasticity, electromagnetism and gravity are partial differential equations: they relate how a quantity changes in space to how it changes in time. Almost none can be solved by formula for a realistic shape or a realistic weather map. Numerical methods replace the continuous equation by a finite one, on a grid of points or a mesh of small pieces, and solve that instead.

The first serious attempt, Lewis Fry Richardson's hand-computed weather forecast of 1922, failed badly. Six years later Courant, Friedrichs and Lewy found one reason such computations fail: the time step must be small enough for the grid to keep up with the physics. The ENIAC weather forecast of 1950 and the finite element method, which grew from engineering in the 1950s and 1960s, made the approach practical. Today it designs aircraft, forecasts the weather and predicted the gravitational waves that LIGO detected in 2015.

Key ideas

DiscretisationEnters 1922

Replace a function by its values at finitely many points, and derivatives by differences between neighbouring values. The differential equation becomes a large system of ordinary equations.

The CFL conditionEnters 1928

For an explicit time-stepping method, the time step must be short enough that information does not travel more than about one grid cell per step. Otherwise the computation becomes unstable and explodes.

Stability and convergenceEnters 1928

A method whose small errors stay small is stable. Lax's equivalence theorem says that, for a consistent method on a linear problem, stability is exactly what is needed for the computed answer to converge to the true one as the grid is refined.

Finite elementsEnters 1943 – 1960

Divide the region into small simple pieces, such as triangles, and approximate the solution on each by a simple polynomial, matched at the corners. The method fits complicated shapes, which grids of squares do not.

MultigridEnters 1964 – 1977

Solve on a hierarchy of grids, coarse and fine. Errors that are smooth on a fine grid are rough on a coarse one, where they can be removed cheaply. The total work grows only in proportion to the number of unknowns.

Draws on other domains

Chapter I

The Forecast Factory

Differential equations describe how a state changes from moment to moment. For the atmosphere, the state is the wind, pressure, temperature and moisture at every point, and the equations are the partial differential equations of fluid motion. In principle, today's weather determines tomorrow's. In practice nobody could solve the equations.

Lewis Fry Richardson decided to compute instead. He divided the atmosphere into boxes, replaced derivatives by differences between neighbouring boxes, and stepped the equations forward in time by arithmetic. During the First World War, between shifts with an ambulance unit in France, he computed a six-hour forecast for two points in central Europe. It took about six weeks. The result was a change in pressure of 145 hectopascals in six hours, when the real pressure barely changed. He published the whole calculation in 1922, with the failure stated plainly, and imagined a hall of 64,000 people computing the world's weather in time. Much later, Peter Lynch recomputed the forecast and showed that the method was sound. The starting data were unbalanced, and a small smoothing would have given a sensible answer.

Chapter II

Stability

In 1928 Richard Courant, Kurt Friedrichs and Hans Lewy studied grid equations for a different reason: to prove that certain partial differential equations have solutions, by showing that grid solutions converge as the grid is refined. They found that for wave-like equations this happens only if the time step is small enough compared with the grid spacing. If a wave can cross more than one cell in a single step, the grid cannot follow it.

The condition became essential when electronic computers arrived. In 1950 Jule Charney, working with John von Neumann and Ragnar Fjørtoft, ran the first computer weather forecast on the ENIAC. Charney had simplified the equations to remove the fast gravity waves that had wrecked Richardson's forecast, and chose time steps that respected the CFL condition. Each 24-hour forecast took about 24 hours to compute, but the results were realistic. Von Neumann also developed a way to test a scheme's stability by following each wave pattern separately, and in 1956 Peter Lax and Robert Richtmyer proved that, for linear problems, a consistent scheme converges exactly when it is stable.

Chapter III

Elements and Grids

Grids of squares suit the atmosphere but not an aircraft wing. In the 1950s engineers, among them Ray Clough, working with a Boeing team, and John Argyris in London, broke structures into small triangular and rectangular elements, each with simple behaviour, joined at their corners. Clough named it the finite element method in 1960. Courant had proposed the same idea in 1943, as a way to solve variational problems, and mathematicians later proved that the engineers' method converges and how fast. It is now the standard tool for anything with a complicated shape.

Solving the resulting equations was the next bottleneck. A fine three-dimensional mesh has millions of unknowns, and simple iterative methods need many thousands of sweeps to converge, because smooth errors fade slowly. Radii Fedorenko saw in 1964 that a coarser grid could remove those smooth errors cheaply, and Achi Brandt turned the idea into the general multigrid method in 1977. Together with the linear algebra of conjugate gradients, it made problems with billions of unknowns solvable.

Chapter IV

A Closer Look: The CFL Condition

The simplest wave-like equation says that a pattern uu moves to the right at speed cc without changing shape:

∂u∂t+c ∂u∂x=0.\frac{\partial u}{\partial t} + c\,\frac{\partial u}{\partial x} = 0.

Put it on a grid with spacing Δx\Delta x and time step Δt\Delta t. The upwind scheme updates each value from itself and its left-hand neighbour:

ujnew=uj−ν (uj−uj−1),ν=c ΔtΔx.u_j^{\text{new}} = u_j - \nu\,(u_j - u_{j-1}), \qquad \nu = \frac{c\,\Delta t}{\Delta x}.

The number ν\nu, the Courant number, is the number of cells the pattern moves in one step. If ν≤1\nu \le 1, the new value is (1−ν)uj+νuj−1(1 - \nu)u_j + \nu u_{j-1}, a weighted average of two old values, so it can never exceed the largest of them. If ν>1\nu > 1, the weight 1−ν1 - \nu is negative and nothing holds the values in check.

To see what happens, add a tiny sawtooth ripple of size 0.001 that alternates in sign from cell to cell, like rounding error. For this ripple uj−1=−uju_{j-1} = -u_j, so each step multiplies it by 1−2ν1 - 2\nu:

Courant number ν\nuFactor per stepRipple after 20 steps
0.500
1.0−10.001
1.5−2about 1,000
2.0−3about 3.5 million

At ν=2\nu = 2 the ripple, started at one thousandth, is 3.5 million after 20 steps. No real wave did that. The computation has exploded.

Now take a weather model with a 10-kilometre grid and winds of up to 100 metres per second. The condition ν≤1\nu \le 1 requires Δt≤10,000/100=100\Delta t \le 10{,}000 / 100 = 100 seconds, so at least 864 steps for a one-day forecast. Sound waves, at about 340 metres per second, would force steps under 30 seconds. That is why Charney filtered out the fast waves, and why modern models treat them with implicit methods that are not bound by the condition.

Chapter V

From Grids to Spacetime

The same methods now simulate almost every physical system. The hardest test came from general relativity. For decades simulations of two orbiting black holes crashed after a fraction of an orbit, as small errors in Einstein's equations grew without limit. The instability was not in the grid but in the way the equations were written. In 2005 Frans Pretorius found a formulation that stayed stable and followed two black holes through their merger. Ten years later, LIGO's first detection was matched against such simulations. The underlying mathematics is still incomplete, and for the equations of gas dynamics in more than one dimension it is not known whether the simulations converge at all.

Applications

Where it is used

  • Weather and climate↗ Physics · Geophysical Fluid Dynamics

    Numerical weather prediction

    Every modern forecast solves the equations of fluid motion on a grid covering the globe, with spacing of about ten kilometres. Forecast skill has improved by about a day per decade: a forecast for six days ahead is now as good as a forecast for five days ahead was ten years earlier.

    › Sources (1)
    • Bauer, P., Thorpe, A. & Brunet, G. (2015). The quiet revolution of numerical weather prediction. Nature 525: 47–55.
  • Gravitational waves↗ Physics · General Relativity

    Templates for LIGO

    The signal LIGO detected in September 2015 was identified by comparing it with waveforms of merging black holes computed by numerical relativity. The match gave the masses of the two holes, about 36 and 29 times the Sun's.

    › Sources (1)
    • Abbott, B. P. et al. (2016). Observation of gravitational waves from a binary black hole merger. Physical Review Letters 116(6): 061102.
  • Engineering↗ Physics · Elasticity and Continuum Mechanics

    Designing on the computer

    Aircraft, bridges, engines and car bodies are tested by finite element simulation long before anything is built. Crash tests, for example, are now mostly run on computers, with physical tests to confirm the result.

    › Sources (1)
    • Zienkiewicz, O. C., Taylor, R. L. & Zhu, J. Z. (2013). The Finite Element Method: Its Basis and Fundamentals, 7th edition. Butterworth-Heinemann.

Open problems

Where the map runs out

Open

Convergence for shock waves in several dimensions

Open as of 2026. Largely settled in one space dimension for data with small total variation, open in two and three.

The equations of gas dynamics form shock waves, and their solutions must be understood in a weak sense. In one space dimension, for data with small total variation, some numerical schemes are known to converge to the right solution. In two or three dimensions nobody knows whether they do, or even whether the equations have a unique physically admissible solution for general data.

Why it is hard

The one-dimensional theory relies on tools that do not extend to higher dimensions. Worse, examples have been found of initial data for the compressible Euler equations with infinitely many admissible weak solutions. If the equations do not pick out one answer, it is unclear what a numerical scheme should converge to.

What resolving it unlocks

A theory would say when simulations of explosions, supersonic flight and supernovae, run every day, are converging to a true solution and when they are only producing plausible pictures.

› Sources (2)
  • Dafermos, C. M. (2016). Hyperbolic Conservation Laws in Continuum Physics, 4th edition. Springer.
  • Chiodaroli, E., De Lellis, C. & Kreml, O. (2015). Global ill-posedness of the isentropic system of gas dynamics. Communications on Pure and Applied Mathematics 68(7): 1157–1190.

Further reading

  1. Lynch, P. (2006). The Emergence of Numerical Weather Prediction: Richardson's Dream. Cambridge University Press.

    Richardson's forecast recomputed and explained, with the history that followed.

  2. LeVeque, R. J. (2007). Finite Difference Methods for Ordinary and Partial Differential Equations. SIAM.

    A clear textbook on grids, stability and the CFL condition.

  3. Strang, G. & Fix, G. (1973). An Analysis of the Finite Element Method. Prentice-Hall.

    The book that gave the engineers' method its mathematical foundations.