Field propagator

VariationalViscosity

Advances s and u.

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 and the weights in are given by

Variables it advances

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

NameKindAccepted spaces
sFEECVariableL2
uFEECVariableH1vec

Options

Set these on the propagator in a parameter file, for example VariationalViscosity.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.
mu0floatPhysical viscosity coefficient.
mu_a0floatArtificial-viscosity coefficient.
alpha0floatOptional linear damping/regularization parameter.

Used by

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