Fluid model
ViscoResistiveDeltafMHD_with_q
Delta-f visco-resistive MHD equations, with the q variable (square root of the pressure), discretized with a variational method.
Overview
This model is the
delta f dissipative MHD formulation in the
q-variable representation. It is aimed at perturbative nonlinear MHD studies where the q-formulation is preferred numerically.
Use cases
This model is appropriate for:
- dissipative
delta fMHD with q-thermodynamics - comparison against the p-based
delta fmodel - nonlinear perturbative benchmarks with viscosity and resistivity
Governing equations
PDEs solved by model:
Continuity:
Momentum:
Energy-like variable:
Induction:
Here and are artificial viscosity and resistivity coefficients.
Normalization
The model uses Alfvén-speed normalization:
Discretization
Time integration is performed by the following propagators (in sequence):
VariationalDensityEvolveVariationalMomentumAdvectionVariationalQBEvolveVariationalViscosity(ifwith_viscosityis True)VariationalResistivity(ifwith_resistivityis True)
Diagnostics
The following scalars are tracked during simulation:
- Kinetic energy:
en_U - Magnetic energies:
en_mag_1,en_mag_2 - Thermodynamic q-energies:
en_thermo_1,en_thermo_2 - Total energy:
en_tot
Examples
No published examples use this model yet — browse the full gallery for related simulations.