Cantera  2.1.2
HFC134a.h
Go to the documentation of this file.
1 //! @file HFC134a.h
2 #ifndef TPX_HFC134_H
3 #define TPX_HFC134_H
4 
5 #include "cantera/tpx/Sub.h"
6 
7 namespace tpx
8 {
9 //! Equation of state for HFC-134a.
10 //!
11 //! Implements the equation of state given in:
12 //! R. Tillner-Roth and H.D. Baehr. "An International Standard Formulation for
13 //! The Thermodynamic Properties of 1,1,1,2-Tetrafluoroethane (HFC-134a) for
14 //! Temperatures From 170 K to 455 K and Pressures up to 70 MPa". J. Phys.
15 //! Chem. Ref. Data, Vol. 23, No. 5, 1994. pp. 657--729.
16 //! http://dx.doi.org/10.1063/1.555958
17 class HFC134a : public Substance
18 {
19 public:
20  HFC134a() {
21  m_name = "HFC-134a";
22  m_formula = "C2F4H2";
23  }
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
double Vcrit()
Critical specific volume [m^3/kg].
Definition: HFC134a.cpp:201
double Tmin()
Minimum temperature for which the equation of state is valid.
Definition: HFC134a.cpp:205
char * name()
Name of the substance.
Definition: HFC134a.cpp:213
char * formula()
Chemical formula for the substance.
Definition: HFC134a.cpp:217
double sp()
Entropy of a single-phase state.
Definition: HFC134a.h:37
Equation of state for HFC-134a.
Definition: HFC134a.h:17
double Tcrit()
Critical temperature [K].
Definition: HFC134a.cpp:193
double up()
Internal energy of a single-phase state.
Definition: HFC134a.cpp:91
double Pcrit()
Critical pressure [Pa].
Definition: HFC134a.cpp:197
double Tmax()
Maximum temperature for which the equation of state is valid.
Definition: HFC134a.cpp:209
double Psat()
Saturation pressure, Pa.
Definition: HFC134a.cpp:155
double MolWt()
Molecular weight [kg/kmol].
Definition: HFC134a.cpp:221