BlackOilFluidSystem.hpp
Go to the documentation of this file.
63LhsEval getRs_(typename std::enable_if<!HasMember_Rs<FluidState>::value, const FluidState&>::type fluidState,
72auto getRs_(typename std::enable_if<HasMember_Rs<FluidState>::value, const FluidState&>::type fluidState,
78LhsEval getRv_(typename std::enable_if<!HasMember_Rv<FluidState>::value, const FluidState&>::type fluidState,
87auto getRv_(typename std::enable_if<HasMember_Rv<FluidState>::value, const FluidState&>::type fluidState,
93LhsEval getRvw_(typename std::enable_if<!HasMember_Rvw<FluidState>::value, const FluidState&>::type fluidState,
102auto getRvw_(typename std::enable_if<HasMember_Rvw<FluidState>::value, const FluidState&>::type fluidState,
108LhsEval getSaltConcentration_(typename std::enable_if<!HasMember_saltConcentration<FluidState>::value,
114auto getSaltConcentration_(typename std::enable_if<HasMember_saltConcentration<FluidState>::value, const FluidState&>::type fluidState,
126auto getSaltSaturation_(typename std::enable_if<HasMember_saltSaturation<FluidState>::value, const FluidState&>::type fluidState,
140class BlackOilFluidSystem : public BaseFluidSystem<Scalar, BlackOilFluidSystem<Scalar, IndexTraits> >
307 throw std::runtime_error("Cross phase diffusion is set in the deck, but not implemented in Flow. "
662 template <class FluidState, class LhsEval = typename FluidState::Scalar, class ParamCacheEval = LhsEval>
669 template <class FluidState, class LhsEval = typename FluidState::Scalar, class ParamCacheEval = LhsEval>
682 template <class FluidState, class LhsEval = typename FluidState::Scalar, class ParamCacheEval = LhsEval>
689 template <class FluidState, class LhsEval = typename FluidState::Scalar, class ParamCacheEval = LhsEval>
710 const LhsEval& saltConcentration = BlackOil::template getSaltConcentration_<ThisType, FluidState, LhsEval>(fluidState, regionIdx);
716 const LhsEval& Rs = BlackOil::template getRs_<ThisType, FluidState, LhsEval>(fluidState, regionIdx);
734 const LhsEval& Rv = BlackOil::template getRv_<ThisType, FluidState, LhsEval>(fluidState, regionIdx);
735 const LhsEval& Rvw = BlackOil::template getRvw_<ThisType, FluidState, LhsEval>(fluidState, regionIdx);
746 const LhsEval& Rv = BlackOil::template getRv_<ThisType, FluidState, LhsEval>(fluidState, regionIdx);
756 const LhsEval& Rvw = BlackOil::template getRvw_<ThisType, FluidState, LhsEval>(fluidState, regionIdx);
802 const LhsEval& Rs = saturatedDissolutionFactor<FluidState, LhsEval>(fluidState, oilPhaseIdx, regionIdx);
819 const LhsEval& Rv = saturatedDissolutionFactor<FluidState, LhsEval>(fluidState, gasPhaseIdx, regionIdx);
820 const LhsEval& Rvw = saturatedVaporizationFactor<FluidState, LhsEval>(fluidState, gasPhaseIdx, regionIdx);
832 const LhsEval& Rv = saturatedDissolutionFactor<FluidState, LhsEval>(fluidState, gasPhaseIdx, regionIdx);
843 const LhsEval& Rvw = saturatedVaporizationFactor<FluidState, LhsEval>(fluidState, gasPhaseIdx, regionIdx);
892 const auto& Rs = BlackOil::template getRs_<ThisType, FluidState, LhsEval>(fluidState, regionIdx);
894 && Rs >= (1.0 - 1e-10)*oilPvt_->saturatedGasDissolutionFactor(regionIdx, scalarValue(T), scalarValue(p)))
907 const auto& Rvw = BlackOil::template getRvw_<ThisType, FluidState, LhsEval>(fluidState, regionIdx);
908 const auto& Rv = BlackOil::template getRv_<ThisType, FluidState, LhsEval>(fluidState, regionIdx);
910 && Rvw >= (1.0 - 1e-10)*gasPvt_->saturatedWaterVaporizationFactor(regionIdx, scalarValue(T), scalarValue(p))
912 && Rv >= (1.0 - 1e-10)*gasPvt_->saturatedOilVaporizationFactor(regionIdx, scalarValue(T), scalarValue(p)))
921 const auto& Rv = BlackOil::template getRv_<ThisType, FluidState, LhsEval>(fluidState, regionIdx);
923 && Rv >= (1.0 - 1e-10)*gasPvt_->saturatedOilVaporizationFactor(regionIdx, scalarValue(T), scalarValue(p)))
933 const auto& Rvw = BlackOil::template getRvw_<ThisType, FluidState, LhsEval>(fluidState, regionIdx);
935 && Rvw >= (1.0 - 1e-10)*gasPvt_->saturatedWaterVaporizationFactor(regionIdx, scalarValue(T), scalarValue(p)))
976 case waterPhaseIdx: return waterPvt_->inverseFormationVolumeFactor(regionIdx, T, p, saltConcentration);
1114 const LhsEval& saltConcentration = BlackOil::template getSaltConcentration_<ThisType, FluidState, LhsEval>(fluidState, regionIdx);
1119 const auto& Rs = BlackOil::template getRs_<ThisType, FluidState, LhsEval>(fluidState, regionIdx);
1121 && Rs >= (1.0 - 1e-10)*oilPvt_->saturatedGasDissolutionFactor(regionIdx, scalarValue(T), scalarValue(p)))
1135 const auto& Rvw = BlackOil::template getRvw_<ThisType, FluidState, LhsEval>(fluidState, regionIdx);
1136 const auto& Rv = BlackOil::template getRv_<ThisType, FluidState, LhsEval>(fluidState, regionIdx);
1138 && Rvw >= (1.0 - 1e-10)*gasPvt_->saturatedWaterVaporizationFactor(regionIdx, scalarValue(T), scalarValue(p))
1140 && Rv >= (1.0 - 1e-10)*gasPvt_->saturatedOilVaporizationFactor(regionIdx, scalarValue(T), scalarValue(p)))
1148 const auto& Rv = BlackOil::template getRv_<ThisType, FluidState, LhsEval>(fluidState, regionIdx);
1150 && Rv >= (1.0 - 1e-10)*gasPvt_->saturatedOilVaporizationFactor(regionIdx, scalarValue(T), scalarValue(p)))
1159 const auto& Rvw = BlackOil::template getRvw_<ThisType, FluidState, LhsEval>(fluidState, regionIdx);
1161 && Rvw >= (1.0 - 1e-10)*gasPvt_->saturatedWaterVaporizationFactor(regionIdx, scalarValue(T), scalarValue(p)))
1199 oilPvt_->internalEnergy(regionIdx, T, p, BlackOil::template getRs_<ThisType, FluidState, LhsEval>(fluidState, regionIdx))
1204 gasPvt_->internalEnergy(regionIdx, T, p, BlackOil::template getRv_<ThisType, FluidState, LhsEval>(fluidState, regionIdx))
1209 waterPvt_->internalEnergy(regionIdx, T, p, BlackOil::template getSaltConcentration_<ThisType, FluidState, LhsEval>(fluidState, regionIdx))
1238 case gasPhaseIdx: return gasPvt_->saturatedWaterVaporizationFactor(regionIdx, T, p, saltConcentration);
1264 case oilPhaseIdx: return oilPvt_->saturatedGasDissolutionFactor(regionIdx, T, p, So, maxOilSaturation);
1265 case gasPhaseIdx: return gasPvt_->saturatedOilVaporizationFactor(regionIdx, T, p, So, maxOilSaturation);
1340 case oilPhaseIdx: return oilPvt_->saturationPressure(regionIdx, T, BlackOil::template getRs_<ThisType, FluidState, LhsEval>(fluidState, regionIdx));
1341 case gasPhaseIdx: return gasPvt_->saturationPressure(regionIdx, T, BlackOil::template getRv_<ThisType, FluidState, LhsEval>(fluidState, regionIdx));
1538 static Scalar diffusionCoefficient(unsigned compIdx, unsigned phaseIdx, unsigned regionIdx = 0)
1542 static void setDiffusionCoefficient(Scalar coefficient, unsigned compIdx, unsigned phaseIdx, unsigned regionIdx = 0)
1548 template <class FluidState, class LhsEval = typename FluidState::Scalar, class ParamCacheEval = LhsEval>
1597 static std::vector<std::array<Scalar, /*numComponents=*/3 * /*numPhases=*/3> > diffusionCoefficients_;
1609std::array<bool, BlackOilFluidSystem<Scalar, IndexTraits>::numPhases> BlackOilFluidSystem<Scalar, IndexTraits>::phaseIsActive_;
1612std::array<short, BlackOilFluidSystem<Scalar, IndexTraits>::numPhases> BlackOilFluidSystem<Scalar, IndexTraits>::activeToCanonicalPhaseIdx_;
1615std::array<short, BlackOilFluidSystem<Scalar, IndexTraits>::numPhases> BlackOilFluidSystem<Scalar, IndexTraits>::canonicalToActivePhaseIdx_;
Provides the opm-material specific exception classes. A traits class which provides basic mathematical functions for arbitrary scalar floating point values... Some templates to wrap the valgrind client request macros. Scalar Scalar The type used for scalar quantities. Definition: BaseFluidSystem.hpp:49 A fluid system which uses the black-oil model assumptions to calculate termodynamically meaningful qu... Definition: BlackOilFluidSystem.hpp:141 static constexpr unsigned waterCompIdx Index of the water component. Definition: BlackOilFluidSystem.hpp:515 static unsigned numActivePhases() Returns the number of active fluid phases (i.e., usually three) Definition: BlackOilFluidSystem.hpp:525 static Scalar diffusionCoefficient(unsigned compIdx, unsigned phaseIdx, unsigned regionIdx=0) Calculate the binary molecular diffusion coefficient for a component in a fluid phase [mol^2 * s / (k... Definition: BlackOilFluidSystem.hpp:1538 static void setReferenceDensities(Scalar rhoOil, Scalar rhoWater, Scalar rhoGas, unsigned regionIdx) Initialize the values of the reference densities. Definition: BlackOilFluidSystem.hpp:408 static LhsEval convertXoGToRs(const LhsEval &XoG, unsigned regionIdx) Convert the mass fraction of the gas component in the oil phase to the corresponding gas dissolution ... Definition: BlackOilFluidSystem.hpp:1355 static LhsEval convertRsToXoG(const LhsEval &Rs, unsigned regionIdx) Convert a gas dissolution factor to the the corresponding mass fraction of the gas component in the o... Definition: BlackOilFluidSystem.hpp:1395 static constexpr unsigned numComponents Number of chemical species in the fluid system. Definition: BlackOilFluidSystem.hpp:510 static void initEnd() Finish initializing the black oil fluid system. Definition: BlackOilFluidSystem.hpp:422 static LhsEval convertRvwToXgW(const LhsEval &Rvw, unsigned regionIdx) Convert an water vaporization factor to the corresponding mass fraction of the water component in the... Definition: BlackOilFluidSystem.hpp:1423 static constexpr unsigned soluteComponentIndex(unsigned phaseIdx) returns the index of "secondary" component of a phase (solute) Definition: BlackOilFluidSystem.hpp:552 static std::array< bool, numPhases > phaseIsActive_ Definition: BlackOilFluidSystem.hpp:521 static LhsEval saturatedInverseFormationVolumeFactor(const FluidState &fluidState, unsigned phaseIdx, unsigned regionIdx) Returns the formation volume factor of a "saturated" fluid phase. Definition: BlackOilFluidSystem.hpp:962 static LhsEval convertXoGToxoG(const LhsEval &XoG, unsigned regionIdx) Convert a gas mass fraction in the oil phase the corresponding mole fraction. Definition: BlackOilFluidSystem.hpp:1436 static bool isInitialized() Definition: BlackOilFluidSystem.hpp:459 static LhsEval viscosity(const FluidState &fluidState, unsigned phaseIdx, unsigned regionIdx) Calculate the dynamic viscosity of a fluid phase [Pa*s]. Definition: BlackOilFluidSystem.hpp:1105 static Scalar reservoirTemperature(unsigned=0) Set the temperature of the reservoir. Definition: BlackOilFluidSystem.hpp:1515 static void setEnableDiffusion(bool yesno) Specify whether the fluid system should consider diffusion. Definition: BlackOilFluidSystem.hpp:379 static LhsEval bubblePointPressure(const FluidState &fluidState, unsigned regionIdx) Returns the bubble point pressure $P_b$ using the current Rs. Definition: BlackOilFluidSystem.hpp:1302 static LhsEval density(const FluidState &fluidState, unsigned phaseIdx, unsigned regionIdx) Calculate the density [kg/m^3] of a fluid phase. Definition: BlackOilFluidSystem.hpp:701 static LhsEval saturatedDensity(const FluidState &fluidState, unsigned phaseIdx, unsigned regionIdx) Compute the density of a saturated fluid phase. Definition: BlackOilFluidSystem.hpp:788 static LhsEval viscosity(const FluidState &fluidState, const ParameterCache< ParamCacheEval > ¶mCache, unsigned phaseIdx) Calculate the dynamic viscosity of a fluid phase [Pa*s]. Definition: BlackOilFluidSystem.hpp:683 static bool isIdealMixture(unsigned) Returns true if and only if a fluid phase is assumed to be an ideal mixture. Definition: BlackOilFluidSystem.hpp:588 static bool enableVaporizedWater() Returns whether the fluid system should consider that the water component can dissolve in the gas pha... Definition: BlackOilFluidSystem.hpp:639 static constexpr unsigned numPhases Number of fluid phases in the fluid system. Definition: BlackOilFluidSystem.hpp:467 static constexpr unsigned solventComponentIndex(unsigned phaseIdx) returns the index of "primary" component of a phase (solvent) Definition: BlackOilFluidSystem.hpp:536 static void setWaterPvt(std::shared_ptr< WaterPvt > pvtObj) Set the pressure-volume-saturation (PVT) relations for the water phase. Definition: BlackOilFluidSystem.hpp:398 static void setReservoirTemperature(Scalar value) Return the temperature of the reservoir. Definition: BlackOilFluidSystem.hpp:1523 static LhsEval saturatedDissolutionFactor(const FluidState &fluidState, unsigned phaseIdx, unsigned regionIdx, const LhsEval &maxOilSaturation) Returns the dissolution factor of a saturated fluid phase. Definition: BlackOilFluidSystem.hpp:1251 static size_t numRegions() Returns the number of PVT regions which are considered. Definition: BlackOilFluidSystem.hpp:612 static LhsEval enthalpy(const FluidState &fluidState, unsigned phaseIdx, unsigned regionIdx) Given a phase's composition, temperature, pressure and density, calculate its specific enthalpy [J/kg... Definition: BlackOilFluidSystem.hpp:1186 static constexpr unsigned oilCompIdx Index of the oil component. Definition: BlackOilFluidSystem.hpp:513 static const char * componentName(unsigned compIdx) Return the human readable name of a component. Definition: BlackOilFluidSystem.hpp:568 static bool isLiquid(unsigned phaseIdx) Return whether a phase is liquid. Definition: BlackOilFluidSystem.hpp:499 static LhsEval enthalpy(const FluidState &fluidState, const ParameterCache< ParamCacheEval > ¶mCache, unsigned phaseIdx) Given a phase's composition, temperature, pressure and density, calculate its specific enthalpy [J/kg... Definition: BlackOilFluidSystem.hpp:690 static LhsEval fugacityCoefficient(const FluidState &fluidState, unsigned phaseIdx, unsigned compIdx, unsigned regionIdx) Calculate the fugacity coefficient [Pa] of an individual component in a fluid phase. Definition: BlackOilFluidSystem.hpp:983 static LhsEval convertxoGToXoG(const LhsEval &xoG, unsigned regionIdx) Convert a gas mole fraction in the oil phase the corresponding mass fraction. Definition: BlackOilFluidSystem.hpp:1448 static Scalar molarMass(unsigned compIdx, unsigned regionIdx=0) Return the molar mass of a component in [kg/mol]. Definition: BlackOilFluidSystem.hpp:584 static LhsEval saturatedDissolutionFactor(const FluidState &fluidState, unsigned phaseIdx, unsigned regionIdx) Returns the dissolution factor of a saturated fluid phase. Definition: BlackOilFluidSystem.hpp:1280 static LhsEval dewPointPressure(const FluidState &fluidState, unsigned regionIdx) Returns the dew point pressure $P_d$ using the current Rv. Definition: BlackOilFluidSystem.hpp:1313 static LhsEval saturationPressure(const FluidState &fluidState, unsigned phaseIdx, unsigned regionIdx) Returns the saturation pressure of a given phase [Pa] depending on its composition. Definition: BlackOilFluidSystem.hpp:1330 static short canonicalToActivePhaseIdx(unsigned phaseIdx) Definition: BlackOilFluidSystem.hpp:1531 static LhsEval convertXgOToxgO(const LhsEval &XgO, unsigned regionIdx) Convert a oil mass fraction in the gas phase the corresponding mole fraction. Definition: BlackOilFluidSystem.hpp:1460 static LhsEval diffusionCoefficient(const FluidState &fluidState, const ParameterCache< ParamCacheEval > ¶mCache, unsigned phaseIdx, unsigned compIdx) Calculate the binary molecular diffusion coefficient for a component in a fluid phase [mol^2 * s / (k... Definition: BlackOilFluidSystem.hpp:1549 static LhsEval saturatedVaporizationFactor(const FluidState &fluidState, unsigned phaseIdx, unsigned regionIdx) Returns the water vaporization factor of saturated phase. Definition: BlackOilFluidSystem.hpp:1225 static bool enableDissolvedGas() Returns whether the fluid system should consider that the gas component can dissolve in the oil phase... Definition: BlackOilFluidSystem.hpp:621 static Scalar referenceDensity(unsigned phaseIdx, unsigned regionIdx) Returns the density of a fluid phase at surface pressure [kg/m^3]. Definition: BlackOilFluidSystem.hpp:655 static Scalar surfaceTemperature The temperature at the surface. Definition: BlackOilFluidSystem.hpp:480 static void setOilPvt(std::shared_ptr< OilPvt > pvtObj) Set the pressure-volume-saturation (PVT) relations for the oil phase. Definition: BlackOilFluidSystem.hpp:392 static constexpr unsigned waterPhaseIdx Index of the water phase. Definition: BlackOilFluidSystem.hpp:470 static LhsEval convertxgOToXgO(const LhsEval &xgO, unsigned regionIdx) Convert a oil mole fraction in the gas phase the corresponding mass fraction. Definition: BlackOilFluidSystem.hpp:1472 static LhsEval inverseFormationVolumeFactor(const FluidState &fluidState, unsigned phaseIdx, unsigned regionIdx) Returns the formation volume factor of an "undersaturated" fluid phase. Definition: BlackOilFluidSystem.hpp:878 static constexpr unsigned gasPhaseIdx Index of the gas phase. Definition: BlackOilFluidSystem.hpp:474 static void setEnableDissolvedGas(bool yesno) Specify whether the fluid system should consider that the gas component can dissolve in the oil phase... Definition: BlackOilFluidSystem.hpp:353 static LhsEval convertXgOToRv(const LhsEval &XgO, unsigned regionIdx) Convert the mass fraction of the oil component in the gas phase to the corresponding oil vaporization... Definition: BlackOilFluidSystem.hpp:1368 static LhsEval fugacityCoefficient(const FluidState &fluidState, const ParameterCache< ParamCacheEval > ¶mCache, unsigned phaseIdx, unsigned compIdx) Calculate the fugacity coefficient [Pa] of an individual component in a fluid phase. Definition: BlackOilFluidSystem.hpp:670 static LhsEval density(const FluidState &fluidState, const ParameterCache< ParamCacheEval > ¶mCache, unsigned phaseIdx) Calculate the density [kg/m^3] of a fluid phase. Definition: BlackOilFluidSystem.hpp:663 static constexpr unsigned gasCompIdx Index of the gas component. Definition: BlackOilFluidSystem.hpp:517 static LhsEval convertRvToXgO(const LhsEval &Rv, unsigned regionIdx) Convert an oil vaporization factor to the corresponding mass fraction of the oil component in the gas... Definition: BlackOilFluidSystem.hpp:1409 static short activeToCanonicalPhaseIdx(unsigned activePhaseIdx) Definition: BlackOilFluidSystem.hpp:1526 static const WaterPvt & waterPvt() Return a reference to the low-level object which calculates the water phase quantities. Definition: BlackOilFluidSystem.hpp:1507 static bool enableVaporizedOil() Returns whether the fluid system should consider that the oil component can dissolve in the gas phase... Definition: BlackOilFluidSystem.hpp:630 static bool isIdealGas(unsigned) Returns true if and only if a fluid phase is assumed to be an ideal gas. Definition: BlackOilFluidSystem.hpp:600 static unsigned phaseIsActive(unsigned phaseIdx) Returns whether a fluid phase is active. Definition: BlackOilFluidSystem.hpp:529 static const char * phaseName(unsigned phaseIdx) Return the human readable name of a fluid phase. Definition: BlackOilFluidSystem.hpp:483 static Scalar surfacePressure The pressure at the surface. Definition: BlackOilFluidSystem.hpp:477 static void setEnableVaporizedWater(bool yesno) Specify whether the fluid system should consider that the water component can dissolve in the gas pha... Definition: BlackOilFluidSystem.hpp:371 static void initBegin(size_t numPvtRegions) Begin the initialization of the black oil fluid system. Definition: BlackOilFluidSystem.hpp:324 static constexpr unsigned oilPhaseIdx Index of the oil phase. Definition: BlackOilFluidSystem.hpp:472 static const OilPvt & oilPvt() Return a reference to the low-level object which calculates the oil phase quantities. Definition: BlackOilFluidSystem.hpp:1497 static bool enableDiffusion() Returns whether the fluid system should consider diffusion. Definition: BlackOilFluidSystem.hpp:647 static LhsEval convertXgWToRvw(const LhsEval &XgW, unsigned regionIdx) Convert the mass fraction of the water component in the gas phase to the corresponding water vaporiza... Definition: BlackOilFluidSystem.hpp:1381 static unsigned char numActivePhases_ Definition: BlackOilFluidSystem.hpp:520 static void setEnableVaporizedOil(bool yesno) Specify whether the fluid system should consider that the oil component can dissolve in the gas phase... Definition: BlackOilFluidSystem.hpp:362 static void setDiffusionCoefficient(Scalar coefficient, unsigned compIdx, unsigned phaseIdx, unsigned regionIdx=0) Definition: BlackOilFluidSystem.hpp:1542 static const GasPvt & gasPvt() Return a reference to the low-level object which calculates the gas phase quantities. Definition: BlackOilFluidSystem.hpp:1487 static bool isCompressible(unsigned) Returns true if and only if a fluid phase is assumed to be compressible. Definition: BlackOilFluidSystem.hpp:596 static void setGasPvt(std::shared_ptr< GasPvt > pvtObj) Set the pressure-volume-saturation (PVT) relations for the gas phase. Definition: BlackOilFluidSystem.hpp:386 static Scalar molarMass() The molar mass in of the component. Definition: Brine.hpp:80 static Scalar molarMass() The mass in [kg] of one mole of CO2. Definition: CO2.hpp:66 A central place for various physical constants occuring in some equations. Definition: Constants.hpp:41 This class represents the Pressure-Volume-Temperature relations of the gas phase in the black-oil mod... Definition: GasPvtMultiplexer.hpp:100 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 This class represents the Pressure-Volume-Temperature relations of the oil phase in the black-oil mod... Definition: OilPvtMultiplexer.hpp:96 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 represents the Pressure-Volume-Temperature relations of the water phase in the black-oil m... Definition: WaterPvtMultiplexer.hpp:75 class LhsEval LhsEval getRs_(typename std::enable_if<!HasMember_Rs< FluidState >::value, const FluidState & >::type fluidState, unsigned regionIdx) Definition: BlackOilFluidSystem.hpp:63 LhsEval getSaltConcentration_(typename std::enable_if<!HasMember_saltConcentration< FluidState >::value, const FluidState & >::type, unsigned) Definition: BlackOilFluidSystem.hpp:108 LhsEval getRvw_(typename std::enable_if<!HasMember_Rvw< FluidState >::value, const FluidState & >::type fluidState, unsigned regionIdx) Definition: BlackOilFluidSystem.hpp:93 LhsEval getRv_(typename std::enable_if<!HasMember_Rv< FluidState >::value, const FluidState & >::type fluidState, unsigned regionIdx) Definition: BlackOilFluidSystem.hpp:78 LhsEval getSaltSaturation_(typename std::enable_if<!HasMember_saltSaturation< FluidState >::value, const FluidState & >::type, unsigned) Definition: BlackOilFluidSystem.hpp:120 OPM_GENERATE_HAS_MEMBER(Rs,) OPM_GENERATE_HAS_MEMBER(Rv Definition: Air_Mesitylene.hpp:34 auto scalarValue(const Evaluation &val) -> decltype(MathToolbox< Evaluation >::scalarValue(val)) Definition: MathToolbox.hpp:335 The type of the fluid system's parameter cache. Definition: BlackOilFluidSystem.hpp:152 void setMaxOilSat(const Evaluation &val) Definition: BlackOilFluidSystem.hpp:199 EvaluationT Evaluation Definition: BlackOilFluidSystem.hpp:153 ParameterCache(Scalar maxOilSat=1.0, unsigned regionIdx=0) Definition: BlackOilFluidSystem.hpp:156 void assignPersistentData(const OtherCache &other) Copy the data which is not dependent on the type of the Scalars from another parameter cache. Definition: BlackOilFluidSystem.hpp:170 void setRegionIndex(unsigned val) Set the index of the region which should be used to determine the thermodynamic properties. Definition: BlackOilFluidSystem.hpp:193 unsigned regionIndex() const Return the index of the region which should be used to determine the thermodynamic properties. Definition: BlackOilFluidSystem.hpp:183 const Evaluation & maxOilSat() const Definition: BlackOilFluidSystem.hpp:196 |