3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Member Functions | List of all members
Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners > Class Template Reference

Flux variables cache for the two-phase-flow PNM Store data required for flux calculation. More...

#include <dumux/porenetwork/2p/fluxvariablescache.hh>

Description

template<class AdvectionType, int maxNumCorners = 4>
class Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >

Flux variables cache for the two-phase-flow PNM Store data required for flux calculation.

Public Member Functions

template<class Problem , class Element , class FVElementGeometry , class ElementVolumeVariables , class SubControlVolumeFace >
void update (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf, bool invaded)
 
Throat::Shape throatCrossSectionShape () const
 Returns the throats's cross-sectional shape. More...
 
Scalar throatShapeFactor () const
 Returns the throats's shape factor. More...
 
Scalar transmissibility (const int phaseIdx) const
 Returns the throats's transmissibility. More...
 
Scalar throatCrossSectionalArea (const int phaseIdx) const
 Returns the throats's cross-sectional area for a given phaseIdx. More...
 
Scalar throatCrossSectionalArea () const
 Returns the throats's total cross-sectional area. More...
 
Scalar throatLength () const
 Returns the throats's length. More...
 
Scalar throatInscribedRadius () const
 Returns the throats's inscribed radius. More...
 
Scalar pcEntry () const
 Returns the throats's entry capillary pressure. More...
 
Scalar pcSnapoff () const
 Returns the throats's snap-off capillary pressure. More...
 
Scalar pc () const
 Returns the capillary pressure within the throat. More...
 
Scalar surfaceTension () const
 Returns the surface tension within the throat. More...
 
bool invaded () const
 Returns true if the throat is invaded by the nonwetting phase. More...
 
Scalar curvatureRadius () const
 Returns the curvature radius within the throat. More...
 
Scalar wettingLayerCrossSectionalArea (const int cornerIdx) const
 Returns the cross-sectional area of a wetting layer within one of the throat's corners. More...
 
std::size_t wPhaseIdx () const
 Returns the index of the wetting phase. More...
 
std::size_t nPhaseIdx () const
 Returns the index of the nonwetting phase. More...
 
const auto & singlePhaseFlowVariables () const
 Returns the throats's cached flow variables for single-phase flow. More...
 
const auto & nonWettingPhaseFlowVariables () const
 Returns the throats's cached flow variables for the nonwetting phase. More...
 
const auto & wettingLayerFlowVariables () const
 Returns the throats's cached flow variables for the wetting phase. More...
 
Scalar poreToPoreDistance () const
 Returns the throats's pore-to-pore-center distance. More...
 

Member Function Documentation

◆ curvatureRadius()

template<class AdvectionType , int maxNumCorners = 4>
Scalar Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::curvatureRadius ( ) const
inline

Returns the curvature radius within the throat.

◆ invaded()

template<class AdvectionType , int maxNumCorners = 4>
bool Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::invaded ( ) const
inline

Returns true if the throat is invaded by the nonwetting phase.

◆ nonWettingPhaseFlowVariables()

template<class AdvectionType , int maxNumCorners = 4>
const auto & Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::nonWettingPhaseFlowVariables ( ) const
inline

Returns the throats's cached flow variables for the nonwetting phase.

◆ nPhaseIdx()

template<class AdvectionType , int maxNumCorners = 4>
std::size_t Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::nPhaseIdx ( ) const
inline

Returns the index of the nonwetting phase.

◆ pc()

template<class AdvectionType , int maxNumCorners = 4>
Scalar Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::pc ( ) const
inline

Returns the capillary pressure within the throat.

◆ pcEntry()

template<class AdvectionType , int maxNumCorners = 4>
Scalar Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::pcEntry ( ) const
inline

Returns the throats's entry capillary pressure.

◆ pcSnapoff()

template<class AdvectionType , int maxNumCorners = 4>
Scalar Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::pcSnapoff ( ) const
inline

Returns the throats's snap-off capillary pressure.

◆ poreToPoreDistance()

template<class AdvectionType , int maxNumCorners = 4>
Scalar Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::poreToPoreDistance ( ) const
inline

Returns the throats's pore-to-pore-center distance.

◆ singlePhaseFlowVariables()

template<class AdvectionType , int maxNumCorners = 4>
const auto & Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::singlePhaseFlowVariables ( ) const
inline

Returns the throats's cached flow variables for single-phase flow.

◆ surfaceTension()

template<class AdvectionType , int maxNumCorners = 4>
Scalar Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::surfaceTension ( ) const
inline

Returns the surface tension within the throat.

◆ throatCrossSectionalArea() [1/2]

template<class AdvectionType , int maxNumCorners = 4>
Scalar Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::throatCrossSectionalArea ( ) const
inline

Returns the throats's total cross-sectional area.

◆ throatCrossSectionalArea() [2/2]

template<class AdvectionType , int maxNumCorners = 4>
Scalar Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::throatCrossSectionalArea ( const int  phaseIdx) const
inline

Returns the throats's cross-sectional area for a given phaseIdx.

◆ throatCrossSectionShape()

template<class AdvectionType , int maxNumCorners = 4>
Throat::Shape Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::throatCrossSectionShape ( ) const
inline

Returns the throats's cross-sectional shape.

◆ throatInscribedRadius()

template<class AdvectionType , int maxNumCorners = 4>
Scalar Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::throatInscribedRadius ( ) const
inline

Returns the throats's inscribed radius.

◆ throatLength()

template<class AdvectionType , int maxNumCorners = 4>
Scalar Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::throatLength ( ) const
inline

Returns the throats's length.

◆ throatShapeFactor()

template<class AdvectionType , int maxNumCorners = 4>
Scalar Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::throatShapeFactor ( ) const
inline

Returns the throats's shape factor.

◆ transmissibility()

template<class AdvectionType , int maxNumCorners = 4>
Scalar Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::transmissibility ( const int  phaseIdx) const
inline

Returns the throats's transmissibility.

◆ update()

template<class AdvectionType , int maxNumCorners = 4>
template<class Problem , class Element , class FVElementGeometry , class ElementVolumeVariables , class SubControlVolumeFace >
void Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::update ( const Problem &  problem,
const Element &  element,
const FVElementGeometry &  fvGeometry,
const ElementVolumeVariables &  elemVolVars,
const SubControlVolumeFace &  scvf,
bool  invaded 
)
inline

◆ wettingLayerCrossSectionalArea()

template<class AdvectionType , int maxNumCorners = 4>
Scalar Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::wettingLayerCrossSectionalArea ( const int  cornerIdx) const
inline

Returns the cross-sectional area of a wetting layer within one of the throat's corners.

◆ wettingLayerFlowVariables()

template<class AdvectionType , int maxNumCorners = 4>
const auto & Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::wettingLayerFlowVariables ( ) const
inline

Returns the throats's cached flow variables for the wetting phase.

◆ wPhaseIdx()

template<class AdvectionType , int maxNumCorners = 4>
std::size_t Dumux::PoreNetwork::TwoPFluxVariablesCache< AdvectionType, maxNumCorners >::wPhaseIdx ( ) const
inline

Returns the index of the wetting phase.


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