3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Member Functions | List of all members
Dumux::CapillaryDiffusion< TypeTag > Class Template Reference

Class for defining the diffusive capillary pressure term of a saturation equation. More...

#include <dumux/porousmediumflow/2p/sequential/transport/cellcentered/capillarydiffusion.hh>

Inheritance diagram for Dumux::CapillaryDiffusion< TypeTag >:
Inheritance graph

Description

template<class TypeTag>
class Dumux::CapillaryDiffusion< TypeTag >

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.

Template Parameters
TypeTagThe 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...
 

Constructor & Destructor Documentation

◆ CapillaryDiffusion()

template<class TypeTag >
Dumux::CapillaryDiffusion< TypeTag >::CapillaryDiffusion ( Problem &  problem)
inline

Constructs a CapillaryDiffusion object.

Parameters
problemA problem class object

Member Function Documentation

◆ getFlux() [1/3]

template<class TypeTag >
void Dumux::DiffusivePart< TypeTag >::getFlux ( DimVector &  flux,
const Intersection &  intersection,
const Scalar  satIntersection,
const DimVector &  satGradient,
const Scalar  time 
) const
inlineinherited

Returns diffusive term for current element face.

Parameters
fluxFlux vector (gets the flux from the function)
intersectionIntersection of two grid elements/global boundary
satIntersectionsaturation at the face between element I and J
satGradientgradient of saturation between element I and J
timetime

◆ getFlux() [2/3]

template<class TypeTag >
void Dumux::DiffusivePart< TypeTag >::getFlux ( DimVector &  flux,
const Intersection &  intersection,
const Scalar  satIntersection,
const DimVector &  satGradient,
const Scalar  time,
Scalar  satI,
Scalar  satJ 
) const
inlineinherited

Returns diffusive term for current element face.

Parameters
fluxFlux vector (gets the flux from the function)
intersectionIntersection of two grid elements/global boundary
satIntersectionsaturation at the face between element I and J
satGradientgradient of saturation between element I and J
timetime
satIsaturation of current element
satJsaturation of neighbor element

◆ getFlux() [3/3]

template<class TypeTag >
void Dumux::CapillaryDiffusion< TypeTag >::getFlux ( DimVector &  flux,
const Intersection &  intersection,
Scalar  satI,
Scalar  satJ,
const DimVector &  pcGradient 
) const
inline

Returns capillary diffusion term for current element face.

Parameters
fluxFlux vector (gets the flux from the function)
intersectionIntersection of two grid elements/global boundary
satIsaturation of current element
satJsaturation of neighbor element
pcGradientgradient of capillary pressure between element I and J

◆ initialize()

template<class TypeTag >
void Dumux::DiffusivePart< TypeTag >::initialize ( )
inlineinherited

For initialization.


The documentation for this class was generated from the following file: