Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Chopping space into little boxes
Heat spreading through a metal plate depends on time and on position in every direction at once. That’s a partial differential equation. The computer’s trick is to chop the plate into a grid of small cells. Each cell exchanges heat only with its neighbours, so one huge continuous problem becomes many simple local rules. Make the cells smaller and you get closer to reality, at the price of more computation.
Thermal analysis of spacecraft, CFD for entry vehicles and drones, structural FEA of launch loads and antenna design are all PDE solves. They’re the most compute-hungry simulations in engineering. Choosing a stable, conservative discretization is what separates a trustworthy result from a pretty but wrong picture.
- 1. PDE solvers break space into…
- 2. Smaller cells usually give…
- 3. Heat at one cell is updated using…
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.Model equations
- Heat (parabolic): .
- Advection or waves (hyperbolic): .
- Poisson (elliptic): .
Finite differences
Replace derivatives by difference quotients on a grid: (error ). In 2-D this is the 5-point Laplacian.
FTCS for the heat equation
It’s stable only for . Halving forces 4× smaller .
- 1. The heat equation is…
- 2. FTCS is stable when r ≤ …
- 3. The 3-point second difference has error O(…)
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 40 minUndergraduate students and practising engineers.Four families
| Method | Idea | Strengths |
|---|---|---|
| Finite differences | derivatives → differences on a structured grid | simple, fast; rectangular domains |
| Finite elements | weak form; piecewise polynomial basis on an unstructured mesh | complex geometry, structures, error theory |
| Finite volumes | integrate conservation laws over cells; fluxes across faces | exact discrete conservation; CFD and shocks |
| Spectral | global Fourier or Chebyshev basis | exponential accuracy for smooth problems |
Stability and the CFL condition
Von Neumann analysis substitutes . For FTCS, , and for all iff . For advection, explicit schemes need CFL : information can’t cross more than one cell per step (Courant, Friedrichs and Lewy, 1928).
Implicit time stepping
Crank–Nicolson, , is second order in time and unconditionally stable. It costs a (sparse) linear solve per step (a8-11).
Lax equivalence
For a consistent linear scheme, stability ⇔ convergence (Lax and Richtmyer, 1956).
- 1. Finite volumes are preferred in CFD because they…
- 2. The CFL condition limits…
- 3. Lax equivalence: for consistent linear schemes, convergence ⇔
Level 3: Advanced
★★★★☆ Advanced⏱ 40 minGraduate level, with full derivations and proofs.Von Neumann analysis of FTCS
Insert : . The worst case gives , so . ∎
Crank–Nicolson is unconditionally stable
, so for every . ∎ As , for high frequencies, which explains the ringing on sharp data.
Finite elements in one line
The weak form of is: find with for all test functions . With hat functions on a uniform mesh, the stiffness matrix is , the same as finite differences. Galerkin orthogonality gives (Céa’s lemma).
Exercise 3.1: FTCS amplification for r = 0.6 at θ = π
. The zig-zag mode grows by 1.4× per step with alternating sign. After 400 steps a perturbation of reaches about .
- 1. FTCS amplification factor g(θ) =
- 2. For very large r, Crank–Nicolson's high-frequency g tends to…
- 3. Céa's lemma says FEM error is…
Level 4: Expert
★★★★★ Expert⏱ 35 minResearchers: original papers and open problems.Steady temperature of a radiator plate
A square radiator panel, held at sink temperature on its edges, carries an electronics box that dissipates heat over a small patch. The steady temperature rise solves . The 5-point finite-difference solution, checked against a manufactured solution , converges at . The discrete scheme is also conservative: the heat flowing out through the edges equals the heat generated, to rounding. That’s a key sanity check in thermal analysis and the defining property of finite volumes.
PDE solvers in AI, robotics and aerospace
- Spacecraft thermal design: lumped and finite-difference or finite-element thermal models (Thermal Desktop/SINDA, ESATAN).
- CFD: finite-volume RANS and LES for vehicles (NASA FUN3D, OVERFLOW). Entry aerothermodynamics with shock-capturing schemes.
- Structures: FEA (NASTRAN was born at NASA in the 1960s) for launch loads and vibration.
- Machine learning: physics-informed neural networks (Raissi, Perdikaris and Karniadakis, 2019) and neural operators (FNO; Li et al., 2021) as surrogate PDE solvers. Classical solvers provide their training data and baselines.
References
- R. LeVeque (2007). Finite Difference Methods for Ordinary and Partial Differential Equations. SIAM.
- R. LeVeque (2002). Finite Volume Methods for Hyperbolic Problems. Cambridge.
- C. Johnson (1987). Numerical Solution of PDEs by the Finite Element Method. Cambridge (Dover reprint).
- L. N. Trefethen (2000). Spectral Methods in MATLAB. SIAM.
- R. Courant, K. Friedrichs, H. Lewy (1928). “Über die partiellen Differenzengleichungen der mathematischen Physik.” Mathematische Annalen, 100.
- P. Lax, R. Richtmyer (1956). “Survey of the stability of linear finite difference equations.” Comm. Pure Appl. Math., 9.
- J. Crank, P. Nicolson (1947). “A practical method for numerical evaluation of solutions of partial differential equations of the heat-conduction type.” Proc. Cambridge Phil. Soc., 43.
- M. Raissi, P. Perdikaris, G. Karniadakis (2019). “Physics-informed neural networks.” J. Computational Physics, 378.
- Z. Li et al. (2021). “Fourier neural operator for parametric partial differential equations.” ICLR.
- D. Gilmore (ed.) (2002). Spacecraft Thermal Control Handbook, Vol. 1. Aerospace Press.