Opm::TransExtensiveQuantities< TypeTag > Class Template Reference

Provides the transmissibility based flux module. More...

#include <transfluxmodule.hh>

Public Member Functions

const DimMatrix & intrinsicPermeability () const
 Return the intrinsic permeability tensor at a face [m^2]. More...
 
const EvalDimVector & potentialGrad (unsigned) const
 Return the pressure potential gradient of a fluid phase at the face's integration point [Pa/m]. More...
 
const Evaluation & pressureDifference (unsigned phaseIdx) const
 Return the gravity corrected pressure difference between the interior and the exterior of a face. More...
 
const EvalDimVector & filterVelocity (unsigned) const
 Return the filter velocity of a fluid phase at the face's integration point [m/s]. More...
 
const Evaluation & volumeFlux (unsigned phaseIdx) const
 Return the volume flux of a fluid phase at the face's integration point $[m^3/s / m^2]$. More...
 

Protected Member Functions

unsigned upstreamIndex_ (unsigned phaseIdx) const
 Returns the local index of the degree of freedom in which is in upstream direction. More...
 
unsigned downstreamIndex_ (unsigned phaseIdx) const
 Returns the local index of the degree of freedom in which is in downstream direction. More...
 
void updateSolvent (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx)
 
void updatePolymer (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx)
 
void calculateGradients_ (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx)
 Update the required gradients for interior faces. More...
 
template<class FluidState >
void calculateBoundaryGradients_ (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx, const FluidState &exFluidState)
 Update the required gradients for boundary faces. More...
 
void calculateFluxes_ (const ElementContext &, unsigned, unsigned)
 Update the volumetric fluxes for all fluid phases on the interior faces of the context. More...
 
void calculateBoundaryFluxes_ (const ElementContext &, unsigned, unsigned)
 

Detailed Description

template<class TypeTag>
class Opm::TransExtensiveQuantities< TypeTag >

Provides the transmissibility based flux module.

Member Function Documentation

◆ calculateBoundaryFluxes_()

template<class TypeTag >
void Opm::TransExtensiveQuantities< TypeTag >::calculateBoundaryFluxes_ ( const ElementContext &  ,
unsigned  ,
unsigned   
)
inlineprotected

◆ calculateBoundaryGradients_()

template<class TypeTag >
template<class FluidState >
void Opm::TransExtensiveQuantities< TypeTag >::calculateBoundaryGradients_ ( const ElementContext &  elemCtx,
unsigned  scvfIdx,
unsigned  timeIdx,
const FluidState &  exFluidState 
)
inlineprotected

Update the required gradients for boundary faces.

References Opm::TransExtensiveQuantities< TypeTag >::upstreamIndex_().

◆ calculateFluxes_()

template<class TypeTag >
void Opm::TransExtensiveQuantities< TypeTag >::calculateFluxes_ ( const ElementContext &  ,
unsigned  ,
unsigned   
)
inlineprotected

Update the volumetric fluxes for all fluid phases on the interior faces of the context.

◆ calculateGradients_()

template<class TypeTag >
void Opm::TransExtensiveQuantities< TypeTag >::calculateGradients_ ( const ElementContext &  elemCtx,
unsigned  scvfIdx,
unsigned  timeIdx 
)
inlineprotected

Update the required gradients for interior faces.

References Opm::TransExtensiveQuantities< TypeTag >::upstreamIndex_().

◆ downstreamIndex_()

template<class TypeTag >
unsigned Opm::TransExtensiveQuantities< TypeTag >::downstreamIndex_ ( unsigned  phaseIdx) const
inlineprotected

Returns the local index of the degree of freedom in which is in downstream direction.

i.e., the DOF which exhibits a lower effective pressure for the given phase.

◆ filterVelocity()

template<class TypeTag >
const EvalDimVector & Opm::TransExtensiveQuantities< TypeTag >::filterVelocity ( unsigned  ) const
inline

Return the filter velocity of a fluid phase at the face's integration point [m/s].

Parameters
phaseIdxThe index of the fluid phase

◆ intrinsicPermeability()

template<class TypeTag >
const DimMatrix & Opm::TransExtensiveQuantities< TypeTag >::intrinsicPermeability ( ) const
inline

Return the intrinsic permeability tensor at a face [m^2].

◆ potentialGrad()

template<class TypeTag >
const EvalDimVector & Opm::TransExtensiveQuantities< TypeTag >::potentialGrad ( unsigned  ) const
inline

Return the pressure potential gradient of a fluid phase at the face's integration point [Pa/m].

Parameters
phaseIdxThe index of the fluid phase

◆ pressureDifference()

template<class TypeTag >
const Evaluation & Opm::TransExtensiveQuantities< TypeTag >::pressureDifference ( unsigned  phaseIdx) const
inline

Return the gravity corrected pressure difference between the interior and the exterior of a face.

Parameters
phaseIdxThe index of the fluid phase

◆ updatePolymer()

template<class TypeTag >
void Opm::TransExtensiveQuantities< TypeTag >::updatePolymer ( const ElementContext &  elemCtx,
unsigned  scvfIdx,
unsigned  timeIdx 
)
inlineprotected

◆ updateSolvent()

template<class TypeTag >
void Opm::TransExtensiveQuantities< TypeTag >::updateSolvent ( const ElementContext &  elemCtx,
unsigned  scvfIdx,
unsigned  timeIdx 
)
inlineprotected

◆ upstreamIndex_()

template<class TypeTag >
unsigned Opm::TransExtensiveQuantities< TypeTag >::upstreamIndex_ ( unsigned  phaseIdx) const
inlineprotected

Returns the local index of the degree of freedom in which is in upstream direction.

i.e., the DOF which exhibits a higher effective pressure for the given phase.

Referenced by Opm::TransExtensiveQuantities< TypeTag >::calculateBoundaryGradients_(), and Opm::TransExtensiveQuantities< TypeTag >::calculateGradients_().

◆ volumeFlux()

template<class TypeTag >
const Evaluation & Opm::TransExtensiveQuantities< TypeTag >::volumeFlux ( unsigned  phaseIdx) const
inline

Return the volume flux of a fluid phase at the face's integration point $[m^3/s / m^2]$.

This is the fluid volume of a phase per second and per square meter of face area.

Parameters
phaseIdxThe index of the fluid phase

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