OilPvtMultiplexer.hpp
Go to the documentation of this file.
194 { OPM_OIL_PVT_MULTIPLEXER_CALL(return pvtImpl.internalEnergy(regionIdx, temperature, pressure, Rs)); return 0; }
204 { OPM_OIL_PVT_MULTIPLEXER_CALL(return pvtImpl.viscosity(regionIdx, temperature, pressure, Rs)); return 0; }
213 { OPM_OIL_PVT_MULTIPLEXER_CALL(return pvtImpl.saturatedViscosity(regionIdx, temperature, pressure)); return 0; }
223 { OPM_OIL_PVT_MULTIPLEXER_CALL(return pvtImpl.inverseFormationVolumeFactor(regionIdx, temperature, pressure, Rs)); return 0; }
232 { OPM_OIL_PVT_MULTIPLEXER_CALL(return pvtImpl.saturatedInverseFormationVolumeFactor(regionIdx, temperature, pressure)); return 0; }
241 { OPM_OIL_PVT_MULTIPLEXER_CALL(return pvtImpl.saturatedGasDissolutionFactor(regionIdx, temperature, pressure)); return 0; }
252 { OPM_OIL_PVT_MULTIPLEXER_CALL(return pvtImpl.saturatedGasDissolutionFactor(regionIdx, temperature, pressure, oilSaturation, maxOilSaturation)); return 0; }
265 { OPM_OIL_PVT_MULTIPLEXER_CALL(return pvtImpl.saturationPressure(regionIdx, temperature, Rs)); return 0; }
275 OPM_OIL_PVT_MULTIPLEXER_CALL(return pvtImpl.diffusionCoefficient(temperature, pressure, compIdx)); return 0;
318 typename std::enable_if<approachV == OilPvtApproach::LiveOilPvt, LiveOilPvt<Scalar> >::type& getRealPvt()
325 typename std::enable_if<approachV == OilPvtApproach::LiveOilPvt, const LiveOilPvt<Scalar> >::type& getRealPvt() const
332 typename std::enable_if<approachV == OilPvtApproach::DeadOilPvt, DeadOilPvt<Scalar> >::type& getRealPvt()
339 typename std::enable_if<approachV == OilPvtApproach::DeadOilPvt, const DeadOilPvt<Scalar> >::type& getRealPvt() const
346 typename std::enable_if<approachV == OilPvtApproach::ConstantCompressibilityOilPvt, ConstantCompressibilityOilPvt<Scalar> >::type& getRealPvt()
353 typename std::enable_if<approachV == OilPvtApproach::ConstantCompressibilityOilPvt, const ConstantCompressibilityOilPvt<Scalar> >::type& getRealPvt() const
360 typename std::enable_if<approachV == OilPvtApproach::ThermalOilPvt, OilPvtThermal<Scalar> >::type& getRealPvt()
367 typename std::enable_if<approachV == OilPvtApproach::ThermalOilPvt, const OilPvtThermal<Scalar> >::type& getRealPvt() const
374 typename std::enable_if<approachV == OilPvtApproach::BrineCo2Pvt, BrineCo2Pvt<Scalar> >::type& getRealPvt()
381 typename std::enable_if<approachV == OilPvtApproach::BrineCo2Pvt, const BrineCo2Pvt<Scalar> >::type& getRealPvt() const
415 OilPvtMultiplexer<Scalar,enableThermal>& operator=(const OilPvtMultiplexer<Scalar,enableThermal>& data)
420 realOilPvt_ = new ConstantCompressibilityOilPvt<Scalar>(*static_cast<const ConstantCompressibilityOilPvt<Scalar>*>(data.realOilPvt_));
423 realOilPvt_ = new DeadOilPvt<Scalar>(*static_cast<const DeadOilPvt<Scalar>*>(data.realOilPvt_));
426 realOilPvt_ = new LiveOilPvt<Scalar>(*static_cast<const LiveOilPvt<Scalar>*>(data.realOilPvt_));
429 realOilPvt_ = new OilPvtThermal<Scalar>(*static_cast<const OilPvtThermal<Scalar>*>(data.realOilPvt_));
432 realOilPvt_ = new BrineCo2Pvt<Scalar>(*static_cast<const BrineCo2Pvt<Scalar>*>(data.realOilPvt_));
#define OPM_OIL_PVT_MULTIPLEXER_CALL(codeToCall) Definition: OilPvtMultiplexer.hpp:42 This class represents the Pressure-Volume-Temperature relations of the liquid phase for a CO2-Brine s... Definition: BrineCo2Pvt.hpp:57 This class represents the Pressure-Volume-Temperature relations of the oil phase without dissolved ga... Definition: ConstantCompressibilityOilPvt.hpp:42 This class represents the Pressure-Volume-Temperature relations of the oil phase without dissolved ga... Definition: DeadOilPvt.hpp:45 This class represents the Pressure-Volume-Temperature relations of the oil phas with dissolved gas. Definition: LiveOilPvt.hpp:52 This class represents the Pressure-Volume-Temperature relations of the oil phase in the black-oil mod... Definition: OilPvtMultiplexer.hpp:96 std::enable_if< approachV==OilPvtApproach::DeadOilPvt, constDeadOilPvt< Scalar > >::type & getRealPvt() const Definition: OilPvtMultiplexer.hpp:339 unsigned numRegions() const Return the number of PVT regions which are considered by this PVT-object. Definition: OilPvtMultiplexer.hpp:177 const void * realOilPvt() const Definition: OilPvtMultiplexer.hpp:387 Evaluation internalEnergy(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &Rs) const Returns the specific enthalpy [J/kg] oil given a set of parameters. Definition: OilPvtMultiplexer.hpp:190 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 std::enable_if< approachV==OilPvtApproach::LiveOilPvt, LiveOilPvt< Scalar > >::type & getRealPvt() Definition: OilPvtMultiplexer.hpp:318 OilPvtMultiplexer(OilPvtApproach approach, void *realOilPvt) Definition: OilPvtMultiplexer.hpp:104 OilPvtApproach approach() const Returns the concrete approach for calculating the PVT relations. Definition: OilPvtMultiplexer.hpp:313 std::enable_if< approachV==OilPvtApproach::LiveOilPvt, constLiveOilPvt< Scalar > >::type & getRealPvt() const Definition: OilPvtMultiplexer.hpp:325 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 OilPvtMultiplexer< Scalar, enableThermal > & operator=(const OilPvtMultiplexer< Scalar, enableThermal > &data) Definition: OilPvtMultiplexer.hpp:415 std::enable_if< approachV==OilPvtApproach::BrineCo2Pvt, constBrineCo2Pvt< Scalar > >::type & getRealPvt() const Definition: OilPvtMultiplexer.hpp:381 std::enable_if< approachV==OilPvtApproach::DeadOilPvt, DeadOilPvt< Scalar > >::type & getRealPvt() Definition: OilPvtMultiplexer.hpp:332 OilPvtMultiplexer(const OilPvtMultiplexer< Scalar, enableThermal > &data) Definition: OilPvtMultiplexer.hpp:109 void setApproach(OilPvtApproach appr) Definition: OilPvtMultiplexer.hpp:278 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 std::enable_if< approachV==OilPvtApproach::ThermalOilPvt, OilPvtThermal< Scalar > >::type & getRealPvt() Definition: OilPvtMultiplexer.hpp:360 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 bool operator==(const OilPvtMultiplexer< Scalar, enableThermal > &data) const Definition: OilPvtMultiplexer.hpp:389 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 saturated oil. Definition: OilPvtMultiplexer.hpp:247 std::enable_if< approachV==OilPvtApproach::BrineCo2Pvt, BrineCo2Pvt< Scalar > >::type & getRealPvt() Definition: OilPvtMultiplexer.hpp:374 std::enable_if< approachV==OilPvtApproach::ConstantCompressibilityOilPvt, ConstantCompressibilityOilPvt< Scalar > >::type & getRealPvt() Definition: OilPvtMultiplexer.hpp:346 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 std::enable_if< approachV==OilPvtApproach::ConstantCompressibilityOilPvt, constConstantCompressibilityOilPvt< Scalar > >::type & getRealPvt() const Definition: OilPvtMultiplexer.hpp:353 std::enable_if< approachV==OilPvtApproach::ThermalOilPvt, constOilPvtThermal< Scalar > >::type & getRealPvt() const Definition: OilPvtMultiplexer.hpp:367 This class implements temperature dependence of the PVT properties of oil. Definition: OilPvtThermal.hpp:50 Definition: Air_Mesitylene.hpp:34 @ NoOilPvt @ LiveOilPvt @ ThermalOilPvt @ BrineCo2Pvt @ DeadOilPvt @ ConstantCompressibilityOilPvt |