Abstract
In the present study, design of intelligent numerical computing through backpropagated neural networks (BNNs) is presented for numerical treatment of the fluid mechanics problems governing the dynamics of magnetohydrodynamic fluidic model (MHD-NFM) past a stretching surface embedded in porous medium along with imposed heat source/sink and variable viscosity. The original system model MHD-NFM in terms of PDEs is converted to nonlinear ODEs by introducing the similarity transformations. A reference dataset for BNNs approach is generated with Adams numerical solver for different scenarios of MHD-NFM by variation of parameter of viscosity, parameter of heat source and sink, parameter of permeability, magnetic field parameter, and Prandtl number. To calculate the approximate solution for MHD-NFM for different scenarios, the training, testing, and validation processes are conducted in parallel to adapt neural networks by reducing the mean square error (MSE) function through Levenberg–Marquardt backpropagation. The comparative studies and performance analyses through outcomes of MSE, error histograms, correlation and regression demonstrate the effectiveness of proposed BNNs methodology.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
The fluid dynamics problem of boundary layer flow on stretching sheet has paramount importance in broad domains including pipe production with poly vinyl chloride, wiredrawing, metal casting, hot rolling, etc. Sakidas [1, 2] introduce studied for the first time related to the characteristic of boundary layer flow on stretched surface with a constant velocity. Crane [3] investigated further the stretch surface with a varying velocity. Tsou et al. [4]. Few recent applications of computational fluid dynamics addressed with boundary layer flow can be seen in [5,6,7,8,9,10,11,12,13], while the nanofluidic models of paramount interest can be seen in [14,15,16,17,18,19,20,21,22,23]. In boundary layer, flow problem role of heat source and sink becomes essential due to the requirement of the cooling process. Cortell [24] investigated boundary layer flow problem on stretching sheet involving heat source and sink. Dessie and Kishan [25] examined the effect of heat transfer with varying viscosity in a permeable medium on stretching surface involving the heat source and sink. Similarity other related studies conducted by research community Abel et al. [26], Khan et al. [27,28,29], Shafiq [30], Khan et al. [31,32,33]. The computational fluid dynamic problems involving nanofluidic models include thermal consideration in heat pipe involving n-pentane-acetone/methanol binary mixtures [34], microchannel heat sink model [35], turbulent heat transfer in double pipe heat exchanger model [36], magnetic field effect on micro-cross jet injection involving nanoparticle in a channel [37], electroosmosis-induced alterations in peristaltic pumping flow models [38], Navier's slip condition along with magnetic field impacts on unsteady stagnation point nanofluidic flow models [39] and entropy generation and Cattaneo–Christov diffusion model involving micropolar magneto cross nanofluids [40]. Besides these applications, many studies based on deterministic solver like homotopy analysis method [41, 42] are exploited arising in the domain of fluid mechanics governed with boundary layer flow on stretching sheet with heat source and sink are conducted, while artificial intelligence (AI) based computing procedures through supervised/unsupervised neural networks looks to be a promising alternative implemented for these fluidics problems.
Modern AI algorithms-based stochastic methods via neural networks, evolutionary/swarming heuristic procedures and efficient local search methodologies are implemented to variety of linear as well as nonlinear systems represented with integer and non-integer differential models [43, 44]. Recent applications of stochastic solvers include mathematical model in bioinformatics, such as model of heartbeat dynamics, HIV infection dynamics, nonlinear corneal shape model, mosquito dispersion model, nonlinear SITR model for COVID-19 virus spread and heat distribution dynamic of human head; application in physics, such as astrophysics, thermodynamics, atomic physics, plasma, nuclear physics, nonlinear optics, nanotechnology, magnetohydrodynamics and nonlinear circuits; application in fractional-order systems such as Riccati equation, Bagley-Torvik equation, and fractional different equations. Few renewed applications in fluid dynamics such as modeling the thermal conductivity of ZnO-EM with experimental datasets [45], reliable synthesized CuFe2O4/SiO2 nanocomposites models [46], modeling for Fe–CuO/Eg–Water nanofluid [47], refrigeration system [48], optimal thermal conductivity enhancement of nano-antifreeze using carbon nanotubes [49], models for the dynamic viscosity of CuO/water nanofluids [50], modeling of hybrid nanofluidic models [51, 52], measuring thermophysical properties of carbon-based nanofluidic models [53], effects of COOH-MWCNTs on thermal conductivity of antifreeze model [54] and entropy generation of hybrid nanofluidic systems [55]. The aforesaid evidences proved that AI-based solvers are reliable for viable analysis of still nonlinear mathematical model of fluid mechanics representing the dynamics of MHD flow past a stretching surface embedded in porous medium. The contribution and innovative insights into the proposed backpropagated networks-based numerical computing are compactly listed as follows:
-
A novel application of backpropagated neural networks (BNNs)-based computing paradigm is presented for numerical treatment of the dynamics of magnetohydrodynamic nanofluidic model (MHD-NFM) past over a stretching surface embedded in porous medium involving heat source/sink as well as variable viscosity.
-
The ODEs representation of MHD-NFM is derived from governing PDEs by exploitation of suitable similarity transformations.
-
The reference dataset of BNNs is formulated using Adams numerical scheme for variants of MHD-NFM by variation of viscosity, permeability of heat source/sink and magnetic field parameters as well as Prandtl number.
-
The comparative analyses on accuracy and convergence metrics through MSE, histograms, correlation and regression have proven the significance of designed BNNs.
The organization for rest of paper is furnished as follows: The mathematical representation of the MHD-NFM is briefly introduced in Sect. 2, the methodology BNNs to solve system model is narrated in Sect. 3, the outcomes of BNNs with necessary descriptive details are provided in Sect. 4, while the concluding statements are compactly presented in the Sect. 5.
2 Mathematical model of MHD-NFM
The two-dimensional stretching sheet embedded in a porous medium is considered along with heat generation/absorption. A magnetic force is applied symmetrically in the region y ≥ 0, which is shown in Fig. 1 as a geometry of the problem. Two forces are applied in the opposite directions against x-axis for stretching of the sheet. The temperature at the free stream region is different for the surface temperature, and the viscosity of the fluid is depending on the variation in the temperature. Lie group transformations in terms of single parametric form are incorporated for the magneto hydrodynamics flow of fluid past a stretching sheet along with heat source/sink and variable viscosity embedded in a porous medium.
The governing equations of the problem are as follows:
The associated boundary conditions for the fluid flow are:
\(f = 0\), \(\theta = 1\) \({\text{when}}\) \(\eta^{ * } = 0\).
,
where, \(A = b\left( {T_{w} - T_{\infty } } \right)\) is the viscosity parameter, \(M = \sigma _{c} B_{0}^{2} /\rho c\) represents magnetic parameter, \(k_{1} = v^{*} /ck\) is the parameter of permeability, \(\lambda = Q_{0} /\rho cC_{P}\) and \(\Pr = v^{*} /k\) shows the Prandtl number.
3 Methodology
The methodology presented here for the proposed BNNs is executed by utilizing ‘nftool,’ which is an effective algorithm in neural networks (NNs) toolbox of MATLAB software package, while weights of network is adopted by Levenberg–Marquardt (LM) approach. The methodology comprises two parts; in the first part, essential description is provided for creation of dataset for LM-NN, while in the second part, implementation procedure implemented for LM-NN is described. The overall process flow of methodology is presented in Fig. 2, while the designed LM-NN through single neuron setup is shown in Fig. 3.
The reference solutions, i.e., dataset of LM-NN, is created for inputs between 0 and 10 with time interval of 0.05 by using approach of Adams numerical solver through ‘NDSolve’ program in Mathematica software package for each variant of MHD fluidic system as listed in Table 1.
4 Numerical experimentation with interpretation of results
Results of numerical investigation with essential explanation for the proposed BNNs via Levenberg are given here for dynamics of viscosity of MHD fluidic system as presented in Eqs. (17–19). The five scenarios of the system model (17–19) by variation of A, λ, K1, Pr, and M are formulated for four cases for both velocity and temperature parameter, respectively, of MHD flow model as tabulated in Table 1.
The reference solutions \(f(\eta )\), \(f^{\prime}(\eta )\) and \(\theta (\eta )\) i.e., dataset of LM-NNs, are estimated with Adams method for η between 0 and 10 for scenarios 1–5, for all four cases of LM-NN model in Eqs. (17–19). The dataset created by Adams method in terms of \(f(\eta )\), \(f^{\prime}(\eta )\) and \(\theta (\eta )\) is used as a reference result throughout in the presented study.
The proposed LM-NN approach is applied for creating the solution for fluid dynamics model of stretchable surface with porous medium involving heat source or sink as well as variable viscosity of MHD flow model Eqs. (17–19) using ‘nftool’ routine. The outcomes of reference solutions for velocity and temperature profile (\(f\), \(f^{\prime}\) and \(\theta\)) in the case of 201 inputs are given for training (70%), validation (15%) and testing (15%) for LM-NN approach using the network presented in Fig. 4. The proposed LM-NN approach is repeated for 5 different scenarios by variety of A, λ, K1, Pr, and M for four different cases for both velocity and temperature parameter, respectively, of MHD-NFM with values as tabulated in Table 1.
The outcomes of LM-NN for each scenario (4) in terms of performance and states are given in Figs. 5 and 6 and fitting illustration in Figs. 7, 8, 9 and 10. Moreover, histogram plots are shown in Fig. 11, and regression parameters are portrayed in Figs. 12, 13, 14 and 15. Figures 7, 8, 9 and 10 demonstrate fitting plots in terms of solution with error for respective five different cases. Additionally, the convergence achieved in shape of mean square error for training, testing, validation and performance, accomplished epochs, backpropagation operators and time complexity is presented in Tables 2, 3, 4, 5, 6, 7, 8 and 9 for scenarios 1 to 5, respectively, for both variations on velocity and temperature parameter of MHD-NFM.
In subfigures 5(a), 5(b), 5(c) and 5(d), convergence of mean square error for train, test and validation best curve is given for second case of scenarios 1, 2, 3 and 5 of magnetohydrodynamics nanofluidic model (MHD-NFM). One may witness that the most excellent and unified execution is accomplished at 355, 383, 360 and 357 epochs with MSE in the range 10–9, 10–9, 10–9, and 10–09, individually. The gradient and Mu parameters of Levenberg–Marquardt backpropagation are [9.94 × 10–08, 9.77 × 10–08, 9.951 × 10–08 and 9.92 × 10–08] and [10–07, 10–08, 10–07, 10–07] as shown in subfigures 6(a), 6(b), 6(c) and 6(d). The outputs prove correctness and convergent efficacy of LM-NN scheme for each case of MHD-NFM.
The efficacy of LM-NN-based calculated results is observed with matching outcomes of Adams numerical solver for scenarios 1, 2, 3 and 5 of MHD-NFM as shown in Figs. 7–10 and further endorsed by error plots. The maximum error for testing, training and validation inputs of the design LN-NN is around 2 × 10–04, 1 × 10–04, 10 × 10–04 and 1 × 10–04 for different cases of system MHD-NFM. The dynamics of the performance is further assessed by error histogram as given in subfigures 11(a), 11(b), 11(c) and 11(d) for scenarios 1, 2, 3 and 5, respectively, of MHD-NFM. The average error value closed to zero line or at 1.33 × 10–06, 3.5 × 10–06, -2 × 10–06 and -0.00018 for respective 1, 2, 3 and 5 scenarios of MHD-NFM. The investigation through regression trainings is carried out by means of co-relation studies. Figures 12, 13, 14, and 15 are the results of regression outputs of respective four variations of MHD-NFM given in Eqs. (17–19). One may witness that the values of correlation index R are closed to unity, i.e., perfect modeling scenario, in case of training, testing as well as validation, which certified the correctness of LM-NN methodology for MHD-NFM.
Furthermore, the respective numerical values listed in Tables 2, 3, 4, 5, 6, 7, 8 and 9 for scenarios 1–5 of both velocity and temperature parameter of MHD-NFM demonstrate that performance on MSE for proposed LM-NN procedure is around 10–09 to 10–07, 10–09, 10–10 to 10–09, 10–10 to 10–09, 10–09, 10–10 to 10–07, 10–09 and 10–10 to 10–09 for MHD-NFM. All numerical results and illustrations presented in Table 2, 3, 4, 5, 6, 7, 8, 9 and 10 authenticate the consistent, robust and accurate performance of LM-NN for solving the variants of MHD-NFM.
Besides the presentation of the analysis on first element of velocity component, i.e., \(f(\eta )\), the analysis should be extending for variation of velocity profile \(f^{\prime}(\eta )\) and temperature profile \(\theta (\eta )\). Therefore, the results of LMBNNs are calculated for \(f^{\prime}(\eta )\), \(\theta (\eta )\) for all five scenarios of MHD-NFM and are given in Figs. 16–19.
The outcomes of velocity profile \(f^{\prime}(\eta )\) for scenarios 1, 2, 4 and 5 are given in subfigures 16 (a), 18 (a) and 19 (a) of MHD-NFM. These results show the consistent and accurate overlapping of proposed and reference solutions. The respective values of AE are plotted in 16(b and d), 17(b and d) 18(b and d) and 19(b and d) in order to access the performance of LM-NN approach. Accordingly, the outcomes of temperature profile θ(η) are shown in subfigures 16 (c), 17 (a), 17 (b), 18 (c) and 19 (c) for scenarios 1, 2, 3, 4 and 5, respectively, of MHD-NFM. These results also show the consistent overlapping between proposed and reference results. The AE attain values for scenarios 1, 2 and 5 for velocity profile 10–06 to 10–02, 10–07 to 10–03 and 10–06 to 10–03, respectively. The AE attained for temperature profile is around 10–08 to 10–03, 10–07 to 10–04, 10–07 to 10–03, 10–07 to 10–04 and 10–07 to 10–04, for scenarios 1, 2, 3, 4 and 5 individually. The numerical and graphical diagrams validated accuracy, convergence and robustness of LM-NN methodology for the solution of MHD-NFM.
5 Conclusions
The integrated stochastic numerical computing solver is presented for finding the solution of fluid mechanics problem representing the dynamics of MHD-NFM along a stretchable surface with porous medium involving heat source or sink, as well as variable viscosity based on different scenarios for parameter of viscosity, parameter of heat source and sink, parameter of permeability, magnetic field parameter, and Prandtl number. The training (70%), validation (15%) and testing (15%) are exploited to develop the designed LM-NNs with 10 number of hidden neurons. The MSE level 10–09 to 10–04 authenticated the accuracy of the proposed structure based on LM-NNs. Additionally, the correctness is verified through numerical and graphical illustrations for the convergence plots on MSE index, regression dynamics as well as error histograms.
Abbreviations
- BNN:
-
Backpropagated Neural Networks
- LM:
-
Levenberg–Marquardt
- NNs:
-
Neural networks
- MSE:
-
Mean square error
- ODEs:
-
Ordinary differential equations
- PDEs:
-
Partial differential equations
- MHD:
-
Magnetohydrodynamics
- NFM:
-
Nanofluidic model
- f ∗ :
-
Velocity profile
- θ :
-
Temperature profile
- K :
-
Porous medium permeability
- K 1 :
-
Permeability parameter
- Pr:
-
Prandtl number
- T :
-
Fluid temperature
- T w :
-
Temperature at wall surface
- T ∞ :
-
Temperature away from surface
- k :
-
Thermal diffusivity coefficient
- λ:
-
Heat source/sink parameter
References
B C Sakiadis AIChE J. 7 26 (1961)
B C Sakiadis AiChE j. 7 221 (1961)
L J Crane Z. Angew. Math. Phys. 21 645 (1970)
F K Tsou J. Heat Mass Transf. 10 219 (1967).
N V Ganesh, Q M Al-Mdallal and P K Kameswaran Case Stud. Therm. Eng. 13 100413 (2019)
S N A Salleh, N Bachok, N M Arifin and F M Ali Symmetry 11 543 (2019)
M Sohail, R Naz and S I Abdelsalam Physica A Stat. Mech. Appl. 537 122753 (2020)
S Ahmad Theor. Phys. 71 344 (2019).
R B Kudenatti and B Jyoth Therm. Sci. Eng. Prog. 11 66 (2019).
H Basha Heat Trans. Asian Res. 48 2844 (2019).
S Haider, I S Muhammad, Y Z Li and A S Butt Int. J. Numer. Methods Heat Fluid Flow (2019)
M R Eid, K L Mahny, A Dar and T Muhammad Physica A Stat.l Mech. Appl. 540 123063 (2020)
M Yadegari and A B Khoshnevis Eur. Phy. J. Plus 135 1 (2020).
A S Dogonchi, T Tayebi, N Karimi, A J Chamkha. and H Alhumade J. Taiwan Inst. Chem. Eng. 124 162 (2021)
T Tayebi, A S Dogonchi, N Karimi, H Ge-JiLe, A J Chamkha and Y Elmasry Sustain. Energy Technol. Assess. 46 101274 (2021)
M S Sadeghi, A S Dogonchi, M Ghodrat and A J Chamkha J. Taiwan Inst. Chem. Eng. 124 307 (2021).
A S Dogonchi, S R Mishra, N Karimi and A J Chamkha J. Taiwan Inst. Chem. Eng. 124 327 (2021).
M S Sadeghi, T Tayebi and A S Dogonchi Methods Appl. Sci. (2020). https://doi.org/10.1002/mma.6520
M Hashemi-Tilehnoee, A S Dogonchi, S M Seyyedi and M Sharifpur J. Energy Storage, 31 101720 (2020)
S M Seyyedi, A S Dogonchi and M Hashemi-Tilehnoee J. Numer. Methods Heat Fluid Flow 30 4811 (2020).
M Molana, A S Dogonchi, T Armaghani, A J Chamkha, D D Ganji and I Tlili J. Energy Storage 30 101395 (2020)
A Abdulkadhim, H K Hamzah, F H Ali, C Yıldız, A M Abed, E.M Abed and M Arıcı Int. Commun. Heat Mass Transf. 120 105024 (2021)
A S Dogonchi, S M Seyyedi, M Hashemi-Tilehnoee, A J Chamkha and D D Ganji Case Stud. Therm. Eng. 14 100502 (2019)
R Cortell Fluid Dyn. Res. 37 231 (2005)
H Dessie and N Kishan Ain Shams Eng. J. 5 967 (2014).
M S Abel, M M Nandeppanavar and M B Malkhed Chem. Eng. Commun. 197 633 (2010)
W A Khan, A S Alshomrani, A K Alzahrani, M Khan and M Irfan Pramana-J. Phys. 91 63 (2018). https://doi.org/10.1007/s12043-018-1634-x
W A Khan, A S Alshomrani, A K Alzahrani, M Khan and M Irfan Pramana - J. Phys. 91 63 (2018). https://doi.org/10.1007/s12043-018-1634-x
W A Khan, M Waqas, M Ali, F Sultan, M Shahzad and M Irfan Int. J. Numer. Methods Heat Fluid Flow 29 3498 (2019)
A Shafiq, I Zari, I Khan and T S Khan Front. Phys. 7 (2019)
W A Khan, M Ali, M Irfan, M Khan, M Shahzad and F Sultan Appl. Nanosci. 10 3161 (2020)
W A Khan, M Ali, M Shahzad, F Sultan, M Irfan and Z Asghar Appl. Nanosci. 10 3235 (2020)
W A Khan, M I Khan, S Kadry, S Farooq, M I Khan and S Z Abbas Neural. Comput. Applic. 32 13565 (2020)
M M Sarafraz, Z Tian, I Tlili, S Kazi and M Goodarzi J. Therm. Anal. Calorim. 139 2435 (2020).
M Bahiraei, M Jamshidmofid and M Goodarzi J. Mol. Liq. 273 88 (2020).
M H Bahmani, G Sheikhzadeh, M Zarringhalam, O A Akbari and A A Alrashed Powder Technol. 29 273 (2018).
S A Bagherzadeh, E Jalali, M M Sarafraz, O Ali-Akbari, A Karimipour, M Goodarzi, and Q-V Bach Int. J. Numer. Methods Heat Fluid Flow 30 2683 (2020)
S Chaudhary and K M Kanika Indian J. Pure Appli. Phys. 57 861 (2020).
W A Khan, H Sun, M Shahzad and M Ali J. Phys. 95 89 (2021).
A Prakash, M Goyal and S Gupta J. Phys. 94 507 (2020).
A Fatahi-Vajari and Z Azimzadeh Indian J. Phys. 92 1425 (2018).
G. Akram and M Sadaf Indian J. Phys. 92 191 (2018)
Y Peng, P Amir, K Hossein, A Mohammad, G Kamal, G Marjan, and Q-V Bach Phys. A: Stat. Mech. Appl. 549 124015 (2020)
H Wu, S A Bagherzadeh, A D Orazio, N Habibollahi, A Karimipour, M Goodarzi, and Q-V Bach Phys. A: Stat. Mech. Appl. 535 122409 (2019)
M H Esfe, S Saedodin, A Naderi, A Alirezaie, A Karimipour and S Wongwises Commun. Heat Mass Transf. 63 35 (2015).
A Karimipour, S A Bagherzadeh, M Goodarzi, A A Alnaqi and M Bahiraei J. Heat Mass Transf. 127 1169 (2018).
M Bahrami, M Akbari, S A Bagherzadeh, A Karimipour, M Afrand and M Goodarzi Phys. A: Stat. Mech. Appl.519 159 (2019)
Z X Li, F L Renault, A O C Gómez, M M Sarafraz, H Khan, M R Safaei and E P Bandarra Filho, Int. J. Heat Mass Transf. 144 118635 (2019)
A Moradikazerouni, A Hajizadeh, M R Safaei, M Afrand, H Yarmand and N W B M Zulkifli Phys. A: Stat. Mech. Appl. 521 138 (2019)
M H Ahmadi, B Mohseni-Gharyehsafa, M Ghazvini and M Goodarzi J. Therm. Anal. Calorim. 139 2585 (2021).
S O Giwa, M Sharifpur and M Goodarzi J. Therm. Anal. Calorim. 143 4149 (2021).
S A Bagherzadeh, A D’Orazio, A Karimipour, M Goodarzi and Q V Bach Phys. A: Stat. Mech. Appl. 521, 406 (2019)
A A Alrashed, M S Gharibdousti, M Goodarzi and L R de Oliveira J. Heat Mass Transf. 125 920 (2019).
A Ghasemi, M Hassani, M Goodarzi, M Afrand and S Manafi Phys. A: Stat. Mech. Appl. 514 36 (2019)
R Khosravi, S Rabiei, M Khaki, M R Safaei and M Goodarzi, M J. Therm. Anal. Calorim. in press (2021)
Acknowledgements
The authors extend their appreciation to the Deanship of Scientific Research at King Khalid University, Abha, Saudi Arabia for funding this work through research groups program under grant number RGP.1/248/43.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Shah, Z., Raja, M.A.Z., Khan, W.A. et al. Application of Levenberg–Marquardt technique for electrical conducting fluid subjected to variable viscosity. Indian J Phys 96, 3901–3919 (2022). https://doi.org/10.1007/s12648-022-02307-1
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12648-022-02307-1