ThreeComponentFluidSystem.hh
Go to the documentation of this file.
51 // TODO: I do not think these should be constant in fluidsystem, will try to make it non-constant later
72 using PengRobinsonMixture = typename Opm::PengRobinsonMixture<Scalar, ThreeComponentFluidSystem<Scalar>>;
176 template <class FluidState, class LhsEval = typename FluidState::Scalar, class ParamCacheEval = LhsEval>
191 template <class FluidState, class LhsEval = typename FluidState::Scalar, class ParamCacheEval = LhsEval>
203 template <class FluidState, class LhsEval = typename FluidState::Scalar, class ParamCacheEval = LhsEval>
212 LhsEval phi = PengRobinsonMixture::computeFugacityCoefficient(fluidState, paramCache, phaseIdx, compIdx);
Scalar Scalar The type used for scalar quantities. Definition: BaseFluidSystem.hpp:49 static Scalar criticalVolume() Critical volume of [m2/kmol]. Definition: C10.hpp:80 static Scalar criticalPressure() Returns the critical pressure of molecular n-Decane. Definition: C10.hpp:74 static Scalar criticalTemperature() Returns the critical temperature of molecular n-Decane. Definition: C10.hpp:68 static Scalar molarMass() The molar mass in of molecular n-Decane. Definition: C10.hpp:62 static Scalar criticalPressure() Returns the critical pressure of molecular methane. Definition: C1.hpp:74 static Scalar molarMass() The molar mass in of molecular methane. Definition: C1.hpp:62 static Scalar criticalTemperature() Returns the critical temperature of molecular methane. Definition: C1.hpp:68 static Scalar criticalVolume() Critical volume of [m2/kmol]. Definition: C1.hpp:80 Specifies the parameter cache used by the SPE-5 fluid system. Definition: PTFlashParameterCache.hpp:48 Scalar molarVolume(unsigned phaseIdx) const Returns the molar volume of a phase [m^3/mol]. Definition: PTFlashParameterCache.hpp:199 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 static Scalar criticalVolume() Critical volume of [m2/kmol]. Definition: SimpleCO2.hpp:94 static const char * name() A human readable name for the component. Definition: SimpleCO2.hpp:58 static Scalar criticalTemperature() Returns the critical temperature of . Definition: SimpleCO2.hpp:70 static Scalar acentricFactor() Acentric factor of . Definition: SimpleCO2.hpp:88 static Scalar criticalPressure() Returns the critical pressure of . Definition: SimpleCO2.hpp:76 static Scalar molarMass() The molar mass in of the component. Definition: SimpleCO2.hpp:64 A two phase three component fluid system with components CO2, Methane and NDekan. Definition: ThreeComponentFluidSystem.hh:49 static constexpr int gasPhaseIdx Definition: ThreeComponentFluidSystem.hh:58 static const char * phaseName(unsigned phaseIdx) Return the human readable name of a fluid phase. Definition: ThreeComponentFluidSystem.hh:151 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: ThreeComponentFluidSystem.hh:204 static constexpr int Comp1Idx Definition: ThreeComponentFluidSystem.hh:61 static LhsEval density(const FluidState &fluidState, const ParameterCache< ParamCacheEval > ¶mCache, unsigned phaseIdx) Calculate the density [kg/m^3] of a fluid phase. Definition: ThreeComponentFluidSystem.hh:177 static constexpr int numComponents Definition: ThreeComponentFluidSystem.hh:53 static Scalar criticalPressure(unsigned compIdx) Critical pressure of a component [Pa]. Definition: ThreeComponentFluidSystem.hh:107 static Scalar criticalTemperature(unsigned compIdx) Critical temperature of a component [K]. Definition: ThreeComponentFluidSystem.hh:93 static constexpr int Comp0Idx Definition: ThreeComponentFluidSystem.hh:60 static Scalar molarMass(unsigned compIdx) Return the molar mass of a component in [kg/mol]. Definition: ThreeComponentFluidSystem.hh:131 static Scalar acentricFactor(unsigned compIdx) The acentric factor of a component []. Definition: ThreeComponentFluidSystem.hh:79 static constexpr int Comp2Idx Definition: ThreeComponentFluidSystem.hh:62 static Scalar interactionCoefficient(unsigned, unsigned) Returns the interaction coefficient for two components. Definition: ThreeComponentFluidSystem.hh:145 static constexpr int numPhases Definition: ThreeComponentFluidSystem.hh:52 static LhsEval viscosity(const FluidState &fluidState, const ParameterCache< ParamCacheEval > ¶mCache, unsigned phaseIdx) Calculate the dynamic viscosity of a fluid phase [Pa*s]. Definition: ThreeComponentFluidSystem.hh:192 static constexpr int numMisciblePhases Definition: ThreeComponentFluidSystem.hh:54 typename Opm::ViscosityModels< Scalar, ThreeComponentFluidSystem< Scalar > > ViscosityModel Definition: ThreeComponentFluidSystem.hh:71 typename Opm::PengRobinsonMixture< Scalar, ThreeComponentFluidSystem< Scalar > > PengRobinsonMixture Definition: ThreeComponentFluidSystem.hh:72 static const char * componentName(unsigned compIdx) Return the human readable name of a component. Definition: ThreeComponentFluidSystem.hh:161 static Scalar criticalVolume(unsigned compIdx) Critical volume of a component [m3]. Definition: ThreeComponentFluidSystem.hh:120 static constexpr int numMiscibleComponents Definition: ThreeComponentFluidSystem.hh:55 static constexpr int oilPhaseIdx Definition: ThreeComponentFluidSystem.hh:57 Definition: LBC.hpp:40 Definition: Air_Mesitylene.hpp:34 |