This class represents the Pressure-Volume-Temperature relations of the oil phase without dissolved gas.
More...
#include <DeadOilPvt.hpp>
|
| DeadOilPvt ()=default |
|
| DeadOilPvt (const std::vector< Scalar > &oilReferenceDensity, const std::vector< TabulatedOneDFunction > &inverseOilB, const std::vector< TabulatedOneDFunction > &oilMu, const std::vector< TabulatedOneDFunction > &inverseOilBMu) |
|
void | setNumRegions (size_t numRegions) |
|
void | setReferenceDensities (unsigned regionIdx, Scalar rhoRefOil, Scalar, Scalar) |
| Initialize the reference densities of all fluids for a given PVT region. More...
|
|
void | setInverseOilFormationVolumeFactor (unsigned regionIdx, const TabulatedOneDFunction &invBo) |
| Initialize the function for the oil formation volume factor. More...
|
|
void | setOilViscosity (unsigned regionIdx, const TabulatedOneDFunction &muo) |
| Initialize the viscosity of the oil phase. More...
|
|
void | initEnd () |
| Finish initializing the oil phase PVT properties. More...
|
|
unsigned | numRegions () const |
| Return the number of PVT regions which are considered by this PVT-object. More...
|
|
template<class Evaluation > |
Evaluation | internalEnergy (unsigned, const Evaluation &, const Evaluation &, const Evaluation &) const |
| Returns the specific enthalpy [J/kg] of oil given a set of parameters. More...
|
|
template<class Evaluation > |
Evaluation | viscosity (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &) const |
| Returns the dynamic viscosity [Pa s] of the fluid phase given a set of parameters. More...
|
|
template<class Evaluation > |
Evaluation | saturatedViscosity (unsigned regionIdx, const Evaluation &, const Evaluation &pressure) const |
| Returns the dynamic viscosity [Pa s] of gas saturated oil given a pressure. More...
|
|
template<class Evaluation > |
Evaluation | inverseFormationVolumeFactor (unsigned regionIdx, const Evaluation &, const Evaluation &pressure, const Evaluation &) const |
| Returns the formation volume factor [-] of the fluid phase. More...
|
|
template<class Evaluation > |
Evaluation | saturatedInverseFormationVolumeFactor (unsigned regionIdx, const Evaluation &, const Evaluation &pressure) const |
| Returns the formation volume factor [-] of saturated oil. More...
|
|
template<class Evaluation > |
Evaluation | saturatedGasDissolutionFactor (unsigned, const Evaluation &, const Evaluation &) const |
| Returns the gas dissolution factor [m^3/m^3] of the oil phase. More...
|
|
template<class Evaluation > |
Evaluation | saturatedGasDissolutionFactor (unsigned, const Evaluation &, const Evaluation &, const Evaluation &, const Evaluation &) const |
| Returns the gas dissolution factor [m^3/m^3] of the oil phase. More...
|
|
template<class Evaluation > |
Evaluation | saturationPressure (unsigned, const Evaluation &, const Evaluation &) const |
| Returns the saturation pressure of the oil phase [Pa] depending on its mass fraction of the gas component. More...
|
|
template<class Evaluation > |
Evaluation | saturatedGasMassFraction (unsigned, const Evaluation &, const Evaluation &) const |
|
template<class Evaluation > |
Evaluation | saturatedGasMoleFraction (unsigned, const Evaluation &, const Evaluation &) const |
|
template<class Evaluation > |
Evaluation | diffusionCoefficient (const Evaluation &, const Evaluation &, unsigned) const |
|
const Scalar | oilReferenceDensity (unsigned regionIdx) const |
|
const std::vector< TabulatedOneDFunction > & | inverseOilB () const |
|
const std::vector< TabulatedOneDFunction > & | oilMu () const |
|
const std::vector< TabulatedOneDFunction > & | inverseOilBMu () const |
|
bool | operator== (const DeadOilPvt< Scalar > &data) const |
|
template<class Scalar>
class Opm::DeadOilPvt< Scalar > This class represents the Pressure-Volume-Temperature relations of the oil phase without dissolved gas.
◆ TabulatedOneDFunction
◆ DeadOilPvt() [1/2]
◆ DeadOilPvt() [2/2]
◆ diffusionCoefficient()
template<class Scalar >
template<class Evaluation >
Evaluation Opm::DeadOilPvt< Scalar >::diffusionCoefficient |
( |
const Evaluation & |
, |
|
|
const Evaluation & |
, |
|
|
unsigned |
|
|
) |
| const |
|
inline |
◆ initEnd()
◆ internalEnergy()
template<class Scalar >
template<class Evaluation >
Evaluation Opm::DeadOilPvt< Scalar >::internalEnergy |
( |
unsigned |
, |
|
|
const Evaluation & |
, |
|
|
const Evaluation & |
, |
|
|
const Evaluation & |
|
|
) |
| const |
|
inline |
Returns the specific enthalpy [J/kg] of oil given a set of parameters.
◆ inverseFormationVolumeFactor()
template<class Scalar >
template<class Evaluation >
Evaluation Opm::DeadOilPvt< Scalar >::inverseFormationVolumeFactor |
( |
unsigned |
regionIdx, |
|
|
const Evaluation & |
, |
|
|
const Evaluation & |
pressure, |
|
|
const Evaluation & |
|
|
) |
| const |
|
inline |
Returns the formation volume factor [-] of the fluid phase.
◆ inverseOilB()
◆ inverseOilBMu()
◆ numRegions()
◆ oilMu()
◆ oilReferenceDensity()
template<class Scalar >
const Scalar Opm::DeadOilPvt< Scalar >::oilReferenceDensity |
( |
unsigned |
regionIdx | ) |
const |
|
inline |
◆ operator==()
◆ saturatedGasDissolutionFactor() [1/2]
template<class Scalar >
template<class Evaluation >
Evaluation Opm::DeadOilPvt< Scalar >::saturatedGasDissolutionFactor |
( |
unsigned |
, |
|
|
const Evaluation & |
, |
|
|
const Evaluation & |
|
|
) |
| const |
|
inline |
Returns the gas dissolution factor [m^3/m^3] of the oil phase.
◆ saturatedGasDissolutionFactor() [2/2]
template<class Scalar >
template<class Evaluation >
Evaluation Opm::DeadOilPvt< Scalar >::saturatedGasDissolutionFactor |
( |
unsigned |
, |
|
|
const Evaluation & |
, |
|
|
const Evaluation & |
, |
|
|
const Evaluation & |
, |
|
|
const Evaluation & |
|
|
) |
| const |
|
inline |
Returns the gas dissolution factor [m^3/m^3] of the oil phase.
◆ saturatedGasMassFraction()
template<class Scalar >
template<class Evaluation >
Evaluation Opm::DeadOilPvt< Scalar >::saturatedGasMassFraction |
( |
unsigned |
, |
|
|
const Evaluation & |
, |
|
|
const Evaluation & |
|
|
) |
| const |
|
inline |
◆ saturatedGasMoleFraction()
template<class Scalar >
template<class Evaluation >
Evaluation Opm::DeadOilPvt< Scalar >::saturatedGasMoleFraction |
( |
unsigned |
, |
|
|
const Evaluation & |
, |
|
|
const Evaluation & |
|
|
) |
| const |
|
inline |
◆ saturatedInverseFormationVolumeFactor()
template<class Scalar >
template<class Evaluation >
Evaluation Opm::DeadOilPvt< Scalar >::saturatedInverseFormationVolumeFactor |
( |
unsigned |
regionIdx, |
|
|
const Evaluation & |
, |
|
|
const Evaluation & |
pressure |
|
) |
| const |
|
inline |
Returns the formation volume factor [-] of saturated oil.
Note that by definition, dead oil is always gas saturated.
◆ saturatedViscosity()
template<class Scalar >
template<class Evaluation >
Evaluation Opm::DeadOilPvt< Scalar >::saturatedViscosity |
( |
unsigned |
regionIdx, |
|
|
const Evaluation & |
, |
|
|
const Evaluation & |
pressure |
|
) |
| const |
|
inline |
◆ saturationPressure()
template<class Scalar >
template<class Evaluation >
Evaluation Opm::DeadOilPvt< Scalar >::saturationPressure |
( |
unsigned |
, |
|
|
const Evaluation & |
, |
|
|
const Evaluation & |
|
|
) |
| const |
|
inline |
Returns the saturation pressure of the oil phase [Pa] depending on its mass fraction of the gas component.
- Parameters
-
Rs | The surface volume of gas component dissolved in what will yield one cubic meter of oil at the surface [-] |
◆ setInverseOilFormationVolumeFactor()
Initialize the function for the oil formation volume factor.
The oil formation volume factor is a function of and represents the partial density of the oil component in the oil phase at a given pressure.
This method sets . Note that the mass fraction of the gas component in the oil phase is missing when assuming dead oil.
◆ setNumRegions()
◆ setOilViscosity()
Initialize the viscosity of the oil phase.
This is a function of ...
◆ setReferenceDensities()
template<class Scalar >
void Opm::DeadOilPvt< Scalar >::setReferenceDensities |
( |
unsigned |
regionIdx, |
|
|
Scalar |
rhoRefOil, |
|
|
Scalar |
, |
|
|
Scalar |
|
|
) |
| |
|
inline |
Initialize the reference densities of all fluids for a given PVT region.
◆ viscosity()
template<class Scalar >
template<class Evaluation >
Evaluation Opm::DeadOilPvt< Scalar >::viscosity |
( |
unsigned |
regionIdx, |
|
|
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pressure, |
|
|
const Evaluation & |
|
|
) |
| const |
|
inline |
The documentation for this class was generated from the following file:
|