Estimation of Nanofluids Viscosity Using AI
Estimation of Nanofluids Viscosity Using AI
Algorithm Method
ABSTRACT
An accurate and efficient artificial neural network based on a genetic algorithm (GA) is developed for predicting
nanofluid viscosity. The genetic algorithm (GA) is used to optimize the neural network parameters. The experimental
viscosity in eight nanofluids in the range 238.15–343.15 K with the nanoparticle volume fraction up to 9.4% was used.
The obtained results show that the GA-NN model has a good agreement with the experimental data with absolute
deviation 2.48% and high correlation coefficient (R C 0.98). The Results also reveals that GA-NN model outperforms
to the conventional neural nets in predicting the viscosity of nanofluids with the overall percentage improvement of
39%. Furthermore, the results have also been compared with Einstein, Batchelor and Masoumi et al. models. The
findings demonstrate that this model is an efficient method and have better accuracy.
Keywords: Viscosity, Nanofluids, Genetic Algorithm, Neural Network, Artificial Intelligence.
3. Selection operation
GA to search for optimal or approximate optimal completed by applying a BP algorithm on the GA
connection weights and thresholds for the network, established initial connection weights and thresholds.
then uses the back-propagation learning rule and If the BP network’s total mean squared error is larger
training algorithm to adjust the final weights and than the expected error, the weights and thresholds
thresholds. The operations are as follows: The BPNN will be updated; otherwise, they are saved as initial
weights Wij and thresholds bi are initialized as genes value of BP network training. After that, they are
of chromosome, and then the global optimum is further adjusted under BP learning rule to the best
searched through selection, crossover and mutation results, by which the viscosity can be accurately
operators of genetic algorithm. This procedure is
predicted. The overall GA-NN training algorithm is GA-NN algorithm was performed using initial
represented in Fig. 2. population and based on results, population size,
selection probability, crossover probability and
mutation probability are determined. The values were
Training And Testing Database
found to be 40, 0.8, 0.90 and 0.001, respectively. All
optimal calculated weights and thresholds of net are
Experimental data presented in literature for viscosity presented in Table 2.
in eight nanofluids Al 2O3 in water, Al2O3 in propylene Based on testing data, the optimized neural
glycol (PG), CuO in water, CuO in 40% water and network model was used to predict the nanofluid
60% ethylene glycol, TiO2 in water TiO2 in ethylene viscosity; the comparison between predictive values
glycol (EG), SiO2 in water and SiO2 in ethanol and experimental values is curried out and shown in
(EtOH), were used in this study. Dataset was Fig. 3. The results of Fig. 3 show good agreement
characterized by five input variables and an output between the predicted and the experimental values of
variable as follows: temperature, volume fraction, viscosity with relatively low mean absolute error,
nanoparticle size, base fluid viscosity and density ratio MARE = 0.0248 and high correlation coefficients, R
of base fluid to nanoparticle are input variables and = 0.999.
nanofluid viscosity is the output variable. The ranges The computational results were compared to
of input–output variables for each nanofluid are given obtain ones by a conventional back-propagation neural
in Table 1. network (BPNN). For this propose, the respective
deviation for each model is presented in Fig. 4. Based
RESULT AND DISCUSSION on deviation criteria we utilized the advantage term
(Huang & Moraga 2004) of GA-NN relative to BPNN
as follow.
The GA-NN is trained and tested based on the
database. Randomly 70% (267 data points) of the data
set were used for training and the rest 30% (114 data
points) was used for testing. Because of deference in
dimension and magnitude of original experimental where MARE is mean absolute relative error as
data, the training and testing data should be follow:
normalized before fed to GA-NN. A problem in BPNN
is the possibility of over-training. This problem can be
overcome by proper selection of the number of
neurons in hidden layer for generalization and avoid
over-training. The numbers of hidden neurons were As it can seen form Fig. 4 the analysis of results
determined by trial and error. At first, analysis was showed that the MARE corresponding to GA-NN and
started with 2 neurons in the hidden layer and conventional BPNN for all nanofluids, are 0.0248 and
gradually the number neurons increased. The 0.0409 respectively. Based on Eq. 3, Ad = 39%, it
performance of network in training phase must means GANN model can improve the accuracy by
increase with increasing the number of neuron, while 39%, that show suitability and robustness of the
the performance of network in testing data phase lead proposed model. Among of nanofluids, for instance
to optimum value at an optimal number of hidden the performance of trained GANN for Al2O3–H2O,
neurons. In this way, the trained network is CuO–H2O and TiO2–EG are presented in Figs. 5 and
generalized and has best prediction on testing data. 6. Among of nanofluids that have been studied the
Thus use of more or less than the optimal number of nanofluids CuO–H2O, and TiO2–EG, have the
hidden neurons was discouraged. For this study, the minimum advantage (Ad = 9.8%) and maximum
mean square error (MSE) was chosen as a measure of advantage (Ad = 57%) respectively.
the performance of the nets. The network model with Finally, it can be that concluded the proposed
one hidden layer and nine neurons in hidden layer with model has more accurate prediction ability for all
MSE = 0.0074 lead to the best prediction. nanofluids, while due to a few available experimental
data slightly less accuracy can be seen in the case of between other models prediction and experimental
Al2O3–PG with MARE = 4.1%. data especially in Fig. 7b, c and d. For example in Fig.
GA-NN was compared to other analytical and 7b, c and d the mean absolute relative error for
empirical models and results shown in Fig. 7. This Batchelor and Einstein models are 50% up to 75%.
figure compares the temperature variation of the Also in Fig. 7c for Masoumi et al. model the mean
predicted results of Al 2 O3– H2O, CuO–H2O and TiO2– absolute relative error is 23%.
EG nanofluids with the experimental results and with The Einstein and Batchelor models are a simple
other models (Batchelor 1977; Masoumi et al. 2009). correlation for fluid with a low concentration of
As is shown the GA-NN model could well predict the spherical nanoparticles. Furthermore in these models
effect of the temperature variations on the nanofluid the effect of nanoparticle size is not considered in
viscosity. The trends of this model in outside of effective viscosity. Therefore as shown in Fig. 7b, c
experimental data are determined using unseen data and d, the accuracy of those models reduce seriously
and shown in Fig. 7. There are a great deal of deviation in large volume fraction of nanoparticle in suspension.
In Masoumi et al. 2009 the model parameters are relatively low MARE (2.48%) in prediction, the high
adjusted for limited nanoparticle size (i.e. nanofluid correlation coefficient between predicted and
Al2O3– H2O; with nanoparticles 28 and 13 nm), experimental value is a powerful tool for accurate
consequently this model not usable for wide range of determination of viscosity of nanofluids. GA-NN
type and size of nanoparticles. model results were compared with conventional back
propagation neural network (BPNN), for this purpose
CONCLUSION an advantage factor (Eq. 3) base on GA-NN model was
defined. According to this equation, Ad = 39%, it
means GA-NN model can reduce the error by 39%.
In this study we successfully employed the hybrid This is another proof that the proposed GA-NN can
neural network and genetic algorithm for the build a useful and robust model. Compared with the
prediction of the effective viscosity of nanofluids. The other theoretical and empirical models that are
model could calculate the effective viscosity as a available in literature, the presented model in general
function of the temperature, the mean particle size, the has higher accuracy and precision.
nanoparticle volume fraction and the base fluid
viscosity. The GA-NN due to advantages including
REFERENCES
Adio, S. A., Mehrabi, M., Sharifpur, M. & Meyer, J. P. 2016. Experimental investigation and
model development for effective viscosity of MgO–ethylene glycol nanofluids by using
dimensional analysis, FCM-ANFIS and GA-PNN techniques. International Communications
in Heat and Mass Transfer 72: 71–83. doi:10.1016/j.icheatmasstransfer.2016.01.005
Anoop, K. B., Sundararajan, T. & Das, S. K. 2009. Effect of particle size on the convective heat
transfer in nanofluid in the developing region. International Journal of Heat and Mass
Transfer 52(9–10): 2189–2195. doi:10.1016/j.ijheatmasstransfer.2007.11.063
Batchelor, G. K. 1977. The effect of Brownian motion on the bulk stress in a suspension of
spherical particles. Journal of Fluid Mechanics 83(1): 97–117.
doi:10.1017/S0022112077001062
Chandrasekar, M., Suresh, S. & Chandra Bose, A. 2010. Experimental investigations and
theoretical determination of thermal conductivity and viscosity of Al2O3/water nanofluid.
Experimental Thermal and Fluid Science 34(2): 210–216.
doi:10.1016/j.expthermflusci.2009.10.022
Chen, H., Ding, Y., He, Y. & Tan, C. 2007. Rheological behaviour of ethylene glycol based titania
nanofluids. Chemical Physics Letters 444(4–6): 333–337. doi:10.1016/j.cplett.2007.07.046
Chen, H., Ding, Y. & Tan, C. 2007. Rheological behaviour of nanofluids. New Journal of Physics
9(10): 367–367. doi:10.1088/1367-2630/9/10/367
Choi, S. U. S. & Eastman, J. A. 1995. Enhancing thermal conductivity of fluids with nanoparticles.
International mechanical engineering congress and exhibition. United States.
He, Y., Jin, Y., Chen, H., Ding, Y., Cang, D. & Lu, H. 2007. Heat transfer and flow behaviour of
aqueous suspensions of TiO2 nanoparticles (nanofluids) flowing upward through a vertical
pipe. International Journal of Heat and Mass Transfer 50(11–12): 2272–2281.
doi:10.1016/j.ijheatmasstransfer.2006.10.024
Hemmat Esfe, M., Saedodin, S., Sina, N., Afrand, M. & Rostami, S. 2015. Designing an artificial
neural network to predict thermal conductivity and dynamic viscosity of ferromagnetic
nanofluid. International Communications in Heat and Mass Transfer 68: 50–57.
doi:10.1016/j.icheatmasstransfer.2015.06.013
Hornik, K., Stinchcombe, M. & White, H. 1989. Multilayer feedforward networks are universal
approximators. Neural Networks 2(5): 359–366. doi:10.1016/0893-6080(89)90020-8
Huang, C. & Moraga, C. 2004. A diffusion-neural-network for learning from small samples.
International Journal of Approximate Reasoning 35(2): 137–161.
doi:10.1016/j.ijar.2003.06.001
Jain, L. & Fanelli, A. M. (Eds.). 2000. Recent Advances in Artificial Neural Networks: Design
and Applications. USA: CRC Press, Inc.
Kamiński, M. & Ossowski, R. L. 2014. Prediction of the effective parameters of the nanofluids
using the generalized stochastic perturbation method. Physica A: Statistical Mechanics and
its Applications 393: 10–22. doi:10.1016/j.physa.2013.09.015
Kole, M. & Dey, T. K. 2010. Viscosity of alumina nanoparticles dispersed in car engine coolant.
Experimental Thermal and Fluid Science 34(6): 677–683.
doi:10.1016/j.expthermflusci.2009.12.009
Lu, W.-Q. & Fan, Q.-M. 2008. Study for the particle’s scale effect on some thermophysical
properties of nanofluids by a simplified molecular dynamics method. Engineering Analysis
with Boundary Elements 32(4): 282–289. doi:10.1016/j.enganabound.2007.10.006
Mahbubul, I. M., Chong, T. H., Khaleduzzaman, S. S., Shahrul, I. M., Saidur, R., Long, B. D. &
Amalina, M. A. 2014. Effect of Ultrasonication Duration on Colloidal Structure and Viscosity
of Alumina–Water Nanofluid. Industrial & Engineering Chemistry Research 53(16): 6677–
6684. doi:10.1021/ie500705j
Masoumi, N., Sohrabi, N. & Behzadmehr, A. 2009. A new model for calculating the effective
viscosity of nanofluids. Journal of Physics D: Applied Physics 42(5): 55501.
doi:10.1088/0022-3727/42/5/055501
Mehrabi, M., Sharifpur, M. & Meyer, J. P. 2013. Viscosity of nanofluids based on an artificial
intelligence model. International Communications in Heat and Mass Transfer 43: 16–21.
doi:10.1016/j.icheatmasstransfer.2013.02.008
Meybodi, M. K., Naseri, S., Shokrollahi, A. & Daryasafar, A. 2015. Prediction of viscosity of
water-based Al2O3, TiO2, SiO2, and CuO nanofluids using a reliable approach.
Chemometrics and Intelligent Laboratory Systems 149: 60–69.
doi:10.1016/j.chemolab.2015.10.001
Nguyen, C. T., Desgranges, F., Galanis, N., Roy, G., Maré, T., Boucher, S. & Angue Mintsa, H.
2008. Viscosity data for Al2O3–water nanofluid—hysteresis: is heat transfer enhancement
using nanofluids reliable? International Journal of Thermal Sciences 47(2): 103–111.
doi:10.1016/j.ijthermalsci.2007.01.033
Nguyen, C. T., Desgranges, F., Roy, G., Galanis, N., Maré, T., Boucher, S. & Angue Mintsa, H.
2007. Temperature and particle-size dependent viscosity data for water-based nanofluids –
Hysteresis phenomenon. International Journal of Heat and Fluid Flow 28(6): 1492–1506.
doi:10.1016/j.ijheatfluidflow.2007.02.004
Pastoriza-Gallego, M. J., Casanova, C., Legido, J. L. & Piñeiro, M. M. 2011. CuO in water
nanofluid: Influence of particle size and polydispersity on volumetric behaviour and
viscosity. Fluid Phase Equilibria 300(1–2): 188–196. doi:10.1016/j.fluid.2010.10.015
Pastoriza-Gallego, M. J., Lugo, L., Cabaleiro, D., Legido, J. L. & Piñeiro, M. M. 2014.
Thermophysical profile of ethylene glycol-based ZnO nanofluids. The Journal of Chemical
Thermodynamics 73: 23–30. doi:10.1016/j.jct.2013.07.002
Prasher, R., Song, D., Wang, J. & Phelan, P. 2006. Measurements of nanofluid viscosity and its
implications for thermal applications. Applied Physics Letters 89(13): 133108.
doi:10.1063/1.2356113
Sundar, L. S., Hortiguela, M. J., Singh, M. K. & Sousa, A. C. M. 2016. Thermal conductivity and
viscosity of water based nanodiamond (ND) nanofluids: An experimental study. International
Communications in Heat and Mass Transfer 76: 245–255.
doi:10.1016/j.icheatmasstransfer.2016.05.025
Sundar, L. S., Singh, M. K. & Sousa, A. C. M. 2016. Enhanced thermal properties of nanodiamond
nanofluids. Chemical Physics Letters 644: 99–110. doi:10.1016/j.cplett.2015.11.028
Syam Sundar, L., Singh, M. K. & Sousa, A. C. M. 2013. Investigation of thermal conductivity and
viscosity of Fe3O4 nanofluid for heat transfer applications. International Communications in
Heat and Mass Transfer 44: 7–14. doi:10.1016/j.icheatmasstransfer.2013.02.014
Turgut, A., Tavman, I., Chirtoc, M., Schuchmann, H. P., Sauter, C. & Tavman, S. 2009. Thermal
Conductivity and Viscosity Measurements of Water-Based TiO2 Nanofluids. International
Journal of Thermophysics 30(4): 1213–1226. doi:10.1007/s10765-009-0594-2