Field propagator
TwoFluidQuasiNeutralFull
Advances u, ue and phi.
What it solves
FEEC discretization of the following equations:
find , and such that
time_discret: fully implicit.
Variables it advances
The variables this step updates over a time step dt, and the discrete spaces each one accepts.
| Name | Kind | Accepted spaces |
|---|---|---|
u | FEECVariable | Hdiv |
ue | FEECVariable | Hdiv |
phi | FEECVariable | L2 |
Options
Set these on the propagator in a parameter file, for example TwoFluidQuasiNeutralFull.Options(nu=...).
| Option | Default | Choices | Description |
|---|---|---|---|
nu | 1 | float | Ion viscosity coefficient. |
nu_e | 1 | float | Electron viscosity coefficient. |
eps_norm | 0.001 | float | Normalization/scaling parameter in Lorentz coupling terms. |
boundary_data_u | None | dict[tuple[int, int], typing.Callable] | None | Inhomogeneous Dirichlet data for ion velocity faces. |
boundary_data_ue | None | dict[tuple[int, int], typing.Callable] | None | Inhomogeneous Dirichlet data for electron velocity faces. |
source_u | None | Optional | Source term for ion momentum equation. |
source_ue | None | Optional | Source term for electron momentum equation. |
stab_sigma | None | float | None | Optional stabilization coefficient for electron block. |
solver | gmres | pbicgstabbicgstabgmres | Linear/saddle-point solver used for the global system. |
solver_params | None | struphy.linear_algebra.solver.SolverParameters | None | Solver controls. |
Used by
Each model splits its time step into a sequence of propagators. This one appears in 1 model, at the position shown.