Opm::WaterPvtMultiplexer< Scalar > Class Template Reference

This class represents the Pressure-Volume-Temperature relations of the water phase in the black-oil model. More...

#include <WaterPvtMultiplexer.hpp>

Public Types

enum  WaterPvtApproach { NoWaterPvt, ConstantCompressibilityWaterPvt }
 

Public Member Functions

 WaterPvtMultiplexer ()
 
 ~WaterPvtMultiplexer ()
 
void initEnd ()
 
template<class Evaluation >
Evaluation viscosity (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const
 Returns the dynamic viscosity [Pa s] of the fluid phase given a set of parameters. More...
 
template<class Evaluation >
Evaluation formationVolumeFactor (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const
 Returns the formation volume factor [-] of the fluid phase. More...
 
template<class Evaluation >
Evaluation density (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const
 Returns the density [kg/m^3] of the fluid phase given a set of parameters. More...
 
template<class Evaluation >
Evaluation fugacityCoefficientOil (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const
 Returns the fugacity coefficient [-] of the oil component in the water phase given a pressure and a temperature. More...
 
template<class Evaluation >
Evaluation fugacityCoefficientGas (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const
 Returns the fugacity coefficient [-] of the gas component in the water phase given a pressure and a temperature. More...
 
template<class Evaluation >
Evaluation fugacityCoefficientWater (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const
 Returns the fugacity coefficient [-] of the water component in the water phase given a pressure and a temperature. More...
 
void setApproach (WaterPvtApproach waterPvtApproach)
 
WaterPvtApproach waterPvtApproach () const
 
template<WaterPvtApproach approachV>
std::enable_if< approachV==ConstantCompressibilityWaterPvt,
Opm::ConstantCompressibilityWaterPvt
< Scalar > >::type & 
getRealWaterPvt ()
 
template<WaterPvtApproach approachV>
std::enable_if< approachV==ConstantCompressibilityWaterPvt,
const
Opm::ConstantCompressibilityWaterPvt
< Scalar > >::type & 
getRealWaterPvt () const
 

Detailed Description

template<class Scalar>
class Opm::WaterPvtMultiplexer< Scalar >

This class represents the Pressure-Volume-Temperature relations of the water phase in the black-oil model.

Member Enumeration Documentation

template<class Scalar >
enum Opm::WaterPvtMultiplexer::WaterPvtApproach
Enumerator
NoWaterPvt 
ConstantCompressibilityWaterPvt 

Constructor & Destructor Documentation

template<class Scalar >
Opm::WaterPvtMultiplexer< Scalar >::WaterPvtMultiplexer ( )
inline
template<class Scalar >
Opm::WaterPvtMultiplexer< Scalar >::~WaterPvtMultiplexer ( )
inline

Member Function Documentation

template<class Scalar >
template<class Evaluation >
Evaluation Opm::WaterPvtMultiplexer< Scalar >::density ( unsigned  regionIdx,
const Evaluation &  temperature,
const Evaluation &  pressure 
) const
inline

Returns the density [kg/m^3] of the fluid phase given a set of parameters.

References OPM_WATER_PVT_MULTIPLEXER_CALL.

template<class Scalar >
template<class Evaluation >
Evaluation Opm::WaterPvtMultiplexer< Scalar >::formationVolumeFactor ( unsigned  regionIdx,
const Evaluation &  temperature,
const Evaluation &  pressure 
) const
inline

Returns the formation volume factor [-] of the fluid phase.

References OPM_WATER_PVT_MULTIPLEXER_CALL.

template<class Scalar >
template<class Evaluation >
Evaluation Opm::WaterPvtMultiplexer< Scalar >::fugacityCoefficientGas ( unsigned  regionIdx,
const Evaluation &  temperature,
const Evaluation &  pressure 
) const
inline

Returns the fugacity coefficient [-] of the gas component in the water phase given a pressure and a temperature.

References OPM_WATER_PVT_MULTIPLEXER_CALL.

template<class Scalar >
template<class Evaluation >
Evaluation Opm::WaterPvtMultiplexer< Scalar >::fugacityCoefficientOil ( unsigned  regionIdx,
const Evaluation &  temperature,
const Evaluation &  pressure 
) const
inline

Returns the fugacity coefficient [-] of the oil component in the water phase given a pressure and a temperature.

References OPM_WATER_PVT_MULTIPLEXER_CALL.

template<class Scalar >
template<class Evaluation >
Evaluation Opm::WaterPvtMultiplexer< Scalar >::fugacityCoefficientWater ( unsigned  regionIdx,
const Evaluation &  temperature,
const Evaluation &  pressure 
) const
inline

Returns the fugacity coefficient [-] of the water component in the water phase given a pressure and a temperature.

References OPM_WATER_PVT_MULTIPLEXER_CALL.

template<class Scalar >
template<WaterPvtApproach approachV>
std::enable_if<approachV == ConstantCompressibilityWaterPvt, Opm::ConstantCompressibilityWaterPvt<Scalar> >::type& Opm::WaterPvtMultiplexer< Scalar >::getRealWaterPvt ( )
inline
template<class Scalar >
template<WaterPvtApproach approachV>
std::enable_if<approachV == ConstantCompressibilityWaterPvt, const Opm::ConstantCompressibilityWaterPvt<Scalar> >::type& Opm::WaterPvtMultiplexer< Scalar >::getRealWaterPvt ( ) const
inline
template<class Scalar >
void Opm::WaterPvtMultiplexer< Scalar >::initEnd ( )
inline
template<class Scalar >
void Opm::WaterPvtMultiplexer< Scalar >::setApproach ( WaterPvtApproach  waterPvtApproach)
inline
template<class Scalar >
template<class Evaluation >
Evaluation Opm::WaterPvtMultiplexer< Scalar >::viscosity ( unsigned  regionIdx,
const Evaluation &  temperature,
const Evaluation &  pressure 
) const
inline

Returns the dynamic viscosity [Pa s] of the fluid phase given a set of parameters.

References OPM_WATER_PVT_MULTIPLEXER_CALL.


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