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
Ethylene.h
Go to the documentation of this file.
1 #ifndef ETHYLENE_H
2 #define ETHYLENE_H
3 
4 class EthyleneClass : public Fluid {
5 
6 public:
9  double psat(double);
10  double rhosatL(double);
11  double rhosatV(double);
12  void ECSParams(double *e_k, double *sigma)
13  {
14  // Poling
15  *e_k = 224.7;
16  *sigma = 0.4163;
17  }
18  double surface_tension_T(double T)
19  {
20  // from Mulero, 2012, JPCRD
21  return 0.0477*pow(1-T/reduce.T,1.17);
22  }
23 };
24 
25 
26 #endif
double psat(double)
Definition: Ethylene.cpp:73
double surface_tension_T(double T)
Definition: Ethylene.h:18
double rhosatL(double)
Definition: Ethylene.cpp:87
struct CriticalStruct reduce
A pointer to the point that is used to reduce the T and rho for EOS.
Definition: FluidClass.h:222
Fluid is the abstract base class that is employed by all the other fluids.
Definition: FluidClass.h:147
double rhosatV(double)
Definition: Ethylene.cpp:102
void ECSParams(double *e_k, double *sigma)
Definition: Ethylene.h:12
~EthyleneClass()
Definition: Ethylene.h:8