Opm::PvsIntensiveQuantities< TypeTag > Class Template Reference

Contains the quantities which are are constant within a finite volume in the compositional multi-phase primary variable switching model. More...

#include <pvsintensivequantities.hh>

Inheritance diagram for Opm::PvsIntensiveQuantities< TypeTag >:
Inheritance graph

Public Types

using FluidState = Opm::CompositionalFluidState< Evaluation, FluidSystem >
 The type of the object returned by the fluidState() method. More...
 

Public Member Functions

 PvsIntensiveQuantities ()
 
 PvsIntensiveQuantities (const PvsIntensiveQuantities &other)=default
 
PvsIntensiveQuantitiesoperator= (const PvsIntensiveQuantities &other)=default
 
void update (const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx)
 
const FluidStatefluidState () const
 Returns the phase state for the control-volume. More...
 
const DimMatrix & intrinsicPermeability () const
 Returns the intrinsic permeability tensor a degree of freedom. More...
 
const Evaluation & relativePermeability (unsigned phaseIdx) const
 Returns the relative permeability of a given phase within the control volume. More...
 
const Evaluation & mobility (unsigned phaseIdx) const
 Returns the effective mobility of a given phase within the control volume. More...
 
const Evaluation & porosity () const
 Returns the average porosity within the control volume. More...
 

Detailed Description

template<class TypeTag>
class Opm::PvsIntensiveQuantities< TypeTag >

Contains the quantities which are are constant within a finite volume in the compositional multi-phase primary variable switching model.

Member Typedef Documentation

◆ FluidState

template<class TypeTag >
using Opm::PvsIntensiveQuantities< TypeTag >::FluidState = Opm::CompositionalFluidState<Evaluation, FluidSystem>

The type of the object returned by the fluidState() method.

Constructor & Destructor Documentation

◆ PvsIntensiveQuantities() [1/2]

template<class TypeTag >
Opm::PvsIntensiveQuantities< TypeTag >::PvsIntensiveQuantities ( )
inline

◆ PvsIntensiveQuantities() [2/2]

template<class TypeTag >
Opm::PvsIntensiveQuantities< TypeTag >::PvsIntensiveQuantities ( const PvsIntensiveQuantities< TypeTag > &  other)
default

Member Function Documentation

◆ fluidState()

template<class TypeTag >
const FluidState & Opm::PvsIntensiveQuantities< TypeTag >::fluidState ( ) const
inline

Returns the phase state for the control-volume.

Referenced by Opm::PvsIntensiveQuantities< TypeTag >::update().

◆ intrinsicPermeability()

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

Returns the intrinsic permeability tensor a degree of freedom.

◆ mobility()

template<class TypeTag >
const Evaluation & Opm::PvsIntensiveQuantities< TypeTag >::mobility ( unsigned  phaseIdx) const
inline

Returns the effective mobility of a given phase within the control volume.

Parameters
phaseIdxThe index of the fluid phase of interest.

◆ operator=()

template<class TypeTag >
PvsIntensiveQuantities & Opm::PvsIntensiveQuantities< TypeTag >::operator= ( const PvsIntensiveQuantities< TypeTag > &  other)
default

◆ porosity()

template<class TypeTag >
const Evaluation & Opm::PvsIntensiveQuantities< TypeTag >::porosity ( ) const
inline

Returns the average porosity within the control volume.

◆ relativePermeability()

template<class TypeTag >
const Evaluation & Opm::PvsIntensiveQuantities< TypeTag >::relativePermeability ( unsigned  phaseIdx) const
inline

Returns the relative permeability of a given phase within the control volume.

Parameters
phaseIdxThe index of the fluid phase of interest.

◆ update()

template<class TypeTag >
void Opm::PvsIntensiveQuantities< TypeTag >::update ( const ElementContext &  elemCtx,
unsigned  dofIdx,
unsigned  timeIdx 
)
inline

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