CoolProp
6.6.0
An open-source fluid property and humid air property database
|
Classes | |
class | WetBulbSolver |
class | WetBulbTminSolver |
class | HAProps_W_Residual |
class | HAProps_T_Residual |
Enumerations | |
enum | givens { GIVEN_INVALID = 0 , GIVEN_TDP , GIVEN_PSIW , GIVEN_HUMRAT , GIVEN_VDA , GIVEN_VHA , GIVEN_TWB , GIVEN_RH , GIVEN_ENTHALPY , GIVEN_ENTHALPY_HA , GIVEN_ENTROPY , GIVEN_ENTROPY_HA , GIVEN_T , GIVEN_P , GIVEN_VISC , GIVEN_COND , GIVEN_CP , GIVEN_CPHA , GIVEN_COMPRESSIBILITY_FACTOR , GIVEN_PARTIAL_PRESSURE_WATER , GIVEN_CV , GIVEN_CVHA , GIVEN_INTERNAL_ENERGY , GIVEN_INTERNAL_ENERGY_HA , GIVEN_SPEED_OF_SOUND , GIVEN_ISENTROPIC_EXPONENT } |
Functions | |
void | _HAPropsSI_inputs (double p, const std::vector< givens > &input_keys, const std::vector< double > &input_vals, double &T, double &psi_w) |
Calculate T (dry bulb temp) and psi_w (water mole fraction) given the pair of inputs. More... | |
double | _HAPropsSI_outputs (givens OuputType, double p, double T, double psi_w) |
double | MoleFractionWater (double, double, int, double) |
void | check_fluid_instantiation () |
double | f_factor (double T, double p) |
void | UseVirialCorrelations (int flag) |
void | UseIsothermCompressCorrelation (int flag) |
void | UseIdealGasEnthalpyCorrelations (int flag) |
double | HumidityRatio (double psi_w) |
double | isothermal_compressibility (double T, double p) |
void | HAHelp (void) |
int | returnHumAirCode (const char *Code) |
double | Viscosity (double T, double p, double psi_w) |
double | Conductivity (double T, double p, double psi_w) |
double | MolarVolume (double T, double p, double psi_w) |
double | Pressure (double T, double v_bar, double psi_w) |
double | IdealGasMolarEnthalpy_Water (double T, double p) |
double | IdealGasMolarEntropy_Water (double T, double p) |
double | IdealGasMolarEnthalpy_Air (double T, double p) |
double | IdealGasMolarEntropy_Air (double T, double vmolar_a) |
double | MolarEnthalpy (double T, double p, double psi_w, double vmolar) |
double | MolarInternalEnergy (double T, double p, double psi_w, double vmolar) |
double | MassEnthalpy_per_kgha (double T, double p, double psi_w) |
double | MassEnthalpy_per_kgda (double T, double p, double psi_w) |
double | MassInternalEnergy_per_kgha (double T, double p, double psi_w) |
double | MassInternalEnergy_per_kgda (double T, double p, double psi_w) |
double | MolarEntropy (double T, double p, double psi_w, double v_bar) |
double | MassEntropy_per_kgha (double T, double p, double psi_w) |
double | MassEntropy_per_kgda (double T, double p, double psi_w) |
double | DewpointTemperature (double T, double p, double psi_w) |
double | WetbulbTemperature (double T, double p, double psi_w) |
int | TypeMatch (int TypeCode, const std::string &Input1Name, const std::string &Input2Name, const std::string &Input3Name) |
double | RelativeHumidity (double T, double p, double psi_w) |
void | convert_to_SI (const std::string &Name, double &val) |
void | convert_from_SI (const std::string &Name, double &val) |
double | HAProps (const std::string &OutputName, const std::string &Input1Name, double Input1, const std::string &Input2Name, double Input2, const std::string &Input3Name, double Input3) |
long | get_input_key (const std::vector< givens > &input_keys, givens key) |
bool | match_input_key (const std::vector< givens > &input_keys, givens key) |
double | HAPropsSI (const std::string &OutputName, const std::string &Input1Name, double Input1, const std::string &Input2Name, double Input2, const std::string &Input3Name, double Input3) |
double | HAProps_Aux (const char *Name, double T, double p, double W, char *units) |
double | cair_sat (double T) |
double | IceProps (const char *Name, double T, double p) |
enum HumidAir::givens |
Definition at line 49 of file HumidAirProp.cpp.
void HumidAir::_HAPropsSI_inputs | ( | double | p, |
const std::vector< givens > & | input_keys, | ||
const std::vector< double > & | input_vals, | ||
double & | T, | ||
double & | psi_w | ||
) |
Calculate T (dry bulb temp) and psi_w (water mole fraction) given the pair of inputs.
Definition at line 1603 of file HumidAirProp.cpp.
double HumidAir::_HAPropsSI_outputs | ( | givens | OuputType, |
double | p, | ||
double | T, | ||
double | psi_w | ||
) |
Definition at line 1769 of file HumidAirProp.cpp.
double HumidAir::cair_sat | ( | double | T | ) |
Definition at line 2174 of file HumidAirProp.cpp.
void HumidAir::check_fluid_instantiation | ( | ) |
Definition at line 89 of file HumidAirProp.cpp.
double HumidAir::Conductivity | ( | double | T, |
double | p, | ||
double | psi_w | ||
) |
Definition at line 800 of file HumidAirProp.cpp.
void HumidAir::convert_from_SI | ( | const std::string & | Name, |
double & | val | ||
) |
Definition at line 1486 of file HumidAirProp.cpp.
void HumidAir::convert_to_SI | ( | const std::string & | Name, |
double & | val | ||
) |
Definition at line 1452 of file HumidAirProp.cpp.
double HumidAir::DewpointTemperature | ( | double | T, |
double | p, | ||
double | psi_w | ||
) |
Definition at line 1128 of file HumidAirProp.cpp.
double HumidAir::f_factor | ( | double | T, |
double | p | ||
) |
Definition at line 657 of file HumidAirProp.cpp.
Definition at line 1532 of file HumidAirProp.cpp.
void HumidAir::HAHelp | ( | void | ) |
Definition at line 760 of file HumidAirProp.cpp.
double HumidAir::HAProps | ( | const std::string & | OutputName, |
const std::string & | Input1Name, | ||
double | Input1, | ||
const std::string & | Input2Name, | ||
double | Input2, | ||
const std::string & | Input3Name, | ||
double | Input3 | ||
) |
Definition at line 1520 of file HumidAirProp.cpp.
double HumidAir::HAProps_Aux | ( | const char * | Name, |
double | T, | ||
double | p, | ||
double | W, | ||
char * | units | ||
) |
Definition at line 2024 of file HumidAirProp.cpp.
double HumidAir::HAPropsSI | ( | const std::string & | OutputName, |
const std::string & | Input1Name, | ||
double | Input1, | ||
const std::string & | Input2Name, | ||
double | Input2, | ||
const std::string & | Input3Name, | ||
double | Input3 | ||
) |
Definition at line 1891 of file HumidAirProp.cpp.
double HumidAir::HumidityRatio | ( | double | psi_w | ) |
Definition at line 623 of file HumidAirProp.cpp.
double HumidAir::IceProps | ( | const char * | Name, |
double | T, | ||
double | p | ||
) |
Definition at line 2183 of file HumidAirProp.cpp.
double HumidAir::IdealGasMolarEnthalpy_Air | ( | double | T, |
double | p | ||
) |
Definition at line 928 of file HumidAirProp.cpp.
double HumidAir::IdealGasMolarEnthalpy_Water | ( | double | T, |
double | p | ||
) |
Definition at line 885 of file HumidAirProp.cpp.
double HumidAir::IdealGasMolarEntropy_Air | ( | double | T, |
double | vmolar_a | ||
) |
Definition at line 950 of file HumidAirProp.cpp.
double HumidAir::IdealGasMolarEntropy_Water | ( | double | T, |
double | p | ||
) |
Definition at line 904 of file HumidAirProp.cpp.
double HumidAir::isothermal_compressibility | ( | double | T, |
double | p | ||
) |
Definition at line 639 of file HumidAirProp.cpp.
double HumidAir::MassEnthalpy_per_kgda | ( | double | T, |
double | p, | ||
double | psi_w | ||
) |
Definition at line 1024 of file HumidAirProp.cpp.
double HumidAir::MassEnthalpy_per_kgha | ( | double | T, |
double | p, | ||
double | psi_w | ||
) |
Definition at line 1018 of file HumidAirProp.cpp.
double HumidAir::MassEntropy_per_kgda | ( | double | T, |
double | p, | ||
double | psi_w | ||
) |
Definition at line 1120 of file HumidAirProp.cpp.
double HumidAir::MassEntropy_per_kgha | ( | double | T, |
double | p, | ||
double | psi_w | ||
) |
Definition at line 1114 of file HumidAirProp.cpp.
double HumidAir::MassInternalEnergy_per_kgda | ( | double | T, |
double | p, | ||
double | psi_w | ||
) |
Definition at line 1037 of file HumidAirProp.cpp.
double HumidAir::MassInternalEnergy_per_kgha | ( | double | T, |
double | p, | ||
double | psi_w | ||
) |
Definition at line 1031 of file HumidAirProp.cpp.
Definition at line 1545 of file HumidAirProp.cpp.
double HumidAir::MolarEnthalpy | ( | double | T, |
double | p, | ||
double | psi_w, | ||
double | vmolar | ||
) |
T | Temperature, in K |
p | Pressure (not used) |
psi_w | Water mole fraction (mol_w/mol_ha) |
vmolar | Mixture molar volume in m^3/mol_ha |
Definition at line 986 of file HumidAirProp.cpp.
double HumidAir::MolarEntropy | ( | double | T, |
double | p, | ||
double | psi_w, | ||
double | v_bar | ||
) |
T | Temperature, in K |
p | Pressure (not used) |
psi_w | Water mole fraction (mol_w/mol_ha) |
v_bar | Mixture molar volume in m^3/mol_ha |
Definition at line 1052 of file HumidAirProp.cpp.
double HumidAir::MolarInternalEnergy | ( | double | T, |
double | p, | ||
double | psi_w, | ||
double | vmolar | ||
) |
Definition at line 1015 of file HumidAirProp.cpp.
double HumidAir::MolarVolume | ( | double | T, |
double | p, | ||
double | psi_w | ||
) |
T | Temperature in K |
p | Pressure in Pa |
psi_w | Water mole fraction in mol_w/mol_ha |
Definition at line 830 of file HumidAirProp.cpp.
double HumidAir::MoleFractionWater | ( | double | T, |
double | p, | ||
int | HumInput, | ||
double | InVal | ||
) |
Definition at line 1388 of file HumidAirProp.cpp.
double HumidAir::Pressure | ( | double | T, |
double | v_bar, | ||
double | psi_w | ||
) |
Definition at line 879 of file HumidAirProp.cpp.
double HumidAir::RelativeHumidity | ( | double | T, |
double | p, | ||
double | psi_w | ||
) |
Definition at line 1433 of file HumidAirProp.cpp.
int HumidAir::returnHumAirCode | ( | const char * | Code | ) |
Definition at line 763 of file HumidAirProp.cpp.
int HumidAir::TypeMatch | ( | int | TypeCode, |
const std::string & | Input1Name, | ||
const std::string & | Input2Name, | ||
const std::string & | Input3Name | ||
) |
Definition at line 1379 of file HumidAirProp.cpp.
void HumidAir::UseIdealGasEnthalpyCorrelations | ( | int | flag | ) |
Definition at line 224 of file HumidAirProp.cpp.
void HumidAir::UseIsothermCompressCorrelation | ( | int | flag | ) |
Definition at line 217 of file HumidAirProp.cpp.
void HumidAir::UseVirialCorrelations | ( | int | flag | ) |
Definition at line 210 of file HumidAirProp.cpp.
double HumidAir::Viscosity | ( | double | T, |
double | p, | ||
double | psi_w | ||
) |
Definition at line 779 of file HumidAirProp.cpp.
double HumidAir::WetbulbTemperature | ( | double | T, |
double | p, | ||
double | psi_w | ||
) |
Definition at line 1278 of file HumidAirProp.cpp.