SpECTRE  v2025.03.17
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
hydro::Tags::MassFlux< DataType, Dim, Fr > Struct Template Reference

The vector Ji in M˙=Jisid2S, representing the mass flux through a surface with normal si. More...

#include <Tags.hpp>

Public Types

using type = tnsr::I< DataType, Dim, Fr >
 

Static Public Member Functions

static std::string name ()
 

Detailed Description

template<typename DataType, size_t Dim, typename Fr>
struct hydro::Tags::MassFlux< DataType, Dim, Fr >

The vector Ji in M˙=Jisid2S, representing the mass flux through a surface with normal si.

Note that the integral is understood as a flat-space integral: all metric factors are included in Ji. In particular, if the integral is done over a Strahlkorper, the gr::surfaces::euclidean_area_element of the Strahlkorper should be used, and si is the normal one-form to the Strahlkorper normalized with the flat metric, sisjδij=1.

The formula is Ji=ρWγ(αviβi), where ρ is the mass density, W is the Lorentz factor, vi is the spatial velocity of the fluid, γ is the determinant of the 3-metric γij, α is the lapse, and βi is the shift.


The documentation for this struct was generated from the following file: