Opm::PengRobinsonMixture< Scalar, StaticParameters > Class Template Reference Implements the Peng-Robinson equation of state for a mixture. More...
Detailed Descriptiontemplate<class Scalar, class StaticParameters> class Opm::PengRobinsonMixture< Scalar, StaticParameters > Implements the Peng-Robinson equation of state for a mixture. Member Function Documentation◆ computeFugacityCoefficient()
template<class Scalar , class StaticParameters >
template<class FluidState , class Params , class LhsEval = typename FluidState::Scalar>
Returns the fugacity coefficient of an individual component in the phase. The fugacity coefficient of a component is defined as
where is the component's fugacity and is the component's mole fraction. See: R. Reid, et al.: The Properties of Gases and Liquids, 4th edition, McGraw-Hill, 1987, pp. 42-44, 143-145 References Opm::exp(), Opm::log(), Opm::max(), Opm::min(), and Opm::sqrt(). Referenced by Opm::PTFlash< Scalar, FluidSystem >::checkStability_(), Opm::Co2BrineFluidSystem< Scalar >::fugacityCoefficient(), Opm::Spe5FluidSystem< Scalar >::fugacityCoefficient(), and Opm::ThreeComponentFluidSystem< Scalar >::fugacityCoefficient(). ◆ computeMolarVolumes()
template<class Scalar , class StaticParameters >
template<class MutableParams , class FluidState >
Computes molar volumes where the Peng-Robinson EOS is true.
The documentation for this class was generated from the following file: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||