Spe5FluidSystem.hpp
Go to the documentation of this file.
static const int gasPhaseIdx Index of the gas phase. Definition: Spe5FluidSystem.hpp:75 static Scalar criticalPressure(unsigned compIdx) Critical pressure of a component [Pa]. Definition: Spe5FluidSystem.hpp:210 static Scalar criticalTemperature(unsigned compIdx) Critical temperature of a component [K]. Definition: Spe5FluidSystem.hpp:187 static Scalar viscosity(const FluidState &, const ParameterCache &, unsigned phaseIdx) Calculate the dynamic viscosity of a fluid phase [Pa*s]. Definition: Spe5FluidSystem.hpp:371 static const int numPhases Number of fluid phases in the fluid system. Definition: Spe5FluidSystem.hpp:72 static Evaluation vaporPressure(Evaluation temperature) The vapor pressure in of pure water at a given temperature. Definition: H2O.hpp:131 Definition: Air_Mesitylene.hpp:31 void updatePure(const FluidState &fluidState) Update Peng-Robinson parameters for the pure components. Definition: PengRobinsonParamsMixture.hpp:70 The fluid system for the oil, gas and water phases of the SPE5 problem. Definition: Spe5FluidSystem.hpp:53 The mixing rule for the oil and the gas phases of the SPE5 problem. Definition: PengRobinsonParamsMixture.hpp:54 static bool isIdealGas(unsigned) Returns true if and only if a fluid phase is assumed to be an ideal gas. Definition: Spe5FluidSystem.hpp:116 static bool isIdealMixture(unsigned phaseIdx) Returns true if and only if a fluid phase is assumed to be an ideal mixture. Definition: Spe5FluidSystem.hpp:123 static const int C10Idx Index of the C10 component. Definition: Spe5FluidSystem.hpp:142 static Scalar interactionCoefficient(unsigned comp1Idx, unsigned comp2Idx) Returns the interaction coefficient for two components. Definition: Spe5FluidSystem.hpp:281 Evaluation< Scalar, VarSetTag, numVars > max(const Evaluation< Scalar, VarSetTag, numVars > &x1, const Evaluation< Scalar, VarSetTag, numVars > &x2) Definition: Math.hpp:114 const PureParams & pureParams(unsigned compIdx) const Return the Peng-Robinson parameters of a pure substance,. Definition: PengRobinsonParamsMixture.hpp:192 Class implementing cubic splines. static const int C6Idx Index of the C6 component. Definition: Spe5FluidSystem.hpp:141 static const int numComponents Number of chemical species in the fluid system. Definition: Spe5FluidSystem.hpp:136 Opm::Spe5ParameterCache< Scalar, ThisType > ParameterCache The type of the fluid system's parameter cache. Definition: Spe5FluidSystem.hpp:65 Opm::H2O< Scalar > H2O The component for pure water to be used. Definition: Spe5FluidSystem.hpp:82 static const int C1Idx Index of the C1 component. Definition: Spe5FluidSystem.hpp:139 static const int waterPhaseIdx Index of the water phase. Definition: Spe5FluidSystem.hpp:77 A central place for various physical constants occuring in some equations. Implements the Peng-Robinson equation of state for a mixture. Definition: PengRobinsonMixture.hpp:41 Specifies the parameter cache used by the SPE-5 fluid system. 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:304 static const char * phaseName(unsigned phaseIdx) Return the human readable name of a fluid phase. Definition: Spe5FluidSystem.hpp:85 static Scalar criticalMolarVolume(unsigned compIdx) Molar volume of a component at the critical point [m^3/mol]. Definition: Spe5FluidSystem.hpp:233 Scalar a() const Returns the attractive parameter 'a' of the Peng-Robinson fluid. Definition: PengRobinsonParams.hpp:49 static const char * componentName(unsigned compIdx) Return the human readable name of a component. Definition: Spe5FluidSystem.hpp:147 static Scalar density(const FluidState &fluidState, const ParameterCache ¶mCache, unsigned phaseIdx) Calculate the density [kg/m^3] of a fluid phase. Definition: Spe5FluidSystem.hpp:358 Evaluation< Scalar, VarSetTag, numVars > min(const Evaluation< Scalar, VarSetTag, numVars > &x1, const Evaluation< Scalar, VarSetTag, numVars > &x2) Definition: Math.hpp:61 Scalar molarVolume(unsigned phaseIdx) const Returns the molar volume of a phase [m^3/mol]. Definition: Spe5ParameterCache.hpp:185 static const Scalar acentricFactor() The acentric factor of water. Definition: H2O.hpp:85 static const int oilPhaseIdx Index of the oil phase. Definition: Spe5FluidSystem.hpp:79 static Scalar 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:90 static const Scalar criticalPressure() Returns the critical pressure of water. Definition: H2O.hpp:97 static const Scalar criticalTemperature() Returns the critical temperature of water. Definition: H2O.hpp:91 Implements the Peng-Robinson equation of state for liquids and gases. Definition: PengRobinson.hpp:54 static const int C20Idx Index of the C20 component. Definition: Spe5FluidSystem.hpp:144 static void init(Scalar, Scalar, unsigned, Scalar, Scalar, unsigned) Definition: PengRobinson.hpp:63 static Scalar acentricFactor(unsigned compIdx) The acentric factor of a component []. Definition: Spe5FluidSystem.hpp:256 static Scalar molarMass(unsigned compIdx) Return the molar mass of a component in [kg/mol]. Definition: Spe5FluidSystem.hpp:164 Scalar b() const Returns the repulsive parameter 'b' of the Peng-Robinson fluid. Definition: PengRobinsonParams.hpp:56 static Scalar fugacityCoefficient(const FluidState &fluidState, const ParameterCache ¶mCache, unsigned phaseIdx, unsigned compIdx) Calculate the fugacity coefficient [Pa] of an individual component in a fluid phase. Definition: Spe5FluidSystem.hpp:397 static const int H2OIdx Index of the water component. Definition: Spe5FluidSystem.hpp:138 Specifies the parameter cache used by the SPE-5 fluid system. Definition: Spe5ParameterCache.hpp:43 static Scalar henryCoeffWater_(unsigned compIdx, Scalar temperature) Definition: Spe5FluidSystem.hpp:421 static const int C3Idx Index of the C3 component. Definition: Spe5FluidSystem.hpp:140 The base class for all fluid systems. Implements the Peng-Robinson equation of state for a mixture. static const int C15Idx Index of the C15 component. Definition: Spe5FluidSystem.hpp:143 static const Scalar criticalMolarVolume() Returns the molar volume of water at the critical point. Definition: H2O.hpp:103 A central place for various physical constants occuring in some equations. Definition: Constants.hpp:39 static const Scalar molarMass() The molar mass in of water. Definition: H2O.hpp:79 static bool isCompressible(unsigned) Returns true if and only if a fluid phase is assumed to be compressible. Definition: Spe5FluidSystem.hpp:109 static bool isLiquid(unsigned phaseIdx) Return whether a phase is liquid. Definition: Spe5FluidSystem.hpp:98 |