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 θ\theta as:

θ=gμνθμν \theta = g^{\mu\nu}\theta_{\mu\nu}

where θμν\theta_{\mu\nu} is the stress tensor found from the projection tensor PμαP^\alpha_\mu acting on the observer vector field UμU^\mu as

θμν=PμαPνβ(αUβ)\theta_{\mu\nu} = P^\alpha_\mu P^\beta_\nu \nabla_{(\alpha} U_{\beta)}

and the projection tensor is given by:

Pμν=gμν+UμUνP_{\mu\nu} = g_{\mu\nu} + U_\mu U_\nu

Shear Scalar

The shear scalar is a quantity that describes the relative stretching while preserving the volume of an object. The shear scalar σ2\sigma^2 is defined as:

σ2=12σμνσμν\sigma^2 = \frac{1}{2} \sigma_{\mu\nu} \sigma^{\mu\nu}

where σμν\sigma_{\mu\nu} is the shear tensor found from the stress tensor and projection tensorPμνP_{\mu\nu}, shear tensor θμν\theta_{\mu\nu} and shear scalar θ\theta as:

σμν=θμνθ3Pμν\sigma_{\mu\nu} = \theta_{\mu\nu} - \frac{\theta}{3} P_{\mu\nu}

Vorticity Scalar

The vorticity scalar is the magnitude of the twist in spacetime, given by:

ω2=12ωμνωμν\omega^2 = \frac{1}{2}\omega_{\mu\nu}\omega^{\mu\nu}

Where ωμν\omega_{\mu\nu} is the vorticity tensor found from the projection tensor as

ωμν=PμαPνβ[αUβ].\omega_{\mu\nu} = P^\alpha_\mu P^\beta_\nu \nabla_{[\alpha} U_{\beta]}.

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

InputsFormatTypeDescription

Metric

struct

object

Input metric tensor.

Output Arguments

OutputsFormatTypeDescription

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