This class represents the Pressure-Volume-Temperature relations of the oil phas with dissolved gas.
More...
#include <LiveOilPvt.hpp>
|
void | setNumRegions (size_t numRegions) |
|
void | setReferenceDensities (unsigned regionIdx, Scalar rhoRefOil, Scalar rhoRefGas, Scalar) |
| Initialize the reference densities of all fluids for a given PVT region. More...
|
|
void | setMolarMasses (unsigned regionIdx, Scalar MOil, Scalar MGas, Scalar) |
| Initialize the reference densities of all fluids for a given PVT region. More...
|
|
void | setSaturatedOilGasDissolutionFactor (unsigned regionIdx, const SamplingPoints &samplePoints) |
| Initialize the function for the gas dissolution factor . More...
|
|
void | setSaturatedOilFormationVolumeFactor (unsigned regionIdx, const SamplingPoints &samplePoints) |
| Initialize the function for the oil formation volume factor. More...
|
|
void | setInverseOilFormationVolumeFactor (unsigned regionIdx, const TabulatedTwoDFunction &invBo) |
| Initialize the spline for the oil formation volume factor. More...
|
|
void | setOilViscosity (unsigned regionIdx, const TabulatedTwoDFunction &muo) |
| Initialize the viscosity of the oil phase. More...
|
|
void | setSaturatedOilViscosity (unsigned regionIdx, const SamplingPoints &samplePoints) |
| Initialize the phase viscosity for gas saturated oil. More...
|
|
void | initEnd (const GasPvtMultiplexer *gasPvt) |
| Finish initializing the oil phase PVT properties. More...
|
|
template<class Evaluation > |
Evaluation | viscosity (unsigned regionIdx, const Evaluation &, const Evaluation &pressure, const Evaluation &XoG) const |
| Returns the dynamic viscosity [Pa s] of the fluid phase given a set of parameters. More...
|
|
template<class Evaluation > |
Evaluation | density (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &XoG) const |
| Returns the density [kg/m^3] of the fluid phase given a set of parameters. More...
|
|
template<class Evaluation > |
Evaluation | formationVolumeFactor (unsigned regionIdx, const Evaluation &, const Evaluation &pressure, const Evaluation &XoG) const |
| Returns the formation volume factor [-] of the fluid phase. More...
|
|
template<class Evaluation > |
Evaluation | fugacityCoefficientOil (unsigned, const Evaluation &, const Evaluation &pressure) const |
| Returns the fugacity coefficient [Pa] of a component in the fluid phase given a set of parameters. More...
|
|
template<class Evaluation > |
Evaluation | fugacityCoefficientWater (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const |
|
template<class Evaluation > |
Evaluation | fugacityCoefficientGas (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const |
|
template<class Evaluation > |
Evaluation | gasDissolutionFactor (unsigned regionIdx, const Evaluation &, const Evaluation &pressure) const |
| Returns the gas dissolution factor [m^3/m^3] of the oil phase. More...
|
|
template<class Evaluation > |
Evaluation | oilSaturationPressure (unsigned regionIdx, const Evaluation &temperature, const Evaluation &XoG) const |
| Returns the saturation pressure of the oil phase [Pa] depending on its mass fraction of the gas component. More...
|
|
template<class Evaluation > |
Evaluation | saturatedOilGasMassFraction (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const |
|
template<class Evaluation > |
Evaluation | saturatedOilGasMoleFraction (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const |
|
template<class Scalar>
class Opm::LiveOilPvt< Scalar >
This class represents the Pressure-Volume-Temperature relations of the oil phas with dissolved gas.
template<class Scalar >
template<class Evaluation >
Evaluation Opm::LiveOilPvt< Scalar >::density |
( |
unsigned |
regionIdx, |
|
|
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pressure, |
|
|
const Evaluation & |
XoG |
|
) |
| const |
|
inline |
template<class Scalar >
template<class Evaluation >
Evaluation Opm::LiveOilPvt< Scalar >::formationVolumeFactor |
( |
unsigned |
regionIdx, |
|
|
const Evaluation & |
, |
|
|
const Evaluation & |
pressure, |
|
|
const Evaluation & |
XoG |
|
) |
| const |
|
inline |
template<class Scalar >
template<class Evaluation >
Evaluation Opm::LiveOilPvt< Scalar >::fugacityCoefficientGas |
( |
unsigned |
regionIdx, |
|
|
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pressure |
|
) |
| const |
|
inline |
template<class Scalar >
template<class Evaluation >
Evaluation Opm::LiveOilPvt< Scalar >::fugacityCoefficientOil |
( |
unsigned |
, |
|
|
const Evaluation & |
, |
|
|
const Evaluation & |
pressure |
|
) |
| const |
|
inline |
template<class Scalar >
template<class Evaluation >
Evaluation Opm::LiveOilPvt< Scalar >::fugacityCoefficientWater |
( |
unsigned |
regionIdx, |
|
|
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pressure |
|
) |
| const |
|
inline |
template<class Scalar >
template<class Evaluation >
Evaluation Opm::LiveOilPvt< Scalar >::gasDissolutionFactor |
( |
unsigned |
regionIdx, |
|
|
const Evaluation & |
, |
|
|
const Evaluation & |
pressure |
|
) |
| const |
|
inline |
Finish initializing the oil phase PVT properties.
template<class Scalar >
template<class Evaluation >
Evaluation Opm::LiveOilPvt< Scalar >::oilSaturationPressure |
( |
unsigned |
regionIdx, |
|
|
const Evaluation & |
temperature, |
|
|
const Evaluation & |
XoG |
|
) |
| const |
|
inline |
template<class Scalar >
template<class Evaluation >
Evaluation Opm::LiveOilPvt< Scalar >::saturatedOilGasMassFraction |
( |
unsigned |
regionIdx, |
|
|
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pressure |
|
) |
| const |
|
inline |
template<class Scalar >
template<class Evaluation >
Evaluation Opm::LiveOilPvt< Scalar >::saturatedOilGasMoleFraction |
( |
unsigned |
regionIdx, |
|
|
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pressure |
|
) |
| const |
|
inline |
Initialize the spline 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 instead of the mass fraction of the gas component in the oil phase, this function depends on the gas dissolution factor. Also note, that the order of the arguments needs to be and not the other way around.
template<class Scalar >
void Opm::LiveOilPvt< Scalar >::setMolarMasses |
( |
unsigned |
regionIdx, |
|
|
Scalar |
MOil, |
|
|
Scalar |
MGas, |
|
|
Scalar |
|
|
) |
| |
|
inline |
Initialize the reference densities of all fluids for a given PVT region.
Initialize the viscosity of the oil phase.
This is a function of ...
template<class Scalar >
void Opm::LiveOilPvt< Scalar >::setReferenceDensities |
( |
unsigned |
regionIdx, |
|
|
Scalar |
rhoRefOil, |
|
|
Scalar |
rhoRefGas, |
|
|
Scalar |
|
|
) |
| |
|
inline |
Initialize the reference densities of all fluids for a given PVT region.
template<class Scalar >
void Opm::LiveOilPvt< Scalar >::setSaturatedOilFormationVolumeFactor |
( |
unsigned |
regionIdx, |
|
|
const SamplingPoints & |
samplePoints |
|
) |
| |
|
inline |
template<class Scalar >
void Opm::LiveOilPvt< Scalar >::setSaturatedOilGasDissolutionFactor |
( |
unsigned |
regionIdx, |
|
|
const SamplingPoints & |
samplePoints |
|
) |
| |
|
inline |
Initialize the function for the gas dissolution factor .
- Parameters
-
samplePoints | A container of (x,y) values. |
template<class Scalar >
void Opm::LiveOilPvt< Scalar >::setSaturatedOilViscosity |
( |
unsigned |
regionIdx, |
|
|
const SamplingPoints & |
samplePoints |
|
) |
| |
|
inline |
template<class Scalar >
template<class Evaluation >
Evaluation Opm::LiveOilPvt< Scalar >::viscosity |
( |
unsigned |
regionIdx, |
|
|
const Evaluation & |
, |
|
|
const Evaluation & |
pressure, |
|
|
const Evaluation & |
XoG |
|
) |
| const |
|
inline |
Returns the dynamic viscosity [Pa s] of the fluid phase given a set of parameters.
The documentation for this class was generated from the following file:
|