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.
| Name | Kind | Accepted spaces |
|---|---|---|
s | FEECVariable | L2 |
b | FEECVariable | Hdiv |
Options
Set these on the propagator in a parameter file, for example VariationalResistivity.Options(model=...).
| Option | Default | Choices | Description |
|---|---|---|---|
model | full | fullfull_pfull_qlinear_plinear_qdeltaf_q | Thermodynamic model variant. |
gamma | 1.66667 | float | Adiabatic index. |
solver | pcg | pcgcg | Linear solver for implicit subproblems. |
precond | MassMatrixDiagonalPreconditioner | MassMatrixPreconditionerMassMatrixDiagonalPreconditionerNone | Preconditioner used in linear solves. |
solver_params | None | SolverParameters | Linear-solver controls. |
nonlin_solver | None | NonlinearSolverParameters | Nonlinear iteration controls. |
linearize_current | False | bool | If True, linearize current terms around background fields. |
eta | 0 | float | Physical resistivity coefficient. |
eta_a | 0 | float | Artificial-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.
ViscoResistiveDeltafMHDFluidstep 5 of 5 ·variat_resistViscoResistiveDeltafMHD_with_qFluidstep 5 of 5 ·variat_resistViscoResistiveLinearMHDFluidstep 4 of 4 ·variat_resistViscoResistiveLinearMHD_with_qFluidstep 4 of 4 ·variat_resistViscoResistiveMHDFluidstep 6 of 6 ·variat_resistViscoResistiveMHD_with_pFluidstep 5 of 5 ·variat_resistViscoResistiveMHD_with_qFluidstep 5 of 5 ·variat_resist