Single-phase, multi-component Darcy flow. More...
Adaption of the fully implicit model to the one-phase n-component flow model.
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. For details on Darcy's law see dumux/flux/darcyslaw.hh. Gravity can be enabled or disabled via the property system. By inserting Darcy's law into the continuity equation, one gets
\[ \frac{\partial (\phi \varrho) }{\partial t} - \nabla \cdot \left\{ \varrho \frac{\textbf K}{\mu} \left(\nabla p - \varrho {\textbf g} \right) \right\} = q. \]
The transport of the components \(\kappa \in \{ w, a, ... \}\) is described by the following equation:
\[ \frac{ \partial (\phi \varrho X^\kappa) }{\partial t} - \nabla \cdot \left\lbrace \varrho X^\kappa \frac{{\textbf K}}{\mu} \left( \nabla p - \varrho {\textbf g} \right) + \varrho D^\kappa_\text{pm} \nabla X^\kappa \right\rbrace = q, \]
where:
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 | 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, enableCompDisp, enableThermDisp, repCompEqIdx, CDM > |
Specifies a number properties of models that consider a single-phase with multiple components. More... | |
class | Dumux::OnePNCVolumeVariables< Traits > |
Contains the quantities which are are constant within a finite volume in the one-phase, n-component model. More... | |