Cantera  2.0
CarbonDioxide.h
1 #ifndef TPX_CARBONDIOXIDE_H
2 #define TPX_CARBONDIOXIDE_H
3 
4 #include "cantera/tpx/Sub.h"
5 
6 
7 
8 /* FILE: CarbonDioxide.h
9  * DESCRIPTION:
10  * representation of substance Carbon Dioxide
11  * values and functions are from
12  * "Thermodynamic Properties in SI" bu W.C. Reynolds
13  * AUTHOR: me@rebeccahhunt.com: GCEP, Stanford University
14  *
15  */
16 namespace tpx
17 {
18 
19 class CarbonDioxide : public Substance
20 {
21 public:
22  CarbonDioxide() :
23  Substance() {
24  m_name="CarbonDioxide";
25  m_formula="CO2";
26  }
27  virtual ~CarbonDioxide() {}
28 
29  double MolWt();
30  double Tcrit();
31  double Pcrit();
32  double Vcrit();
33  double Tmin();
34  double Tmax();
35  char* name();
36  char* formula();
37 
38  double Pp();
39  double up();
40  double sp();
41  double Psat();
42 
43 private:
44  double ldens();
45  double C(int jm, double, double, double, double);
46  double Cprime(int i, double, double, double);
47  double I(int i, double, double);
48  double H(int i, double egrho);
49 };
50 
51 }
52 
53 #endif // ! TPX_CARBONDIOXIDE_H
54 
55