My Project
Opm::WaterPvtMultiplexer< Scalar, enableThermal, enableBrine > 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 Member Functions

 WaterPvtMultiplexer (WaterPvtApproach approach, void *realWaterPvt)
 
 WaterPvtMultiplexer (const WaterPvtMultiplexer< Scalar, enableThermal, enableBrine > &data)
 
void initEnd ()
 
unsigned numRegions () const
 Return the number of PVT regions which are considered by this PVT-object.
 
const Scalar waterReferenceDensity (unsigned regionIdx)
 Return the reference density which are considered by this PVT-object.
 
template<class Evaluation >
Evaluation internalEnergy (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &saltconcentration) const
 Returns the specific enthalpy [J/kg] of gas given a set of parameters.
 
template<class Evaluation >
Evaluation viscosity (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &saltconcentration) 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 Evaluation &saltconcentration) 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==WaterPvtApproach::ConstantCompressibilityWaterPvt, ConstantCompressibilityWaterPvt< Scalar > >::type & getRealPvt ()
 
template<WaterPvtApproach approachV>
std::enable_if< approachV==WaterPvtApproach::ConstantCompressibilityWaterPvt, const ConstantCompressibilityWaterPvt< Scalar > >::type & getRealPvt () const
 
template<WaterPvtApproach approachV>
std::enable_if< approachV==WaterPvtApproach::ConstantCompressibilityBrinePvt, ConstantCompressibilityBrinePvt< Scalar > >::type & getRealPvt ()
 
template<WaterPvtApproach approachV>
std::enable_if< approachV==WaterPvtApproach::ConstantCompressibilityBrinePvt, const ConstantCompressibilityBrinePvt< Scalar > >::type & getRealPvt () const
 
template<WaterPvtApproach approachV>
std::enable_if< approachV==WaterPvtApproach::ThermalWaterPvt, WaterPvtThermal< Scalar, enableBrine > >::type & getRealPvt ()
 
template<WaterPvtApproach approachV>
std::enable_if< approachV==WaterPvtApproach::ThermalWaterPvt, const WaterPvtThermal< Scalar, enableBrine > >::type & getRealPvt () const
 
const void * realWaterPvt () const
 
bool operator== (const WaterPvtMultiplexer< Scalar, enableThermal, enableBrine > &data) const
 
WaterPvtMultiplexer< Scalar, enableThermal, enableBrine > & operator= (const WaterPvtMultiplexer< Scalar, enableThermal, enableBrine > &data)
 

Detailed Description

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

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

Member Function Documentation

◆ approach()

template<class Scalar , bool enableThermal = true, bool enableBrine = true>
WaterPvtApproach Opm::WaterPvtMultiplexer< Scalar, enableThermal, enableBrine >::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 files: