Class for defining the gravity term of a two-phase flow saturation equation. More...
#include <dumux/porousmediumflow/2p/sequential/transport/cellcentered/gravitypart.hh>
Class for defining the gravity term of a two-phase flow saturation equation.
Defines the gravity term of the form
\[ \bar \lambda \boldsymbol K \, (\rho_n - \rho_w) \, g \, \textbf{grad} \, z, \]
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, \( \rho \) is a phase density and \( g \) is the gravity constant.
TypeTag | The Type Tag |
Public Member Functions | |
void | getFlux (DimVector &flux, const Intersection &intersection, const Scalar satI, const Scalar satJ) const |
Returns convective term for current element face. More... | |
GravityPart (Problem &problem) | |
Constructs a GravityPart object. More... | |
void | initialize () |
For initialization. More... | |
Scalar | getFlux (const Intersection &intersection, const Scalar sat) const |
Returns convective term for current element face. More... | |
|
inline |
Constructs a GravityPart object.
problem | A problem class object |
|
inlineinherited |
Returns convective term for current element face.
intersection | Intersection of two grid elements/global boundary |
sat | Saturation of current element |
|
inline |
Returns convective 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 |
|
inline |
For initialization.