Cantera  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
26  double Pp();
27  double up();
28  double sp();
29 
30  //! Saturation pressure. Equation S4 from Reynolds TPSI.
31  double Psat();
32 
33 private:
34  //! Liquid density. Equation D2 from Reynolds TPSI.
35  double ldens();
36 
37  //! Equation P4 from Reynolds TPSI.
38  double C(int i, double rt, double rt2);
39  double Cprime(int i, double rt, double rt2, double rt3);
40  double I(int i, double egrho);
41  double H(int i, double egrho);
42  double W(int i, double egrho);
43 };
44 
45 }
46 #endif // ! OXYGEN_H
double Tmin()
Minimum temperature for which the equation of state is valid.
Definition: Oxygen.cpp:235
double MolWt()
Molecular weight [kg/kmol].
Definition: Oxygen.cpp:243
double Tcrit()
Critical temperature [K].
Definition: Oxygen.cpp:223
double C(int i, double rt, double rt2)
Equation P4 from Reynolds TPSI.
Definition: Oxygen.cpp:52
double Vcrit()
Critical specific volume [m^3/kg].
Definition: Oxygen.cpp:231
double up()
Internal energy of a single-phase state.
Definition: Oxygen.cpp:140
double ldens()
Liquid density. Equation D2 from Reynolds TPSI.
Definition: Oxygen.cpp:210
Pure species representation of oxygen.
Definition: Oxygen.h:11
double sp()
Entropy of a single-phase state.
Definition: Oxygen.cpp:158
double Tmax()
Maximum temperature for which the equation of state is valid.
Definition: Oxygen.cpp:239
double Psat()
Saturation pressure. Equation S4 from Reynolds TPSI.
Definition: Oxygen.cpp:191
double Pcrit()
Critical pressure [Pa].
Definition: Oxygen.cpp:227