Base class for defining a convective part of the saturation transport equation.
More...
#include <dumux/porousmediumflow/2p/sequential/transport/cellcentered/convectivepart.hh>
template<class TypeTag>
class Dumux::ConvectivePart< TypeTag >
Base class for defining a convective part of the saturation transport equation.
- Template Parameters
-
TypeTag | The problem TypeTag |
|
void | initialize () |
| For initialization. More...
|
|
Scalar | getFlux (const Intersection &intersection, const Scalar sat) const |
| Returns convective term for current element face. More...
|
|
void | getFlux (DimVector &flux, const Intersection &intersection, const Scalar satI, const Scalar satJ) const |
| Returns convective term for current intersection. More...
|
|
| ConvectivePart (Problem &problem) |
| Constructs a ConvectivePart object. More...
|
|
◆ ConvectivePart()
Constructs a ConvectivePart object.
- Parameters
-
problem | A problem class object |
◆ getFlux() [1/2]
template<class TypeTag >
Scalar Dumux::ConvectivePart< TypeTag >::getFlux |
( |
const Intersection & |
intersection, |
|
|
const Scalar |
sat |
|
) |
| const |
|
inline |
Returns convective term for current element face.
- Parameters
-
intersection | Intersection of two grid elements/global boundary |
sat | Saturation of current element |
- Returns
- Convective flux
◆ getFlux() [2/2]
template<class TypeTag >
void Dumux::ConvectivePart< TypeTag >::getFlux |
( |
DimVector & |
flux, |
|
|
const Intersection & |
intersection, |
|
|
const Scalar |
satI, |
|
|
const Scalar |
satJ |
|
) |
| const |
|
inline |
Returns convective term for current intersection.
- Parameters
-
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 |
◆ initialize()
The documentation for this class was generated from the following file: