#include <LKP.hpp>
|
| LKPMix (const std::vector< double > &Tcrit, const std::vector< double > &pcrit, const std::vector< double > &acentric, double R, const std::vector< std::vector< double > > &kmat) |
|
template<class VecType > |
auto | R (const VecType &) const |
|
template<typename TTYPE , typename RhoType , typename ZcType > |
auto | alphar_func (const TTYPE &tau, const RhoType &delta, const ZcType &Zc, const LKPFluidParameters ¶ms) const |
| Calculate the contribution for one of the fluids, depending on the parameter set passed in.
|
|
template<typename TTYPE , typename RhoType , typename VecType > |
auto | alphar (const TTYPE &T, const RhoType &rhomolar, const VecType &mole_fractions) const |
|
Definition at line 19 of file LKP.hpp.
◆ LKPMix()
teqp::LKP::LKPMix::LKPMix |
( |
const std::vector< double > & | Tcrit, |
|
|
const std::vector< double > & | pcrit, |
|
|
const std::vector< double > & | acentric, |
|
|
double | R, |
|
|
const std::vector< std::vector< double > > & | kmat ) |
|
inline |
◆ alphar()
template<typename TTYPE , typename RhoType , typename VecType >
auto teqp::LKP::LKPMix::alphar |
( |
const TTYPE & | T, |
|
|
const RhoType & | rhomolar, |
|
|
const VecType & | mole_fractions ) const |
|
inline |
◆ alphar_func()
template<typename TTYPE , typename RhoType , typename ZcType >
auto teqp::LKP::LKPMix::alphar_func |
( |
const TTYPE & | tau, |
|
|
const RhoType & | delta, |
|
|
const ZcType & | Zc, |
|
|
const LKPFluidParameters & | params ) const |
|
inline |
Calculate the contribution for one of the fluids, depending on the parameter set passed in.
Definition at line 56 of file LKP.hpp.
◆ R()
template<class VecType >
auto teqp::LKP::LKPMix::R |
( |
const VecType & | | ) |
const |
|
inline |
◆ acentric
const std::vector<double> teqp::LKP::LKPMix::acentric |
◆ kmat
const std::vector<std::vector<double> > teqp::LKP::LKPMix::kmat |
◆ m_R
const double teqp::LKP::LKPMix::m_R |
molar gas constant to be used in this model, in J/mol/K
Definition at line 30 of file LKP.hpp.
◆ pcrit
const std::vector<double> teqp::LKP::LKPMix::pcrit |
◆ ref
Initial value:{{0, 0.2026579, 0.331511, 0.276550e-1, 0.203488},
{0, 0.313385e-1, 0.503618e-1, 0.169010e-1,0.41577e-1},
{0, 0.487360e-4, 0.740336e-5},
1.226, 0.03754, 0.3978}
Definition at line 25 of file LKP.hpp.
◆ simple
Initial value:{{0.0, 0.1181193, 0.265728, 0.154790, 0.303230e-1},
{0.0, 0.236744e-1, 0.186984e-1, 0, 0.427240e-1},
{0, 0.155428e-4, 0.623689e-4},
0.653920, 0.601670e-1, 0.0}
Definition at line 21 of file LKP.hpp.
◆ Tcrit
const std::vector<double> teqp::LKP::LKPMix::Tcrit |
The documentation for this class was generated from the following file: