6 #define _CRTDBG_MAP_ALLOC
7 #define _CRT_SECURE_NO_WARNINGS
24 static const double a0[]={0.0,13.09,85.26};
25 static const double b0 = 2197;
27 static const double n[]={0,
45 static const double d[]={0,
63 static const double t[]={0.00,
81 static const double c[]={0,
96 static const double eta[]={
97 0,0,0,0,0,0,0,0,0,0,0,
104 static const double GAMMA[]={
105 0,0,0,0,0,0,0,0,0,0,0,
114 static const double beta[]={
115 0,0,0,0,0,0,0,0,0,0,0,
123 static const double epsilon[]={
124 0,0,0,0,0,0,0,0,0,0,0,
131 std::vector<double> eta_v(eta,eta+
sizeof(eta)/
sizeof(
double));
132 std::vector<double> epsilon_v(epsilon,epsilon+
sizeof(epsilon)/
sizeof(
double));
133 std::vector<double> beta_v(beta,beta+
sizeof(beta)/
sizeof(
double));
134 std::vector<double> gamma_v(GAMMA,GAMMA+
sizeof(GAMMA)/
sizeof(
double));
153 params.ptriple = 0.573325755702;
154 params.accentricfactor = 0.352;
164 EOSReference.assign(
"Unpublished report: Monika Thol, Eric W. Lemmon, Roland Span, \"Equation of State for a Refrigerant Mixture of R365mfc (1,1,1,3,3-Pentafluorobutane) and Galden® HT 55 (Perfluoropolyether)\", ");
166 "Surface Tension: A. P. Fröba, H. Kremer, A. Leipertz, F. Flohr and C. Meurer, "
167 "\"Thermophysical Properties of a Refrigerant Mixture of R365mfc (1,1,1,3,3-Pentafluorobutane) "
168 "and Galden® HT 55 (Perfluoropolyether)\", International Journal of Thermophysics, Volume 28, "
169 "Number 2 (2007), 449-480, DOI: 10.1007/s10765-007-0178-y");
171 name.assign(
"SES36");
177 const double ti[]={0,1.0,1.5,2.5,4.5};
178 const double Ni[]={0,-7.9188,2.4297,-5.1434,11.301};
183 summer += Ni[i]*pow(1-T/
reduce.
T,ti[i]);
193 const double Ni[]={0,-0.3968,17.9889,-52.375,67.9231,-31.7301};
198 summer += Ni[i]*pow(1.0-T/
reduce.
T,((
double)i)/3.0);
200 return 538*(1+summer);
208 RHS = -0.155721*pow(theta,0.000000)-13.669499*pow(theta,2.452194)-6.186741*pow(theta,0.635276)-5.454902*pow(theta,2.573221)-3.512970*pow(theta,5.915373)-1.760205*pow(theta,7.207006)-0.547867*pow(theta,7.850921);
214 double sigma0 = 0.04193, sigma1 = 1.188, sigma2 = -1.462;
std::vector< phi_BC * > phirlist
struct FluidLimits limits
std::string name
A container to hold the cache for residual Helmholtz derivatives.
std::string TransportReference
A std::string that contains a reference for thermo properties for the fluid.
double surface_tension_T(double)
struct CriticalStruct reduce
A pointer to the point that is used to reduce the T and rho for EOS.
std::string EOSReference
The critical qd parameter for the Olchowy-Sengers cross-over term.
bool isPure
A std::string that contains a reference for the transport properties of the fluid.
struct CriticalStruct crit
BibTeXKeysStruct BibTeXKeys
std::vector< phi_BC * > phi0list
A vector of instances of the phi_BC classes for the residual Helmholtz energy contribution.