Opm::BlackOilIntensiveQuantities< TypeTag > Class Template Reference

Contains the quantities which are are constant within a finite volume in the black-oil model. More...

#include <blackoilintensivequantities.hh>

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

Public Types

using FluidState = BlackOilFluidState< Evaluation, FluidSystem, enableTemperature, enableEnergy, compositionSwitchEnabled, enableVapwat, enableBrine, enableSaltPrecipitation, enableDisgasInWater, Indices::numPhases >
 
using ScalarFluidState = BlackOilFluidState< Scalar, FluidSystem, enableTemperature, enableEnergy, compositionSwitchEnabled, enableVapwat, enableBrine, enableSaltPrecipitation, enableDisgasInWater, Indices::numPhases >
 
using Problem = GetPropType< TypeTag, Properties::Problem >
 

Public Member Functions

 BlackOilIntensiveQuantities ()
 
 BlackOilIntensiveQuantities (const BlackOilIntensiveQuantities &other)=default
 
BlackOilIntensiveQuantitiesoperator= (const BlackOilIntensiveQuantities &other)=default
 
void updateTempSalt (const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx)
 
void updateSaturations (const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx)
 
void updateRelpermAndPressures (const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx)
 
Evaluation updateRsRvRsw (const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx)
 
void updateMobilityAndInvB ()
 
void updatePhaseDensities ()
 
void updatePorosity (const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx)
 
void assertFiniteMembers ()
 
void update (const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx)
 
const FluidStatefluidState () const
 Returns the phase state for 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 & mobility (unsigned phaseIdx, FaceDir::DirEnum facedir) const
 
const Evaluation & porosity () const
 Returns the average porosity within the control volume. More...
 
const Evaluation & rockCompTransMultiplier () const
 
auto pvtRegionIndex () const -> decltype(std::declval< FluidState >().pvtRegionIndex())
 Returns the index of the PVT region used to calculate the thermodynamic quantities. More...
 
Evaluation relativePermeability (unsigned phaseIdx) const
 Returns the relative permeability of a given phase within the control volume. More...
 
Scalar referencePorosity () const
 Returns the porosity of the rock at reference conditions. More...
 
const Evaluation & permFactor () const
 

Detailed Description

template<class TypeTag>
class Opm::BlackOilIntensiveQuantities< TypeTag >

Contains the quantities which are are constant within a finite volume in the black-oil model.

Member Typedef Documentation

◆ FluidState

template<class TypeTag >
using Opm::BlackOilIntensiveQuantities< TypeTag >::FluidState = BlackOilFluidState<Evaluation, FluidSystem, enableTemperature, enableEnergy, compositionSwitchEnabled, enableVapwat, enableBrine, enableSaltPrecipitation, enableDisgasInWater, Indices::numPhases>

◆ Problem

template<class TypeTag >
using Opm::BlackOilIntensiveQuantities< TypeTag >::Problem = GetPropType<TypeTag, Properties::Problem>

◆ ScalarFluidState

template<class TypeTag >
using Opm::BlackOilIntensiveQuantities< TypeTag >::ScalarFluidState = BlackOilFluidState<Scalar, FluidSystem, enableTemperature, enableEnergy, compositionSwitchEnabled, enableVapwat, enableBrine, enableSaltPrecipitation, enableDisgasInWater, Indices::numPhases>

Constructor & Destructor Documentation

◆ BlackOilIntensiveQuantities() [1/2]

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

◆ BlackOilIntensiveQuantities() [2/2]

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

Member Function Documentation

◆ assertFiniteMembers()

template<class TypeTag >
void Opm::BlackOilIntensiveQuantities< TypeTag >::assertFiniteMembers ( )
inline

◆ fluidState()

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

Returns the phase state for the control-volume.

◆ mobility() [1/2]

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

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

Referenced by Opm::BlackOilIntensiveQuantities< TypeTag >::relativePermeability().

◆ mobility() [2/2]

template<class TypeTag >
const Evaluation & Opm::BlackOilIntensiveQuantities< TypeTag >::mobility ( unsigned  phaseIdx,
FaceDir::DirEnum  facedir 
) const
inline

◆ operator=()

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

◆ permFactor()

template<class TypeTag >
const Evaluation & Opm::BlackOilIntensiveQuantities< TypeTag >::permFactor ( ) const
inline

◆ porosity()

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

Returns the average porosity within the control volume.

◆ pvtRegionIndex()

template<class TypeTag >
auto Opm::BlackOilIntensiveQuantities< TypeTag >::pvtRegionIndex ( ) const -> decltype(std::declval<FluidState>().pvtRegionIndex())
inline

Returns the index of the PVT region used to calculate the thermodynamic quantities.

This allows to specify different Pressure-Volume-Temperature (PVT) relations in different parts of the spatial domain.

◆ referencePorosity()

template<class TypeTag >
Scalar Opm::BlackOilIntensiveQuantities< TypeTag >::referencePorosity ( ) const
inline

Returns the porosity of the rock at reference conditions.

I.e., the porosity of rock which is not perturbed by pressure and temperature changes.

◆ relativePermeability()

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

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

References Opm::BlackOilIntensiveQuantities< TypeTag >::mobility().

◆ rockCompTransMultiplier()

template<class TypeTag >
const Evaluation & Opm::BlackOilIntensiveQuantities< TypeTag >::rockCompTransMultiplier ( ) const
inline

The pressure-dependent transmissibility multiplier due to rock compressibility.

◆ update()

◆ updateMobilityAndInvB()

template<class TypeTag >
void Opm::BlackOilIntensiveQuantities< TypeTag >::updateMobilityAndInvB ( )
inline

◆ updatePhaseDensities()

template<class TypeTag >
void Opm::BlackOilIntensiveQuantities< TypeTag >::updatePhaseDensities ( )
inline

◆ updatePorosity()

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

◆ updateRelpermAndPressures()

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

◆ updateRsRvRsw()

template<class TypeTag >
Evaluation Opm::BlackOilIntensiveQuantities< TypeTag >::updateRsRvRsw ( const ElementContext &  elemCtx,
unsigned  dofIdx,
unsigned  timeIdx 
)
inline

◆ updateSaturations()

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

◆ updateTempSalt()

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

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