Spe5ParameterCache.hpp
Go to the documentation of this file.
59 typedef Opm::PengRobinsonParamsMixture<Scalar, FluidSystem, oilPhaseIdx, /*useSpe5=*/true> OilPhaseParams;
61 typedef Opm::PengRobinsonParamsMixture<Scalar, FluidSystem, gasPhaseIdx, /*useSpe5=*/true> GasPhaseParams;
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 SetUndefined(const T &value OPM_UNUSED) Make the memory on which an object resides undefined in valgrind runs. Definition: Valgrind.hpp:138 bool CheckDefined(const T &value OPM_UNUSED) Make valgrind complain if any of the memory occupied by an object is undefined. Definition: Valgrind.hpp:74 void updatePure_(const FluidState &fluidState, unsigned phaseIdx) Update all parameters of a phase which only depend on temperature and/or pressure. Definition: Spe5ParameterCache.hpp:240 The base class of the parameter caches of fluid systems. Definition: Air_Mesitylene.hpp:31 void updatePure(const FluidState &fluidState) Update Peng-Robinson parameters for the pure components. Definition: PengRobinsonParamsMixture.hpp:70 The mixing rule for the oil and the gas phases of the SPE5 problem. Definition: PengRobinsonParamsMixture.hpp:54 Implements the Peng-Robinson equation of state for liquids and gases. GasPhaseParams gasPhaseParams_ Definition: Spe5ParameterCache.hpp:335 Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, gasPhaseIdx, true > GasPhaseParams The cached parameters for the gas phase. Definition: Spe5ParameterCache.hpp:61 The compositions have not been modified. Definition: ParameterCacheBase.hpp:53 const PureParams & pureParams(unsigned compIdx) const Return the Peng-Robinson parameters of a pure substance,. Definition: PengRobinsonParamsMixture.hpp:192 static Scalar computeMolarVolume(const FluidState &fs, Params ¶ms, unsigned phaseIdx, bool isGasPhase) Computes molar volumes where the Peng-Robinson EOS is true. Definition: PengRobinson.hpp:142 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:212 Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, oilPhaseIdx, true > OilPhaseParams The cached parameters for the oil phase. Definition: Spe5ParameterCache.hpp:59 All quantities have been (potentially) modified. Definition: ParameterCacheBase.hpp:44 void updatePhase(const FluidState &fluidState, unsigned phaseIdx, int exceptQuantities=ParentType::None) Update all cached parameters of a specific fluid phase. Definition: Spe5ParameterCache.hpp:73 bool VmUpToDate_[numPhases] Definition: Spe5ParameterCache.hpp:331 Scalar a(unsigned phaseIdx) const The Peng-Robinson attractive parameter for a phase. Definition: Spe5ParameterCache.hpp:108 Material properties of pure water . const OilPhaseParams & oilPhaseParams() const Returns the Peng-Robinson mixture parameters for the oil phase. Definition: Spe5ParameterCache.hpp:193 Spe5ParameterCache() Definition: Spe5ParameterCache.hpp:63 void updateMolarVolume_(const FluidState &fluidState, unsigned phaseIdx) Definition: Spe5ParameterCache.hpp:278 Scalar a() const Returns the attractive parameter 'a' of the Peng-Robinson fluid. Definition: PengRobinsonParams.hpp:49 void updateMix(const FluidState &fs) Calculates the "a" and "b" Peng-Robinson parameters for the mixture. Definition: PengRobinsonParamsMixture.hpp:133 The mixing rule for the oil and the gas phases of the SPE5 problem. The temperature has not been modified. Definition: ParameterCacheBase.hpp:47 OilPhaseParams oilPhaseParams_ Definition: Spe5ParameterCache.hpp:334 Scalar molarVolume(unsigned phaseIdx) const Returns the molar volume of a phase [m^3/mol]. Definition: Spe5ParameterCache.hpp:185 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:261 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:183 Scalar b(unsigned phaseIdx) const The Peng-Robinson covolume for a phase. Definition: Spe5ParameterCache.hpp:126 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:90 Implements the Peng-Robinson equation of state for liquids and gases. Definition: PengRobinson.hpp:54 The pressures have not been modified. Definition: ParameterCacheBase.hpp:50 Scalar b() const Returns the repulsive parameter 'b' of the Peng-Robinson fluid. Definition: PengRobinsonParams.hpp:56 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:167 Specifies the parameter cache used by the SPE-5 fluid system. Definition: Spe5ParameterCache.hpp:43 const GasPhaseParams & gasPhaseParams() const Returns the Peng-Robinson mixture parameters for the gas phase. Definition: Spe5ParameterCache.hpp:200 The base class of the parameter caches of fluid systems. Definition: ParameterCacheBase.hpp:36 |