Class for defining the diffusive capillary pressure term of a saturation equation. More...
#include <dumux/porousmediumflow/2p/sequential/transport/cellcentered/capillarydiffusion.hh>
Class for defining the diffusive capillary pressure term of a saturation equation.
Defines the diffusive capillary pressure term of the form
\bar \lambda \boldsymbol K \textbf{grad} \, p_c,
where \bar \lambda = \lambda_w f_n = \lambda_n f_w and \lambda is a phase mobility and f a phase fractional flow function, \boldsymbol K is the intrinsic permeability and p_c = p_c(S_w) the capillary pressure.
TypeTag | The Type Tag |
Public Member Functions | |
void | getFlux (DimVector &flux, const Intersection &intersection, Scalar satI, Scalar satJ, const DimVector &pcGradient) const |
Returns capillary diffusion term for current element face. More... | |
CapillaryDiffusion (Problem &problem) | |
Constructs a CapillaryDiffusion object. More... | |
void | initialize () |
For initialization. More... | |
void | getFlux (DimVector &flux, const Intersection &intersection, const Scalar satIntersection, const DimVector &satGradient, const Scalar time) const |
Returns diffusive term for current element face. More... | |
void | getFlux (DimVector &flux, const Intersection &intersection, const Scalar satIntersection, const DimVector &satGradient, const Scalar time, Scalar satI, Scalar satJ) const |
Returns diffusive term for current element face. More... | |
|
inline |
Constructs a CapillaryDiffusion object.
problem | A problem class object |
|
inlineinherited |
Returns diffusive term for current element face.
flux | Flux vector (gets the flux from the function) |
intersection | Intersection of two grid elements/global boundary |
satIntersection | saturation at the face between element I and J |
satGradient | gradient of saturation between element I and J |
time | time |
|
inlineinherited |
Returns diffusive term for current element face.
flux | Flux vector (gets the flux from the function) |
intersection | Intersection of two grid elements/global boundary |
satIntersection | saturation at the face between element I and J |
satGradient | gradient of saturation between element I and J |
time | time |
satI | saturation of current element |
satJ | saturation of neighbor element |
|
inline |
Returns capillary diffusion term for current element face.
flux | Flux vector (gets the flux from the function) |
intersection | Intersection of two grid elements/global boundary |
satI | saturation of current element |
satJ | saturation of neighbor element |
pcGradient | gradient of capillary pressure between element I and J |
|
inlineinherited |
For initialization.