All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Opm::WaterPvtMultiplexer< Scalar, enableThermal > 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, ThermalWaterPvt }
 
typedef Opm::WaterPvtThermal
< Scalar > 
WaterPvtThermal
 

Public Member Functions

void initEnd ()
 
unsigned numRegions () const
 Return the number of PVT regions which are considered by this PVT-object.
 
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.
 
template<class Evaluation >
Evaluation inverseFormationVolumeFactor (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const
 Returns the formation volume factor [-] of the fluid phase.
 
void setApproach (WaterPvtApproach appr)
 
WaterPvtApproach approach () const
 Returns the concrete approach for calculating the PVT relations. More...
 
template<WaterPvtApproach approachV>
std::enable_if< approachV==ConstantCompressibilityWaterPvt,
Opm::ConstantCompressibilityWaterPvt
< Scalar > >::type & 
getRealPvt ()
 
template<WaterPvtApproach approachV>
std::enable_if< approachV==ConstantCompressibilityWaterPvt,
const
Opm::ConstantCompressibilityWaterPvt
< Scalar > >::type & 
getRealPvt () const
 
template<WaterPvtApproach approachV>
std::enable_if< approachV==ThermalWaterPvt,
Opm::WaterPvtThermal< Scalar >
>::type & 
getRealPvt ()
 
template<WaterPvtApproach approachV>
std::enable_if< approachV==ThermalWaterPvt,
const Opm::WaterPvtThermal
< Scalar > >::type & 
getRealPvt () const
 

Detailed Description

template<class Scalar, bool enableThermal = true>
class Opm::WaterPvtMultiplexer< Scalar, enableThermal >

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

Member Function Documentation

template<class Scalar , bool enableThermal = true>
WaterPvtApproach Opm::WaterPvtMultiplexer< Scalar, enableThermal >::approach ( ) const
inline

Returns the concrete approach for calculating the PVT relations.

(This is only determined at runtime.)


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