Cantera  2.0
HFC134a.h
1 #ifndef TPX_HFC134_H
2 #define TPX_HFC134_H
3 
4 #include "cantera/tpx/Sub.h"
5 
6 namespace tpx
7 {
8 //! Equation of state for HFC-134a.
9 //!
10 //! Implements the equation of state given in:
11 //! R. Tillner-Roth and H.D. Baehr. "An International Standard Formulation for
12 //! The Thermodynamic Properties of 1,1,1,2-Tetrafluoroethane (HFC-134a) for
13 //! Temperatures From 170 K to 455 K and Pressures up to 70 MPa". J. Phys.
14 //! Chem. Ref. Data, Vol. 23, No. 5, 1994. pp. 657--729.
15 //! http://dx.doi.org/10.1063/1.555958
16 class HFC134a : public Substance
17 {
18 public:
19  HFC134a() {
20  m_name = "HFC-134a";
21  m_formula = "C2F4H2";
22  }
23  ~HFC134a() {}
24 
25  double MolWt();
26  double Tcrit();
27  double Pcrit();
28  double Vcrit();
29  double Tmin();
30  double Tmax();
31  char* name();
32  char* formula();
33 
34  double Pp();
35  double fp();
36  double up();
37  double sp() {
38  return ((up() - m_energy_offset) - fp())/T + m_entropy_offset;
39  }
40  double Psat();
41  // double dPsatdT();
42 private:
43  double ldens();
44 };
45 }
46 #endif // ! HFC134_H