Opm::OilPvtThermal< Scalar > Class Template Reference

This class implements temperature dependence of the PVT properties of oil. More...

#include <OilPvtThermal.hpp>

List of all members.

Public Member Functions

void setNumRegions (size_t numRegions)
 Set the number of PVT-regions considered by this object.
void initEnd ()
 Finish initializing the thermal part of the oil phase PVT properties.
bool enableThermalDensity () const
 Returns true iff the density of the oil phase is temperature dependent.
bool enableThermalViscosity () const
 Returns true iff the viscosity of the oil phase is temperature dependent.
size_t numRegions () const
template<class Evaluation >
Evaluation viscosity (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &Rs) const
 Returns the dynamic viscosity [Pa s] of the fluid phase given a set of parameters.
template<class Evaluation >
Evaluation saturatedViscosity (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 Evaluation &Rs) const
 Returns the formation volume factor [-] of the fluid phase.
template<class Evaluation >
Evaluation saturatedInverseFormationVolumeFactor (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const
 Returns the formation volume factor [-] of gas-saturated oil phase.
template<class Evaluation >
Evaluation saturatedGasDissolutionFactor (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const
 Returns the gas dissolution factor $R_s$ [m^3/m^3] of the oil phase.
template<class Evaluation >
Evaluation saturatedGasDissolutionFactor (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &oilSaturation, Scalar maxOilSaturation) const
 Returns the gas dissolution factor $R_s$ [m^3/m^3] of the oil phase.
template<class Evaluation >
Evaluation saturationPressure (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const
 Returns the saturation pressure of the oil phase [Pa].

Detailed Description

template<class Scalar>
class Opm::OilPvtThermal< Scalar >

This class implements temperature dependence of the PVT properties of oil.

Note that this _only_ implements the temperature part, i.e., it requires the isothermal properties as input.


Member Function Documentation

template<class Scalar >
template<class Evaluation >
Evaluation Opm::OilPvtThermal< Scalar >::saturatedGasDissolutionFactor ( unsigned  regionIdx,
const Evaluation &  temperature,
const Evaluation &  pressure,
const Evaluation &  oilSaturation,
Scalar  maxOilSaturation 
) const [inline]

Returns the gas dissolution factor $R_s$ [m^3/m^3] of the oil phase.

This method implements temperature dependence and requires the isothermal gas dissolution factor for gas saturated oil and temperature as inputs. Currently it is just a dummy method which passes through the isothermal gas dissolution factor.

template<class Scalar >
template<class Evaluation >
Evaluation Opm::OilPvtThermal< Scalar >::saturatedGasDissolutionFactor ( unsigned  regionIdx,
const Evaluation &  temperature,
const Evaluation &  pressure 
) const [inline]

Returns the gas dissolution factor $R_s$ [m^3/m^3] of the oil phase.

This method implements temperature dependence and requires the isothermal gas dissolution factor for gas saturated oil and temperature as inputs. Currently it is just a dummy method which passes through the isothermal gas dissolution factor.

template<class Scalar >
template<class Evaluation >
Evaluation Opm::OilPvtThermal< Scalar >::saturationPressure ( unsigned  regionIdx,
const Evaluation &  temperature,
const Evaluation &  pressure 
) const [inline]

Returns the saturation pressure of the oil phase [Pa].

This method implements temperature dependence and requires isothermal satuation pressure and temperature as inputs. Currently it is just a dummy method which passes through the isothermal saturation pressure.


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

Generated on 25 Mar 2018 by  doxygen 1.6.1