CoolProp
6.6.0
An open-source fluid property and humid air property database
|
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 160 of file VLERoutines.h.
#include <VLERoutines.h>
Public Member Functions | |
WilsonK_resid (const HelmholtzEOSMixtureBackend &HEOS, double beta, double imposed_value, sstype_enum input_type, const std::vector< CoolPropDbl > &z, std::vector< CoolPropDbl > &K) | |
double | call (double input_value) |
Public Member Functions inherited from CoolProp::FuncWrapper1D | |
FuncWrapper1D () | |
virtual | ~FuncWrapper1D () |
virtual bool | input_not_in_range (double x) |
Public Attributes | |
sstype_enum | input_type |
double | T |
double | p |
double | beta |
const std::vector< CoolPropDbl > & | z |
std::vector< CoolPropDbl > & | K |
const HelmholtzEOSMixtureBackend & | HEOS |
Public Attributes inherited from CoolProp::FuncWrapper1D | |
int | errcode |
std::string | errstring |
Dictionary | options |
int | iter |
|
inline |
Definition at line 169 of file VLERoutines.h.
|
inlinevirtual |
Implements CoolProp::FuncWrapper1D.
Definition at line 178 of file VLERoutines.h.
double CoolProp::SaturationSolvers::WilsonK_resid::beta |
Definition at line 164 of file VLERoutines.h.
const HelmholtzEOSMixtureBackend& CoolProp::SaturationSolvers::WilsonK_resid::HEOS |
Definition at line 167 of file VLERoutines.h.
sstype_enum CoolProp::SaturationSolvers::WilsonK_resid::input_type |
Definition at line 163 of file VLERoutines.h.
std::vector<CoolPropDbl>& CoolProp::SaturationSolvers::WilsonK_resid::K |
Definition at line 166 of file VLERoutines.h.
double CoolProp::SaturationSolvers::WilsonK_resid::p |
Definition at line 164 of file VLERoutines.h.
double CoolProp::SaturationSolvers::WilsonK_resid::T |
Definition at line 164 of file VLERoutines.h.
const std::vector<CoolPropDbl>& CoolProp::SaturationSolvers::WilsonK_resid::z |
Definition at line 165 of file VLERoutines.h.