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 compressible flow bool = true |
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... | |
FluidState & | fluidState () |
Returns the FluidState object for this cell. More... | |
const FluidState & | fluidState () const |
Returns the FluidState object for this 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 | 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... | |
Scalar | density (int phaseIdx) |
Returns the cell phase density. More... | |
Scalar | density (int phaseIdx) const |
Returns the cell phase density. More... | |
void | setDensity (int phaseIdx, Scalar density) |
Sets the cell phase density. More... | |
Scalar | viscosity (int phaseIdx) |
Returns the cell phase viscosity. More... | |
Scalar | viscosity (int phaseIdx) const |
Returns the cell phase viscosity. More... | |
void | setViscosity (int phaseIdx, Scalar viscosity) |
Sets the cell phase viscosity. 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 cell phase density.
phaseIdx | Index of a fluid phase |
|
inline |
Returns the cell phase density.
phaseIdx | Index of a fluid phase |
|
inline |
Returns the FluidState object for this cell.
|
inline |
Returns the FluidState object for this cell.
|
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 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 phase density.
phaseIdx | Index of a fluid phase |
density | Phase density 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 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 |
Sets the cell phase viscosity.
phaseIdx | Index of a fluid phase |
viscosity | Phase viscosity which is stored |
|
inline |
Returns the cell phase viscosity.
phaseIdx | Index of a fluid phase |
|
inline |
Returns the cell phase viscosity.
phaseIdx | Index of a fluid phase |
|
inline |
Returns the cell volume correction needed in the pressure equation.
|
inline |
Returns the cell volume correction needed in the pressure equation.