#include <CPA.hpp>
|
| CPAAssociation (const std::vector< association_classes > &classes, const radial_dist dist, const std::valarray< double > &epsABi, const std::valarray< double > &betaABi, const std::valarray< double > &bi, double R_gas) |
|
nlohmann::json | get_assoc_calcs (double T, double rhomolar, const Eigen::ArrayXd &mole_fractions) const |
|
template<typename TType , typename RhoType , typename VecType > |
auto | alphar (const TType &T, const RhoType &rhomolar, const VecType &molefrac) const |
|
Implement the association approach of Huang & Radosz for pure fluids
Definition at line 181 of file CPA.hpp.
◆ CPAAssociation()
teqp::CPA::CPAAssociation::CPAAssociation |
( |
const std::vector< association_classes > & | classes, |
|
|
const radial_dist | dist, |
|
|
const std::valarray< double > & | epsABi, |
|
|
const std::valarray< double > & | betaABi, |
|
|
const std::valarray< double > & | bi, |
|
|
double | R_gas ) |
|
inline |
◆ alphar()
template<typename TType , typename RhoType , typename VecType >
auto teqp::CPA::CPAAssociation::alphar |
( |
const TType & | T, |
|
|
const RhoType & | rhomolar, |
|
|
const VecType & | molefrac ) const |
|
inline |
◆ get_assoc_calcs()
nlohmann::json teqp::CPA::CPAAssociation::get_assoc_calcs |
( |
double | T, |
|
|
double | rhomolar, |
|
|
const Eigen::ArrayXd & | mole_fractions ) const |
|
inline |
The documentation for this class was generated from the following file: