Cantera  2.4.0
HFC134a.h
Go to the documentation of this file.
1 //! @file HFC134a.h
2 
3 // This file is part of Cantera. See License.txt in the top-level directory or
4 // at http://www.cantera.org/license.txt for license and copyright information.
5 
6 #ifndef TPX_HFC134_H
7 #define TPX_HFC134_H
8 
9 #include "cantera/tpx/Sub.h"
10 
11 namespace tpx
12 {
13 //! Equation of state for HFC-134a.
14 //!
15 //! Implements the equation of state given in:
16 //! R. Tillner-Roth and H.D. Baehr. "An International Standard Formulation for
17 //! The Thermodynamic Properties of 1,1,1,2-Tetrafluoroethane (HFC-134a) for
18 //! Temperatures From 170 K to 455 K and Pressures up to 70 MPa". J. Phys.
19 //! Chem. Ref. Data, Vol. 23, No. 5, 1994. pp. 657--729.
20 //! http://dx.doi.org/10.1063/1.555958
21 class HFC134a : public Substance
22 {
23 public:
24  HFC134a() {
25  m_name = "HFC-134a";
26  m_formula = "C2F4H2";
27  }
28 
29  double MolWt();
30  double Tcrit();
31  double Pcrit();
32  double Vcrit();
33  double Tmin();
34  double Tmax();
35 
36  double Pp();
37  double fp();
38  double up();
39  double sp() {
40  return ((up() - m_energy_offset) - fp())/T + m_entropy_offset;
41  }
42  double Psat();
43 private:
44  double ldens();
45 };
46 }
47 #endif // ! HFC134_H
double Vcrit()
Critical specific volume [m^3/kg].
Definition: HFC134a.cpp:189
double Tmin()
Minimum temperature for which the equation of state is valid.
Definition: HFC134a.cpp:193
double sp()
Entropy of a single-phase state.
Definition: HFC134a.h:39
Equation of state for HFC-134a.
Definition: HFC134a.h:21
double Tcrit()
Critical temperature [K].
Definition: HFC134a.cpp:181
double up()
Internal energy of a single-phase state.
Definition: HFC134a.cpp:94
double Pcrit()
Critical pressure [Pa].
Definition: HFC134a.cpp:185
double Tmax()
Maximum temperature for which the equation of state is valid.
Definition: HFC134a.cpp:197
double Psat()
Saturation pressure, Pa.
Definition: HFC134a.cpp:156
double MolWt()
Molecular weight [kg/kmol].
Definition: HFC134a.cpp:201