CoolProp
4.2.5
An open-source fluid property and humid air property database
|
Public Member Functions | |
WilsonK_resid (Mixture *Mix, double beta, double p, std::vector< double > const &z) | |
double | call (double T) |
Public Member Functions inherited from FuncWrapper1D | |
FuncWrapper1D () | |
virtual | ~FuncWrapper1D () |
virtual double | deriv (double) |
Public Attributes | |
double | p |
double | beta |
const std::vector< double > * | z |
std::vector< double > | K |
Mixture * | Mix |
A wrapper function around the residual to find the initial guess for the bubble point temperature
\[ r = \sum_i \frac{z_i(K_i-1)}{1-beta+beta*K_i} \]
Definition at line 1308 of file Mixtures.cpp.
|
inline |
Definition at line 1316 of file Mixtures.cpp.
|
inlinevirtual |
Implements FuncWrapper1D.
Definition at line 1320 of file Mixtures.cpp.
double WilsonK_resid::beta |
Definition at line 1311 of file Mixtures.cpp.
std::vector<double> WilsonK_resid::K |
Definition at line 1313 of file Mixtures.cpp.
Mixture* WilsonK_resid::Mix |
Definition at line 1314 of file Mixtures.cpp.
double WilsonK_resid::p |
Definition at line 1311 of file Mixtures.cpp.
const std::vector<double>* WilsonK_resid::z |
Definition at line 1312 of file Mixtures.cpp.