9 double n[] = {0.0, 7.041529, -8.259512, 0.008053040, -0.08617615, 0.006333410, -0.1863285, 0.3280510, 0.5191023, 0.06916144, -0.005045875, -0.01744221, -0.05003972, 0.04729813, -0.06164031, 0.01583585, -0.001795790, -0.001099007};
10 double t[] = {0, 0.744, 0.94, 4.3, 1.46, 0.68, 4.8, 1.5, 2.07, 0.09, 9.6, 0.19, 11.2, 0.27, 1.6, 10.3, 14.0, 15.0};
11 double d[] = {0, 1, 1, 1, 2, 5, 1, 2, 3, 5, 1, 2, 2, 4, 4, 4, 2, 2};
12 double c[] = {0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 4};
21 params.molemass = 70.01385;
23 params.accentricfactor = 0.262964892496154;
35 const double a1 = 2.999, a2 = -8.31386064, a3 = 6.55087253;
40 const double v0[] = {0, 2.371, 3.237, 2.610, 0.8274};
41 std::vector<double> u0_v(u0,u0+
sizeof(u0)/
sizeof(
double));
42 std::vector<double> v0_v(v0,v0+
sizeof(v0)/
sizeof(
double));
46 EOSReference.assign(
"Steven G. Penoncello,Eric W. Lemmon,Richard T Jacobsen,Zhengjun Shan, \"A Fundamental Equation for Trifluoromethane (R-23)\", J. Phys. Chem. Ref. Data, Vol. 32, No. 4, 2003");
61 const double ti[]={0,1.0,1.5,2.4,3.9};
62 const double Ni[]={0,-7.2631,1.3140,-0.78507,-3.1991};
63 double summer=0,theta;
68 summer=summer+Ni[i]*pow(theta,ti[i]);
74 const double ti[]={0,0.37,0.94,3.1};
75 const double Ni[]={0,2.2636,0.47007,0.28660};
82 summer+=Ni[i]*pow(theta,ti[i]);
89 const double ti[]={0,0.43,1.4,3.7,8.0};
90 const double Ni[]={0,-3.5136,-7.7491,-24.871,-65.637};
91 double summer=0,theta;
96 summer=summer+Ni[i]*pow(theta,ti[i]);
108 DELTAeta_max = 3.967,
114 double a[] = {0.4425728, -0.5138403, 0.1547566, -0.02821844, 0.001578286};
117 double Tstar = T/e_k;
118 double logTstar = log(Tstar);
119 double Omega = exp(a[0]+a[1]*logTstar+a[2]*pow(logTstar,2)+a[3]*pow(logTstar,3)+a[4]*pow(logTstar,4));
120 double eta_DG = 5.0/16.0*sqrt(
params.molemass*k*T/(1000*pi*N_A))*1e24/(sigma*sigma*Omega);
122 double rhobar = rho/
params.molemass;
123 double eta_L = C2*(rhoL*rhoL)/(rhoL-rhobar)*sqrt(T)*exp(rhobar/(rhoL-rhobar)*DeltaGstar/(Ru*T));
125 double chi = rhobar - rhocbar;
128 double DELTAeta_c = 4*DELTAeta_max/((exp(chi)+exp(-chi))*(exp(tau)+exp(-tau)));
130 return (pow((rhoL-rhobar)/rhoL,C1)*eta_DG+pow(rhobar/rhoL,C1)*eta_L+DELTAeta_c)/1e6;
139 DeltaGstar = 2508.58,
142 DELTAlambda_max = 25,
145 double lambda_DG = B1 + B2*T;
147 double rhobar = rho/
params.molemass;
148 double lambda_L = C2*(rhoL*rhoL)/(rhoL-rhobar)*sqrt(T)*exp(rhobar/(rhoL-rhobar)*DeltaGstar/(Ru*T));
150 double chi = rhobar - rhocbar;
153 double DELTAlambda_c = 4*DELTAlambda_max/((exp(chi)+exp(-chi))*(exp(tau)+exp(-tau)));
155 return (pow((rhoL-rhobar)/rhoL,C1)*lambda_DG+pow(rhobar/rhoL,C1)*lambda_L+DELTAlambda_c)/1e3;
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.
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.
void ECSParams(double *e_k, double *sigma)
std::string REFPROPname
The name of the fluid.
std::string ECS_LENNARD_JONES
std::string SURFACE_TENSION
double conductivity_Trho(double, double)
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.
double viscosity_Trho(double, double)