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 |
This class represents the Pressure-Volume-Temperature relations of the water phase in the black-oil model.
|
inline |
Returns the concrete approach for calculating the PVT relations.
(This is only determined at runtime.)