SpECTRE
v2025.03.17
|
Magnetized fluid disk orbiting a Kerr black hole. More...
#include <MagnetizedFmDisk.hpp>
Classes | |
struct | BFieldNormGridRes |
Grid resolution used in magnetic field normalization. More... | |
struct | InversePlasmaBeta |
The maximum-magnetic-pressure-to-maximum-fluid-pressure ratio. More... | |
struct | ThresholdDensity |
The rest mass density (in units of the maximum rest mass density in the disk) below which the matter in the disk is initially unmagetized. More... | |
Public Types | |
template<typename DataType > | |
using | tags = implementation defined |
using | options = implementation defined |
using | equation_of_state_type = typename FmDisk::equation_of_state_type |
Public Member Functions | |
MagnetizedFmDisk (const MagnetizedFmDisk &)=default | |
MagnetizedFmDisk & | operator= (const MagnetizedFmDisk &)=default |
MagnetizedFmDisk (MagnetizedFmDisk &&)=default | |
MagnetizedFmDisk & | operator= (MagnetizedFmDisk &&)=default |
MagnetizedFmDisk (double bh_mass, double bh_dimless_spin, double inner_edge_radius, double max_pressure_radius, double polytropic_constant, double polytropic_exponent, double noise, double threshold_density, double inverse_plasma_beta, size_t normalization_grid_res=BFieldNormGridRes::suggested_value()) | |
auto | get_clone () const -> std::unique_ptr< evolution::initial_data::InitialData > override |
void | pup (PUP::er &) override |
const equation_of_state_type & | equation_of_state () const |
template<typename DataType , typename... Tags> | |
tuples::TaggedTuple< Tags... > | variables (const tnsr::I< DataType, 3 > &x, tmpl::list< Tags... >) const |
The variables in Cartesian Kerr-Schild coordinates at (x, t) . | |
template<typename DataType , typename Tag > | |
tuples::TaggedTuple< Tag > | variables (const tnsr::I< DataType, 3 > &x, tmpl::list< Tag >) const |
The variables in Cartesian Kerr-Schild coordinates at (x, t) . | |
virtual auto | get_clone () const -> std::unique_ptr< InitialData >=0 |
Static Public Attributes | |
static constexpr size_t | volume_dim = 3_st |
static constexpr Options::String | help |
Friends | |
bool | operator== (const MagnetizedFmDisk &lhs, const MagnetizedFmDisk &rhs) |
Magnetized fluid disk orbiting a Kerr black hole.
In the context of simulating accretion disks, this class implements a widely used (e.g. [80], [165], [205]) initial setup for the GRMHD variables, consisting of a Fishbone-Moncrief disk [70] (see also RelativisticEuler::Solutions::FishboneMoncriefDisk), threaded by a weak poloidal magnetic field. The magnetic field is constructed from an axially symmetric toroidal magnetic potential which, in Kerr ("spherical Kerr-Schild") coordinates, has the form
where
where
is the norm of the magnetic field in the fluid frame, with
|
overridevirtual |
Implements evolution::initial_data::InitialData.
|
staticconstexpr |