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

Single-phase, multi-component Darcy flow. More...

Description

Single-phase, multi-component Darcy flow.

This model implements a one-phase flow of a compressible fluid, that consists of n components, using a standard Darcy approach as the equation for the conservation of momentum:

\[ v = - \frac{\textbf K}{\mu} \left(\textbf{grad}\, p - \varrho {\textbf g} \right) \]

Gravity can be enabled or disabled via the property system. By inserting this into the continuity equation, one gets

\[ \phi\frac{\partial \varrho}{\partial t} - \text{div} \left\{ \varrho \frac{\textbf K}{\mu} \left(\textbf{grad}\, p - \varrho {\textbf g} \right) \right\} = q \;, \]

The transport of the components \(\kappa \in \{ w, a, ... \}\) is described by the following equation:

\[ \phi \frac{ \partial \varrho X^\kappa}{\partial t} - \text{div} \left\lbrace \varrho X^\kappa \frac{{\textbf K}}{\mu} \left( \textbf{grad}\, p - \varrho {\textbf g} \right) + \varrho D^\kappa_\text{pm} \textbf{grad} X^\kappa \right\rbrace = q. \]

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 is able to use either mole or mass fractions. The property useMoles can be set to either true or false in the problem file. Make sure that the according units are used in the problem setup. useMoles is set to true by default.

The primary variables are the pressure \(p\) and the mole fraction of dissolved components \(x^\kappa\).

Files

file  porousmediumflow/1pnc/indices.hh
 Defines the primary variable and equation indices used by the 1pnc model.
 
file  dumux/porousmediumflow/1pnc/iofields.hh
 Adds I/O fields specific to the OnePNC model.
 
file  porousmediumflow/1pnc/model.hh
 Adaption of the fully implicit model to the one-phase n-component flow model.
 
file  porousmediumflow/1pnc/volumevariables.hh
 Quantities required by the single-phase, n-component box model defined on a vertex.
 

Classes

struct  Dumux::OnePNCIndices
 The indices for the isothermal one-phase n-component model. More...
 
class  Dumux::OnePNCIOFields
 Adds I/O fields specific to the OnePNC model. More...
 
struct  Dumux::OnePNCModelTraits< nComp, useM, repCompEqIdx >
 Specifies a number properties of models that consider a single-phase with multiple components. More...
 
struct  Dumux::OnePNCVolumeVariablesTraits< PV, FSY, FST, SSY, SST, PT, MT >
 Traits class for the volume variables of the single-phase model. More...
 
class  Dumux::OnePNCVolumeVariables< Traits >
 Contains the quantities which are are constant within a finite volume in the one-phase, n-component model. More...