SpECTRE
v2025.03.17
|
General relativistic force-free electrodynamics (GRFFE) system with divergence cleaning. More...
#include <System.hpp>
Public Types | |
using | boundary_conditions_base = BoundaryConditions::BoundaryCondition |
using | boundary_correction_base = BoundaryCorrections::BoundaryCorrection |
using | variables_tag = ::Tags::Variables< tmpl::list< Tags::TildeE, Tags::TildeB, Tags::TildePsi, Tags::TildePhi, Tags::TildeQ > > |
using | flux_variables = implementation defined |
using | non_conservative_variables = implementation defined |
using | gradient_variables = implementation defined |
using | spacetime_variables_tag = ::Tags::Variables< gr::tags_for_hydro< volume_dim, DataVector > > |
using | flux_spacetime_variables_tag = ::Tags::Variables< tmpl::list< gr::Tags::Lapse< DataVector >, gr::Tags::Shift< DataVector, 3 >, gr::Tags::SqrtDetSpatialMetric< DataVector >, gr::Tags::SpatialMetric< DataVector, 3 >, gr::Tags::InverseSpatialMetric< DataVector, 3 > > > |
using | compute_volume_time_derivative_terms = TimeDerivativeTerms |
using | compute_largest_characteristic_speed = Tags::LargestCharacteristicSpeedCompute |
using | inverse_spatial_metric_tag = gr::Tags::InverseSpatialMetric< DataVector, volume_dim > |
Static Public Attributes | |
static constexpr bool | is_in_flux_conservative_form = true |
static constexpr bool | has_primitive_and_conservative_vars = false |
static constexpr size_t | volume_dim = 3 |
General relativistic force-free electrodynamics (GRFFE) system with divergence cleaning.
For electromagnetism in a curved spacetime, Maxwell equations are given as
where
In SpECTRE, we evolve 'extended' (or augmented) version of Maxwell equations with two divergence cleaning scalar fields
which reduce to the original Maxwell equations when
We decompose the EM field tensor as follows
where
Evolved variables are
where
Corresponding fluxes
and source terms are
where
See the documentation of Fluxes and Sources for further details.
In addition to Maxwell equations, general relativistic force-free electrodynamics (GRFFE) assumes the following which are called the force-free (FF) conditions.
In terms of electric and magnetic fields, the FF conditions above read
where
where
There are a number of different ways in literature to numerically treat the FF conditions. For the constraint
We take the strategy that introduces special driver terms in the electric current density
with
where
Internally we handle each pieces