My Project
|
Implements the Peng-Robinson equation of state for a mixture. More...
#include <PengRobinsonMixture.hpp>
Static Public Member Functions | |
template<class MutableParams , class FluidState > | |
static int | computeMolarVolumes (Scalar *Vm, const MutableParams ¶ms, unsigned phaseIdx, const FluidState &fs) |
Computes molar volumes where the Peng-Robinson EOS is true. More... | |
template<class FluidState , class Params , class LhsEval = typename FluidState::Scalar> | |
static LhsEval | computeFugacityCoefficient (const FluidState &fs, const Params ¶ms, unsigned phaseIdx, unsigned compIdx) |
Returns the fugacity coefficient of an individual component in the phase. More... | |
Implements the Peng-Robinson equation of state for a mixture.
|
inlinestatic |
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
|
inlinestatic |
Computes molar volumes where the Peng-Robinson EOS is true.