Physics[ThreePlusOne][LapseAndShiftConditions]
Calling Sequence
LapseAndShiftConditions()
LapseAndShiftConditions(keyword, options)
Parameters
keyword
-
optional : any of the valid keywords associated to slicing and spatial gauge conditions, returned when no arguments are given
additionalconditions = ...
optional : the right-hand side is a set of equations to be added to the set of equations related to keyword, to be returned or solved
evaluate
optional : when given, the set of equations to be returned if first evaluated using value, then an array of equations is constructed with the tensor components
output = ...
optional, the right-hand side can be equations (default) or solution, in which case an attempt is made to solve the equations for the Lapse and Shift
parameters = ...
optional, the right-hand side is a set to be considered additional solving parameters (typically entering the components of the spacetime metric) when solving for the Lapse and Shift
quiet
optional, when given, verbosity is turned OFF.
setconditions
optional, when given, an attempt is made to solve the slicing and gauge equations for the Lapse and Shift, and when successful, they are set using Setup and its lapseandshift keyword.
simplifier
optional, the indication of a simplifier to be applied to each of the condition equations being returned or solved.
Description
The LapseAndShiftConditions() command returns a list of keywords associated to the most common slicing and spatial gauge conditions for the Lapse and Shift that fix the freedom of choice of coordinates of the 4D formulation of Einstein's equations describing gravity.
The LapseAndShiftConditions(keyword) returns a Vector column with the equations for the Lapse and Shift associated to that keyword, expressed in terms of the inert forms of the tensors involved; these are mainly the ExtrinsicCurvature, the gamma3_ metric of the spacelike hypersurface of the 3+1 splitting, the NormalUnitVector, and the EnergyMomentum tensor.
When the option evaluate is passed, all the inert forms of tensors are first transformed into active by calling value, then the Vector column of equations is transformed into an array of equations calling TensorArray. If in addition the option simplifier = ... is given, the right-hand side of this option is applied to each of the elements of the resulting array.
The evaluated equations returned for the Lapse and Shift can also then be expressed in terms of the components of the 4D metric gμ,ν; for that purpose use convert⁡equations,g_. This rewriting in terms of the metric can also be done for the non-evaluated equations returned by default (when no options are passed), and can be applied selectively to one or several of the tensors appearing in the equations, e.g. via convert⁡equations,g_,only=ExtrinsicCurvature where the set can contain one or several tensors entering equations.
Depending on the keyword and the 4D metric set, in some cases it is possible to solve these slicing and gauge conditions for the Lapse and Shift exactly. To attempt that solution you can either convert the array of equations returned into a set of equations, then use PDEtools:-Solve to tackle them, or just pass the option output = solution.
When the equations for the Lapse and Shift can be solved, by passing the optional argument setconditions, LapseAndShiftConditions will automatically set these values using Setup and its lapseandshift keyword.
You can also set the value of the lapseandshift directly using Setup; there are three possible values: standard, arbitrary, or a list of algebraic expressions representing the Lapse and Shift. The value chosen determines the values of the components of all the ThreePlusOne tensors (e.g. ExtrinsicCurvature) and so of tensorial expressions involving them (e.g. the ADMEquations). Those components are always computed first in terms of the Lapse and Shift and the space part gi,j of the 4D metric, then in a second step, if lapseandshift = standard, the Lapse and the Shift are replaced by their expressions in terms of the g0,μ part of the 4D metric, according to α2=−g0,0-1 and βj=g0,j, or if lapseandshift was set passing a list to Setup then in terms of the values indicated in that list (these values are not used to set the g0,μ part of the 4D metric). When lapseandshift = arbitrary, the second step is not performed and the Lapse and Shift evaluate to themselves, representing an arbitrary value for them. In the three cases, standard, arbitrary, or a list of algebraic expressions, the components of the ThreePlusOne tensors are computed in terms of a metric with line element ds2=−α2⁢dt2+γi,j⁡dxi+β⁢i⁢i⁢dt⁡dxj+β⁢j⁢j⁢dt, where α and βi have the Lapse and Shift values mentioned, and γi,j=gi,j is the ThreePlusOne:-gamma3_ metric of the 3D hypersurface. This design permits working with any 4D metric set and, without changing its value, experimenting with different values of the Lapse and Shift (different values of g0,μ) for the 3+1 decomposition of Einstein's equations.
Depending on the manipulations to be done with the equations for the Lapse and Shift it is frequently convenient to set the value of lapseandshift via Setup⁡lapseandshift=arbitrary in order to avoid their spontaneous evaluation in terms of the components of the metric g0,0 and g0,j during intermediate steps.
Examples
with⁡Physics:with⁡ThreePlusOne
⁢_______________________________________________________
Setting lowercaselatin_is letters to represent space indices
Defined as 4D spacetime tensors see ?Physics,ThreePlusOne,γμ,ν,▿μ,Γμ,ν,α,Rμ,ν,Rμ,ν,α,β,βμ,nμ,tμ,Κμ,ν
Changing the signature of spacetime from - - - + to + + + - in order to match the signature customarily used in the ADM formalism
⁢Systems of spacetime coordinates are:⁢X=x,y,z,t
ADMEquations,Christoffel3,D3_,ExtrinsicCurvature,Lapse,LapseAndShiftConditions,Ricci3,Riemann3,Shift,TimeVector,UnitNormalVector,gamma3_
Setup⁡mathematicalnotation=true,coordinates=cartesian
_______________________________________________________
coordinatesystems=X,mathematicalnotation=true
When Physics is initialized, the default spacetime metric is of Minkowski type. You can see the metric querying Setup, as in Setup(metric), or directly entering the metric as g_[], with no indices
g_
gμ,ν=100001000010000−1
The list of slicing and spatial gauge conditions implemented are visible via
LapseAndShiftConditions⁡
advectiveonepluslog,generalizedharmonicslicing,geodesicslicing,harmoniccoordinates,harmonicslicing,kdriver,maximalslicing,onepluslog
To see all the equations associated to these keywords, expressed in terms of the inert forms of the ThreePlusOne tensors, use
forkeyinLapseAndShiftConditions⁡dokey=LapseAndShiftConditions⁡keyenddo
advectiveonepluslog=ℒn⁡α=−2⁢Κtrace∂0⁡α−β⁢j⁢j⁢∂j⁡α=−2⁢α⁢Κtrace
generalizedharmonicslicing=∂0⁡α=−α2⁢f⁡α⁢Κtraceβ⁢i⁢i=0
geodesicslicing=α=1β⁢i⁢i=0
harmoniccoordinates=∂0⁡α−β⁢j⁢j⁢∂j⁡α=−α2⁢Κtrace∂0⁡β⁢i⁢i−β⁢j⁢j⁢∂j⁡β⁢i⁢i=−α2⁢γ⁢i,j⁢i,j⁢∂j⁡ln⁡α+γ⁢j,k⁢j,k⁢Γ⁢ij,k⁢ij,k
harmonicslicing=∂0⁡α=−α2⁢Κtraceα=C⁡X⁢ γ β⁢i⁢i=0
kdriver=∂0⁡Κtrace=c⁢Κtrace∂0⁡α=−ε⁢∂0⁡Κtrace+c⁢Κtrace0<c,0<ε
maximalslicing=Κtrace=0,∂0⁡Κtrace=0▿⁢μ⁢μ⁡▿μ⁡α=α⁢Κμ,ν⁢Κ⁢μ,ν⁢μ,ν+4⁢π⁢γμνμν⁢γ⁢μ,α⁢μ,α⁢Τν,α+nμ⁢nν⁢Τ⁢μ,ν⁢μ,ν
onepluslog=∂0⁡α=−2⁢α⁢Κtraceα=1+ln⁡ γ β⁢i⁢i=0
These equations expressed in terms of inert tensors can be transformed into explicit equations for the Lapse and Shift using the option evaluate. For illustration purposes set the spacetime to curved, for instance by setting the Schwarzschild metric in spherical coordinates
g_sc
⁢Systems of spacetime coordinates are:⁢X=r,θ,φ,t
⁢Default differentiation variables for d_, D_ and dAlembertian are:⁢X=r,θ,φ,t
⁢The Schwarzschild metric in coordinates ⁢r,θ,φ,t
Parameters: m
Signature: + + + -
gμ,ν=−r2⁢m−r0000r20000r2⁢sin⁡θ200002⁢m−rr
The kdriver equations as explicit differential equations for the Lapse
LapseAndShiftConditions⁡kdriver
∂0⁡Κtrace=c⁢Κtrace∂0⁡α=−ε⁢∂0⁡Κtrace+c⁢Κtrace0<c,0<ε
LapseAndShiftConditions⁡kdriver,evaluate
2⁢−β⁢2⁢2⁢−α2−1⁢r2+m⁢α⁢r⁢∂2∂t∂θα−−α2−1⁢r2+m⁢α⁢β⁢3⁢3⁢r⁢∂2∂φ∂tα−−α2−1⁢r2+m⁢α⁢r⁢β⁢1⁢1⁢∂2∂r∂tα−−α..⁢r⁢α+α.⁢2⁢α.⁢r−2⁢ⅆαⅆθ⁢r⁢β⁢2⁢2−2⁢ⅆαⅆφ⁢r⁢β⁢3⁢3−2⁢ⅆαⅆr⁢r⁢β⁢1⁢1+α⁢cot⁡θ⁢r⁢β⁢2⁢2+2⁢β⁢1⁢1⁢m−r2r⁢α3⁢2⁢m−r=−2⁢c⁢β⁢2⁢2⁢r⁢−α2−1⁢r2+m⁢ⅆαⅆθ+β⁢3⁢3⁢r⁢−α2−1⁢r2+m⁢ⅆαⅆφ+β⁢1⁢1⁢r⁢−α2−1⁢r2+m⁢ⅆαⅆr−m−r2⁢α.⁢r+α⁢cot⁡θ⁢r⁢β⁢2⁢2+2⁢β⁢1⁢1r⁢α2⁢2⁢m−rα.=−2⁢−β⁢2⁢2⁢−α2−1⁢r2+m⁢α⁢r⁢∂2∂t∂θα−−α2−1⁢r2+m⁢α⁢β⁢3⁢3⁢r⁢∂2∂φ∂tα−−α2−1⁢r2+m⁢α⁢r⁢β⁢1⁢1⁢∂2∂r∂tα+r⁢α⁢m−r2⁢α..+−2⁢m⁢r+r2⁢α.2+2⁢ⅆαⅆθ⁢r⁢β⁢2⁢2+2⁢ⅆαⅆφ⁢r⁢β⁢3⁢3+2⁢ⅆαⅆr⁢r⁢β⁢1⁢1+α⁢−cot⁡θ⁢r⁢β⁢2⁢2+c⁢r−2⁢β⁢1⁢1⁢m−r2⁢α.+−β⁢2⁢2⁢r⁢−α2−1⁢r2+m⁢ⅆαⅆθ−β⁢3⁢3⁢r⁢−α2−1⁢r2+m⁢ⅆαⅆφ−β⁢1⁢1⁢r⁢−α2−1⁢r2+m⁢ⅆαⅆr+m−r2⁢cot⁡θ⁢r⁢β⁢2⁢2+2⁢β⁢1⁢1⁢α⁢c⁢α⁢εr⁢α3⁢2⁢m−r0<c,0<ε
The conditions for the harmonicslicing in the context of the Schwarzschild metric
LapseAndShiftConditions⁡harmonicslicing,evaluate
0=0α.=2⁢β⁢2⁢2⁢r⁢−α2−1⁢r2+m⁢ⅆαⅆθ+β⁢3⁢3⁢r⁢−α2−1⁢r2+m⁢ⅆαⅆφ+β⁢1⁢1⁢r⁢−α2−1⁢r2+m⁢ⅆαⅆr−m−r2⁢α.⁢r+α⁢cot⁡θ⁢r⁢β⁢2⁢2+2⁢β⁢1⁢1r⁢2⁢m−rα=C⁡X⁢r2⁢sin⁡θαβ⁢1⁢1=0β⁢2⁢2=0β⁢3⁢3=0
These equations are actually simpler than what they seem to be and can be solved exactly
LapseAndShiftConditions⁡harmonicslicing,output=solution
α=−sin⁡θ⁢f__1⁡r,θ,φ⁢r,m=m,β⁢1⁢1=0,β⁢2⁢2=0,β⁢3⁢3=0,C⁡X=f__1⁡r,θ,φ,α=sin⁡θ⁢f__1⁡r,θ,φ⁢r,m=m,β⁢1⁢1=0,β⁢2⁢2=0,β⁢3⁢3=0,C⁡X=f__1⁡r,θ,φ
See Also
ArrayElems, Christoffel, Christoffel3, convert, Coordinates, D_, d_, ExtrinsicCurvature, gamma_, Matrix, Physics, Physics conventions, Physics examples, Physics Updates, Tensors - a complete guide, Mini-Course Computer Algebra for Physicists, Ricci, Ricci3, Riemann, Riemann3, Setup, ThreePlusOne, TimeVector, UnitNormalVector, value
References
[1] Alcubierre, M., Introduction to 3+1 Numerical Relativity, International Series of Monographs on Physics 140, Oxford University Press, 2008.
[2] Baumgarte, T.W., Shapiro, S.L., Numerical Relativity, Solving Einstein's Equations on a Computer, Cambridge University Press, 2010.
[3] Gourgoulhon, E., 3+1 Formalism and Bases of Numerical Relativity, Lecture notes, 2007, https://arxiv.org/pdf/gr-qc/0703035v1.pdf.
Compatibility
The Physics[ThreePlusOne][LapseAndShiftConditions] command was introduced in Maple 2020.
For more information on Maple 2020 changes, see Updates in Maple 2020.
Download Help Document