getScalars
Description
The properties of the metric can be explored by comparing geometric properties such as the expansion, shear, and vorticity scalars. Each of these scalars is built from the metric tensor and evaluated at each point in spacetime using projections of the metric on a timelike vector field.
Expansion Scalar
The expansion scalar is a quantity that describes the change in the volume of a region. We define this scalar θ as:
θ=gμνθμν
where θμν is the stress tensor found from the projection tensor Pμα acting on the observer vector field Uμ as
θμν=PμαPνβ∇(αUβ)
and the projection tensor is given by:
Pμν=gμν+UμUν
Shear Scalar
The shear scalar is a quantity that describes the relative stretching while preserving the volume of an object. The shear scalar σ2 is defined as:
σ2=21σμνσμν
where σμν is the shear tensor found from the stress tensor and projection tensorPμν, shear tensor θμν and shear scalar θ as:
σμν=θμν−3θPμν
Vorticity Scalar
The vorticity scalar is the magnitude of the twist in spacetime, given by:
ω2=21ωμνωμν
Where ωμν is the vorticity tensor found from the projection tensor as
ωμν=PμαPνβ∇[αUβ].
Method
The finite difference methods are used to compute the covariant derivatives for the metric scalars. The 3+1 function is also used to define the observer vector field.
Currently, only the Eulerian observer vector field is used in Warp Factory.
The Eulerian observer vector field results in a Vorticity Scalar that is always zero (within the numerical noise threshold).
Syntax
[expansionScalar, shearScalar, vorticityScalar] = getScalars(metric)
Input Arguments
blue are required inputs
Metric
struct
object
Input metric tensor.
Output Arguments
expansionScalar
4x4 array
double
Returned expansion scalar at all spacetime points.
shearScalar
4x4 array
double
Returned shear scalar at all spacetime points.
vorticityScalar
4x4 array
double
Returned vorticity scalar at all spacetime points.
Last updated