Chapter 27: Numerical Relativity
Numerical relativity solves Einstein's equations computationally for situations too complex for analytical solutions. Essential for LIGO waveform templates and understanding binary black hole mergers.
BSSN Formulation
The Baumgarte-Shapiro-Shibata-Nakamura (BSSN) formulation is the standard for stable evolution:
Key Variables
- • Conformal factor: φ = ln(h)/12
- • Conformal metric: γ̃ij = e-4φhij
- • Traceless extrinsic curvature: Ãij
- • Conformal connection functions: Γ̃i
Moving Punctures
The 2005 breakthrough: allow black hole "punctures" to move through the grid using "1+log" slicing and "gamma-driver" shift conditions.
1+log Slicing
∂tα = -2αK (avoids singularity)
Gamma-Driver
∂tβi = 3/4 Bi (coordinate motion)
Python: Wave Equation Toy Model
This simulation demonstrates finite difference methods used in numerical relativity by solving the 1D wave equation. The wave equation shares the same hyperbolic character as Einstein's equations.
Wave Equation Evolution Simulation
PythonEvolves a Gaussian pulse using finite differences with CFL stability
Click Run to execute the Python code
Code will be executed with Python 3 on the server
Fortran: BSSN Variable Computation
This program computes the key BSSN variables for Schwarzschild initial data, demonstrating the conformal decomposition and gauge conditions used in modern numerical relativity codes.
BSSN Variables Visualization
PythonLapse function, conformal factor, and metric components vs radius
Click Run to execute the Python code
Code will be executed with Python 3 on the server