mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-23 16:00:01 -06:00
3e55945ce5
eWoms hereby declares full independence. Humor aside, the main technical advantage of this is, that it is now possible to easily install both, Dumux and eWoms on a system using a package management system without bad tricks.
25 lines
1.7 KiB
TeX
25 lines
1.7 KiB
TeX
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
% This file has been autogenerated from the LaTeX part of the %
|
|
% doxygen documentation; DO NOT EDIT IT! Change the model's .hh %
|
|
% file instead!! %
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
This model multi-\/phase flow of $M > 0$ immiscible fluids $\alpha$. By default, the standard multi-\/phase Darcy approach is used to determine the velocity, i.\-e. \[ \mathbf{v}_\alpha = - \frac{k_{r\alpha}}{\mu_\alpha} \mathbf{K} \left(\text{grad}\, p_\alpha - \varrho_{\alpha} \mathbf{g} \right) \;, \] although the actual approach which is used can be specified via the {\ttfamily Velocity\-Module} property. For example, the velocity model can by changed to the Forchheimer approach by
|
|
\begin{lstlisting}[style=eWomsCode]
|
|
SET_TYPE_PROP(MyProblemTypeTag, VelocityModule,
|
|
Ewoms::BoxForchheimerVelocityModule<TypeTag>);
|
|
\end{lstlisting}
|
|
|
|
|
|
The core of the model is the conservation mass of each component by means of the equation \[ \frac{\partial\;\phi S_\alpha \rho_\alpha }{\partial t} - \text{div} \left\{ \rho_\alpha \mathbf{v}_\alpha \right\} - q_\alpha = 0 \;. \]
|
|
|
|
These equations are discretized by a fully-\/coupled vertex centered finite volume (box) scheme as spatial and the implicit Euler method as time discretization.
|
|
|
|
The model uses the following primary variables\-:
|
|
\begin{itemize}
|
|
\item The pressure $p_0$ in Pascal of the phase with the lowest index
|
|
\item The saturations $S_\alpha$ of the $M - 1$ phases that exhibit the lowest indices
|
|
\item The absolute temperature $T$ in Kelvin if energy is conserved via the energy equation
|
|
\end{itemize}
|
|
|