10 double n[] = {0.0, 0.029814139, 1.43517, -2.64964, -0.29515532, 0.17035607, -0.94642918, -0.099250514, 1.1264071, -0.76936548, -0.020717696, 0.24527037, 1.1863438, -0.49398368, -0.16388716, -0.027583584};
11 double t[] = {0, 1, 0.4366, 1.011, 1.137, 0.45, 2.83, 1.5, 1.235, 2.675, 0.7272, 1.816, 1.783, 3.779, 3.282, 1.059};
12 double d[] = {0, 4, 1, 1, 2, 3, 1, 3, 2, 2, 7, 1, 1, 1, 3, 3};
13 double c[] = {0, 0, 0, 0, 0, 0, 2, 2, 1, 2, 1, 1, 0, 0, 0, 0};
14 double eta[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.965336, 1.50858, 0.963855, 9.72643};
15 double beta[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.28719, 0.806235, 0.777942, 197.681};
16 double gamma[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.27772, 0.43075, 0.429607, 1.13849};
17 double epsilon[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.672698, 0.924246, 0.750815, 0.800022};
26 params.molemass = 46.06844;
28 params.accentricfactor = 0.196;
41 const double a1 = -1.980976, a2 = 3.171218, c0 = 4.039;
46 const double v0[] = {0, 2.641, 2.123, 8.992, 6.191};
47 std::vector<double> u0_v(u0,u0+
sizeof(u0)/
sizeof(
double));
48 std::vector<double> v0_v(v0,v0+
sizeof(v0)/
sizeof(
double));
52 EOSReference.assign(
"Jiangtao Wu, Yong Zhou, Eric W. Lemmon, \"An Equation of State for the Thermodynamic Properties of Dimethyl Ether\", J. Phys. Chem. Ref. Data, Vol. 40, No. 2, 2011");
53 TransportReference.assign(
"Viscosity: Xianyang Meng, Jianbo Zhang, Jiangtao Wu, and Zhigang Liu, \" Experimental Measurement and Modeling of the Viscosity of Dimethyl Ether\" J. Chem. Eng.Data 2012, 57, 988-993\n\nErratum: Limits for deltaeta_r sums should be 0-3 and 4-9. The correct order of terms based on the original indices are 0,1,7,9,2,3,4,5,6,8\n\n"
54 "Using ECS in fully predictive mode for viscosity\n\n"
55 "Lennard-Jones parameters from Chichester NISTIR 6650");
56 name.assign(
"DimethylEther");
57 aliases.push_back(std::string(
"DIMETHYLETHER"));
68 const double ti[]={0,1.0,1.5,2.5,5};
69 const double Ni[]={0, -7.112782, 1.971239, -2.276083, -2.215774};
70 double summer=0,theta;
75 summer=summer+Ni[i]*pow(theta,ti[i]);
81 const double ti[]={0,0.54,0.74,0.95,11.43};
82 const double Ni[]={0, 7.884834, -10.516328, 5.39142, 0.404890};
89 summer+=Ni[i]*pow(theta,ti[i]);
96 const double ti[]={0,1.467/3.0,4.2/3.0,8.0/3.0,17.0/3.0,36.0/3.0};
97 const double Ni[]={0, -4.136444, -4.302025, -12.032140, -39.527936, -89.476860};
98 double summer=0,theta;
103 summer=summer+Ni[i]*pow(theta,ti[i]);
124 *e_k = 395; *sigma =0.4307;
130 double sigma = 0.446704;
134 double Tstar = T/317.937;
135 double log_Tstar = log(Tstar);
136 double log_theta_star = 0.294261-0.377826*log_Tstar-0.491673*log_Tstar*log_Tstar;
137 double eta_0 = 0.021375*sqrt(M*T)/(sigma*sigma*exp(log_theta_star));
139 double n[] = {-2.70002,4.44583,0.21302,6.50681,-104.998,78.27474,41.3751,-175.055,62.81975,112.3219};
140 double t[] = {-5.92,-4.36,-5.87,-0.45,-2.93,-1.64,-7.86,-4.25,-4.79,-3.11};
141 double d[] = {3,3,5,1,3,4,5,2,2,2};
142 double p[] = {0,0,0,0,1,1,2,1,1,2};
144 double eta_r = n[0]*pow(tau,t[0])*pow(delta,d[0])+n[1]*pow(tau,t[1])*pow(delta,d[1])+n[2]*pow(tau,t[2])*pow(delta,d[2])+n[3]*pow(tau,t[3])*pow(delta,d[3]);
145 for (
unsigned int i = 4; i<=9; i++)
147 eta_r += n[i]*pow(tau,t[i])*pow(delta,d[i])*exp(-pow(delta,p[i]));
149 return (eta_r+eta_0)/1e6;
154 return 0.063157*pow(1-T/
reduce.
T,1.2595);
Fluid * get_fluid(long iFluid)
void ECSParams(double *e_k, double *sigma)
std::vector< phi_BC * > phirlist
long get_Fluid_index(std::string FluidName)
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 viscosity_Trho(double T, double rho)
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 EOSReference
The critical qd parameter for the Olchowy-Sengers cross-over term.
std::string REFPROPname
The name of the fluid.
std::string ECS_LENNARD_JONES
std::string SURFACE_TENSION
struct CriticalStruct crit
BibTeXKeysStruct BibTeXKeys
double surface_tension_T(double T)
std::vector< phi_BC * > phi0list
A vector of instances of the phi_BC classes for the residual Helmholtz energy contribution.
double conductivity_ECS_Trho(double T, double rho, Fluid *ReferenceFluid)
double conductivity_Trho(double T, double rho)