Numerical relativity solves Einstein's equations as an initial-value problem, usually after decomposing spacetime into spatial hypersurfaces and evolution in time.
A 3+1 decomposition writes in terms of lapse, shift, and spatial metric.
A spacetime foliation separates a spatial metric, lapse and shift. The ADM formalism uses this decomposition to express Einstein evolution and constraint equations in Hamiltonian form.
For a minimally coupled scalar field with spatial induced metric , the field's derivative along the future unit normal is . If the shift vector enters as , then . The canonical momentum of the density is . Confusing this density with the normal derivative loses a volume factor.
For a minimally coupled scalar field, put using the spatial covariant derivative. Spatial and normal projections of its stress-energy tensor give , , and . The trace-free stress is , with coefficient one. This makes the scalar anisotropic stress second order in a spatial gradient expansion.
In fixed spatial coordinates set and , so . This volume-shape decomposition is useful for separating isotropic expansion and anisotropic shape. The determinant-defined scale depends on the coordinate volume convention.
For a positive lapse function , shift vector and spatial induced metric , the block metric has and . Its block determinant is . Therefore the metric volume tensor contracted with the future unit normal restricts to the spatial volume tensor: .
Using the lapse function , shift vector and spatial metric , the Legendre transform in mechanics of the Einstein-Hilbert action gives, in units ,
Here and is the canonical momentum of the spatial metric. Varying lapse and shift imposes the Hamiltonian constraint and momentum constraint. An asymptotic time translation requires an Arnowitt-Deser-Misner energy boundary term. The bulk constraints generate gauge evolution; the nonzero asymptotic energy comes from the boundary.
On a compact spatial Cauchy hypersurface without boundary, the gravitational Hamiltonian consists entirely of constraints and vanishes on solutions. There is no asymptotic time-translation boundary charge to add. This is the canonical statement that a closed universe has zero total energy; it does not assert that local matter energy density or local curvature vanishes.
The momentum constraint is the equation obtained by varying the shift vector in the Hamiltonian formulation of general relativity. It expresses the tangential-normal projection of the Einstein field equations and generates spatial coordinate transformations. Writing avoids ambiguities about covariant derivatives of tensor densities.
For scalar metric potentials and positive extrinsic curvature, . The scalar shear terms cancel between its divergence and trace gradient. With , the momentum constraint becomes . Reversing the convention for reverses the geometric left side.
With the convention for extrinsic curvature, differentiation of the gravitational Lagrangian gives in units . It is a weight-one tensor density. In three spatial dimensions, , so
The lapse function and shift vector have no time derivatives in this action and consequently have vanishing conjugate momenta. Changing the sign convention for extrinsic curvature changes the corresponding momentum relation; it must not be silently combined with this formula.
For a unit timelike normal , the spatial projection tensor annihilates and projects every spacetime tensor onto a spatial hypersurface.
Differentiating the spatial projection tensor and projecting its derivative and covariant indices leaves , where is the extrinsic curvature of a spatial hypersurface. Contracting with gives zero because is transverse. This distinction separates the informative tensor identity, with a free normal index, from its vanishing trace. Hypersurface orthogonality implies symmetric extrinsic curvature.
With signature and , the spatial projection tensor is . Projecting the spacetime metric tensor gives , which is negative definite on spatial vectors. The positive spatial induced metric is . A plus sign in belongs to a different normal/signature convention and is not transverse in this one. Fully projected covariant derivatives of either spatial metric vanish by metric compatibility.
The spatial covariant derivative projects the spacetime covariant derivative and every free tensor index onto a spatial hypersurface. It is the Levi-Civita connection of the induced spatial metric.
For a unit timelike normal , the induced metric is . The spatial covariant derivative projects the derivative and all free indices with the spatial projection tensor . Metric compatibility gives ; projecting kills the normal factor in each term. Thus the spatial covariant derivative is compatible with the induced metric.
The normal acceleration measures failure of the hypersurface unit normals to be geodesics. It is spatial, , and in a 3+1 decomposition satisfies .
The lapse function measures proper-time separation between neighboring spatial hypersurfaces along their unit normal.
The shift vector describes how spatial coordinates move tangentially between neighboring hypersurfaces.
With future unit normal , the convention measures how the hypersurface is embedded in spacetime.
With a future unit timelike normal in signature , this convention makes the extrinsic curvature trace equal to the normal congruence's expansion, . An expanding flat Friedmann-Lemaître-Robertson-Walker metric has and . This is the opposite sign to the negative-expansion convention used in many 3+1 decomposition of spacetime formulas. Projection identities and momentum constraints must use the same convention throughout.
In a 3+1 decomposition of spacetime with , contract the metric evolution with and use the Jacobi determinant derivative formula. Here , , is the lapse function, and is the shift vector. The identity separates spatial transport and coordinate compression from the geometric volume change caused by extrinsic curvature.
For and the future unit normal, the convention gives . Lower the shift vector with . The sign of the shift terms changes when the opposite threading convention is used.
For the threading convention and , contract with . Metric compatibility gives , and the Jacobi determinant derivative formula gives . With zero shift, is the local volume Hubble parameter. Reversing the shift convention reverses both the normal's spatial component and the shift terms; the two conventions must not be mixed.
With signature , future unit normal and , the Gauss–Codazzi equations become and , where in the second expression only the first three indices are projected. The intrinsic curvature and spatial covariant derivative use the spatial induced metric. The normal is timelike, so the normal-sign convention differs from a spacelike normal in a positive-definite ambient metric.
For the positive-expansion convention for extrinsic curvature, write with normal acceleration . The Ricci commutator applied to gives the difference of its two second-derivative contractions. Projecting tangentially, the acceleration term in that commutator cancels exactly the acceleration term converting a spacetime divergence of into its fully projected spatial covariant derivative. Einstein's equations then identify the displayed equation as the momentum constraint.
For a Ricci-flat spacetime with the stated Gauss–Codazzi equations for a spatial hypersurface and induced orientation , the electric part of the Weyl tensor and magnetic part of the Weyl tensor satisfy
The electric relation comes from the vanishing spatial projection of the Ricci tensor. The magnetic relation combines the normal curvature projection with the sign .
Unit normalization gives . Hence . Set . Frobenius theorem for a hypersurface normal gives . Contracting with leaves , precisely the vanishing antisymmetric part of the extrinsic curvature of a spatial hypersurface.
For the convention , contraction of the Gauss equation gives
The Hamiltonian constraint is the normal-normal projection of the Einstein field equations onto a spatial hypersurface. With the extrinsic-curvature convention used here,
For a spatial initial slice with vanishing extrinsic curvature, the vacuum momentum constraint is automatic and the Hamiltonian constraint requires zero Ricci scalar. In three spatial dimensions, the indicated conformally flat metric has , with a nonzero conformal factor. Thus a harmonic function supplies the data on its domain. A positive example is on a punctured or exterior region. There is no nonconstant globally smooth example on all of Euclidean three-space tending to one at infinity, by the maximum principle for harmonic functions. Time symmetry of an initial slice does not imply that its entire evolved spacetime is static.
For a spatially flat Friedmann-Lemaître-Robertson-Walker metric, negative extrinsic curvature, and , the Hamiltonian constraint gives the displayed scalar perturbation equation. Indeed and to first order. The spatial Ricci scalar is ; subtract the background equation and divide by four.
The Z4 formulation introduces a spacetime vector into Einstein's equations so that the Hamiltonian and momentum constraints become part of a dynamical system. Its normal projection is commonly written .
For with spatial , current conservation gives under the stated extrinsic-curvature convention.
Relative to a future unit normal , the stress-energy tensor decomposes as
where and both indices of are spatial.
For signature and future normal , write and use the positive induced metric for . The Klein-Gordon scalar stress-energy tensor has normal-frame density , momentum and spatial stress . The spatial index convention and normal orientation must be specified.
With and , spatial projection of gives
Geodesic slicing chooses unit lapse and zero shift, so the hypersurface normals are affinely parametrized timelike geodesics. It is simple but commonly develops coordinate singularities in finite time.
The Baumgarte–Shapiro–Shibata–Nakamura formulation rewrites the Einstein evolution equations using a conformal spatial metric, conformal traceless extrinsic curvature, the trace , and conformal connection functions.
In vacuum geodesic slicing, discarding nonnegative shear leaves . Positive initial therefore gives and blows up at .
A harmonic coordinate satisfies for a Riemannian metric, or for a Lorentzian metric. Equivalently or . This common coordinate condition applies in both Riemannian geometry and general relativity.
With the Riemann curvature tensor convention , harmonic coordinates remove the mixed second derivatives from the Ricci tensor. The remainder contains at most first derivatives of the metric tensor. The vacuum Einstein field equations become a system of quasilinear partial differential equations with a Lorentzian wave equation principal part. Harmonic coordinate constraints must be maintained when using the reduced system.
Harmonic slicing imposes the harmonic-coordinate condition only on time. In 3+1 form it obeys .
For a positive lapse function , shift vector , and the convention for extrinsic curvature of a spatial hypersurface, the time-coordinate harmonic slicing condition yields the displayed advective lapse equation. Combining with the spatial volume evolution identity proves it without setting the shift vector to zero.
The Bona--Masso family is . Harmonic slicing is the choice .
For the stationary conformally flat Schwarzschild slicing with areal radius , lapse , and radial shift , the Bona--Masso condition selects
In harmonic gauge, the vacuum Einstein equations have principal part , forming a quasilinear wave system supplemented by constraints.
The Arnowitt-Deser-Misner formalism expresses general relativity as constrained Hamiltonian evolution of a spatial metric and its conjugate momentum after a 3+1 decomposition of spacetime. Lapse and shift enforce the Hamiltonian and momentum constraints. For an asymptotically flat spacetime its boundary Hamiltonian gives the Arnowitt-Deser-Misner energy.

Articles by others on the same topic (1)

Numerical relativity is a subfield of computational physics that focuses on solving the equations of general relativity using numerical methods. General relativity, formulated by Albert Einstein, describes the gravitational interaction as a curvature of spacetime caused by mass and energy. The equations governing this curvature, known as the Einstein field equations, are highly complex and often impossible to solve analytically in realistic scenarios, especially in dynamic situations like the collision of black holes or neutron stars.