Opm::ImmiscibleIntensiveQuantities< TypeTag > Class Template Reference

Contains the quantities which are are constant within a finite volume for the immiscible multi-phase model. More...

#include <immiscibleintensivequantities.hh>

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

Public Member Functions

 ImmiscibleIntensiveQuantities ()
 
 ImmiscibleIntensiveQuantities (const ImmiscibleIntensiveQuantities &other)=default
 
ImmiscibleIntensiveQuantitiesoperator= (const ImmiscibleIntensiveQuantities &other)=default
 
void update (const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx)
 
const FluidState & fluidState () 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...
 

Protected Attributes

FluidState fluidState_
 
Evaluation porosity_
 
DimMatrix intrinsicPerm_
 
Evaluation relativePermeability_ [numPhases]
 
Evaluation mobility_ [numPhases]
 

Detailed Description

template<class TypeTag>
class Opm::ImmiscibleIntensiveQuantities< TypeTag >

Contains the quantities which are are constant within a finite volume for the immiscible multi-phase model.

Constructor & Destructor Documentation

◆ ImmiscibleIntensiveQuantities() [1/2]

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

◆ ImmiscibleIntensiveQuantities() [2/2]

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

Member Function Documentation

◆ fluidState()

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

Returns the phase state for the control-volume.

References Opm::ImmiscibleIntensiveQuantities< TypeTag >::fluidState_.

◆ intrinsicPermeability()

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

Returns the intrinsic permeability tensor a degree of freedom.

References Opm::ImmiscibleIntensiveQuantities< TypeTag >::intrinsicPerm_.

◆ mobility()

template<class TypeTag >
const Evaluation & Opm::ImmiscibleIntensiveQuantities< 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.

References Opm::ImmiscibleIntensiveQuantities< TypeTag >::mobility_.

◆ operator=()

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

◆ porosity()

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

Returns the average porosity within the control volume.

References Opm::ImmiscibleIntensiveQuantities< TypeTag >::porosity_.

◆ relativePermeability()

template<class TypeTag >
const Evaluation & Opm::ImmiscibleIntensiveQuantities< 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.

References Opm::ImmiscibleIntensiveQuantities< TypeTag >::relativePermeability_.

◆ update()

Member Data Documentation

◆ fluidState_

◆ intrinsicPerm_

◆ mobility_

template<class TypeTag >
Evaluation Opm::ImmiscibleIntensiveQuantities< TypeTag >::mobility_[numPhases]
protected

◆ porosity_

◆ relativePermeability_

template<class TypeTag >
Evaluation Opm::ImmiscibleIntensiveQuantities< TypeTag >::relativePermeability_[numPhases]
protected

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