Cantera  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Water.h
Go to the documentation of this file.
1 //! @file Water.h
2 #ifndef TPX_WATER_H
3 #define TPX_WATER_H
4 
5 #include "cantera/tpx/Sub.h"
6 
7 namespace tpx
8 {
9 //! Pure species representation of water. Values and functions are from
10 //! "Thermodynamic Properties in SI" by W.C. Reynolds
11 class water : public Substance
12 {
13 public:
14  water() {
15  m_name = "water";
16  m_formula = "H2O";
17  }
18 
19  double MolWt();
20  double Tcrit();
21  double Pcrit();
22  double Vcrit();
23  double Tmin();
24  double Tmax();
25 
26  double Pp();
27  double up();
28  double sp();
29  double Psat();
30  double dPsatdT();
31 
32 private:
33  double ldens();
34  double C(int i);
35  double Cprime(int i);
36  double I(int i);
37  double H(int i);
38 };
39 
40 }
41 #endif // ! WATER_H
Pure species representation of water.
Definition: Water.h:11
double Tmax()
Maximum temperature for which the equation of state is valid.
Definition: Water.cpp:201
double sp()
Entropy of a single-phase state.
Definition: Water.cpp:132
double Vcrit()
Critical specific volume [m^3/kg].
Definition: Water.cpp:193
double up()
Internal energy of a single-phase state.
Definition: Water.cpp:118
double Pcrit()
Critical pressure [Pa].
Definition: Water.cpp:189
double Tcrit()
Critical temperature [K].
Definition: Water.cpp:185
double MolWt()
Molecular weight [kg/kmol].
Definition: Water.cpp:205
double Psat()
Saturation pressure, Pa.
Definition: Water.cpp:157
double Tmin()
Minimum temperature for which the equation of state is valid.
Definition: Water.cpp:197