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>

List of all members.

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.
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:

Generated on 25 Mar 2018 by  doxygen 1.6.1