OilPvtThermal.hpp
Go to the documentation of this file.
294 Evaluation Cp = internalEnergyCurves_[regionIdx].eval(temperature, /*extrapolate=*/true)/temperature;
315 // see e.g.https://en.wikipedia.org/wiki/Joule-Thomson_effect for a derivation of the Joule-Thomson coeff.
323 throw std::runtime_error("Requested Joule-thomson calculation but thermal oil density (OILDENT) is not provided");
358 const auto& isothermalMu = isothermalPvt_->saturatedViscosity(regionIdx, temperature, pressure);
443 { return isothermalPvt_->saturatedGasDissolutionFactor(regionIdx, temperature, pressure, oilSaturation, maxOilSaturation); }
This class represents the Pressure-Volume-Temperature relations of the oil phase in the black-oil mod... Definition: OilPvtMultiplexer.hpp:96 unsigned numRegions() const Return the number of PVT regions which are considered by this PVT-object. Definition: OilPvtMultiplexer.hpp:177 Evaluation inverseFormationVolumeFactor(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &Rs) const Returns the formation volume factor [-] of the fluid phase. Definition: OilPvtMultiplexer.hpp:219 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. Definition: OilPvtMultiplexer.hpp:210 Evaluation saturatedInverseFormationVolumeFactor(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const Returns the formation volume factor [-] of the fluid phase. Definition: OilPvtMultiplexer.hpp:229 Evaluation saturatedGasDissolutionFactor(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const Returns the gas dissolution factor [m^3/m^3] of saturated oil. Definition: OilPvtMultiplexer.hpp:238 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. Definition: OilPvtMultiplexer.hpp:200 Evaluation saturationPressure(unsigned regionIdx, const Evaluation &temperature, const Evaluation &Rs) const Returns the saturation pressure [Pa] of oil given the mass fraction of the gas component in the oil p... Definition: OilPvtMultiplexer.hpp:262 const Scalar oilReferenceDensity(unsigned regionIdx) const Return the reference density which are considered by this PVT-object. Definition: OilPvtMultiplexer.hpp:183 Evaluation diffusionCoefficient(const Evaluation &temperature, const Evaluation &pressure, unsigned compIdx) const Calculate the binary molecular diffusion coefficient for a component in a fluid phase [mol^2 * s / (k... Definition: OilPvtMultiplexer.hpp:271 This class implements temperature dependence of the PVT properties of oil. Definition: OilPvtThermal.hpp:50 bool enableJouleThomsony() const Returns true iff Joule-Thomson effect for the oil phase is active. Definition: OilPvtThermal.hpp:258 bool enableInternalEnergy() const Definition: OilPvtThermal.hpp:496 void initEnd() Finish initializing the thermal part of the oil phase PVT properties. Definition: OilPvtThermal.hpp:246 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) Definition: OilPvtThermal.hpp:64 const std::vector< Scalar > & oildentCT1() const Definition: OilPvtThermal.hpp:487 const std::vector< TabulatedOneDFunction > internalEnergyCurves() const Definition: OilPvtThermal.hpp:493 const std::vector< TabulatedOneDFunction > & oilvisctCurves() const Definition: OilPvtThermal.hpp:472 OilPvtThermal(const OilPvtThermal &data) Definition: OilPvtThermal.hpp:96 bool enableThermalDensity() const Returns true iff the density of the oil phase is temperature dependent. Definition: OilPvtThermal.hpp:252 const std::vector< Scalar > & oildentCT2() const Definition: OilPvtThermal.hpp:490 bool operator==(const OilPvtThermal< Scalar > &data) const Definition: OilPvtThermal.hpp:505 const std::vector< Scalar > & viscrefRs() const Definition: OilPvtThermal.hpp:478 Evaluation saturatedGasDissolutionFactor(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const Returns the gas dissolution factor [m^3/m^3] of the oil phase. Definition: OilPvtThermal.hpp:425 Evaluation inverseFormationVolumeFactor(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &Rs) const Returns the formation volume factor [-] of the fluid phase. Definition: OilPvtThermal.hpp:372 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. Definition: OilPvtThermal.hpp:354 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. Definition: OilPvtThermal.hpp:274 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. Definition: OilPvtThermal.hpp:336 const std::vector< Scalar > & viscrefPress() const Definition: OilPvtThermal.hpp:475 const std::vector< Scalar > & oilJTRefPres() const Definition: OilPvtThermal.hpp:499 const std::vector< Scalar > & oildentRefTemp() const Definition: OilPvtThermal.hpp:484 const std::vector< Scalar > & viscRef() const Definition: OilPvtThermal.hpp:481 OilPvtMultiplexer< Scalar, false > IsothermalPvt Definition: OilPvtThermal.hpp:53 void setNumRegions(size_t numRegions) Set the number of PVT-regions considered by this object. Definition: OilPvtThermal.hpp:228 bool enableThermalViscosity() const Returns true iff the viscosity of the oil phase is temperature dependent. Definition: OilPvtThermal.hpp:264 OilPvtThermal< Scalar > & operator=(const OilPvtThermal< Scalar > &data) Definition: OilPvtThermal.hpp:530 const std::vector< Scalar > & oilJTC() const Definition: OilPvtThermal.hpp:502 Evaluation diffusionCoefficient(const Evaluation &temperature, const Evaluation &pressure, unsigned compIdx) const Definition: OilPvtThermal.hpp:459 Evaluation saturationPressure(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const Returns the saturation pressure of the oil phase [Pa]. Definition: OilPvtThermal.hpp:453 const IsothermalPvt * isoThermalPvt() const Definition: OilPvtThermal.hpp:466 Evaluation saturatedGasDissolutionFactor(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &oilSaturation, const Evaluation &maxOilSaturation) const Returns the gas dissolution factor [m^3/m^3] of the oil phase. Definition: OilPvtThermal.hpp:438 Evaluation saturatedInverseFormationVolumeFactor(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const Returns the formation volume factor [-] of gas-saturated oil phase. Definition: OilPvtThermal.hpp:397 const Scalar oilReferenceDensity(unsigned regionIdx) const Definition: OilPvtThermal.hpp:469 Implements a linearly interpolated scalar function that depends on one variable. Definition: Tabulated1DFunction.hpp:48 Definition: Air_Mesitylene.hpp:34 |