Constraint damping and boundary treatment
Analyze the limits of damping and the boundary information needed to preserve a constrained evolution.
On this page
The question for today
What you’ll understand
- Distinguish constraint damping from exact constraint enforcement.
- Check the stability of an explicit damping update.
- Identify incoming boundary characteristics and their constraint implications.
Constraint violations arise even when the intended continuum initial data are exact. Numerical differentiation, finite tolerance, mesh interfaces, and boundaries inject small errors into an evolved system. Constraint damping modifies the off-constraint equations so that selected violations decay in a controlled regime. Boundary treatment addresses a different source: information entering the domain. A damping coefficient cannot compensate for every unstable discretization or for continually injecting incompatible incoming constraint data.
Derive a propagation question before choosing a coefficient
A constraint-satisfying Einstein solution remains a solution when added terms vanish on its constraint surface. Off that surface, the formulation determines a propagation system for the violations. Linearizing this system around a specified background permits a Fourier-mode analysis. In generalized harmonic and related systems, suitable damping terms can make nonzero-frequency violations decay in the analyzed regime. This is a conditional stability statement, not a universal proof for large nonlinear errors.
A damped-wave analogy shows why qualifiers matter. For a spatially constant mode, the restoring spatial derivative disappears and the equation admits a constant solution as well as a decaying transient. The original damping analysis similarly highlights constant-in-space exceptions in its linearized setting. Quoting only a positive coefficient and claiming every possible violation vanishes would overstate the result. Curved backgrounds, boundaries and lower-order coupling terms require their own assessment.
Check the discrete damping step independently
A simpler local toy sets the violation derivative equal to minus kappa times the violation. Its exact amplitude decays exponentially for positive kappa. Forward Euler replaces that exponential by a repeated linear amplification factor. Stability therefore depends on the product of timestep and damping rate, even though the underlying ordinary differential equation is unconditionally decaying. Increasing the damping coefficient at a fixed timestep can make the numerical result worse.
For a real scalar damping mode, the magnitude of the Euler factor must not exceed one to avoid amplification. Strict decay requires the product to lie strictly between zero and two; monotone nonnegative decay needs it at most one. The full PDE timestep also depends on propagation speeds and the time integrator's stability region. Satisfying this one-mode condition is an audit of one error mechanism, not a sufficient stability theorem for the coupled spacetime calculation.
Supply only compatible incoming boundary data
For a hyperbolic system, boundary information is associated with characteristics entering the computational domain. With an outward boundary normal, negative normal characteristic speeds indicate incoming fields. Constraint-preserving boundary conditions restrict the incoming constraint content, while physical radiation and gauge conditions supply other parts of the boundary prescription. Specifying every metric component freely can overconstrain the system or violate its compatibility conditions.
An outer boundary at finite radius also reflects some outgoing radiation unless its treatment is sufficiently absorbing for the modes being evolved. Moving that boundary outward and comparing results helps measure contamination, but its causal travel time and gauge speeds must be considered. Mesh-interface errors, physical radiation and constraint norms should be monitored separately. A run with a small average constraint norm can still have a reflected wave corrupt an observable, especially after a long evolution.
Work it through
Continuum decay and a finite Euler calculation
For the separate scalar damping toy let , , and . Compute two forward-Euler steps and compare with the exact amplitude at the same final time. Does stable decay imply exact integration?
The dimensionless step product is 0.5, so the Euler amplification factor is one half. The first numerical amplitude is 0.5 and the second is 0.25.
Two steps reach time L. The exact result there is , so Euler underestimates the amplitude by about 0.1179. Both descriptions decay, but their finite-time values differ substantially.
The factor magnitude is below one and positive, making this particular toy update stable and monotone. Accuracy still requires timestep refinement, and this scalar calculation says nothing by itself about incoming constraint data or the full spacetime evolution.
The two-step numerical amplitude is 0.25 instead of about 0.3679; a stable damping update still has discretization error.
The living notebook
Explore the model
Interactive lab · heat
An exact decaying mode has no timestep instability
Reset and set spatial mode one and diffusivity one, then Step once; predict amplitude exp of minus one half. Compare a fresh Reset run with mode two, diffusivity one, and one Step; predict exp of minus two. The instrument evaluates an exact periodic heat mode. It does not time-step a constraint system, impose boundaries, or demonstrate that a numerical damping integrator is stable.
- Current amplitude
- 1
- Spatial L² norm
- 1.772
- Decay rate · κn²
- 3.6 /s
The exact periodic heat-equation mode is u(x,t) = exp(−κn²t) sin(nx), on [0,2π]. Playback advances physical time. The initial sine is shown separately, and the unnormalized L² norm is √π exp(−κn²t). This analytic instrument does not run a finite-difference solver or test discretization stability. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forAn analytic decaying model and a discretized damping update answer different questions.
Pause & reason
Check your understanding
Your turn
Try it yourself
Keep the toy equation but choose and , with initial amplitude one. Find the Euler factor and amplitude after three steps. Compare its behavior with the continuum solution, and state the missing boundary limitation.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Evaluate the step product before raising the amplification factor to the third power. Damping of a homogeneous mode does not specify incoming boundary data.
Compare with the solution
The step product is three and the Euler factor is minus two. After three steps the numerical amplitude is minus eight, growing with alternating sign, whereas the continuum amplitude at time 4.5 L is and decays. This timestep is outside the scalar Euler damping interval. Even a stable local damping choice would not by itself stop incompatible incoming boundary errors from being repeatedly injected into a full evolution.
Keep the idea
Take it with you
- Damping targets an off-constraint propagation system under stated assumptions.
- Stable continuum decay does not guarantee a stable or accurate discrete update.
- Incoming constraint, gauge and radiation data need compatible boundary treatment.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.