mhdSrc
Many of the MHD system require source terms as the hyperbolic part is not sufficient to describe
the simple system. This source contains the source terms that should be added to these models.
Sources include:
The idealMHD source terms. The ideal MHD case only applies when one does not convert the source terms to a conservative flux. Note that we do not need separate source for general equation of state since the source terms are independent of the relation between internal energy and pressure.
\[\notag
\begin{align}
s=\left(
\begin{array}{c}
0\\
J_{y}B_{z}-J_{z}B_{y}\\
J_{z}B_{x}-J_{x}B_{z}\\
J_{x}B_{y}-J_{y}B_{x}\\
J_{x}E_{x}+J_{y}E_{y}+J_{z}E_{z}\\
0\\
0\\
0\\
\end{array}
\right)
\end{align}\]
The gasDynamicMhdEqn source terms (which include an electron energy equation)
\[\notag
\begin{align}
s=\left(
\begin{array}{c}
0\\
J_{y}B_{z}-J_{z}B_{y}\\
J_{z}B_{x}-J_{x}B_{z}\\
J_{x}B_{y}-J_{y}B_{x}\\
J_{x}E_{x}+J_{y}E_{y}+J_{z}E_{z}\\
0\\
0\\
0\\
0\\
J_{x\,e}E_{x}+J_{y\,e}E_{y}+J_{z\,e}E_{z}\\
\end{array}
\right)
\end{align}\]
The twoTemperatureMhdEqn source terms
\[\notag
\begin{align}
s=\left(
\begin{array}{c}
0\\
0\\
0\\
0\\
0\\
0\\
0\\
0\\
0\\
J_{x\,e}E_{x}+J_{y\,e}E_{y}+J_{z\,e}E_{z}\\
\end{array}
\right)
\end{align}\]
Parameters (twoTemperatureMhdEqn and twoTemperatureMhdEosEqn)
ionMass
(float)
- The mass of an ion
fundamentalCharge
- proton charge
Parent Updater Data (idealMhd)
in
(string vector, required)
1st Variable
- \(\rho\) mass density
- \(\rho\,u_{x}\) x momentum density
- \(\rho\,u_{y}\) y momentum density
- \(\rho\,u_{z}\) z momentum density
- \(e\) energy density
- \(B_{x}\) x magnetic field
- \(B_{y}\) y magnetic field
- \(B_{z}\) z magnetic field
2nd Variable (current density)
- \(J_{x}\) x current density
- \(J_{y}\) y current density
- \(J_{z}\) z current density
3rd Variable (electric field)
- \(e_{x}\) x electric field
- \(e_{y}\) y electric field
- \(e_{z}\) z electric field
Parent Updater Data (twoTemperatureMhdEqn and gasDynamicMhdEqn)
in
(string vector, required)
1st Variable
- \(\rho\) mass density
- \(\rho\,u_{x}\) x momentum density
- \(\rho\,u_{y}\) y momentum density
- \(\rho\,u_{z}\) z momentum density
- \(e\) energy density
- \(B_{x}\) x magnetic field
- \(B_{y}\) y magnetic field
- \(B_{z}\) z magnetic field
- \(Phi\) correction potential
- \(e_{e}\) electron energy
2nd Variable (current density)
- \(J_{x}\) x current density
- \(J_{y}\) y current density
- \(J_{z}\) z current density
3rd Variable (electric field)
- \(e_{x}\) x electric field
- \(e_{y}\) y electric field
- \(e_{z}\) z electric field
4th Variable (charge state)
- \(Z\) charge state
Parent Updater Data (twoTemperatureMhdEosEqn)
in
(string vector, required)
1st Variable
- \(\rho\) mass density
- \(\rho\,u_{x}\) x momentum density
- \(\rho\,u_{y}\) y momentum density
- \(\rho\,u_{z}\) z momentum density
- \(e\) energy density
- \(B_{x}\) x magnetic field
- \(B_{y}\) y magnetic field
- \(B_{z}\) z magnetic field
- \(e_{e}\) electron energy equation
2nd Variable (current density)
- \(J_{x}\) x current density
- \(J_{y}\) y current density
- \(J_{z}\) z current density
3rd Variable (electric field)
- \(e_{x}\) x electric field
- \(e_{y}\) y electric field
- \(e_{z}\) z electric field
4th Variable (charge state)
- \(Z\) charge state
Example
<Source axisymmetricSource>
kind = mhdSrc
model = gasDynamicMhdSrc
</Source>