Cantera  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
32  double Pp();
33  double fp();
34  double up();
35  double sp() {
36  return ((up() - m_energy_offset) - fp())/T + m_entropy_offset;
37  }
38  double Psat();
39  // double dPsatdT();
40 private:
41  double ldens();
42 };
43 }
44 #endif // ! HFC134_H
double Vcrit()
Critical specific volume [m^3/kg].
Definition: HFC134a.cpp:188
double Tmin()
Minimum temperature for which the equation of state is valid.
Definition: HFC134a.cpp:192
double sp()
Entropy of a single-phase state.
Definition: HFC134a.h:35
Equation of state for HFC-134a.
Definition: HFC134a.h:17
double Tcrit()
Critical temperature [K].
Definition: HFC134a.cpp:180
double up()
Internal energy of a single-phase state.
Definition: HFC134a.cpp:91
double Pcrit()
Critical pressure [Pa].
Definition: HFC134a.cpp:184
double Tmax()
Maximum temperature for which the equation of state is valid.
Definition: HFC134a.cpp:196
double Psat()
Saturation pressure, Pa.
Definition: HFC134a.cpp:155
double MolWt()
Molecular weight [kg/kmol].
Definition: HFC134a.cpp:200