Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, phaseIdx, useSpe5Relations > Class Template Reference The mixing rule for the oil and the gas phases of the SPE5 problem. More...
Inheritance diagram for Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, phaseIdx, useSpe5Relations >:
Detailed Descriptiontemplate<class Scalar, class FluidSystem, unsigned phaseIdx, bool useSpe5Relations = false>
|
|
inlineinherited |
Returns the attractive parameter 'a' of the Peng-Robinson fluid.
References Opm::PengRobinsonParams< Scalar >::a_.
Referenced by Opm::Spe5ParameterCache< Scalar, FluidSystem >::a(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::aPure(), Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, gasPhaseIdx, true >::checkDefined(), Opm::FluidSystems::Spe5< Scalar >::init(), Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, gasPhaseIdx, true >::updateMix(), and Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, gasPhaseIdx, true >::updatePure().
|
inlineinherited |
Returns the repulsive parameter 'b' of the Peng-Robinson fluid.
References Opm::PengRobinsonParams< Scalar >::b_.
Referenced by Opm::Spe5ParameterCache< Scalar, FluidSystem >::b(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::bPure(), Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, gasPhaseIdx, true >::checkDefined(), Opm::FluidSystems::Spe5< Scalar >::init(), Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, gasPhaseIdx, true >::updateMix(), and Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, gasPhaseIdx, true >::updatePure().
|
inline |
If run under valgrind, this method produces an warning if the parameters where not determined correctly.
Referenced by Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, gasPhaseIdx, true >::checkDefined().
|
inline |
Returns the Peng-Robinson parameters for a pure component.
|
inline |
Return the Peng-Robinson parameters of a pure substance,.
Referenced by Opm::Spe5ParameterCache< Scalar, FluidSystem >::aPure(), Opm::Spe5ParameterCache< Scalar, FluidSystem >::bPure(), and Opm::FluidSystems::Spe5< Scalar >::init().
|
inlineinherited |
Set the attractive parameter 'a' of the Peng-Robinson fluid.
References Opm::PengRobinsonParams< Scalar >::a_.
Referenced by Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, gasPhaseIdx, true >::updateMix(), and Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, gasPhaseIdx, true >::updatePure().
|
inlineinherited |
Set the repulsive parameter 'b' of the Peng-Robinson fluid.
References Opm::PengRobinsonParams< Scalar >::b_.
Referenced by Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, gasPhaseIdx, true >::updateMix(), and Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, gasPhaseIdx, true >::updatePure().
|
inline |
Calculates the "a" and "b" Peng-Robinson parameters for the mixture.
The updatePure() method needs to be called before calling this method!
Referenced by Opm::Spe5ParameterCache< Scalar, FluidSystem >::updateMix_(), and Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, gasPhaseIdx, true >::updateSingleMoleFraction().
|
inline |
Update Peng-Robinson parameters for the pure components.
Referenced by Opm::FluidSystems::Spe5< Scalar >::init(), Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, gasPhaseIdx, true >::updatePure(), and Opm::Spe5ParameterCache< Scalar, FluidSystem >::updatePure_().
|
inline |
Peng-Robinson parameters for the pure components.
This method is given by the SPE5 paper.
|
inline |
Calculates the "a" and "b" Peng-Robinson parameters for the mixture provided that only a single mole fraction was changed.
The updatePure() method needs to be called before calling this method!
Referenced by Opm::Spe5ParameterCache< Scalar, FluidSystem >::updateSingleMoleFraction().
|
protectedinherited |
|
protectedinherited |
|
protected |
Referenced by Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, gasPhaseIdx, true >::checkDefined(), Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, gasPhaseIdx, true >::operator[](), Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, gasPhaseIdx, true >::pureParams(), Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, gasPhaseIdx, true >::updateMix(), and Opm::PengRobinsonParamsMixture< Scalar, FluidSystem, gasPhaseIdx, true >::updatePure().