Class including the variables and data of discretized data of the constitutive relations for one grid cell.
More...
template<class TypeTag>
class Dumux::CellData2P< TypeTag, true >
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.
- Template Parameters
-
| TypeTag | The problem TypeTag |
| bool | Used for specialization: In case of compressible flow bool = true |
|
| | CellData2P () |
| | Constructs a CellData2P object.
|
| FluxData & | fluxData () |
| | Returns the flux data of the cell.
|
| const FluxData & | fluxData () const |
| | Returns the flux data of the cell.
|
| FluidState & | fluidState () |
| | Returns the FluidState object for this cell.
|
| const FluidState & | fluidState () const |
| | Returns the FluidState object for this cell.
|
| Scalar | pressure (int phaseIdx) |
| | Returns the cell phase pressure.
|
| Scalar | pressure (int phaseIdx) const |
| | Returns the cell phase pressure.
|
| void | setPressure (int phaseIdx, Scalar press) |
| | Sets the cell phase pressure.
|
| Scalar | potential (int phaseIdx) |
| | Returns the cell phase potential.
|
| Scalar | potential (int phaseIdx) const |
| | Returns the cell phase potential.
|
| void | setPotential (int phaseIdx, Scalar pot) |
| | Sets the cell phase potential.
|
| Scalar | saturation (int phaseIdx) |
| | Returns the cell phase saturation.
|
| Scalar | saturation (int phaseIdx) const |
| | Returns the cell phase saturation.
|
| void | setSaturation (int phaseIdx, Scalar sat) |
| | Sets the cell phase saturation.
|
| Scalar | mobility (int phaseIdx) |
| | Returns the cell phase mobility.
|
| Scalar | mobility (int phaseIdx) const |
| | Returns the cell phase mobility.
|
| void | setMobility (int phaseIdx, Scalar mobility) |
| | Sets the cell phase mobility.
|
| Scalar | fracFlowFunc (int phaseIdx) |
| | Returns the cell phase fractional flow function.
|
| Scalar | fracFlowFunc (int phaseIdx) const |
| | Returns the cell phase fractional flow function.
|
| void | setFracFlowFunc (int phaseIdx, Scalar fracFlowFunc) |
| | Sets the cell phase fractional flow function.
|
| Scalar | capillaryPressure () |
| | Returns the cell capillary pressure.
|
| Scalar | capillaryPressure () const |
| | Returns the cell capillary pressure.
|
| Scalar | density (int phaseIdx) |
| | Returns the cell phase density.
|
| Scalar | density (int phaseIdx) const |
| | Returns the cell phase density.
|
| void | setDensity (int phaseIdx, Scalar density) |
| | Sets the cell phase density.
|
| Scalar | viscosity (int phaseIdx) |
| | Returns the cell phase viscosity.
|
| Scalar | viscosity (int phaseIdx) const |
| | Returns the cell phase viscosity.
|
| void | setViscosity (int phaseIdx, Scalar viscosity) |
| | Sets the cell phase viscosity.
|
| void | setUpdate (Scalar update) |
| | Store transport update.
|
| Scalar | volumeCorrection () |
| | Returns the cell volume correction needed in the pressure equation.
|
| Scalar | volumeCorrection () const |
| | Returns the cell volume correction needed in the pressure equation.
|