Spe5FluidSystem.hpp
Go to the documentation of this file.
361 template <class FluidState, class LhsEval = typename FluidState::Scalar, class ParamCacheEval = LhsEval>
372 template <class FluidState, class LhsEval = typename FluidState::Scalar, class ParamCacheEval = LhsEval>
396 template <class FluidState, class LhsEval = typename FluidState::Scalar, class ParamCacheEval = LhsEval>
Scalar Scalar The type used for scalar quantities. Definition: BaseFluidSystem.hpp:49 static const Scalar R The ideal gas constant [J/(mol K)]. Definition: Constants.hpp:45 static const Scalar criticalTemperature() Returns the critical temperature of water. Definition: H2O.hpp:92 static Evaluation vaporPressure(Evaluation temperature) The vapor pressure in of pure water at a given temperature. Definition: H2O.hpp:138 static const Scalar criticalMolarVolume() Returns the molar volume of water at the critical point. Definition: H2O.hpp:110 static const Scalar acentricFactor() The acentric factor of water. Definition: H2O.hpp:86 static const Scalar criticalPressure() Returns the critical pressure of water. Definition: H2O.hpp:98 Implements the Peng-Robinson equation of state for a mixture. Definition: PengRobinsonMixture.hpp:41 static LhsEval computeFugacityCoefficient(const FluidState &fs, const Params ¶ms, unsigned phaseIdx, unsigned compIdx) Returns the fugacity coefficient of an individual component in the phase. Definition: PengRobinsonMixture.hpp:89 The mixing rule for the oil and the gas phases of the SPE5 problem. Definition: PengRobinsonParamsMixture.hpp:60 void updatePure(const FluidState &fluidState) Update Peng-Robinson parameters for the pure components. Definition: PengRobinsonParamsMixture.hpp:82 const PureParams & pureParams(unsigned compIdx) const Return the Peng-Robinson parameters of a pure substance,. Definition: PengRobinsonParamsMixture.hpp:205 Scalar a() const Returns the attractive parameter 'a' of the Peng-Robinson fluid. Definition: PengRobinsonParams.hpp:50 Scalar b() const Returns the repulsive parameter 'b' of the Peng-Robinson fluid. Definition: PengRobinsonParams.hpp:57 Implements the Peng-Robinson equation of state for liquids and gases. Definition: PengRobinson.hpp:56 static void init(Scalar, Scalar, unsigned, Scalar, Scalar, unsigned) Definition: PengRobinson.hpp:64 The fluid system for the oil, gas and water phases of the SPE5 problem. Definition: Spe5FluidSystem.hpp:57 static const int oilPhaseIdx Index of the oil phase. Definition: Spe5FluidSystem.hpp:83 static LhsEval henryCoeffWater_(unsigned compIdx, const LhsEval &temperature) Definition: Spe5FluidSystem.hpp:420 static bool isIdealMixture(unsigned phaseIdx) Returns true if and only if a fluid phase is assumed to be an ideal mixture. Definition: Spe5FluidSystem.hpp:127 static const int H2OIdx Index of the water component. Definition: Spe5FluidSystem.hpp:142 static const int numComponents Number of chemical species in the fluid system. Definition: Spe5FluidSystem.hpp:140 static const int C15Idx Index of the C15 component. Definition: Spe5FluidSystem.hpp:147 static const int numPhases Number of fluid phases in the fluid system. Definition: Spe5FluidSystem.hpp:76 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: Spe5FluidSystem.hpp:397 static Scalar criticalPressure(unsigned compIdx) Critical pressure of a component [Pa]. Definition: Spe5FluidSystem.hpp:214 static const char * phaseName(unsigned phaseIdx) Return the human readable name of a fluid phase. Definition: Spe5FluidSystem.hpp:89 static LhsEval density(const FluidState &fluidState, const ParameterCache< ParamCacheEval > ¶mCache, unsigned phaseIdx) Calculate the density [kg/m^3] of a fluid phase. Definition: Spe5FluidSystem.hpp:362 static Scalar criticalTemperature(unsigned compIdx) Critical temperature of a component [K]. Definition: Spe5FluidSystem.hpp:191 static Scalar criticalMolarVolume(unsigned compIdx) Molar volume of a component at the critical point [m^3/mol]. Definition: Spe5FluidSystem.hpp:237 static Scalar acentricFactor(unsigned compIdx) The acentric factor of a component []. Definition: Spe5FluidSystem.hpp:260 static LhsEval viscosity(const FluidState &, const ParameterCache< ParamCacheEval > &, unsigned phaseIdx) Calculate the dynamic viscosity of a fluid phase [Pa*s]. Definition: Spe5FluidSystem.hpp:373 static void init(Scalar minT=273.15, Scalar maxT=373.15, Scalar minP=1e4, Scalar maxP=100e6) Initialize the fluid system's static parameters. Definition: Spe5FluidSystem.hpp:308 static const int C1Idx Index of the C1 component. Definition: Spe5FluidSystem.hpp:143 static bool isCompressible(unsigned) Returns true if and only if a fluid phase is assumed to be compressible. Definition: Spe5FluidSystem.hpp:113 static const int C20Idx Index of the C20 component. Definition: Spe5FluidSystem.hpp:148 static const int C6Idx Index of the C6 component. Definition: Spe5FluidSystem.hpp:145 static const int C10Idx Index of the C10 component. Definition: Spe5FluidSystem.hpp:146 static Scalar interactionCoefficient(unsigned comp1Idx, unsigned comp2Idx) Returns the interaction coefficient for two components. Definition: Spe5FluidSystem.hpp:285 static const int waterPhaseIdx Index of the water phase. Definition: Spe5FluidSystem.hpp:81 static Scalar molarMass(unsigned compIdx) Return the molar mass of a component in [kg/mol]. Definition: Spe5FluidSystem.hpp:168 ::Opm::H2O< Scalar > H2O The component for pure water to be used. Definition: Spe5FluidSystem.hpp:86 static const int C3Idx Index of the C3 component. Definition: Spe5FluidSystem.hpp:144 static bool isLiquid(unsigned phaseIdx) Return whether a phase is liquid. Definition: Spe5FluidSystem.hpp:102 static const int gasPhaseIdx Index of the gas phase. Definition: Spe5FluidSystem.hpp:79 static const char * componentName(unsigned compIdx) Return the human readable name of a component. Definition: Spe5FluidSystem.hpp:151 static bool isIdealGas(unsigned) Returns true if and only if a fluid phase is assumed to be an ideal gas. Definition: Spe5FluidSystem.hpp:120 Specifies the parameter cache used by the SPE-5 fluid system. Definition: Spe5ParameterCache.hpp:47 Scalar molarVolume(unsigned phaseIdx) const Returns the molar volume of a phase [m^3/mol]. Definition: Spe5ParameterCache.hpp:202 Definition: Air_Mesitylene.hpp:34 ReturnEval_< Evaluation1, Evaluation2 >::type min(const Evaluation1 &arg1, const Evaluation2 &arg2) Definition: MathToolbox.hpp:346 ReturnEval_< Evaluation1, Evaluation2 >::type max(const Evaluation1 &arg1, const Evaluation2 &arg2) Definition: MathToolbox.hpp:341 The type of the fluid system's parameter cache. Definition: Spe5FluidSystem.hpp:69 |