3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Member Functions | List of all members
Dumux::CellData2P< TypeTag, true > Class Template Reference

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>

Description

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
TypeTagThe problem TypeTag
boolUsed for specialization: In case of compressible flow bool = true

Public Member Functions

 CellData2P ()
 Constructs a CellData2P object. More...
 
FluxDatafluxData ()
 Returns the flux data of the cell. More...
 
const FluxDatafluxData () 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...
 

Constructor & Destructor Documentation

◆ CellData2P()

template<class TypeTag >
Dumux::CellData2P< TypeTag, true >::CellData2P ( )
inline

Constructs a CellData2P object.

Member Function Documentation

◆ capillaryPressure() [1/2]

template<class TypeTag >
Scalar Dumux::CellData2P< TypeTag, true >::capillaryPressure ( )
inline

Returns the cell capillary pressure.

◆ capillaryPressure() [2/2]

template<class TypeTag >
Scalar Dumux::CellData2P< TypeTag, true >::capillaryPressure ( ) const
inline

Returns the cell capillary pressure.

◆ density() [1/2]

template<class TypeTag >
Scalar Dumux::CellData2P< TypeTag, true >::density ( int  phaseIdx)
inline

Returns the cell phase density.

Parameters
phaseIdxIndex of a fluid phase

◆ density() [2/2]

template<class TypeTag >
Scalar Dumux::CellData2P< TypeTag, true >::density ( int  phaseIdx) const
inline

Returns the cell phase density.

Parameters
phaseIdxIndex of a fluid phase

◆ fluidState() [1/2]

template<class TypeTag >
FluidState & Dumux::CellData2P< TypeTag, true >::fluidState ( )
inline

Returns the FluidState object for this cell.

◆ fluidState() [2/2]

template<class TypeTag >
const FluidState & Dumux::CellData2P< TypeTag, true >::fluidState ( ) const
inline

Returns the FluidState object for this cell.

◆ fluxData() [1/2]

template<class TypeTag >
FluxData & Dumux::CellData2P< TypeTag, true >::fluxData ( )
inline

Returns the flux data of the cell.

◆ fluxData() [2/2]

template<class TypeTag >
const FluxData & Dumux::CellData2P< TypeTag, true >::fluxData ( ) const
inline

Returns the flux data of the cell.

◆ fracFlowFunc() [1/2]

template<class TypeTag >
Scalar Dumux::CellData2P< TypeTag, true >::fracFlowFunc ( int  phaseIdx)
inline

Returns the cell phase fractional flow function.

Parameters
phaseIdxIndex of a fluid phase

◆ fracFlowFunc() [2/2]

template<class TypeTag >
Scalar Dumux::CellData2P< TypeTag, true >::fracFlowFunc ( int  phaseIdx) const
inline

Returns the cell phase fractional flow function.

Parameters
phaseIdxIndex of a fluid phase

◆ mobility() [1/2]

template<class TypeTag >
Scalar Dumux::CellData2P< TypeTag, true >::mobility ( int  phaseIdx)
inline

Returns the cell phase mobility.

Parameters
phaseIdxIndex of a fluid phase

◆ mobility() [2/2]

template<class TypeTag >
Scalar Dumux::CellData2P< TypeTag, true >::mobility ( int  phaseIdx) const
inline

Returns the cell phase mobility.

Parameters
phaseIdxIndex of a fluid phase

◆ potential() [1/2]

template<class TypeTag >
Scalar Dumux::CellData2P< TypeTag, true >::potential ( int  phaseIdx)
inline

Returns the cell phase potential.

Parameters
phaseIdxIndex of a fluid phase

◆ potential() [2/2]

template<class TypeTag >
Scalar Dumux::CellData2P< TypeTag, true >::potential ( int  phaseIdx) const
inline

Returns the cell phase potential.

Parameters
phaseIdxIndex of a fluid phase

◆ pressure() [1/2]

template<class TypeTag >
Scalar Dumux::CellData2P< TypeTag, true >::pressure ( int  phaseIdx)
inline

Returns the cell phase pressure.

Parameters
phaseIdxIndex of a fluid phase

◆ pressure() [2/2]

template<class TypeTag >
Scalar Dumux::CellData2P< TypeTag, true >::pressure ( int  phaseIdx) const
inline

Returns the cell phase pressure.

Parameters
phaseIdxIndex of a fluid phase

◆ saturation() [1/2]

template<class TypeTag >
Scalar Dumux::CellData2P< TypeTag, true >::saturation ( int  phaseIdx)
inline

Returns the cell phase saturation.

Parameters
phaseIdxIndex of a fluid phase

◆ saturation() [2/2]

template<class TypeTag >
Scalar Dumux::CellData2P< TypeTag, true >::saturation ( int  phaseIdx) const
inline

Returns the cell phase saturation.

Parameters
phaseIdxIndex of a fluid phase

◆ setDensity()

template<class TypeTag >
void Dumux::CellData2P< TypeTag, true >::setDensity ( int  phaseIdx,
Scalar  density 
)
inline

Sets the cell phase density.

Parameters
phaseIdxIndex of a fluid phase
densityPhase density which is stored

◆ setFracFlowFunc()

template<class TypeTag >
void Dumux::CellData2P< TypeTag, true >::setFracFlowFunc ( int  phaseIdx,
Scalar  fracFlowFunc 
)
inline

Sets the cell phase fractional flow function.

Parameters
phaseIdxIndex of a fluid phase
fracFlowFuncPhase fractional flow function which is stored

◆ setMobility()

template<class TypeTag >
void Dumux::CellData2P< TypeTag, true >::setMobility ( int  phaseIdx,
Scalar  mobility 
)
inline

Sets the cell phase mobility.

Parameters
phaseIdxIndex of a fluid phase
mobilityPhase mobility with which is stored

◆ setPotential()

template<class TypeTag >
void Dumux::CellData2P< TypeTag, true >::setPotential ( int  phaseIdx,
Scalar  pot 
)
inline

Sets the cell phase potential.

Parameters
phaseIdxIndex of a fluid phase
potPhase potential which is stored

◆ setPressure()

template<class TypeTag >
void Dumux::CellData2P< TypeTag, true >::setPressure ( int  phaseIdx,
Scalar  press 
)
inline

Sets the cell phase pressure.

Parameters
phaseIdxIndex of a fluid phase
pressPhase pressure which is stored

◆ setSaturation()

template<class TypeTag >
void Dumux::CellData2P< TypeTag, true >::setSaturation ( int  phaseIdx,
Scalar  sat 
)
inline

Sets the cell phase saturation.

Parameters
phaseIdxIndex of a fluid phase
satPhase saturation which is stored

◆ setUpdate()

template<class TypeTag >
void Dumux::CellData2P< TypeTag, true >::setUpdate ( Scalar  update)
inline

Store transport update.

Parameters
updateTransport update of the cell

◆ setViscosity()

template<class TypeTag >
void Dumux::CellData2P< TypeTag, true >::setViscosity ( int  phaseIdx,
Scalar  viscosity 
)
inline

Sets the cell phase viscosity.

Parameters
phaseIdxIndex of a fluid phase
viscosityPhase viscosity which is stored

◆ viscosity() [1/2]

template<class TypeTag >
Scalar Dumux::CellData2P< TypeTag, true >::viscosity ( int  phaseIdx)
inline

Returns the cell phase viscosity.

Parameters
phaseIdxIndex of a fluid phase

◆ viscosity() [2/2]

template<class TypeTag >
Scalar Dumux::CellData2P< TypeTag, true >::viscosity ( int  phaseIdx) const
inline

Returns the cell phase viscosity.

Parameters
phaseIdxIndex of a fluid phase

◆ volumeCorrection() [1/2]

template<class TypeTag >
Scalar Dumux::CellData2P< TypeTag, true >::volumeCorrection ( )
inline

Returns the cell volume correction needed in the pressure equation.

◆ volumeCorrection() [2/2]

template<class TypeTag >
Scalar Dumux::CellData2P< TypeTag, true >::volumeCorrection ( ) const
inline

Returns the cell volume correction needed in the pressure equation.


The documentation for this class was generated from the following file: