Field propagator

VariationalResistivity

Advances s and b.

What it solves

FEEC discretization of the following equations:

find and such that

With

On the logical domain:

It is discretized as

where $P^3$ denotes the $L^2$ projection in the last space of the de Rham sequence.

Variables it advances

The variables this step updates over a time step dt, and the discrete spaces each one accepts.

NameKindAccepted spaces
sFEECVariableL2
bFEECVariableHdiv

Options

Set these on the propagator in a parameter file, for example VariationalResistivity.Options(model=...).

OptionDefaultChoicesDescription
modelfullfullfull_pfull_qlinear_plinear_qdeltaf_qThermodynamic model variant.
gamma1.66667floatAdiabatic index.
solverpcgpcgcgLinear solver for implicit subproblems.
precondMassMatrixDiagonalPreconditionerMassMatrixPreconditionerMassMatrixDiagonalPreconditionerNonePreconditioner used in linear solves.
solver_paramsNoneSolverParametersLinear-solver controls.
nonlin_solverNoneNonlinearSolverParametersNonlinear iteration controls.
linearize_currentFalseboolIf True, linearize current terms around background fields.
eta0floatPhysical resistivity coefficient.
eta_a0floatArtificial-resistivity coefficient.

Used by

Each model splits its time step into a sequence of propagators. This one appears in 7 models, at the position shown.