Field propagator
VariationalPBEvolve
Advances p, u and b.
What it solves
FEEC discretization of the following equations:
find , and such that
Where (resp. ) is either (resp. ) for full-f models, (resp. ) for linear models or (resp. ) for models.
On the logical domain:
It is discretized as
with
where weights in the the struphy.feec.basis_projection_ops.BasisProjectionOperator and the struphy.feec.mass.WeightedMassOperator are given by
and is struphy.feec.basis_projection_ops.BasisProjectionOperators.
Variables it advances
The variables this step updates over a time step dt, and the discrete spaces each one accepts.
| Name | Kind | Accepted spaces |
|---|---|---|
p | FEECVariable | L2 |
u | FEECVariable | H1vec |
b | FEECVariable | Hdiv |
Options
Set these on the propagator in a parameter file, for example VariationalPBEvolve.Options(model=...).
| Option | Default | Choices | Description |
|---|---|---|---|
model | full_p | full_plineardeltaf | Pressure-magnetic coupled model variant. |
gamma | 1.66667 | float | Adiabatic index. |
solver | pcg | pcgcg | Linear solver for implicit substeps. |
precond | MassMatrixPreconditioner | MassMatrixPreconditionerMassMatrixDiagonalPreconditionerNone | Preconditioner used in linear solves. |
solver_params | None | SolverParameters | Linear-solver controls. |
nonlin_solver | None | NonlinearSolverParameters | Nonlinear iteration controls. |
Used by
Each model splits its time step into a sequence of propagators. This one appears in 3 models, at the position shown.