GasPvtMultiplexer.hpp
Go to the documentation of this file.
164 else if (!eclState.getTableManager().getPvtgwTables().empty() && !eclState.getTableManager().getPvtgTables().empty())
235 { OPM_GAS_PVT_MULTIPLEXER_CALL(return pvtImpl.internalEnergy(regionIdx, temperature, pressure, Rv)); return 0; }
246 { OPM_GAS_PVT_MULTIPLEXER_CALL(return pvtImpl.viscosity(regionIdx, temperature, pressure, Rv, Rvw)); return 0; }
255 { OPM_GAS_PVT_MULTIPLEXER_CALL(return pvtImpl.saturatedViscosity(regionIdx, temperature, pressure)); return 0; }
266 { OPM_GAS_PVT_MULTIPLEXER_CALL(return pvtImpl.inverseFormationVolumeFactor(regionIdx, temperature, pressure, Rv, Rvw)); return 0; }
275 { OPM_GAS_PVT_MULTIPLEXER_CALL(return pvtImpl.saturatedInverseFormationVolumeFactor(regionIdx, temperature, pressure)); return 0; }
284 { OPM_GAS_PVT_MULTIPLEXER_CALL(return pvtImpl.saturatedOilVaporizationFactor(regionIdx, temperature, pressure)); return 0; }
295 { OPM_GAS_PVT_MULTIPLEXER_CALL(return pvtImpl.saturatedOilVaporizationFactor(regionIdx, temperature, pressure, oilSaturation, maxOilSaturation)); return 0; }
304 { OPM_GAS_PVT_MULTIPLEXER_CALL(return pvtImpl.saturatedWaterVaporizationFactor(regionIdx, temperature, pressure)); return 0; }
314 { OPM_GAS_PVT_MULTIPLEXER_CALL(return pvtImpl.saturatedWaterVaporizationFactor(regionIdx, temperature, pressure, saltConcentration)); return 0; }
326 { OPM_GAS_PVT_MULTIPLEXER_CALL(return pvtImpl.saturationPressure(regionIdx, temperature, Rv)); return 0; }
336 OPM_GAS_PVT_MULTIPLEXER_CALL(return pvtImpl.diffusionCoefficient(temperature, pressure, compIdx)); return 0;
349 typename std::enable_if<approachV == GasPvtApproach::DryGasPvt, DryGasPvt<Scalar> >::type& getRealPvt()
356 typename std::enable_if<approachV == GasPvtApproach::DryGasPvt, const DryGasPvt<Scalar> >::type& getRealPvt() const
364 typename std::enable_if<approachV == GasPvtApproach::DryHumidGasPvt, DryHumidGasPvt<Scalar> >::type& getRealPvt()
371 typename std::enable_if<approachV == GasPvtApproach::DryHumidGasPvt, const DryHumidGasPvt<Scalar> >::type& getRealPvt() const
379 typename std::enable_if<approachV == GasPvtApproach::WetHumidGasPvt, WetHumidGasPvt<Scalar> >::type& getRealPvt()
386 typename std::enable_if<approachV == GasPvtApproach::WetHumidGasPvt, const WetHumidGasPvt<Scalar> >::type& getRealPvt() const
394 typename std::enable_if<approachV == GasPvtApproach::WetGasPvt, WetGasPvt<Scalar> >::type& getRealPvt()
401 typename std::enable_if<approachV == GasPvtApproach::WetGasPvt, const WetGasPvt<Scalar> >::type& getRealPvt() const
409 typename std::enable_if<approachV == GasPvtApproach::ThermalGasPvt, GasPvtThermal<Scalar> >::type& getRealPvt()
415 typename std::enable_if<approachV == GasPvtApproach::ThermalGasPvt, const GasPvtThermal<Scalar> >::type& getRealPvt() const
422 typename std::enable_if<approachV == GasPvtApproach::Co2GasPvt, Co2GasPvt<Scalar> >::type& getRealPvt()
429 typename std::enable_if<approachV == GasPvtApproach::Co2GasPvt, const Co2GasPvt<Scalar> >::type& getRealPvt() const
466 GasPvtMultiplexer<Scalar,enableThermal>& operator=(const GasPvtMultiplexer<Scalar,enableThermal>& data)
474 realGasPvt_ = new DryHumidGasPvt<Scalar>(*static_cast<const DryHumidGasPvt<Scalar>*>(data.realGasPvt_));
477 realGasPvt_ = new WetHumidGasPvt<Scalar>(*static_cast<const WetHumidGasPvt<Scalar>*>(data.realGasPvt_));
483 realGasPvt_ = new GasPvtThermal<Scalar>(*static_cast<const GasPvtThermal<Scalar>*>(data.realGasPvt_));
#define OPM_GAS_PVT_MULTIPLEXER_CALL(codeToCall) Definition: GasPvtMultiplexer.hpp:42 This class represents the Pressure-Volume-Temperature relations of the gas phase for CO2. Definition: Co2GasPvt.hpp:53 This class represents the Pressure-Volume-Temperature relations of the gas phase without vaporized oi... Definition: DryGasPvt.hpp:50 This class represents the Pressure-Volume-Temperature relations of the gas phase with vaporized water... Definition: DryHumidGasPvt.hpp:53 This class represents the Pressure-Volume-Temperature relations of the gas phase in the black-oil mod... Definition: GasPvtMultiplexer.hpp:100 std::enable_if< approachV==GasPvtApproach::DryGasPvt, constDryGasPvt< Scalar > >::type & getRealPvt() const Definition: GasPvtMultiplexer.hpp:356 GasPvtApproach gasPvtApproach() const Returns the concrete approach for calculating the PVT relations. Definition: GasPvtMultiplexer.hpp:344 std::enable_if< approachV==GasPvtApproach::ThermalGasPvt, GasPvtThermal< Scalar > >::type & getRealPvt() Definition: GasPvtMultiplexer.hpp:409 std::enable_if< approachV==GasPvtApproach::WetHumidGasPvt, WetHumidGasPvt< Scalar > >::type & getRealPvt() Definition: GasPvtMultiplexer.hpp:379 std::enable_if< approachV==GasPvtApproach::DryGasPvt, DryGasPvt< Scalar > >::type & getRealPvt() Definition: GasPvtMultiplexer.hpp:349 const void * realGasPvt() const Definition: GasPvtMultiplexer.hpp:435 Evaluation saturatedInverseFormationVolumeFactor(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const Returns the formation volume factor [-] of oil saturated gas given a set of parameters. Definition: GasPvtMultiplexer.hpp:272 unsigned numRegions() const Return the number of PVT regions which are considered by this PVT-object. Definition: GasPvtMultiplexer.hpp:218 Evaluation saturatedWaterVaporizationFactor(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const Returns the water vaporization factor [m^3/m^3] of water saturated gas. Definition: GasPvtMultiplexer.hpp:301 GasPvtMultiplexer(const GasPvtMultiplexer< Scalar, enableThermal > &data) Definition: GasPvtMultiplexer.hpp:113 std::enable_if< approachV==GasPvtApproach::WetGasPvt, constWetGasPvt< Scalar > >::type & getRealPvt() const Definition: GasPvtMultiplexer.hpp:401 Evaluation inverseFormationVolumeFactor(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &Rv, const Evaluation &Rvw) const Returns the formation volume factor [-] of the fluid phase. Definition: GasPvtMultiplexer.hpp:261 std::enable_if< approachV==GasPvtApproach::WetGasPvt, WetGasPvt< Scalar > >::type & getRealPvt() Definition: GasPvtMultiplexer.hpp:394 GasPvtMultiplexer(GasPvtApproach approach, void *realGasPvt) Definition: GasPvtMultiplexer.hpp:108 std::enable_if< approachV==GasPvtApproach::DryHumidGasPvt, constDryHumidGasPvt< Scalar > >::type & getRealPvt() const Definition: GasPvtMultiplexer.hpp:371 std::enable_if< approachV==GasPvtApproach::DryHumidGasPvt, DryHumidGasPvt< Scalar > >::type & getRealPvt() Definition: GasPvtMultiplexer.hpp:364 Evaluation viscosity(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &Rv, const Evaluation &Rvw) const Returns the dynamic viscosity [Pa s] of the fluid phase given a set of parameters. Definition: GasPvtMultiplexer.hpp:241 void setApproach(GasPvtApproach gasPvtAppr) Definition: GasPvtMultiplexer.hpp:178 std::enable_if< approachV==GasPvtApproach::Co2GasPvt, Co2GasPvt< Scalar > >::type & getRealPvt() Definition: GasPvtMultiplexer.hpp:422 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: GasPvtMultiplexer.hpp:332 Evaluation saturatedWaterVaporizationFactor(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &saltConcentration) const Returns the water vaporization factor [m^3/m^3] of water saturated gas. Definition: GasPvtMultiplexer.hpp:310 bool operator==(const GasPvtMultiplexer< Scalar, enableThermal > &data) const Definition: GasPvtMultiplexer.hpp:437 Evaluation saturatedOilVaporizationFactor(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const Returns the oil vaporization factor [m^3/m^3] of oil saturated gas. Definition: GasPvtMultiplexer.hpp:281 const Scalar gasReferenceDensity(unsigned regionIdx) Return the reference density which are considered by this PVT-object. Definition: GasPvtMultiplexer.hpp:224 std::enable_if< approachV==GasPvtApproach::ThermalGasPvt, constGasPvtThermal< Scalar > >::type & getRealPvt() const Definition: GasPvtMultiplexer.hpp:415 Evaluation internalEnergy(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &Rv) const Returns the specific enthalpy [J/kg] of gas given a set of parameters. Definition: GasPvtMultiplexer.hpp:231 GasPvtMultiplexer< Scalar, enableThermal > & operator=(const GasPvtMultiplexer< Scalar, enableThermal > &data) Definition: GasPvtMultiplexer.hpp:466 std::enable_if< approachV==GasPvtApproach::Co2GasPvt, constCo2GasPvt< Scalar > >::type & getRealPvt() const Definition: GasPvtMultiplexer.hpp:429 Evaluation saturationPressure(unsigned regionIdx, const Evaluation &temperature, const Evaluation &Rv) const Returns the saturation pressure of the gas phase [Pa] depending on its mass fraction of the oil compo... Definition: GasPvtMultiplexer.hpp:323 std::enable_if< approachV==GasPvtApproach::WetHumidGasPvt, constWetHumidGasPvt< Scalar > >::type & getRealPvt() const Definition: GasPvtMultiplexer.hpp:386 Evaluation saturatedOilVaporizationFactor(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &oilSaturation, const Evaluation &maxOilSaturation) const Returns the oil vaporization factor [m^3/m^3] of oil saturated gas. Definition: GasPvtMultiplexer.hpp:290 Evaluation saturatedViscosity(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const Returns the dynamic viscosity [Pa s] of oil saturated gas given a set of parameters. Definition: GasPvtMultiplexer.hpp:252 This class implements temperature dependence of the PVT properties of gas. Definition: GasPvtThermal.hpp:50 This class represents the Pressure-Volume-Temperature relations of the gas phas with vaporized oil. Definition: WetGasPvt.hpp:52 This class represents the Pressure-Volume-Temperature relations of the gas phase with vaporized oil a... Definition: WetHumidGasPvt.hpp:52 Definition: Air_Mesitylene.hpp:34 @ NoGasPvt @ WetGasPvt @ DryHumidGasPvt @ Co2GasPvt @ ThermalGasPvt @ WetHumidGasPvt @ DryGasPvt |