|
My Project
|
The type of the fluid system's parameter cache. More...
#include <Spe5FluidSystem.hpp>
Additional Inherited Members | |
Public Types inherited from Opm::Spe5ParameterCache< Evaluation, ThisType > | |
| typedef PengRobinsonParamsMixture< Evaluation, ThisType, oilPhaseIdx, true > | OilPhaseParams |
| The cached parameters for the oil phase. | |
| typedef PengRobinsonParamsMixture< Evaluation, ThisType, gasPhaseIdx, true > | GasPhaseParams |
| The cached parameters for the gas phase. | |
Public Types inherited from Opm::ParameterCacheBase< Implementation > | |
| enum | ExceptQuantities { None = 0 , Temperature = 1 , Pressure = 2 , Composition = 4 } |
| Constants for ORing the quantities of the fluid state that have not changed since the last update. More... | |
Public Member Functions inherited from Opm::Spe5ParameterCache< Evaluation, ThisType > | |
| void | updatePhase (const FluidState &fluidState, unsigned phaseIdx, int exceptQuantities=ParentType::None) |
| void | updateSingleMoleFraction (const FluidState &fluidState, unsigned phaseIdx, unsigned compIdx) |
| Evaluation | a (unsigned phaseIdx) const |
| The Peng-Robinson attractive parameter for a phase. More... | |
| Evaluation | b (unsigned phaseIdx) const |
| The Peng-Robinson covolume for a phase. More... | |
| Evaluation | aPure (unsigned phaseIdx, unsigned compIdx) const |
| The Peng-Robinson attractive parameter for a pure component given the same temperature and pressure of the phase. More... | |
| Evaluation | bPure (unsigned phaseIdx, unsigned compIdx) const |
| The Peng-Robinson covolume for a pure component given the same temperature and pressure of the phase. More... | |
| Evaluation | molarVolume (unsigned phaseIdx) const |
| Returns the molar volume of a phase [m^3/mol]. More... | |
| const OilPhaseParams & | oilPhaseParams () const |
| Returns the Peng-Robinson mixture parameters for the oil phase. | |
| const GasPhaseParams & | gasPhaseParams () const |
| Returns the Peng-Robinson mixture parameters for the gas phase. | |
| 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. More... | |
Public Member Functions inherited from Opm::ParameterCacheBase< Implementation > | |
| template<class OtherCache > | |
| void | assignPersistentData (const OtherCache &) |
| Copy the data which is not dependent on the type of the Scalars from another parameter cache. | |
| template<class FluidState > | |
| void | updateAll (const FluidState &fluidState, int=None) |
| Update the quantities of the parameter cache for all phases. More... | |
| template<class FluidState > | |
| void | updateAllPressures (const FluidState &fluidState) |
| Update pressure dependent quantities of the parameter cache for all phases. More... | |
| template<class FluidState > | |
| void | updateAllTemperatures (const FluidState &fluidState) |
| Update temperature dependent quantities of the parameter cache for all phases. More... | |
| template<class FluidState > | |
| void | updatePhase (const FluidState &, unsigned, int=None) |
| Update all cached parameters of a specific fluid phase. More... | |
| template<class FluidState > | |
| void | updateTemperature (const FluidState &fluidState, unsigned phaseIdx) |
| Update all cached parameters of a specific fluid phase which depend on temperature. More... | |
| template<class FluidState > | |
| void | updatePressure (const FluidState &fluidState, unsigned phaseIdx) |
| Update all cached parameters of a specific fluid phase which depend on pressure. More... | |
| template<class FluidState > | |
| void | updateComposition (const FluidState &fluidState, unsigned phaseIdx) |
| Update all cached parameters of a specific fluid phase which depend on composition. More... | |
| template<class FluidState > | |
| void | updateSingleMoleFraction (const FluidState &fluidState, unsigned phaseIdx, unsigned) |
| Update all cached parameters of a specific fluid phase which depend on the mole fraction of a single component. More... | |
Protected Member Functions inherited from Opm::Spe5ParameterCache< Evaluation, ThisType > | |
| void | updatePure_ (const FluidState &fluidState, unsigned phaseIdx) |
| Update all parameters of a phase which only depend on temperature and/or pressure. More... | |
| void | updateMix_ (const FluidState &fluidState, unsigned phaseIdx) |
| Update all parameters of a phase which depend on the fluid composition. More... | |
| void | updateMolarVolume_ (const FluidState &fluidState, unsigned phaseIdx) |
Protected Attributes inherited from Opm::Spe5ParameterCache< Evaluation, ThisType > | |
| bool | VmUpToDate_ [numPhases] |
| Evaluation | Vm_ [numPhases] |
| OilPhaseParams | oilPhaseParams_ |
| GasPhaseParams | gasPhaseParams_ |
The type of the fluid system's parameter cache.
The parameter cache can be used to avoid re-calculating expensive parameters for multiple quantities. Be aware that what the parameter cache actually does is specific for each fluid system and that it is opaque outside the fluid system.