My Project
|
This class represents the Pressure-Volume-Temperature relations of the gas phas with vaporized oil. More...
#include <WetGasPvt.hpp>
Public Types | |
using | TabulatedTwoDFunction = UniformXTabulated2DFunction< Scalar > |
using | TabulatedOneDFunction = Tabulated1DFunction< Scalar > |
Public Member Functions | |
void | setNumRegions (size_t numRegions) |
void | setVapPars (const Scalar par1, const Scalar) |
void | setReferenceDensities (unsigned regionIdx, Scalar rhoRefOil, Scalar rhoRefGas, Scalar) |
Initialize the reference densities of all fluids for a given PVT region. | |
void | setSaturatedGasOilVaporizationFactor (unsigned regionIdx, const SamplingPoints &samplePoints) |
Initialize the function for the oil vaporization factor ![]() | |
void | setSaturatedGasFormationVolumeFactor (unsigned regionIdx, const SamplingPoints &samplePoints) |
Initialize the function for the gas formation volume factor. | |
void | setInverseGasFormationVolumeFactor (unsigned regionIdx, const TabulatedTwoDFunction &invBg) |
Initialize the function for the gas formation volume factor. | |
void | setGasViscosity (unsigned regionIdx, const TabulatedTwoDFunction &mug) |
Initialize the viscosity of the gas phase. | |
void | setSaturatedGasViscosity (unsigned regionIdx, const SamplingPoints &samplePoints) |
Initialize the phase viscosity for oil saturated gas. | |
void | initEnd () |
Finish initializing the gas 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 Evaluation &) const |
Returns the specific enthalpy [J/kg] of gas given a set of parameters. | |
template<class Evaluation > | |
Evaluation | viscosity (unsigned regionIdx, const Evaluation &, const Evaluation &pressure, const Evaluation &Rv, const Evaluation &) 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 &, const Evaluation &pressure) const |
Returns the dynamic viscosity [Pa s] of oil saturated gas at a given pressure. | |
template<class Evaluation > | |
Evaluation | inverseFormationVolumeFactor (unsigned regionIdx, const Evaluation &, const Evaluation &pressure, const Evaluation &Rv, 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 oil saturated gas at a given pressure. | |
template<class Evaluation > | |
Evaluation | saturatedWaterVaporizationFactor (unsigned, const Evaluation &, const Evaluation &) const |
Returns the water vaporization factor ![]() | |
template<class Evaluation = Scalar> | |
Evaluation | saturatedWaterVaporizationFactor (unsigned, const Evaluation &, const Evaluation &, const Evaluation &) const |
Returns the water vaporization factor ![]() | |
template<class Evaluation > | |
Evaluation | saturatedOilVaporizationFactor (unsigned regionIdx, const Evaluation &, const Evaluation &pressure) const |
Returns the oil vaporization factor ![]() | |
template<class Evaluation > | |
Evaluation | saturatedOilVaporizationFactor (unsigned regionIdx, const Evaluation &, const Evaluation &pressure, const Evaluation &oilSaturation, Evaluation maxOilSaturation) const |
Returns the oil vaporization factor ![]() | |
template<class Evaluation > | |
Evaluation | saturationPressure (unsigned regionIdx, const Evaluation &, const Evaluation &Rv) const |
Returns the saturation pressure of the gas phase [Pa] depending on its mass fraction of the oil component. | |
template<class Evaluation > | |
Evaluation | diffusionCoefficient (const Evaluation &, const Evaluation &, unsigned) const |
Scalar | gasReferenceDensity (unsigned regionIdx) const |
Scalar | oilReferenceDensity (unsigned regionIdx) const |
const std::vector< TabulatedTwoDFunction > & | inverseGasB () const |
const std::vector< TabulatedOneDFunction > & | inverseSaturatedGasB () const |
const std::vector< TabulatedTwoDFunction > & | gasMu () const |
const std::vector< TabulatedTwoDFunction > & | inverseGasBMu () const |
const std::vector< TabulatedOneDFunction > & | inverseSaturatedGasBMu () const |
const std::vector< TabulatedOneDFunction > & | saturatedOilVaporizationFactorTable () const |
const std::vector< TabulatedOneDFunction > & | saturationPressure () const |
Scalar | vapPar1 () const |
This class represents the Pressure-Volume-Temperature relations of the gas phas with vaporized oil.
|
inline |
Returns the oil vaporization factor
This variant of the method prevents all the oil to be vaporized even if the gas phase is still not saturated. This is physically quite dubious but it corresponds to how the Eclipse 100 simulator handles this. (cf the VAPPARS keyword.)
|
inline |
Returns the saturation pressure of the gas phase [Pa] depending on its mass fraction of the oil component.
This method uses the standard blackoil assumptions: This means that the Rv value does not depend on the saturation of oil. (cf. the Eclipse VAPPARS keyword.)
Rv | The surface volume of oil component dissolved in what will yield one cubic meter of gas at the surface [-] |
|
inline |
Initialize the viscosity of the gas phase.
This is a function of
|
inline |
Initialize the function for the gas formation volume factor.
The gas formation volume factor
This method sets
void Opm::WetGasPvt< Scalar >::setSaturatedGasFormationVolumeFactor | ( | unsigned | regionIdx, |
const SamplingPoints & | samplePoints | ||
) |
Initialize the function for the gas formation volume factor.
The gas formation volume factor
|
inline |
Initialize the function for the oil vaporization factor
samplePoints | A container of (x,y) values. |
void Opm::WetGasPvt< Scalar >::setSaturatedGasViscosity | ( | unsigned | regionIdx, |
const SamplingPoints & | samplePoints | ||
) |
Initialize the phase viscosity for oil saturated gas.
The gas viscosity is a function of