Spe5ParameterCache.hpp
Go to the documentation of this file.
61 typedef PengRobinsonParamsMixture<Scalar, FluidSystem, oilPhaseIdx, /*useSpe5=*/true> OilPhaseParams;
63 typedef PengRobinsonParamsMixture<Scalar, FluidSystem, gasPhaseIdx, /*useSpe5=*/true> GasPhaseParams;
The base class of the parameter caches of fluid systems. Definition: ParameterCacheBase.hpp:38 @ Temperature The temperature has not been modified. Definition: ParameterCacheBase.hpp:48 @ None All quantities have been (potentially) modified. Definition: ParameterCacheBase.hpp:45 @ Pressure The pressures have not been modified. Definition: ParameterCacheBase.hpp:51 @ Composition The compositions have not been modified. Definition: ParameterCacheBase.hpp:54 The mixing rule for the oil and the gas phases of the SPE5 problem. Definition: PengRobinsonParamsMixture.hpp:60 void updateSingleMoleFraction(const FluidState &fs, unsigned) Calculates the "a" and "b" Peng-Robinson parameters for the mixture provided that only a single mole ... Definition: PengRobinsonParamsMixture.hpp:196 void updatePure(const FluidState &fluidState) Update Peng-Robinson parameters for the pure components. Definition: PengRobinsonParamsMixture.hpp:82 Scalar getaCache(unsigned compIIdx, unsigned compJIdx) const TODO. Definition: PengRobinsonParamsMixture.hpp:73 void updateMix(const FluidState &fs) Calculates the "a" and "b" Peng-Robinson parameters for the mixture. Definition: PengRobinsonParamsMixture.hpp:143 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 FluidState::Scalar computeMolarVolume(const FluidState &fs, Params ¶ms, unsigned phaseIdx, bool isGasPhase) Computes molar volumes where the Peng-Robinson EOS is true. Definition: PengRobinson.hpp:144 Specifies the parameter cache used by the SPE-5 fluid system. Definition: Spe5ParameterCache.hpp:47 void updatePhase(const FluidState &fluidState, unsigned phaseIdx, int exceptQuantities=ParentType::None) Update all cached parameters of a specific fluid phase. Definition: Spe5ParameterCache.hpp:75 Scalar aPure(unsigned phaseIdx, unsigned compIdx) const The Peng-Robinson attractive parameter for a pure component given the same temperature and pressure o... Definition: Spe5ParameterCache.hpp:147 void updatePure_(const FluidState &fluidState, unsigned phaseIdx) Update all parameters of a phase which only depend on temperature and/or pressure. Definition: Spe5ParameterCache.hpp:257 const GasPhaseParams & gasPhaseParams() const Returns the Peng-Robinson mixture parameters for the gas phase. Definition: Spe5ParameterCache.hpp:217 Scalar bPure(unsigned phaseIdx, unsigned compIdx) const The Peng-Robinson covolume for a pure component given the same temperature and pressure of the phase. Definition: Spe5ParameterCache.hpp:166 const OilPhaseParams & oilPhaseParams() const Returns the Peng-Robinson mixture parameters for the oil phase. Definition: Spe5ParameterCache.hpp:210 OilPhaseParams oilPhaseParams_ Definition: Spe5ParameterCache.hpp:351 bool VmUpToDate_[numPhases] Definition: Spe5ParameterCache.hpp:348 PengRobinsonParamsMixture< Scalar, FluidSystem, gasPhaseIdx, true > GasPhaseParams The cached parameters for the gas phase. Definition: Spe5ParameterCache.hpp:63 void updateMix_(const FluidState &fluidState, unsigned phaseIdx) Update all parameters of a phase which depend on the fluid composition. It is assumed that updatePure... Definition: Spe5ParameterCache.hpp:278 Scalar aCache(unsigned phaseIdx, unsigned compIdx, unsigned compJIdx) const TODO. Definition: Spe5ParameterCache.hpp:185 Scalar molarVolume(unsigned phaseIdx) const Returns the molar volume of a phase [m^3/mol]. Definition: Spe5ParameterCache.hpp:202 void updateMolarVolume_(const FluidState &fluidState, unsigned phaseIdx) Definition: Spe5ParameterCache.hpp:295 Spe5ParameterCache() Definition: Spe5ParameterCache.hpp:65 Scalar a(unsigned phaseIdx) const The Peng-Robinson attractive parameter for a phase. Definition: Spe5ParameterCache.hpp:110 GasPhaseParams gasPhaseParams_ Definition: Spe5ParameterCache.hpp:352 Scalar b(unsigned phaseIdx) const The Peng-Robinson covolume for a phase. Definition: Spe5ParameterCache.hpp:127 void updateEosParams(const FluidState &fluidState, unsigned phaseIdx, int exceptQuantities=ParentType::None) Update all parameters required by the equation of state to calculate some quantities for the phase. Definition: Spe5ParameterCache.hpp:229 void updateSingleMoleFraction(const FluidState &fluidState, unsigned phaseIdx, unsigned compIdx) Update all cached parameters of a specific fluid phase which depend on the mole fraction of a single ... Definition: Spe5ParameterCache.hpp:92 PengRobinsonParamsMixture< Scalar, FluidSystem, oilPhaseIdx, true > OilPhaseParams The cached parameters for the oil phase. Definition: Spe5ParameterCache.hpp:61 bool CheckDefined(const T &value) Make valgrind complain if any of the memory occupied by an object is undefined. Definition: Valgrind.hpp:74 void SetUndefined(const T &value) Make the memory on which an object resides undefined in valgrind runs. Definition: Valgrind.hpp:171 Definition: Air_Mesitylene.hpp:34 |