My Project
|
This class represents the Pressure-Volume-Temperature relations of the oil phase without dissolved gas and constant compressibility/"viscosibility". More...
#include <ConstantCompressibilityOilPvt.hpp>
Public Member Functions | |
ConstantCompressibilityOilPvt (const std::vector< Scalar > &oilReferenceDensity, const std::vector< Scalar > &oilReferencePressure, const std::vector< Scalar > &oilReferenceFormationVolumeFactor, const std::vector< Scalar > &oilCompressibility, const std::vector< Scalar > &oilViscosity, const std::vector< Scalar > &oilViscosibility) | |
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. | |
void | setViscosity (unsigned regionIdx, Scalar muo, Scalar oilViscosibility=0.0) |
Set the viscosity and "viscosibility" of the oil phase. | |
void | setCompressibility (unsigned regionIdx, Scalar oilCompressibility) |
Set the compressibility of the oil phase. | |
void | setReferencePressure (unsigned regionIdx, Scalar p) |
Set the oil reference pressure [Pa]. | |
void | setReferenceFormationVolumeFactor (unsigned regionIdx, Scalar BoRef) |
Set the oil reference formation volume factor [-]. | |
void | setViscosibility (unsigned regionIdx, Scalar muComp) |
Set the oil "viscosibility" [1/ (Pa s)]. | |
void | initEnd () |
Finish initializing the oil phase PVT properties. | |
unsigned | numRegions () const |
Return the number of PVT regions which are considered by this PVT-object. | |
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. | |
template<class Evaluation > | |
Evaluation | viscosity (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &) const |
Returns the dynamic viscosity [Pa s] of gas saturated oil given a pressure and a phase composition. | |
template<class Evaluation > | |
Evaluation | saturatedViscosity (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const |
Returns the dynamic viscosity [Pa s] of gas saturated oil given a pressure. | |
template<class Evaluation > | |
Evaluation | inverseFormationVolumeFactor (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &) const |
Returns the formation volume factor [-] of the fluid phase. | |
template<class Evaluation > | |
Evaluation | saturatedInverseFormationVolumeFactor (unsigned regionIdx, const Evaluation &, const Evaluation &pressure) const |
Returns the formation volume factor [-] of gas saturated oil. More... | |
template<class Evaluation > | |
Evaluation | saturatedGasDissolutionFactor (unsigned, const Evaluation &, const Evaluation &) const |
Returns the gas dissolution factor ![]() | |
template<class Evaluation > | |
Evaluation | saturatedGasDissolutionFactor (unsigned, const Evaluation &, const Evaluation &, const Evaluation &, const Evaluation &) const |
Returns the gas dissolution factor ![]() | |
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 | diffusionCoefficient (const Evaluation &, const Evaluation &, unsigned) const |
const Scalar | oilReferenceDensity (unsigned regionIdx) const |
const std::vector< Scalar > & | oilReferenceFormationVolumeFactor () const |
const std::vector< Scalar > & | oilCompressibility () const |
const std::vector< Scalar > & | oilViscosity () const |
const std::vector< Scalar > & | oilViscosibility () const |
bool | operator== (const ConstantCompressibilityOilPvt< Scalar > &data) const |
This class represents the Pressure-Volume-Temperature relations of the oil phase without dissolved gas and constant compressibility/"viscosibility".
|
inline |
Returns the formation volume factor [-] of gas saturated oil.
Note that constant compressibility oil is a special case of dead oil and dead oil is always gas saturated by by definition.
|
inline |
Returns the saturation pressure of the oil phase [Pa] depending on its mass fraction of the gas component.
Rs | The surface volume of gas component dissolved in what will yield one cubic meter of oil at the surface [-] |