Class including the variables and data of discretized data of the constitutive relations for one grid cell. More...
#include <dumux/porousmediumflow/2p/sequential/celldata.hh>
Class including the variables and data of discretized data of the constitutive relations for one grid cell.
The variables of two-phase flow, which are phase pressures and saturations are stored in this class. Further, resulting cell values for constitutive relationships like mobilities, fractional flow functions and capillary pressure are stored. Additionally, data assigned to cell-cell interfaces, so-called flux-data are stored.
TypeTag | The problem TypeTag |
bool | Used for specialization: in case of incompressible flow bool = false |
Public Member Functions | |
CellData2P () | |
Constructs a CellData2P object. More... | |
FluxData & | fluxData () |
Returns the flux data of the cell. More... | |
const FluxData & | fluxData () const |
Returns the flux data of the cell. More... | |
Scalar | pressure (int phaseIdx) |
Returns the cell phase pressure. More... | |
Scalar | pressure (int phaseIdx) const |
Returns the cell phase pressure. More... | |
void | setPressure (int phaseIdx, Scalar press) |
Sets the cell phase pressure. More... | |
Scalar | globalPressure () |
Returns the global pressure of the cell. More... | |
Scalar | globalPressure () const |
Returns the global pressure of the cell. More... | |
void | setGlobalPressure (Scalar press) |
Sets the cell global pressure. More... | |
Scalar | potential (int phaseIdx) |
Returns the cell phase potential. More... | |
Scalar | potential (int phaseIdx) const |
Returns the cell phase potential. More... | |
void | setPotential (int phaseIdx, Scalar pot) |
Sets the cell phase potential. More... | |
Scalar | saturation (int phaseIdx) |
Returns the cell phase saturation. More... | |
Scalar | saturation (int phaseIdx) const |
Returns the cell phase saturation. More... | |
void | setSaturation (int phaseIdx, Scalar sat) |
Sets the cell phase saturation. More... | |
Scalar | mobility (int phaseIdx) |
Returns the cell phase mobility. More... | |
Scalar | mobility (int phaseIdx) const |
Returns the cell phase mobility. More... | |
void | setMobility (int phaseIdx, Scalar mobility) |
Sets the cell phase mobility. More... | |
Scalar | fracFlowFunc (int phaseIdx) |
Returns the cell phase fractional flow function. More... | |
Scalar | fracFlowFunc (int phaseIdx) const |
Returns the cell phase fractional flow function. More... | |
void | setFracFlowFunc (int phaseIdx, Scalar fracFlowFunc) |
Sets the cell phase fractional flow function. More... | |
Scalar | capillaryPressure () |
Returns the cell capillary pressure. More... | |
Scalar | capillaryPressure () const |
Returns the cell capillary pressure. More... | |
void | setCapillaryPressure (Scalar pc) |
Sets the cell capillary pressure. More... | |
void | setUpdate (Scalar update) |
Store transport update. More... | |
Scalar | volumeCorrection () |
Returns the cell volume correction needed in the pressure equation. More... | |
Scalar | volumeCorrection () const |
Returns the cell volume correction needed in the pressure equation. More... | |
|
inline |
Constructs a CellData2P object.
|
inline |
Returns the cell capillary pressure.
|
inline |
Returns the cell capillary pressure.
|
inline |
Returns the flux data of the cell.
|
inline |
Returns the flux data of the cell.
|
inline |
Returns the cell phase fractional flow function.
phaseIdx | Index of a fluid phase |
|
inline |
Returns the cell phase fractional flow function.
phaseIdx | Index of a fluid phase |
|
inline |
Returns the global pressure of the cell.
|
inline |
Returns the global pressure of the cell.
|
inline |
Returns the cell phase mobility.
phaseIdx | Index of a fluid phase |
|
inline |
Returns the cell phase mobility.
phaseIdx | Index of a fluid phase |
|
inline |
Returns the cell phase potential.
phaseIdx | Index of a fluid phase |
|
inline |
Returns the cell phase potential.
phaseIdx | Index of a fluid phase |
|
inline |
Returns the cell phase pressure.
phaseIdx | Index of a fluid phase |
|
inline |
Returns the cell phase pressure.
phaseIdx | Index of a fluid phase |
|
inline |
Returns the cell phase saturation.
phaseIdx | Index of a fluid phase |
|
inline |
Returns the cell phase saturation.
phaseIdx | Index of a fluid phase |
|
inline |
Sets the cell capillary pressure.
pc | Capillary pressure which is stored |
|
inline |
Sets the cell phase fractional flow function.
phaseIdx | Index of a fluid phase |
fracFlowFunc | Phase fractional flow function which is stored |
|
inline |
Sets the cell global pressure.
press | Global pressure which is stored |
|
inline |
Sets the cell phase mobility.
phaseIdx | Index of a fluid phase |
mobility | Phase mobility with which is stored |
|
inline |
Sets the cell phase potential.
phaseIdx | Index of a fluid phase |
pot | Phase potential which is stored |
|
inline |
Sets the cell phase pressure.
phaseIdx | Index of a fluid phase |
press | Phase pressure which is stored |
|
inline |
Sets the cell phase saturation.
phaseIdx | Index of a fluid phase |
sat | Phase saturation which is stored |
|
inline |
Store transport update.
update | Transport update of the cell |
|
inline |
Returns the cell volume correction needed in the pressure equation.
|
inline |
Returns the cell volume correction needed in the pressure equation.