Cantera  2.1.2
Oxygen.h
Go to the documentation of this file.
1 //! @file Oxygen.h
2 #ifndef TPX_OXYGEN_H
3 #define TPX_OXYGEN_H
4
5 #include "cantera/tpx/Sub.h"
6
7 namespace tpx
8 {
9 //! Pure species representation of oxygen. Values and functions are
10 //! from "Thermodynamic Properties in SI" by W.C. Reynolds
11 class oxygen : public Substance
12 {
13 public:
14  oxygen() {
15  m_name="oxygen";
16  m_formula="O2";
17  }
18
19  double MolWt();
20  double Tcrit();
21  double Pcrit();
22  double Vcrit();
23  double Tmin();
24  double Tmax();
25  char* name();
26  char* formula();
27
28  double Pp();
29  double up();
30  double sp();
31
32  //! Saturation pressure. Equation S4 from Reynolds TPSI.
33  double Psat();
34
35 private:
36  //! Liquid density. Equation D2 from Reynolds TPSI.
37  double ldens();
38
39  //! Equation P4 from Reynolds TPSI.
40  double C(int i, double rt, double rt2);
41  double Cprime(int i, double rt, double rt2, double rt3);
42  double I(int i, double egrho);
43  double H(int i, double egrho);
44  double W(int i, double egrho);
45 };
46
47 }
48 #endif // ! OXYGEN_H
double Tmin()
Minimum temperature for which the equation of state is valid.
Definition: Oxygen.cpp:237
double MolWt()
Molecular weight [kg/kmol].
Definition: Oxygen.cpp:253
double Tcrit()
Critical temperature [K].
Definition: Oxygen.cpp:225
double C(int i, double rt, double rt2)
Equation P4 from Reynolds TPSI.
Definition: Oxygen.cpp:53
double Vcrit()
Critical specific volume [m^3/kg].
Definition: Oxygen.cpp:233
double up()
Internal energy of a single-phase state.
Definition: Oxygen.cpp:141
char * name()
Name of the substance.
Definition: Oxygen.cpp:245
double ldens()
Liquid density. Equation D2 from Reynolds TPSI.
Definition: Oxygen.cpp:212
Pure species representation of oxygen.
Definition: Oxygen.h:11
double sp()
Entropy of a single-phase state.
Definition: Oxygen.cpp:159
double Tmax()
Maximum temperature for which the equation of state is valid.
Definition: Oxygen.cpp:241
double Psat()
Saturation pressure. Equation S4 from Reynolds TPSI.
Definition: Oxygen.cpp:193
double Pcrit()
Critical pressure [Pa].
Definition: Oxygen.cpp:229
char * formula()
Chemical formula for the substance.
Definition: Oxygen.cpp:249