CoolProp  4.2.5
An open-source fluid property and humid air property database
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Alkanes.h
Go to the documentation of this file.
1 #ifndef ALKANES_H
2 #define ALKANES_H
3 
4 class MethaneClass : public Fluid {
5 
6 public:
7  MethaneClass();
9  double psat(double);
10  double rhosatL(double);
11  double rhosatV(double);
12  double viscosity_dilute(double T);
13  double viscosity_residual(double T, double rho);
14  double viscosity_Trho(double T, double rho);
15  double conductivity_dilute(double T);
16  double conductivity_residual(double T, double rho);
17  double conductivity_Trho(double T, double rho);
18  void ECSParams(double *e_k, double *sigma)
19  {
20  *e_k = 174;
21  *sigma = 0.36652;
22  }
23  double surface_tension_T(double T)
24  {
25  // From Mulero, 2012, JPCRD
26  return 0.03825*pow(1-T/reduce.T,1.191)+-0.006024*pow(1-T/reduce.T,5.422)-0.0007065*pow(1-T/reduce.T,0.6161);
27  }
28 };
29 
30 class EthaneClass : public Fluid {
31 
32 public:
33  EthaneClass();
35  double psat(double);
36  double rhosatL(double);
37  double rhosatV(double);
38  double viscosity_dilute(double T);
39  double viscosity_residual(double T, double rho);
40  double viscosity_Trho(double T, double rho);
41  double conductivity_dilute(double T);
42  double conductivity_residual(double T, double rho);
43  double conductivity_Trho(double T, double rho);
44  void ECSParams(double *e_k, double *sigma)
45  {
46  *e_k = 245.0;
47  *sigma = 0.43682;
48  }
49  double surface_tension_T(double T)
50  {
51  // From Mulero, 2012, JPCRD
52  return 0.07602*pow(1-T/reduce.T,1.32)+-0.02912*pow(1-T/reduce.T,1.676);
53  }
54 };
55 
56 class nButaneClass : public Fluid {
57 
58 public:
59  nButaneClass();
61  double psat(double);
62  double rhosatL(double);
63  double rhosatV(double);
64  void ECSParams(double *e_k, double *sigma){
65  // From Vogel HTHP 1999
66  *e_k = 280.51; *sigma = 0.57335;
67  };
68  double surface_tension_T(double T)
69  {
70  // From Mulero, 2012, JPCRD
71  return 0.05138*pow(1-T/reduce.T,1.209);
72  }
73  double viscosity_Trho(double, double);
74  double conductivity_Trho(double, double);
75 };
76 
77 class IsoButaneClass : public Fluid {
78 
79 public:
82  double psat(double);
83  double rhosatL(double);
84  double rhosatV(double);
85  void ECSParams(double *e_k, double *sigma);
86  double surface_tension_T(double T)
87  {
88  // From Mulero, 2012, JPCRD
89  return -0.01639*pow(1-T/reduce.T,2.102)+0.06121*pow(1-T/reduce.T,1.304);
90  }
91  double viscosity_Trho(double, double);
92  double conductivity_Trho(double, double);
93 };
94 
95 
96 #endif
double psat(double)
Definition: Alkanes.cpp:687
double conductivity_residual(double T, double rho)
Definition: Alkanes.cpp:574
double viscosity_dilute(double T)
Definition: Alkanes.cpp:120
double rhosatV(double)
Definition: Alkanes.cpp:842
double viscosity_Trho(double, double)
Definition: Alkanes.cpp:700
double conductivity_Trho(double T, double rho)
Definition: Alkanes.cpp:588
double viscosity_residual(double T, double rho)
Definition: Alkanes.cpp:135
double viscosity_dilute(double T)
Definition: Alkanes.cpp:526
double conductivity_Trho(double, double)
Definition: Alkanes.cpp:918
double conductivity_residual(double T, double rho)
Definition: Alkanes.cpp:167
double rhosatL(double)
Definition: Alkanes.cpp:660
double conductivity_dilute(double T)
Definition: Alkanes.cpp:564
void ECSParams(double *e_k, double *sigma)
Definition: Alkanes.cpp:871
double conductivity_Trho(double, double)
Definition: Alkanes.cpp:739
struct CriticalStruct reduce
A pointer to the point that is used to reduce the T and rho for EOS.
Definition: FluidClass.h:222
double rhosatL(double)
Definition: Alkanes.cpp:829
double psat(double)
Definition: Alkanes.cpp:107
~EthaneClass()
Definition: Alkanes.h:34
Fluid is the abstract base class that is employed by all the other fluids.
Definition: FluidClass.h:147
double psat(double)
Definition: Alkanes.cpp:510
~IsoButaneClass()
Definition: Alkanes.h:81
double viscosity_residual(double T, double rho)
Definition: Alkanes.cpp:542
double viscosity_Trho(double T, double rho)
Definition: Alkanes.cpp:153
double viscosity_Trho(double T, double rho)
Definition: Alkanes.cpp:560
void ECSParams(double *e_k, double *sigma)
Definition: Alkanes.h:44
~MethaneClass()
Definition: Alkanes.h:8
double surface_tension_T(double T)
Definition: Alkanes.h:49
double surface_tension_T(double T)
Definition: Alkanes.h:23
double psat(double)
Definition: Alkanes.cpp:856
double rhosatL(double)
Definition: Alkanes.cpp:80
MethaneClass()
Definition: Alkanes.cpp:8
double rhosatV(double)
Definition: Alkanes.cpp:496
double conductivity_Trho(double T, double rho)
Definition: Alkanes.cpp:191
double rhosatV(double)
Definition: Alkanes.cpp:673
double surface_tension_T(double T)
Definition: Alkanes.h:68
double rhosatV(double)
Definition: Alkanes.cpp:92
void ECSParams(double *e_k, double *sigma)
Definition: Alkanes.h:64
~nButaneClass()
Definition: Alkanes.h:60
double surface_tension_T(double T)
Definition: Alkanes.h:86
void ECSParams(double *e_k, double *sigma)
Definition: Alkanes.h:18
double viscosity_Trho(double, double)
Definition: Alkanes.cpp:877
double conductivity_dilute(double T)
Definition: Alkanes.cpp:157
double rhosatL(double)
Definition: Alkanes.cpp:483