CoolProp  6.6.0
An open-source fluid property and humid air property database
HumidAirProp.h
Go to the documentation of this file.
1 
2 
3 #ifndef HUMAIR_H
4 #define HUMAIR_H
5 
6 #include "CoolPropTools.h"
7 
8 namespace HumidAir {
9 /* \brief Standard I/O function using base SI units exclusively
10  *
11  */
12 double HAPropsSI(const std::string& OutputName, const std::string& Input1Name, double Input1, const std::string& Input2Name, double Input2,
13  const std::string& Input3Name, double Input3);
14 
15 /* \brief Standard I/O function using mixed kSI units
16  *
17  * \warning DEPRECATED!! Use \ref HAPropsSI
18  */
19 double HAProps(const std::string& OutputName, const std::string& Input1Name, double Input1, const std::string& Input2Name, double Input2,
20  const std::string& Input3Name, double Input3);
21 
22 // -----------------------
23 // Extra I/O function
24 // -----------------------
25 double HAProps_Aux(const char* OutputName, double T, double p, double W, char* units);
26 
27 // Properties for Ice Ih at temperatures below 273.16 K
28 double IceProps(const char* Name, double T, double p);
29 
30 //Turn on the use of virial correlations for air and water
31 void UseVirialCorrelations(int flag);
32 void UseIsothermCompressCorrelation(int flag);
33 void UseIdealGasEnthalpyCorrelations(int flag);
34 
35 // --------------
36 // Help functions
37 // --------------
38 void HAHelp(void);
39 int returnHumAirCode(const char* Code);
40 
41 // ----------------------
42 // Other simple functions
43 // ----------------------
44 double cair_sat(double T);
45 
46 } /* namespace HumidAir */
47 #endif