12 #define _CRTDBG_MAP_ALLOC
13 #define _CRT_SECURE_NO_WARNINGS
27 static const double a[]={
36 static const double b[]={
45 static const double N[]={
72 static const double t[]={
98 static const int d[]={
124 static const int l[]={
150 static const double Nbp[]={
158 static const double tbp[]={
166 static const double Ndp[]={
174 static const double tdp[]={
186 std::vector<double> n_v(N,N+
sizeof(N)/
sizeof(
double));
187 std::vector<double> d_v(d,d+
sizeof(d)/
sizeof(
int));
188 std::vector<double> t_v(t,t+
sizeof(t)/
sizeof(
double));
189 std::vector<double> l_v(l,l+
sizeof(l)/
sizeof(
int));
190 std::vector<double> a0(a,a+
sizeof(a)/
sizeof(
double));
191 std::vector<double> n0(b,b+
sizeof(b)/
sizeof(
double));
211 phi0list.push_back(phi0_Planck_Einstein_);
220 params.molemass = 98.8592;
222 params.ptriple = 23.2234432758;
223 params.accentricfactor = 0.286;
233 EOSReference.assign(
"E.W. Lemmon, \"Pseudo-pure fluid Equations of State for the Refrigerant Blends R410A, R404A, R507C and R407C\""
234 ",Int. J. Thermophys. v. 24, n4, 2003");
235 TransportReference.assign(
"Viscosity: V. Geller, \"Viscosity of Mixed Refrigerants R404A,R407C,"
236 "R410A, and R507A\", 2000 Purdue Refrigeration conferences\n\n"
237 "Thermal Conductivity: V.Z. Geller, B.Z. Nemzer, and U.V. Cheremnykh \"Thermal Conductivity "
238 "of the Refrigerant mixtures R404A,R407C,R410A, and R507A\" "
239 "Int. J. Thermophysics, v. 22, n 4 2001");
241 name.assign(
"R507A");
258 sum+=Nbp[k]*pow(theta,tbp[k]);
272 sum+=Ndp[k]*pow(theta,tdp[k]);
281 return exp(+2.685721675+2.703462155742e+00*pow(theta,-0.031591)-12.9219949523*theta+48.3326995201*theta*theta-301.352305753*
powInt(theta,3)+953.161091912*
powInt(theta,4)-1667.82041758*
powInt(theta,5)+1132.7963359*
powInt(theta,6));
289 return exp(6.059998874+1.305406634077e+00*pow(theta,0.21588)+0.585710808997*theta-2.09578513606*theta*theta+4.667514451*
powInt(theta,3)-3.93369379654*
powInt(theta,4));
302 double eta_microPa_s;
305 double a_0=-2.530e0,a_1=5.626e-2,a_2=-2.323e-5,b_1=5.308e-4,b_2=2.234e-4,
306 b_3=-6.742e-7,b_4=1.411e-9,b_5=-1.388e-12,b_6=5.274e-16;
308 eta_microPa_s=a_0+a_1*T+a_2*T*T+b_1*rho+b_2*rho*rho+b_3*rho*rho*rho+b_4*rho*rho*rho*rho+b_5*rho*rho*rho*rho*rho+b_6*rho*rho*rho*rho*rho*rho;
309 return eta_microPa_s/1e6;
323 double a_0=-8.656e0,a_1=7.383e-2,b_1=2.799e-2,b_2=3.065e-5,b_3=-3.644e-8,b_4=2.609e-11;
325 return (a_0+a_1*T+b_1*rho+b_2*rho*rho+b_3*rho*rho*rho+b_4*rho*rho*rho*rho)/1.e3;
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.
virtual double viscosity_Trho(double, double)
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.
virtual double conductivity_Trho(double, double)
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.
This is the abstract base class upon which each residual Helmholtz energy class is built...