My Project
Loading...
Searching...
No Matches
Opm::PengRobinsonMixture< Scalar, StaticParameters > Class Template Reference

Implements the Peng-Robinson equation of state for a mixture. More...

#include <PengRobinsonMixture.hpp>

Static Public Member Functions

template<class FluidState , class Params , class LhsEval = typename FluidState::Scalar>
static LhsEval computeFugacityCoefficient (const FluidState &fs, const Params &params, unsigned phaseIdx, unsigned compIdx)
 Returns the fugacity coefficient of an individual component in the phase.
 

Detailed Description

template<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>
static LhsEval Opm::PengRobinsonMixture< Scalar, StaticParameters >::computeFugacityCoefficient ( const FluidState &  fs,
const Params &  params,
unsigned  phaseIdx,
unsigned  compIdx 
)
inlinestatic

Returns the fugacity coefficient of an individual component in the phase.

The fugacity coefficient $\phi_i$ of a component $i$ is defined as

\[
f_i = \phi_i x_i \;,
\]

where $f_i$ is the component's fugacity and $x_i$ 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


The documentation for this class was generated from the following file: