Physics and simulation

Mechanics, gravity, heat, waves, fluids and electromagnetism written as differential equations — and the numerical methods that turn them into games, films, forecasts and engineering software.

10 topics

Physics states its laws as rates of change: ODEs for particles and rigid bodies, PDEs for fields. A simulator picks a discretization in space (grid, particles, mesh) and an integrator in time (Euler, Verlet, Runge–Kutta, implicit), and then fights stability, accuracy and cost. The same mathematics drives a game engine at 60 frames per second and a climate model on a supercomputer.

Topics

Classical mechanics

Newton's second law F=mx¨F = m\ddot x turns forces into a second-order ODE for the motion. Gravity, springs, friction and collisions are all modelled this way; energy and momentum are the conserved quantities that check a simulation.

UniversityApplication

Physics engines

Software that advances a world of bodies in small time steps: accumulate forces, integrate velocities and positions (semi-implicit Euler or Verlet), detect collisions, resolve contacts. A numerical ODE solver tuned for speed and stability rather than accuracy.

UniversityApplication

N-body gravitational simulation

Integrate the mutual gravity of NN bodies — planets, stars, dark-matter particles. Symplectic integrators (leapfrog) keep orbits stable for billions of steps; tree codes (Barnes–Hut) and FMM cut the cost from O(N2)O(N^2) to O(Nlog⁡N)O(N\log N) or O(N)O(N).

AdvancedApplication

Heat equation and diffusion

ut=αΔuu_t = \alpha\Delta u: temperature (or concentration, or probability) flows from high to low and smooths out. Solved by finite differences or Fourier series; Gaussian blur of an image is exactly running this equation.

AdvancedApplication

Wave equation

utt=c2Δuu_{tt} = c^2\Delta u: disturbances travel at speed cc. Sound, vibrating strings, seismic waves and light obey it; games use discretized versions for water ripples and room acoustics.

AdvancedApplication

Electromagnetism (Maxwell's equations)

Four equations in divergence and curl govern all of electricity, magnetism and light. Simulated (FDTD, FEM) to design antennas, chips, MRI coils and wireless links.

AdvancedApplication

Fluid dynamics and CFD

The Navier–Stokes equations for a velocity field uu and pressure pp. Engineering CFD solves them on meshes with finite volumes; film and games use "stable fluids" (Stam, 1999): advect, add forces, and project to zero divergence by solving a Poisson equation.

SpecializationApplication

Finite element method

Solve a PDE on a complicated shape by splitting it into small elements, writing the weak form (integration by parts) and approximating the solution by piecewise polynomials. The standard tool of structural, thermal and electromagnetic engineering.

SpecializationApplication

Weather and climate modelling

Integrate the equations of the atmosphere and oceans on a global grid. Chaos limits deterministic forecasts to about two weeks, so services run ensembles; data assimilation fits the initial state to observations using adjoint (reverse-mode) gradients. Machine-learned forecasters now compete with physics models.

SpecializationApplication

Population and epidemic models

Computational biology with ODEs: logistic growth, predator–prey cycles, and SIR epidemics whose basic reproduction number R0=β/γR_0 = \beta/\gamma decides whether an outbreak grows. These models informed policy during COVID-19.

UniversityApplication

The mathematics this domain runs on

v⃗ Linear algebra (bridge) ★★★★★

f′ Derivatives ★★★★★

Tₙ Taylor series ★★★★★

ε Continuity ★★★★★

↑ ↓ to navigate · ↵ · Esc