template<class TypeTag>
class Dumux::GravityPart< TypeTag >
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.
- Template Parameters
-
|
| void | getFlux (DimVector &flux, const Intersection &intersection, const Scalar satI, const Scalar satJ) const |
| | Returns convective term for current element face.
|
| | GravityPart (Problem &problem) |
| | Constructs a GravityPart object.
|
| void | initialize () |
| | For initialization.
|
| Scalar | getFlux (const Intersection &intersection, const Scalar sat) const |
| | Returns convective term for current element face.
|
| void | getFlux (DimVector &flux, const Intersection &intersection, const Scalar satI, const Scalar satJ) const |
| | Returns convective term for current intersection.
|