6 #define _CRT_SECURE_NO_WARNINGS
17 double n[] = {0, 0.006267958, 10.53609, -10.14149, 0.356061, 0.1824472, -1.129638, -0.0549812, -0.6791329, 1.347918, -0.8657582, 1.719146, -1.917977, 0.1233365, -0.07936891, 1.686617, -4.240326, 1.857114, -0.5903705, 1.520171, 2.361373, -2.297315};
18 double t[] = {0, 1, 0.462, 0.5584, 0.627, 1.201, 0.309, 1.314, 1.1166, 1.25, 1.25, 1.395, 1.627, 1, 2.5, 0.635, 0.664, 0.7082, 2.25, 1.524, 0.67, 0.709};
19 double d[] = {0, 4, 1, 1, 2, 3, 1, 3, 2, 2, 2, 1, 1, 3, 2, 1, 1, 2, 3, 3, 1, 3};
20 double c[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0};
21 double alpha[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.868, 0.636, 0.668, 0.65, 0.745, 0.782, 0.693};
22 double epsilon[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.46, 1.7864, 1.647, 0.541, 0.969, 1.892, 1.076};
23 double beta[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.613, 0.584, 0.57, 1.056, 1.01, 1.025, 1.029};
24 double gamma[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.6306, 0.711, 0.6446, 0.8226, 0.992, 1.2184, 1.203};
27 double a0[] = {0, -3.54145, 3.0326, -3.52422, -1.73421, -3.57135, 2.14858, 6.23107, -3.30425, 6.23098, -3.57137, 3.32901, 0.97782};
28 double n0[] = {0, 7174.1/38.34, 8635/38.34, 902.7/38.34, 181.1/38.34, 438.5/38.34, 5034.2/38.34, 269.9/38.34, 229.9/38.34, 666.4/38.34, 452.8/38.34, 192/38.34, 1187.6/38.34};
48 params.accentricfactor = -0.136290274128;
57 name.assign(
"Deuterium");
69 const double ti[]={0,1.0,1.5,2.83,4.06,5.4};
70 const double Ni[]={0,-5.5706,1.7631,-0.5458,1.2154,-1.1556};
71 double summer=0,theta;
76 summer += Ni[i]*pow(theta,ti[i]);
82 const double ti[]={0,0.512,1.12,1.8,2.55,3.4,4.4};
83 const double Ni[]={0,3.3769,-5.3693,11.943,-17.361,15.170,-6.3079};
84 double summer=0,theta;
89 summer += Ni[i]*pow(theta,ti[i]);
95 const double ti[]={0,0.528,2.03,3.6,5,6.5,9};
96 const double Ni[]={0,-3.8111,-7.3624,2.2294,-21.443,12.796,-31.334};
97 double summer=0,theta;
102 summer += Ni[i]*pow(theta,ti[i]);
109 return 0.009376*pow(1-T/
reduce.
T,1.258);
114 double n[] = {0, 0.006267958, 10.53609, -10.14149, 0.356061, 0.1824472, -1.129638, -0.0549812, -0.6791329, 1.347918, -0.8657582, 1.719146, -1.917977, 0.1233365, -0.07936891, 1.686617, -4.240326, 1.857114, -0.5903705, 1.520171, 2.361373, -2.297315};
115 double t[] = {0, 1, 0.462, 0.5584, 0.627, 1.201, 0.309, 1.314, 1.1166, 1.25, 1.25, 1.395, 1.627, 1, 2.5, 0.635, 0.664, 0.7082, 2.25, 1.524, 0.67, 0.709};
116 double d[] = {0, 4, 1, 1, 2, 3, 1, 3, 2, 2, 2, 1, 1, 3, 2, 1, 1, 2, 3, 3, 1, 3};
117 double c[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0};
118 double alpha[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.868, 0.636, 0.668, 0.65, 0.745, 0.782, 0.693};
119 double epsilon[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.46, 1.7864, 1.647, 0.541, 0.969, 1.892, 1.076};
120 double beta[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.613, 0.584, 0.57, 1.056, 1.01, 1.025, 1.029};
121 double gamma[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.6306, 0.711, 0.6446, 0.8226, 0.992, 1.2184, 1.203};
124 double a0[] = {0, 4.04482, -4.65391, -4.65342, 3.46313, -4.58637, -4.6503, -4.65124, 2.67024, 15.20455, 0.87164, -4.7608, 4.32447};
125 double n0[] = {0, 1591/38.34, 481.6/38.34, 472.4/38.34, 362.2/38.34, 2038/38.34, 463.2/38.34, 491.3/38.34, 2713.4/38.34, 618.6/38.34, 8642/38.34, 961.7/38.34, 253.2/38.34};
145 params.accentricfactor = -0.136290274128;
154 name.assign(
"OrthoDeuterium");
155 aliases.push_back(
"orthodeuterium");
156 aliases.push_back(
"ORTHODEUTERIUM");
164 const double ti[]={0,1.0,1.5,2.83,4.06,5.4};
165 const double Ni[]={0,-5.5706,1.7631,-0.5458,1.2154,-1.1556};
166 double summer=0,theta;
171 summer += Ni[i]*pow(theta,ti[i]);
177 const double ti[]={0,0.512,1.12,1.8,2.55,3.4,4.4};
178 const double Ni[]={0,3.3769,-5.3693,11.943,-17.361,15.170,-6.3079};
179 double summer=0,theta;
184 summer += Ni[i]*pow(theta,ti[i]);
190 const double ti[]={0,0.528,2.03,3.6,5,6.5,9};
191 const double Ni[]={0,-3.8111,-7.3624,2.2294,-21.443,12.796,-31.334};
192 double summer=0,theta;
197 summer += Ni[i]*pow(theta,ti[i]);
204 double n[] = {0, 0.006267958, 10.53609, -10.14149, 0.356061, 0.1824472, -1.129638, -0.0549812, -0.6791329, 1.347918, -0.8657582, 1.719146, -1.917977, 0.1233365, -0.07936891, 1.686617, -4.240326, 1.857114, -0.5903705, 1.520171, 2.361373, -2.297315};
205 double t[] = {0, 1, 0.462, 0.5584, 0.627, 1.201, 0.309, 1.314, 1.1166, 1.25, 1.25, 1.395, 1.627, 1, 2.5, 0.635, 0.664, 0.7082, 2.25, 1.524, 0.67, 0.709};
206 double d[] = {0, 4, 1, 1, 2, 3, 1, 3, 2, 2, 2, 1, 1, 3, 2, 1, 1, 2, 3, 3, 1, 3};
207 double c[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0};
208 double alpha[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.868, 0.636, 0.668, 0.65, 0.745, 0.782, 0.693};
209 double epsilon[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.46, 1.7864, 1.647, 0.541, 0.969, 1.892, 1.076};
210 double beta[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.613, 0.584, 0.57, 1.056, 1.01, 1.025, 1.029};
211 double gamma[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.6306, 0.711, 0.6446, 0.8226, 0.992, 1.2184, 1.203};
214 double a0[] = {0, 1.28527, 1.11376, -2.491, 6.38763, 6.17406, -3.13698, -3.14254, -2.29511, -3.37, 1.13634, 0.72512};
215 double n0[] = {0, 5068/38.34, 1000.8/38.34, 261.5/38.34, 437.2/38.34, 312.3/38.34, 382.8/38.34, 356.8/38.34, 294.7/38.34, 682.4/38.34, 246/38.34, 277.1/38.34};
235 params.accentricfactor = -0.136290274128;
244 name.assign(
"ParaDeuterium");
245 aliases.push_back(
"paradeuterium");
246 aliases.push_back(
"PARADEUTERIUM");
254 const double ti[]={0,1.0,1.5,2.83,4.06,5.4};
255 const double Ni[]={0,-5.5706,1.7631,-0.5458,1.2154,-1.1556};
256 double summer=0,theta;
261 summer += Ni[i]*pow(theta,ti[i]);
267 const double ti[]={0,0.512,1.12,1.8,2.55,3.4,4.4};
268 const double Ni[]={0,3.3769,-5.3693,11.943,-17.361,15.170,-6.3079};
269 double summer=0,theta;
274 summer += Ni[i]*pow(theta,ti[i]);
280 const double ti[]={0,0.528,2.03,3.6,5,6.5,9};
281 const double Ni[]={0,-3.8111,-7.3624,2.2294,-21.443,12.796,-31.334};
282 double summer=0,theta;
287 summer += Ni[i]*pow(theta,ti[i]);
std::vector< phi_BC * > phirlist
struct FluidLimits limits
std::string name
A container to hold the cache for residual Helmholtz derivatives.
std::vector< std::string > aliases
The REFPROP-compliant name if REFPROP-"name" is not a compatible fluid name. If not included...
struct CriticalStruct reduce
A pointer to the point that is used to reduce the T and rho for EOS.
std::string REFPROPname
The name of the fluid.
std::string SURFACE_TENSION
struct CriticalStruct crit
BibTeXKeysStruct BibTeXKeys
double surface_tension_T(double)
std::vector< phi_BC * > phi0list
A vector of instances of the phi_BC classes for the residual Helmholtz energy contribution.