Subsections
15.2 Relativistic hydrodynamics (RHD)
15.2.1 Overview
FLASH provides support for solving the equations of special
relativistic hydrodynamics (RHD) in one, two and three spatial dimensions.
Relativistic fluids are characterized by at least one of the following
two behaviors: (i) bulk velocities close to the speed of light
(kinematically relativistic regime), (ii) internal energy greater than or comparable
to the rest mass density (thermodynamically relativistic regime).
As can be seen from the equations in Sec:RHD_equations,
the two effects become coupled by the presence of the Lorentz factor;
as a consequence, transverse velocities do not obey simple advection
equations.
Under these circumstances, Newtonian hydrodynamics is not adequate
and a correct description of the flow must take relativistic effects
into account.
15.2.2 Equations
The motion of an ideal fluid in special relativity
is described by the system of conservation laws
|
(15.14) |
where ,
, ,
and define, respectively, the fluid
density, momentum density, total energy density, three-velocity and
pressure of the fluid.
(15.14) is written in units of , where
is the speed of light. The same convention
is used throughout
this section,
and is also
adopted in the FLASH code.
At present, only Cartesian (1, 2 and 3-D), 2-D cylindrical (, )
and 1-D spherical (1-D, ) geometries are supported by
FLASH. Gravity is not included, although it can be easily added
with minor modifications.
An equation of state (Eos) provides an additional relation between
thermodynamic quantities and closes the system of
conservation laws ((15.14)). The current version of
FLASH supports only the ideal equation of state, for which
the specific enthalpy may be expressed as
|
(15.15) |
where (constant) is the specific heat ratio and is the
proper rest mass density. Causality () is preserved
for
. The specific heat ratio is specified as a runtime
parameter ("gamma").
As in classical hydrodynamics, relativistic fluids may be
described in terms of a state vector of
conservative,
, or primitive,
, variables.
The connection between the two sets is given by
|
(15.16) |
where
is the Lorentz
factor. Notice that the total energy density includes
the rest mass contribution.
The inverse relation, giving
in terms of
, is
|
(15.17) |
This inverse map is not trivial due to the non-linearity introduced by
the Lorentz factor ; it can be shown, in fact, that
(15.17) can be combined together to obtain
the following implicit expression for :
|
(15.18) |
(15.18) has to be solved at least once per time step
in order to recover the pressure from a set of conservative variables
.
Notice that
depends on the pressure
through
and that
the specific enthalpy is, in general, a function of both and ,
.
The conversion routines are implemented in the
rhd_conserveToPrimitive.F90 and rhd_primitiveToConserve.F90
source files.
A variant version of the ideal gamma law Eos_wrapped.F90 routine
is required by the RHD unit and is provided in Eos/EosMain/Gamma/RHD.
In order to do so the unit requires a typical Config file which
should look like this:
REQUIRES physics/Eos/EosMain/Gamma/RHD
For this specific purpose, the current RHD implementation
supports MODE_DENS_EI (a default mode) and MODE_DENS_PRES only
(but not MODE_DENS_TEMP) in making a Eos_wrapped call.
One additional runtime parameter used with the RHD unit is
Table 15.6:
Additional parameters in the RHD unit.
Variable |
Type |
Default |
Description |
rhd_reconType |
integer |
1 |
Order of reconstruction scheme:
1 for piecewise liner; 2 for piecewise parabolic |