PTFlashParameterCache.hpp
Go to the documentation of this file.
59 using OilPhaseParams = Opm::PengRobinsonParamsMixture<Scalar, FluidSystem, oilPhaseIdx, /*useChi=*/false>;
61 using GasPhaseParams = Opm::PengRobinsonParamsMixture<Scalar, FluidSystem, gasPhaseIdx, /*useChi=*/false>;
Specifies the parameter cache used by the SPE-5 fluid system. Definition: PTFlashParameterCache.hpp:48 OilPhaseParams oilPhaseParams_ Definition: PTFlashParameterCache.hpp:331 const OilPhaseParams & oilPhaseParams() const Returns the Peng-Robinson mixture parameters for the oil phase. Definition: PTFlashParameterCache.hpp:207 void updatePure_(const FluidState &fluidState, unsigned phaseIdx) Update all parameters of a phase which only depend on temperature and/or pressure. Definition: PTFlashParameterCache.hpp:255 Scalar molarVolume(unsigned phaseIdx) const Returns the molar volume of a phase [m^3/mol]. Definition: PTFlashParameterCache.hpp:199 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: PTFlashParameterCache.hpp:85 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: PTFlashParameterCache.hpp:161 Scalar aCache(unsigned phaseIdx, unsigned compIdx, unsigned compJIdx) const TODO. Definition: PTFlashParameterCache.hpp:182 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: PTFlashParameterCache.hpp:275 void updatePhase(const FluidState &fluidState, unsigned phaseIdx, int exceptQuantities=ParentType::None) Update all cached parameters of a specific fluid phase. Definition: PTFlashParameterCache.hpp:73 Scalar a(unsigned phaseIdx) const The Peng-Robinson attractive parameter for a phase. Definition: PTFlashParameterCache.hpp:105 GasPhaseParams gasPhaseParams_ Definition: PTFlashParameterCache.hpp:332 bool VmUpToDate_[numPhases] Definition: PTFlashParameterCache.hpp:328 Scalar aPure(unsigned phaseIdx, unsigned compIdx) const The Peng-Robinson attractive parameter for a pure component given the same temperature and pressure o... Definition: PTFlashParameterCache.hpp:142 PTFlashParameterCache() Definition: PTFlashParameterCache.hpp:63 void updateMolarVolume_(const FluidState &fluidState, unsigned phaseIdx) Definition: PTFlashParameterCache.hpp:290 Scalar b(unsigned phaseIdx) const The Peng-Robinson covolume for a phase. Definition: PTFlashParameterCache.hpp:122 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: PTFlashParameterCache.hpp:227 const GasPhaseParams & gasPhaseParams() const Returns the Peng-Robinson mixture parameters for the gas phase. Definition: PTFlashParameterCache.hpp:214 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 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 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 |