next up previous contents index
Next: 2.2 Magnetohydrodynamics (W. Schaffenberger) Up: 2 Equations Previous: 2 Equations   Contents   Index

2.1 Basic Equations

The hydrodynamics equations are expressed as conservation relations plus source terms for
\begin{displaymath}
\rho, \;
\rho v{\rm 1}, \rho v{\rm 2}, \rho v{\rm 3}, \;
\rho e{\rm ikg}
\enspace ,
\end{displaymath} (1)

the mass density, the three mass fluxes and the total energy density (per volume), respectively. Each quantity $q$ has its corresponding flux $\mbox{f}(q)$ and possibly source term $\mbox{s}(q)$. For convenience,
\begin{displaymath}
\rho, \;
v{\rm 1}, v{\rm 2}, v{\rm 3}, \;
e{\rm i}
\end{displaymath} (2)

are chosen as independent quantities. The conserved quantities are purely algebraic combinations of these. The 3D hydrodynamics equations, including source terms due to gravity, are the mass conservation equation
\begin{displaymath}
\frac{\partial \rho}{\partial t} + \frac{\partial \; \rho \...
...frac{\partial \; \rho \; v{\rm 3}}{\partial x3} = 0 \enspace ,
\end{displaymath} (3)

the momentum equation
\begin{displaymath}
\frac{\partial }{\partial t}
\left( \!
\begin{array}{c}
...
...\rho \; g{\rm 2} \\
\rho \; g{\rm 3}
\end{array} \! \right)
\end{displaymath} (4)

and the energy equation including radiative heating term $Q_{\rm rad}$
\begin{displaymath}
\frac{\partial \rho e{\rm ik}}{\partial t} + \frac{\partial...
... \; v{\rm 2} + g{\rm 3} \; v{\rm 3} ) + Q_{\rm rad} \enspace .
\end{displaymath} (5)

The pressure $P$ is computed from density $\rho$ and internal energy $e{\rm i}$ via a (tabulated) equation of state
\begin{displaymath}
P = P (\rho, e{\rm i}) \enspace .
\end{displaymath} (6)

For local models the gravity field is simply given by
\begin{displaymath}
\vec{g} =
\left(
\begin{array}{r}
0 \\
0 \\
-g \\
\end{array} \right) \enspace .
\end{displaymath} (7)

For global models it is given by
\begin{displaymath}
\vec{g} =
\left(
\begin{array}{c}
g{\rm 1} \\
g{\rm 2}...
...\\
\frac{\partial }{\partial x3}
\end{array} \right)
\Phi
\end{displaymath} (8)

with
\begin{displaymath}
\Phi = -\frac{G M_\ast}{\left( r_0^4+r^4/\sqrt{1+(r/r_1)^8}  \right)^{1/4}} \enspace .
\end{displaymath} (9)

Here, $M_\ast$ is the mass of the star to be modeled; $r_0$ and $r_1$ are free smoothing parameters. In addition, there are equations for the non-local radiation transport. If grey opacity tables are used, the opacities $\kappa$ are a simple function of e.g. temperature $T$ and pressure $P$
\begin{displaymath}
\kappa = \kappa ( T, P )
\end{displaymath} (10)

and the source function $S$ is given by
\begin{displaymath}
S= \frac{\sigma}{\pi} T^4
\enspace .
\end{displaymath} (11)

The change in optical depth $\Delta \tau $ along a path with length $\Delta x$ is than
\begin{displaymath}
\Delta \tau = \kappa \rho \Delta x
\enspace .
\end{displaymath} (12)

The variation of the intensity $I$ with optical depth $\tau$ along a ray with orientation $(\theta, \varphi)$ can be described by the simple differential equation
\begin{displaymath}
\frac{{\rm d} I}{{\rm d} \tau} = - I+ S
\enspace .
\end{displaymath} (13)

The radiative energy flux is given by
\begin{displaymath}
F_{\rm rad} = \int_{0}^{2\pi}
\int_{0}^{\pi}
I\cos \theta \sin \theta
\;{\rm d}\theta
\;{\rm d}\varphi
\enspace .
\end{displaymath} (14)

The energy change can than be computed from the flux divergence with
\begin{displaymath}
\frac{\partial \rho e{\rm i}}{\partial t} = Q_{\rm rad}
= ...
...ac{\partial F_{x3,\rm rad} }{\partial x3}
\right)
\enspace .
\end{displaymath} (15)


next up previous contents index
Next: 2.2 Magnetohydrodynamics (W. Schaffenberger) Up: 2 Equations Previous: 2 Equations   Contents   Index