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: $\phi = \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

Python

Evolves a Gaussian pulse using finite differences with CFL stability

script.py170 lines

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

Python

Lapse function, conformal factor, and metric components vs radius

bssn_plot.py129 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server

Rate this chapter: