3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Files | Classes

Three-phase, two-component Darcy flow with water (liquid & gas) and oil. More...

Description

Three-phase, two-component Darcy flow with water (liquid & gas) and oil.

The model is designed for simulating three fluid phases with water, gas, and a liquid contaminant (NAPL - non-aqueous phase liquid) This model implements three-phase two-component flow of three fluid phases \(\alpha \in \{ water, gas, NAPL \}\) each composed of up to two components \(\kappa \in \{ water, contaminant \}\). The standard multiphase Darcy approach is used as the equation for the conservation of momentum:

\[ v_\alpha = - \frac{k_{r\alpha}}{\mu_\alpha} \mbox{\bf K} \left(\textbf{grad}\, p_\alpha - \varrho_{\alpha} \mbox{\bf g} \right) \]

By inserting this into the equations for the conservation of the components, one transport equation for each component is obtained as

\begin{eqnarray*} && \phi \frac{\partial (\sum_\alpha \varrho_\alpha X_\alpha^\kappa S_\alpha )}{\partial t} - \sum\limits_\alpha \text{div} \left\{ \frac{k_{r\alpha}}{\mu_\alpha} \varrho_\alpha x_\alpha^\kappa \mbox{\bf K} (\textbf{grad}\, p_\alpha - \varrho_\alpha \mbox{\bf g}) \right\} \nonumber \\ \nonumber \\ && - \sum\limits_\alpha \text{div} \left\{ D_\text{pm}^\kappa \varrho_\alpha \frac{1}{M_\kappa} \textbf{grad} X^\kappa_{\alpha} \right\} - q^\kappa = 0 \qquad \forall \kappa , \; \forall \alpha \end{eqnarray*}

Note that these balance equations are molar.

All equations are discretized using a vertex-centered finite volume (box) or cell-centered finite volume scheme as spatial and the implicit Euler method as time discretization.

The model uses commonly applied auxiliary conditions like \(S_w + S_n + S_g = 1\) for the saturations and \(x^w_\alpha + x^c_\alpha = 1\) for the mole fractions. Furthermore, the phase pressures are related to each other via capillary pressures between the fluid phases, which are functions of the saturation, e.g. according to the approach of Parker et al.

The used primary variables are dependent on the locally present fluid phases An adaptive primary variable switch is included. The phase state is stored for all nodes of the system. Different cases can be distinguished:

Files

file  porousmediumflow/3pwateroil/indices.hh
 Defines the indices required for the 3p2cni model.
 
file  dumux/porousmediumflow/3pwateroil/iofields.hh
 Adds I/O fields specific to the three-phase three-component model.
 
file  porousmediumflow/3pwateroil/localresidual.hh
 Element-wise calculation of the Jacobian matrix for problems using the three-phase three-component fully implicit model.
 
file  porousmediumflow/3pwateroil/model.hh
 Adaption of the fully implicit scheme to the three-phase three-component flow model.
 
file  3pwateroil/primaryvariableswitch.hh
 The primary variable switch for the 3p3c model.
 
file  porousmediumflow/3pwateroil/volumevariables.hh
 Contains the quantities which are constant within a finite volume in the three-phase, two-component model.
 

Classes

class  Dumux::ThreePWaterOilIndices
 The indices for the isothermal 3p2cni model. More...
 
class  Dumux::ThreePWaterOilIOFields
 Adds I/O fields specific to the three-phase three-component model. More...
 
class  Dumux::ThreePWaterOilLocalResidual< TypeTag >
 Element-wise calculation of the local residual for problems using the ThreePWaterOil fully implicit model. More...
 
struct  Dumux::ThreePWaterOilModelTraits< onlyGasPhase >
 Specifies a number properties of the three-phase two-component model. More...
 
struct  Dumux::ThreePWaterOilVolumeVariablesTraits< PV, FSY, FST, SSY, SST, PT, MT >
 Traits class for the two-phase model. More...
 
class  Dumux::ThreePWaterOilPrimaryVariableSwitch
 The primary variable switch controlling the phase presence state variable. More...
 
class  Dumux::ThreePWaterOilVolumeVariables< Traits >
 Contains the quantities which are are constant within a finite volume in the three-phase, two-component model. More...