Public Types |
Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
Opm::Spe5ParameterCache< Scalar, FluidSystem > Class Template Reference Specifies the parameter cache used by the SPE-5 fluid system. More...
Inheritance diagram for Opm::Spe5ParameterCache< Scalar, FluidSystem >:
Detailed Descriptiontemplate<class Scalar, class FluidSystem> class Opm::Spe5ParameterCache< Scalar, FluidSystem > Specifies the parameter cache used by the SPE-5 fluid system. Member Typedef Documentation◆ GasPhaseParams
template<class Scalar , class FluidSystem >
The cached parameters for the gas phase. ◆ OilPhaseParams
template<class Scalar , class FluidSystem >
The cached parameters for the oil phase. Member Enumeration Documentation◆ ExceptQuantities
Constants for ORing the quantities of the fluid state that have not changed since the last update. Constructor & Destructor Documentation◆ Spe5ParameterCache()
template<class Scalar , class FluidSystem >
Member Function Documentation◆ a()
template<class Scalar , class FluidSystem >
The Peng-Robinson attractive parameter for a phase.
References Opm::PengRobinsonParams< Scalar >::a(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::gasPhaseParams_, and Opm::Spe5ParameterCache< Scalar, FluidSystem >::oilPhaseParams_. ◆ aCache()
template<class Scalar , class FluidSystem >
TODO.
References Opm::Spe5ParameterCache< Scalar, FluidSystem >::gasPhaseParams_, Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, phaseIdx, useSpe5Relations >::getaCache(), and Opm::Spe5ParameterCache< Scalar, FluidSystem >::oilPhaseParams_. ◆ aPure()
template<class Scalar , class FluidSystem >
The Peng-Robinson attractive parameter for a pure component given the same temperature and pressure of the phase.
References Opm::PengRobinsonParams< Scalar >::a(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::gasPhaseParams_, Opm::Spe5ParameterCache< Scalar, FluidSystem >::oilPhaseParams_, and Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, phaseIdx, useSpe5Relations >::pureParams(). ◆ assignPersistentData()
Copy the data which is not dependent on the type of the Scalars from another parameter cache. ◆ b()
template<class Scalar , class FluidSystem >
The Peng-Robinson covolume for a phase.
References Opm::PengRobinsonParams< Scalar >::b(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::gasPhaseParams_, and Opm::Spe5ParameterCache< Scalar, FluidSystem >::oilPhaseParams_. ◆ bPure()
template<class Scalar , class FluidSystem >
The Peng-Robinson covolume for a pure component given the same temperature and pressure of the phase.
References Opm::PengRobinsonParams< Scalar >::b(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::gasPhaseParams_, Opm::Spe5ParameterCache< Scalar, FluidSystem >::oilPhaseParams_, and Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, phaseIdx, useSpe5Relations >::pureParams(). ◆ gasPhaseParams()
template<class Scalar , class FluidSystem >
Returns the Peng-Robinson mixture parameters for the gas phase. References Opm::Spe5ParameterCache< Scalar, FluidSystem >::gasPhaseParams_. ◆ molarVolume()
template<class Scalar , class FluidSystem >
Returns the molar volume of a phase [m^3/mol].
References Opm::Spe5ParameterCache< Scalar, FluidSystem >::Vm_, and Opm::Spe5ParameterCache< Scalar, FluidSystem >::VmUpToDate_. Referenced by Opm::Spe5FluidSystem< Scalar >::density(). ◆ oilPhaseParams()
template<class Scalar , class FluidSystem >
Returns the Peng-Robinson mixture parameters for the oil phase. References Opm::Spe5ParameterCache< Scalar, FluidSystem >::oilPhaseParams_. ◆ updateAll()
Update the quantities of the parameter cache for all phases.
◆ updateAllPressures()
Update pressure dependent quantities of the parameter cache for all phases. This method should be called if only the phase pressures changed since the last call to an update() method.
◆ updateAllTemperatures()
Update temperature dependent quantities of the parameter cache for all phases. This method should be called if only the phase temperatures changed since the last call to an update() method.
◆ updateComposition()
Update all cached parameters of a specific fluid phase which depend on composition. Only use this method if neither the pressure nor the temperature of the phase changed between two update*() calls. If more changed, call updatePhase()!
◆ updateEosParams()
template<class Scalar , class FluidSystem >
template<class FluidState >
Update all parameters required by the equation of state to calculate some quantities for the phase.
References Opm::ParameterCacheBase< Implementation >::Composition, Opm::ParameterCacheBase< Implementation >::Pressure, Opm::ParameterCacheBase< Implementation >::Temperature, Opm::Spe5ParameterCache< Scalar, FluidSystem >::updateMix_(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::updatePure_(), and Opm::Spe5ParameterCache< Scalar, FluidSystem >::VmUpToDate_. Referenced by Opm::Spe5ParameterCache< Scalar, FluidSystem >::updatePhase(). ◆ updateMix_()
template<class Scalar , class FluidSystem >
template<class FluidState >
Update all parameters of a phase which depend on the fluid composition. It is assumed that updatePure() has been called before this method. Here, the mixing rule kicks in. References Opm::Valgrind::CheckDefined(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::gasPhaseParams_, Opm::Spe5ParameterCache< Scalar, FluidSystem >::oilPhaseParams_, and Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, phaseIdx, useSpe5Relations >::updateMix(). Referenced by Opm::Spe5ParameterCache< Scalar, FluidSystem >::updateEosParams(). ◆ updateMolarVolume_()
template<class Scalar , class FluidSystem >
template<class FluidState >
References Opm::PengRobinson< Scalar >::computeMolarVolume(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::Vm_, and Opm::Spe5ParameterCache< Scalar, FluidSystem >::VmUpToDate_. Referenced by Opm::Spe5ParameterCache< Scalar, FluidSystem >::updatePhase(), and Opm::Spe5ParameterCache< Scalar, FluidSystem >::updateSingleMoleFraction(). ◆ updatePhase()
template<class Scalar , class FluidSystem >
template<class FluidState >
Update all cached parameters of a specific fluid phase.
References Opm::Spe5ParameterCache< Scalar, FluidSystem >::updateEosParams(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::updateMolarVolume_(), and Opm::Spe5ParameterCache< Scalar, FluidSystem >::VmUpToDate_. ◆ updatePressure()
Update all cached parameters of a specific fluid phase which depend on pressure. Only use this method if only the pressure of a phase changed between two update*() calls. If more changed, call updatePhase()!
◆ updatePure_()
template<class Scalar , class FluidSystem >
template<class FluidState >
Update all parameters of a phase which only depend on temperature and/or pressure. This usually means the parameters for the pure components. References Opm::Spe5ParameterCache< Scalar, FluidSystem >::gasPhaseParams_, Opm::Spe5ParameterCache< Scalar, FluidSystem >::oilPhaseParams_, and Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, phaseIdx, useSpe5Relations >::updatePure(). Referenced by Opm::Spe5ParameterCache< Scalar, FluidSystem >::updateEosParams(). ◆ updateSingleMoleFraction()
template<class Scalar , class FluidSystem >
template<class FluidState >
Update all cached parameters of a specific fluid phase which depend on the mole fraction of a single component. Only use this method if just a single component's concentration changed between two update*() calls. If more than one concentration changed, call updatePhaseComposition() of updatePhase()!
References Opm::Spe5ParameterCache< Scalar, FluidSystem >::gasPhaseParams_, Opm::Spe5ParameterCache< Scalar, FluidSystem >::oilPhaseParams_, Opm::Spe5ParameterCache< Scalar, FluidSystem >::updateMolarVolume_(), and Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, phaseIdx, useSpe5Relations >::updateSingleMoleFraction(). ◆ updateTemperature()
Update all cached parameters of a specific fluid phase which depend on temperature. Only use this method if only the temperature of a phase changed between two update*() calls. If more changed, call updatePhase()!
Member Data Documentation◆ gasPhaseParams_
template<class Scalar , class FluidSystem >
Referenced by Opm::Spe5ParameterCache< Scalar, FluidSystem >::a(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::aCache(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::aPure(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::b(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::bPure(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::gasPhaseParams(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::updateMix_(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::updatePure_(), and Opm::Spe5ParameterCache< Scalar, FluidSystem >::updateSingleMoleFraction(). ◆ oilPhaseParams_
template<class Scalar , class FluidSystem >
Referenced by Opm::Spe5ParameterCache< Scalar, FluidSystem >::a(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::aCache(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::aPure(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::b(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::bPure(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::oilPhaseParams(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::updateMix_(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::updatePure_(), and Opm::Spe5ParameterCache< Scalar, FluidSystem >::updateSingleMoleFraction(). ◆ Vm_
template<class Scalar , class FluidSystem >
◆ VmUpToDate_
template<class Scalar , class FluidSystem >
Referenced by Opm::Spe5ParameterCache< Scalar, FluidSystem >::molarVolume(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::Spe5ParameterCache(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::updateEosParams(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::updateMolarVolume_(), and Opm::Spe5ParameterCache< Scalar, FluidSystem >::updatePhase(). The documentation for this class was generated from the following file: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||