Field propagator
VariationalDensityEvolve
Advances rho and u.
What it solves
find and such that
Where is either for full-f models, for linear models or for models.
In the case of linear model, the second equation is not updated.
On the logical domain:
where depends on the chosen model. It is discretized as
where denotes the vector representing the linear form , that is the vector with components
and the weights in the the struphy.feec.basis_projection_ops.BasisProjectionOperator and the struphy.feec.mass.WeightedMassOperator are given by
Variables it advances
The variables this step updates over a time step dt, and the discrete spaces each one accepts.
| Name | Kind | Accepted spaces |
|---|---|---|
rho | FEECVariable | L2 |
u | FEECVariable | H1vec |
Options
Set these on the propagator in a parameter file, for example VariationalDensityEvolve.Options(model=...).
| Option | Default | Choices | Description |
|---|---|---|---|
model | barotropic | pressurelessbarotropicfullfull_pfull_qlineardeltaflinear_qdeltaf_q | Density/thermodynamic 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 11 models, at the position shown.
VariationalBarotropicFluidFluidstep 1 of 2 ·variat_densVariationalCompressibleFluidFluidstep 1 of 3 ·variat_densVariationalPressurelessFluidFluidstep 1 of 2 ·variat_densViscoResistiveDeltafMHDFluidstep 1 of 5 ·variat_densViscoResistiveDeltafMHD_with_qFluidstep 1 of 5 ·variat_densViscoResistiveLinearMHDFluidstep 1 of 4 ·variat_densViscoResistiveLinearMHD_with_qFluidstep 1 of 4 ·variat_densViscoResistiveMHDFluidstep 1 of 6 ·variat_densViscoResistiveMHD_with_pFluidstep 1 of 5 ·variat_densViscoResistiveMHD_with_qFluidstep 1 of 5 ·variat_densViscousFluidFluidstep 1 of 4 ·variat_dens