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

Class including the variables and data of discretized data of the constitutive relations. More...

#include <dumux/porousmediumflow/2p2c/sequential/fluxdata.hh>

Description

template<class TypeTag>
class Dumux::FluxData2P2C< TypeTag >

Class including the variables and data of discretized data of the constitutive relations.

The variables of two-phase flow, which are one pressure and one saturation are stored in this class. Additionally, a velocity needed in the transport part of the sequential two-phase flow is stored, as well as discretized data of constitutive relationships like mobilities, fractional flow functions and capillary pressure. Thus, they have to be calculated just once in every time step or every iteration step.

Template Parameters
TypeTagThe Type Tag

Public Member Functions

 FluxData2P2C ()
 Constructor. More...
 
const DimVector & velocity (int phaseIdx, int indexInInside)
 Returns the phase velocity vector at a cell-cell interface. More...
 
const DimVector & velocity (int phaseIdx, int indexInInside) const
 Returns the phase velocity vector at a cell-cell interface. More...
 
void setVelocity (int phaseIdx, int indexInInside, const DimVector &velocity)
 Sets the phase velocity vector at a cell-cell interface. More...
 
DimVector velocityTotal (int indexInInside)
 Returns the total velocity vector at a cell-cell interface. More...
 
DimVector velocityTotal (int indexInInside) const
 Returns the total velocity vector at a cell-cell interface. More...
 
void resize (int size)
 resizes the upwind vector for the case of hanging nodes More...
 
int size ()
 returns the size of the upwind vector which equals number of faces More...
 
const bool & isUpwindCell (int indexInInside, int equationIdx) const
 Functions returning upwind information. More...
 
void setUpwindCell (int indexInInside, int equationIdx, bool value)
 Sets the upwind information. More...
 
void outputFluxData ()
 Console output for the FluxData. More...
 

Constructor & Destructor Documentation

◆ FluxData2P2C()

template<class TypeTag >
Dumux::FluxData2P2C< TypeTag >::FluxData2P2C ( )
inline

Constructor.

Member Function Documentation

◆ isUpwindCell()

template<class TypeTag >
const bool & Dumux::FluxData2P2C< TypeTag >::isUpwindCell ( int  indexInInside,
int  equationIdx 
) const
inline

Functions returning upwind information.

Parameters
indexInInsideThe local inside index of the intersection
equationIdxThe equation index

◆ outputFluxData()

template<class TypeTag >
void Dumux::FluxData2P2C< TypeTag >::outputFluxData ( )
inline

Console output for the FluxData.

◆ resize()

template<class TypeTag >
void Dumux::FluxData2P2C< TypeTag >::resize ( int  size)
inline

resizes the upwind vector for the case of hanging nodes

◆ setUpwindCell()

template<class TypeTag >
void Dumux::FluxData2P2C< TypeTag >::setUpwindCell ( int  indexInInside,
int  equationIdx,
bool  value 
)
inline

Sets the upwind information.

Parameters
indexInInsideThe local inside index of the intersection
equationIdxThe equation index
valueset true or false

◆ setVelocity()

template<class TypeTag >
void Dumux::FluxData2P2C< TypeTag >::setVelocity ( int  phaseIdx,
int  indexInInside,
const DimVector &  velocity 
)
inline

Sets the phase velocity vector at a cell-cell interface.

Parameters
phaseIdxIndex of a fluid phase
indexInInsideIndex of the cell-cell interface in this cell
velocityPhase velocity vector which is stored

◆ size()

template<class TypeTag >
int Dumux::FluxData2P2C< TypeTag >::size ( )
inline

returns the size of the upwind vector which equals number of faces

◆ velocity() [1/2]

template<class TypeTag >
const DimVector & Dumux::FluxData2P2C< TypeTag >::velocity ( int  phaseIdx,
int  indexInInside 
)
inline

Returns the phase velocity vector at a cell-cell interface.

Parameters
phaseIdxIndex of a fluid phase
indexInInsideIndex of the cell-cell interface in this cell

◆ velocity() [2/2]

template<class TypeTag >
const DimVector & Dumux::FluxData2P2C< TypeTag >::velocity ( int  phaseIdx,
int  indexInInside 
) const
inline

Returns the phase velocity vector at a cell-cell interface.

Parameters
phaseIdxIndex of a fluid phase
indexInInsideIndex of the cell-cell interface in this cell

◆ velocityTotal() [1/2]

template<class TypeTag >
DimVector Dumux::FluxData2P2C< TypeTag >::velocityTotal ( int  indexInInside)
inline

Returns the total velocity vector at a cell-cell interface.

Parameters
indexInInsideIndex of the cell-cell interface in this cell

◆ velocityTotal() [2/2]

template<class TypeTag >
DimVector Dumux::FluxData2P2C< TypeTag >::velocityTotal ( int  indexInInside) const
inline

Returns the total velocity vector at a cell-cell interface.

Parameters
indexInInsideIndex of the cell-cell interface in this cell

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