My Project
|
This class implements temperature dependence of the PVT properties of oil. More...
#include <OilPvtThermal.hpp>
Public Types | |
using | TabulatedOneDFunction = Tabulated1DFunction< Scalar > |
using | IsothermalPvt = OilPvtMultiplexer< Scalar, false > |
Public Member Functions | |
OilPvtThermal (IsothermalPvt *isothermalPvt, const std::vector< TabulatedOneDFunction > &oilvisctCurves, const std::vector< Scalar > &viscrefPress, const std::vector< Scalar > &viscrefRs, const std::vector< Scalar > &viscRef, const std::vector< Scalar > &oildentRefTemp, const std::vector< Scalar > &oildentCT1, const std::vector< Scalar > &oildentCT2, const std::vector< Scalar > &oilJTRefPres, const std::vector< Scalar > &oilJTC, const std::vector< TabulatedOneDFunction > &internalEnergyCurves, bool enableThermalDensity, bool enableJouleThomson, bool enableThermalViscosity, bool enableInternalEnergy) | |
OilPvtThermal (const OilPvtThermal &data) | |
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 | enableJouleThomsony () const |
Returns true iff Joule-Thomson effect for the oil phase is active. | |
bool | enableThermalViscosity () const |
Returns true iff the viscosity of the oil phase is temperature dependent. | |
size_t | numRegions () const |
template<class Evaluation > | |
Evaluation | internalEnergy (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &Rs) const |
Returns the specific internal energy [J/kg] of oil given a set of parameters. | |
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 ![]() | |
template<class Evaluation > | |
Evaluation | saturatedGasDissolutionFactor (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &oilSaturation, const Evaluation &maxOilSaturation) const |
Returns the gas dissolution factor ![]() | |
template<class Evaluation > | |
Evaluation | saturationPressure (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const |
Returns the saturation pressure of the oil phase [Pa]. More... | |
template<class Evaluation > | |
Evaluation | diffusionCoefficient (const Evaluation &temperature, const Evaluation &pressure, unsigned compIdx) const |
const IsothermalPvt * | isoThermalPvt () const |
const Scalar | oilReferenceDensity (unsigned regionIdx) const |
const std::vector< TabulatedOneDFunction > & | oilvisctCurves () const |
const std::vector< Scalar > & | viscrefPress () const |
const std::vector< Scalar > & | viscrefRs () const |
const std::vector< Scalar > & | viscRef () const |
const std::vector< Scalar > & | oildentRefTemp () const |
const std::vector< Scalar > & | oildentCT1 () const |
const std::vector< Scalar > & | oildentCT2 () const |
const std::vector< TabulatedOneDFunction > | internalEnergyCurves () const |
bool | enableInternalEnergy () const |
const std::vector< Scalar > & | oilJTRefPres () const |
const std::vector< Scalar > & | oilJTC () const |
bool | operator== (const OilPvtThermal< Scalar > &data) const |
OilPvtThermal< Scalar > & | operator= (const OilPvtThermal< Scalar > &data) |
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.
|
inline |
Returns the gas dissolution factor [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.
|
inline |
Returns the gas dissolution factor [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.
|
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.