mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-26 03:00:17 -06:00
6a7345fe4e
We now use the doxygen detailed description for the immiscible decoupled models, as approved by Markus.
222 lines
9.9 KiB
TeX
222 lines
9.9 KiB
TeX
\chapter[Models]{Physical and numerical models}
|
|
|
|
\section{Physical and mathematical description}
|
|
|
|
Characteristic of compositional multiphase models is that the phases
|
|
are not only matter of a single chemical substance. Instead, their
|
|
composition in general includes several species, and for the mass transfer,
|
|
the component behavior is quite different from the phase behavior. In the following, we
|
|
give some basic definitions and assumptions that are required for the
|
|
formulation of the model concept below. As an example, we take a
|
|
three-phase three-component system water-NAPL-gas
|
|
\cite{A3:class:2002a}. The modification for other multicomponent
|
|
systems is straightforward and can be found, e.\ g., in
|
|
\cite{A3:bielinski:2006,A3:acosta:2006}.
|
|
|
|
\subsection{Basic Definitions and Assumptions for the Compositional
|
|
Model Concept}
|
|
\textbf{Components:}
|
|
The term {\it component} stands for constituents of the phases which
|
|
can be associated with a unique chemical species, or, more generally, with
|
|
a group of species exploiting similar physical behavior. In this work, we
|
|
assume a water-gas-NAPL system composed of the phases water (subscript
|
|
$\text{w}$), gas ($\text{g}$), and NAPL ($\text{n}$). These phases are
|
|
composed of the components water (superscript $\text{w}$), air
|
|
($\text{a}$), and the organic contaminant ($\text{c}$) (see Fig.\
|
|
\ref{A3:fig:mundwtrans}).
|
|
%
|
|
\begin{figure}[hbt]
|
|
\centering
|
|
\includegraphics[width=0.7\linewidth]{EPS/masstransfer}
|
|
\caption{Mass and energy transfer between the phases}
|
|
\label{A3:fig:mundwtrans}
|
|
\end{figure}
|
|
|
|
\textbf{Equilibrium:}
|
|
For the nonisothermal multiphase processes in porous media under
|
|
consideration, we state that the assumption of local thermal
|
|
equilibrium is valid since flow velocities are small. We neglect
|
|
chemical reactions and biological decomposition and assume chemical
|
|
equilibrium. Mechanical equilibrium is not valid in a porous medium,
|
|
since discontinuities in pressure can occur across a fluid-fluid
|
|
interface due to capillary effects.
|
|
|
|
\textbf{Notation:} The index $\alpha \in \{\text{w}, \text{n}, \text{g}\}$ refers
|
|
to the phase, while the superscript $\kappa \in \{\text{w}, \text{a}, \text{c}\}$ refers
|
|
to the component. \\
|
|
\begin{tabular}{llll}
|
|
$p_\alpha$ & phase pressure & $\phi$ & porosity \\
|
|
$T$ & temperature & $K$ & absolute permeability tensor \\
|
|
$S_\alpha$ & phase saturation & $\tau$ & tortuosity \\
|
|
$x_\alpha^\kappa$ & mole fraction of component $\kappa$ in phase $\alpha$ & $\boldsymbol{g}$ & gravitational acceleration \\
|
|
$X_\alpha^\kappa$ & mass fraction of component $\kappa$ in phase $\alpha$ & $q^\kappa_\alpha$ & volume source term of $\kappa$ in $\alpha$ \\
|
|
$\varrho_{\text{mol},\alpha}$ & molar density of phase $\alpha$ & $u_\alpha$ & specific internal energy \\
|
|
$\varrho_{\alpha}$ & mass density of phase $\alpha$ & $h_\alpha$ & specific enthalpy \\
|
|
$k_{\text{r}\alpha}$ & relative permeability & $c_\text{s}$ & specific heat enthalpy \\
|
|
$\mu_\alpha$ & phase viscosity & $\lambda_\text{pm}$ & heat conductivity \\
|
|
$D_\alpha^\kappa$ & diffusivity of component $\kappa$ in phase $\alpha$ & $q^h$ & heat source term \\
|
|
$v_\alpha$ & Darcy velocity & $v_{a,\alpha}$ & advective velocity
|
|
\end{tabular}
|
|
|
|
|
|
\subsection{Balance Equations}
|
|
For the balance equations for multicomponent systems, it is in many
|
|
cases convenient to use a molar formulation of the continuity
|
|
equation. Considering the mass conservation for each component allows
|
|
us to drop source/sink terms for describing the mass transfer between
|
|
phases. Then, the
|
|
molar mass balance can be written as:
|
|
%
|
|
\begin{eqnarray}
|
|
\label{A3:eqmass1}
|
|
&& \phi \frac{\partial (\sum_\alpha \varrho_{\text{mol}, \alpha}
|
|
x_\alpha^\kappa S_\alpha )}{\partial t} \nonumber
|
|
- \sum\limits_\alpha \Div \left( \frac{k_{\text{r}
|
|
\alpha}}{\mu_\alpha} \varrho_{\text{mol}, \alpha}
|
|
x_\alpha^\kappa K (\grad p_\alpha -
|
|
\varrho_{\alpha} \boldsymbol{g}) \right) \nonumber \\
|
|
%
|
|
\nonumber \\
|
|
%
|
|
&& - \sum\limits_\alpha \Div \left( \tau \phi S_\alpha D_\alpha^\kappa \varrho_{\text{mol},
|
|
\alpha} \grad x_\alpha^\kappa \right) \nonumber
|
|
- q^\kappa = 0, \qquad \kappa \in \{\text{w,a,c}\}.
|
|
\end{eqnarray}
|
|
|
|
The component mass balance can also be written in terms of mass fractions
|
|
by replacing molar densities by mass densities and mole by mass fractions.
|
|
To obtain a single conserved quantity in the temporal derivative, the total
|
|
concentration, representing the mass of one component per unit volume, is defined as
|
|
\begin{displaymath}
|
|
C^\kappa = \sum_\alpha \phi S_\alpha \varrho_{\text{mass},\alpha} X_\alpha^\kappa \; .
|
|
\end{displaymath}
|
|
Using this definition, the component mass balance is written as:
|
|
|
|
\begin{eqnarray}
|
|
\label{A3:eqmass2}
|
|
&& \frac{\partial C^\kappa}{\partial t} =
|
|
\sum\limits_\alpha \Div \left( \frac{k_{\text{r}
|
|
\alpha}}{\mu_\alpha} \varrho_{\text{mass}, \alpha}
|
|
X_\alpha^\kappa K (\grad p_\alpha +
|
|
\varrho_{\text{mass}, \alpha} \boldsymbol{g}) \right) \nonumber \\
|
|
%
|
|
\nonumber \\
|
|
%
|
|
&& + \sum\limits_\alpha \Div \left( \tau \phi S_\alpha D_\alpha^\kappa \varrho_{\text{mass},
|
|
\alpha} \grad X_\alpha^\kappa \right) \nonumber
|
|
+ q^\kappa = 0, \qquad \kappa \in \{\text{w,a,c}\}.
|
|
\end{eqnarray}
|
|
|
|
|
|
In the case of non-isothermal systems, we further have to balance the
|
|
thermal energy. We assume fully reversible processes, such that entropy
|
|
is not needed as a model parameter. Furthermore, we neglect
|
|
dissipative effects and the heat transport due to molecular
|
|
diffusion. The heat balance can then be
|
|
formulated as:
|
|
%
|
|
\begin{eqnarray}
|
|
\label{A3:eqenergmak1}
|
|
&& \phi \frac{\partial \left( \sum_\alpha \varrho_{\alpha}
|
|
u_\alpha S_\alpha \right)}{\partial t} + \left( 1 -
|
|
\phi \right) \frac{\partial \varrho_{\text{s}} c_{\text{s}}
|
|
T}{\partial t} \nonumber
|
|
- \Div \left( \lambda_{\text{pm}} \grad T \right)
|
|
\nonumber \\
|
|
%
|
|
\nonumber \\
|
|
%
|
|
&& - \sum\limits_\alpha \Div \left( \frac{k_{\text{r}
|
|
\alpha}}{\mu_\alpha} \varrho_{\alpha} h_\alpha
|
|
K \left( \grad p_\alpha - \varrho_{\alpha}
|
|
\boldsymbol{g} \right) \right) \nonumber
|
|
- q^h \; = \; 0.
|
|
\end{eqnarray}
|
|
|
|
In order to close the system, supplementary constraints for capillary pressure, saturations and mole
|
|
fractions are needed, \cite{A3:helmig:1997}.
|
|
According to the Gibbsian phase rule, the number of degrees of freedom
|
|
in a non-isothermal compositional multiphase system is equal to the
|
|
number of components plus one. This means we need as many independent
|
|
unknowns in the system description. The
|
|
available primary variables are, e.\ g., saturations, mole/mass
|
|
fractions, temperature, pressures, etc.
|
|
|
|
\input{box}
|
|
|
|
|
|
\section{Available models}
|
|
The following description of the available models is automatically extracted
|
|
from the Doxygen documentation.
|
|
% \textbf{TODO}: Unify notation.
|
|
|
|
\subsection{Fully-implicit models}
|
|
|
|
The fully-implicit models described in this section are using the box
|
|
scheme as described in~\ref{box} for spatial and the implicit euler
|
|
method as temporal discretization. The models itself are located in
|
|
subdirectories of \texttt{dumux/boxmodels} of the \Dumux distribution.
|
|
|
|
\subsubsection{The single-phase model: OnePBoxModel}
|
|
\input{ModelDescriptions/1pboxmodel}
|
|
|
|
\subsubsection{The single-phase, two-component model: OnePTwoCBoxModel}
|
|
\input{ModelDescriptions/1p2cboxmodel}
|
|
|
|
\subsubsection{The two-phase model using the \textsc{Richards} assumption: RichardsBoxModel}
|
|
\input{ModelDescriptions/richardsboxmodel}
|
|
|
|
\subsubsection{The two-phase model: TwoPBoxModel}
|
|
\input{ModelDescriptions/2pboxmodel}
|
|
|
|
\subsubsection{The non-isothermal two-phase model: TwoPNIBoxModel}
|
|
\input{ModelDescriptions/2pniboxmodel}
|
|
|
|
\subsubsection{The two-phase, two-component model: TwoPTwoCBoxModel}
|
|
\input{ModelDescriptions/2p2cboxmodel}
|
|
|
|
\subsubsection{The non-isothermal two-phase, two-component model: TwoPTwoCNIBoxModel}
|
|
\input{ModelDescriptions/2p2cniboxmodel}
|
|
|
|
\subsubsection{The three-phase, three-component model: ThreePThreeCBoxModel}
|
|
\input{ModelDescriptions/3p3cboxmodel}
|
|
|
|
\subsubsection{The non-isothermal three-phase, three-component model: ThreePThreeCNIBoxModel}
|
|
\input{ModelDescriptions/3p3cniboxmodel}
|
|
|
|
\subsubsection{The $M$-phase, $N$-component model: MpNcBoxModel}
|
|
\input{ModelDescriptions/mpncboxmodel}
|
|
|
|
\subsubsection{The \textsc{Stokes} model: StokesModel}
|
|
\input{ModelDescriptions/stokesmodel}
|
|
|
|
\subsubsection{The isothermal two-component \textsc{Stokes} model: Stokes2cModel}
|
|
\input{ModelDescriptions/stokes2cmodel}
|
|
|
|
\subsubsection{The non-isothermal two-component \textsc{Stokes} model: Stokes2cniModel}
|
|
\input{ModelDescriptions/stokes2cnimodel}
|
|
|
|
\subsection{Decoupled models}
|
|
%
|
|
The basic idea the so-called decoupled models have in common is to reformulate the equations of multi-phase flow (e.g. Eq. \ref{A3:eqmass1}) into one equation for pressure and equations for phase-/component-/etc. transport. The pressure equation is the sum of the mass balance equations and thus considers the total flow of the fluid system. The new set of equations is considered as decoupled (or weakly coupled) and can thus be solved sequentially. The most popular decoupled model is the so-called fractional flow formulation for two-phase flow which is usually implemented applying an IMplicit Pressure Explicit Saturation algorithm (IMPES).
|
|
In comparison to a fully implicit model, the decoupled structure allows the use of different discretization methods for the different equations. The standard method used in the decoupled models is a cell centered finite volume method. Further schemes, so far only available for the two-phase pressure equation, are cell centered finite volumes with multi-point flux approximation (MPFA O-method) and mimetic finite differences.
|
|
%
|
|
\subsubsection{The one-phase model}
|
|
\input{ModelDescriptions/1pdecoupledmodel}
|
|
|
|
\subsubsection{The two-phase model}
|
|
|
|
\paragraph{Pressure model}
|
|
\input{ModelDescriptions/2pdecoupledpressuremodel}
|
|
|
|
\paragraph{Saturation model}
|
|
\input{ModelDescriptions/2pdecoupledsaturationmodel}
|
|
|
|
\subsubsection{The two-phase, two-component model}
|
|
\input{ModelDescriptions/decoupled2p2c}
|
|
|
|
%%% Local Variables:
|
|
%%% mode: latex
|
|
%%% TeX-master: "dumux-handbook"
|
|
%%% End:
|