Introduction

Carbon nanotubes are graphene sheets that have been curved into cylindrical shapes. The one graphite sheet resembles single-carbon-atom-thick chicken wire. Carbon nanotubes were first discovered by Iijima in 19911, and their extraordinary mechanical, electrical, and thermal properties have sparked a flurry of activity in almost every field of area of research and engineering2,3,4,5,6,7,8,9,10. Experimental measurements have research findings show that carbon nanotubes have excellent mechanical properties, particularly in the engineering industry11,12,13,14,15,16. As a result, an efficient method for evaluating the fundamental properties of nano sized carbon nanotubes is required.

In the context of space technology and numerous technical applications, such as advanced types of power plants for nuclear missiles, reentry spacecraft, high-speed travels and procedures involving extreme heat, the thermal radiation effect on the free convection flow is vital. For optically thick media, the Boundary condition diffusion estimation is valid. The Discretized diffusion approximation, which resembles radiative heat fluxes for an optically thick medium, has been employed widely in various radiation studies. The wide-ranging application of heat radiation on natural convection in physics and engineering, notably in the construction of components and equipment, space technology, and gas turbines, has become increasingly relevant. England and Emery17 investigated the effect of heat radiation on a laminar, natural flow boundary layer which leads down a vertical plate for absorbing and non-absorbing gases. In the presence of Newtonian heating, Rajesh et al.18 studied the impacts of redox reactions and infrared energy on the instantaneous Magneto hydrodynamic natural convective fluid.

The study of the conduct of electrically transmitting fluids is known as magnetohydrodynamics (MHD). In 1942, Hannes Alfvén invented the term “magnetohydrodynamic.” Magnetohydrodynamics is a form of magnetohydrodynamics used in a variety of applications such as energy conversion and electric power generation. In a hybrid nanofluid, Ishak et al.19 presented a study on mixed convection heat transmission along a permeable stretching/shrinking curved surface. Pop et al.20 investigated the flow and heat transmission of hybrid nanofluids over a nonlinear porous stretching/shrinking surface.

In21, a mathematical method is used to model the problem of time dependent boundary layer laminar magnetized mixed convection flow of a SiO2-Al2O3/water hybrid nanofluid near the stagnation-point on a upright porous flat plate. To better understand how these materials perform in practical applications, the authors of22 probably investigate the heat transfer behaviour of the nanofluids during melting. Waqas et al.23 investigates the flow of viscoelastic micro polar nanoparticles presumably makes use of numerical techniques in order to better comprehend the intricate interactions between the particles and the porous media. Research paper24 is likely to provide a comprehensive view of the state-of-the-art in the field of hybrid nanofluids for heat transfer and to highlight areas for further research. Babu et al.25 summary and analysis of numerous studies on the characteristics and conduct of hybrid nanofluids and their effect on heat transfer is most likely accurate. The study26 focuses on how slip barriers affect the nano fluid’s flow and heat transmission characteristics.

Distortion of polymer liquids, hardening of fluid gems, and cooling of metallic plates in shower colloidal arrangement are on the whole instances of modern cycles where investigations of free convection channel stream and heat transfer attributes of couple pressure liquids are helpful. Different general speculations as well as explicit strategies have been created over the long run to depict the progression of continuum liquids. The vital element two or three stress is the execution of a size-dependent impact. Traditional continuum mechanics ignores the size impact of material particles inside the continuous. This is true even when the rotational cooperation between the liquid particles, which causes the power pressure tensor to be even, is ignored. The energy transfer caused by a convection stream in a fixed or moving chamber also numerous scientists have become interested in it because of its wide range of design and geophysical uses, including subsurface energy transit and frameworks for atomic reactor cooling. In any case, this area of investigation isn’t given the same weight as streams over a level plate, channel streams, and streams over sheets, for example. It's most likely due to the perplexing nature of these difficulties. Haq et al.27 studied the convective heat transfer in MHD slip flow over a stretching surface in the presence of carbon nanotubes. Fan et al.28 studied the mixed convection heat transfer in horizontal channel filled with nanofluids. Many other efforts in this direction are presented here29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44.

The objective of this research45 is to use an unique implementation of an intelligent numerical computing solver based on multi-layer perceptron (MLP) feed-forward back-propagation artificial neural networks (ANN) with the Levenberg-Marquard algorithm to construe the heat radiation and generation/absorption phenomena in time dependent electrically conducting Williamson fluid through a permeable extending surface. The boundary layer flow of a SWCNTS nanofluid toward three dissimilar nonlinear thin isothermal needles of paraboloid, cone, and cylinder shapes with convective boundary conditions has been predicted using an artificial neural network (ANN) in46. In47, an artificial neural network is used to study the slip and Darcy-Forchheimer phenomena for bioconvective implementations in a Powell-Eyring nanofluid model constrained by a stretching surface. The forced convective heat and mass transfer of a Nano fluid travelling radially via a thin needle was examined in study48 using the slip and Darcy-The Buongiorno model. Runge–Kutta fourth-order technique with shooting approach was utilized for the study.

Implementing an ANN model to assess the impact of carbon nanotubes-water between flexible rotating discs is the goal of this paper. To train, validate, and test performance evaluation indicators, three multilayer feed-forward networks with back-propagation levenberg–marquardt algorithms were used. A method of processing information that is based on modeling the human brain is called the ANN approach. It is frequently used to create forecasting and evaluation models. An ANN is made up of layers of several mutually interconnected neurons (interconnecting processing elements). Input, hidden, and output layers are the three types of layers that typically make up an ANN. Information regarding the enquiry is sent from outside to the input layer. Although they are hidden, the layer (s) do connect to other levels rather than the outer world. The outcome is sent outside by the output layer. Figure 19 depicts the feed-forward ANN structure's typical architecture. Every input neuron has a weight coefficient in the feed-forward ANN. The input signal from each neuron is calculated by multiplying those weight coefficients by the input signals and adding the results. The amount of hidden layers and hidden neurons are referred to as the network architecture. The network architecture and the quantity of inputs are directly related. It is preferable to start with one hidden layer and work your way up to two hidden layers if the first layer's performance is subpar. The power of the network will increase when the hidden layer's neurons are multiplied.

The behavior of carbon nanotubes-water between stretchable rotating discs using an artificial neural network model has not yet been studied, as far as the authors are aware. Thus, the novelty of current study centered on usefulness of artificial neural network procedure for stretchable rotating disks by taking the effects of heat generation/absorption parameter. The impacts of various significant parameters on heat flux parameter, In accordance with the outcome of the artificial neural network procedure, the Prandtl number and Hartmann number are explored, and numerical findings are supplied. A detailed research of the literature reveals that no previous studies of this kind have been conducted. This work is significant because it tries to close a gap in the body of knowledge in this area. By means of graphs and numerical benchmarks, the results are displayed and developed.

Mathematical formulation

Consider a radiative flow of hybrid nanofluid in which carbon nanotubes are nano particles which are suspended between two rotating plates which are stretchable and held parallel to each other and water is used as a based fluid. “Radiative” is used to describe the type of flow present in the system. In this case, radiative flow refers to the flow of heat by radiation. Radiative heat transfer occurs when heat is transferred by electromagnetic waves, such as infrared radiation, without the need for a physical medium. The word “radial” likely refers to the direction of heat flow, which may occur in a radial manner away from the center of the system.

Assumptions

The present fluid problem has the following assumptions.

  1. (1)

    It contains heat generation/absorption parameter.

  2. (2)

    Magnetic field strength is applied in both tangential and radial directions.

  3. (3)

    At temperatures T1 and T2, external surfaces are heated by convection.

Following are the governing equations presenting the present flow problem49,

$$\frac{\partial u}{\partial r} + \frac{\partial w}{\partial z} + \frac{u}{r} = 0,$$
(1)
$$u\frac{\partial u}{{\partial r}} + w\frac{\partial u}{{\partial z}} - \frac{{v^{2} }}{r} = \nu_{nf} \left( {\frac{{\partial^{2} u}}{{\partial r^{2} }} + \frac{1}{r}\frac{\partial u}{{\partial r}} + \frac{{\partial^{2} u}}{{\partial z^{2} }} - \frac{u}{{r^{2} }}} \right) - \left( {\frac{{\sigma_{nf} }}{{\rho_{nf} }}B_{0}^{2} + \frac{{\nu_{nf} }}{k}} \right)u - \frac{F}{\sqrt k }u^{2} ,$$
(2)
$$u\frac{\partial v}{{\partial r}} + w\frac{\partial v}{{\partial z}} - \frac{uv}{r} = \nu_{nf} \left( {\frac{{\partial^{2} v}}{{\partial r^{2} }} + \frac{1}{r}\frac{\partial v}{{\partial r}} + \frac{{\partial^{2} v}}{{\partial z^{2} }} - \frac{v}{{r^{2} }}} \right) - \frac{{\sigma_{nf} }}{{\rho_{nf} }}B_{0}^{2} v,$$
(3)
$$u\frac{\partial w}{{\partial r}} + w\frac{\partial w}{{\partial z}} = \nu_{nf} \left( {\frac{{\partial^{2} w}}{{\partial r^{2} }} + \frac{1}{r}\frac{\partial w}{{\partial r}} + \frac{{\partial^{2} w}}{{\partial z^{2} }}} \right) - \frac{{\nu_{nf} }}{k}w - \frac{F}{\sqrt k }w^{2} ,$$
(4)
$$\left( {\rho c_{p} } \right)_{nf} \left( {u\frac{\partial T}{{\partial r}} + w\frac{\partial T}{{\partial z}}} \right) = \left( {\kappa_{nf} + \frac{{16\sigma^{*} T_{2}^{3} }}{{3k^{*} }}} \right)\left( {\frac{1}{r}\frac{\partial T}{{\partial r}} + \frac{{\partial^{2} T}}{{\partial r^{2} }} + \frac{{\partial^{2} T}}{{\partial z^{2} }}} \right) + \sigma_{nf} B_{0}^{2} \left( {u^{2} + v^{2} } \right) + \frac{{Q_{0} }}{{\left( {\rho c_{p} } \right)_{nf} }}\left( {T - T_{\infty } } \right),$$
(5)

Boundary conditions:

$$\begin{aligned} & u = r\alpha_{1} ,\quad v = r\omega_{1} ,\quad w = W_{0} ,\quad - \kappa_{nf} \frac{\partial T}{{\partial Z}} = - h_{1} \left( {T_{1} - T} \right),\quad {\text{at }}z = 0, \\ & u = r\alpha_{2} ,\quad v = r\omega_{2} ,\quad - \kappa_{nf} \frac{\partial T}{{\partial Z}} = - h_{2} \left( {T - T_{2} } \right),\quad {\text{at }}z = h. \\ \end{aligned}$$
(6)

\(\mu_{nf} ,\,\,\,\sigma_{nf} ,\,\,(\rho c_{p} )_{nf} ,\,\,\,\,\nu_{nf\,\,} \,\,and\,\,\,\,\rho_{nf}\) are the dynamic viscosity, electrical conductivity, heat capacity, kinematic viscosity and density of nanofluid respectively.

$$\begin{aligned} & \mu_{nf} = \frac{{\mu_{f} }}{{\left( {1 - \phi } \right)^{2.5} }},\,\,\,\nu_{nf} = \frac{{\mu_{nf} }}{{\rho_{nf} }},\,\,\,\rho_{nf} = \left( {1 - \phi } \right)\rho_{f} + \phi \rho_{CNT} , \\ & \left( {\rho c_{p} } \right)_{nf} = \left( {1 - \phi } \right)\left( {\rho c_{p} } \right)_{f} + \phi \left( {\rho c_{p} } \right)_{CNT} , \\ & \sigma_{nf} = \left( {1 + \frac{{3\left( {\frac{{\sigma_{CNT} }}{{\sigma_{f} }} - 1} \right)\phi }}{{\left( {\frac{{\sigma_{CNT} }}{{\sigma_{f} }} + 2} \right) - \left( {\frac{{\sigma_{CNT} }}{{\sigma_{f} }} - 1} \right)\phi }}} \right)\sigma_{f} , \\ & \frac{{\kappa_{nf} }}{{\kappa_{f} }} = \frac{{1 - \phi + 2\phi \frac{{\kappa_{CNT} }}{{\kappa_{CNT} - \kappa_{f} }}\ln \left( {\frac{{\kappa_{CNT} + \kappa_{f} }}{{2\kappa_{f} }}} \right)}}{{1 - \phi + 2\phi \frac{{\kappa_{f} }}{{\kappa_{CNT} - \kappa_{f} }}\ln \left( {\frac{{\kappa_{CNT} + \kappa_{f} }}{{2\kappa_{f} }}} \right)}}. \\ \end{aligned}$$
(7)

Geometry

Figure 1, shows the physical illustration of current flow problem in which fluid containing SWCNT and MWCNT as nanoparticles between two rotating disks is observed.

Figure 1
Figure 1
Full size image

Geometry of the problem.

Thermo-physical properties of the nanoparticles are presented in Table 1.

Table 1 Thermo-physical properties of H2O and CNTs44,45.

Similarity transformations

Define the following similarity transformations:

$$u = r\omega_{1} ,\quad v = r\omega_{1} g\left( \eta \right),\quad w = - 2h\omega_{1} f\left( \eta \right),\quad \theta = \frac{{T - T_{2} }}{{T_{1} - T_{2} }},\quad \eta = \frac{z}{h}.$$
(8)

Equations (2)–(6) after similarity transformation becomes, and Eq. (1) is satisfied:

$$u = r\omega_{1} ,\quad v = r\omega_{1} g\left( \eta \right),\quad w = - 2h\omega_{1} f\left( \eta \right),\quad \theta = \frac{{T - T_{2} }}{{T_{1} - T_{2} }},\quad \eta = \frac{z}{h}.$$
(9)
$$\frac{1}{{\left( {1 - \phi } \right)^{2.5} \left( {1 - \phi + \phi \frac{{\rho_{CNT} }}{{\rho_{f} }}} \right)}}f^{\prime \prime \prime \prime } + {\text{R}}_{e} \left( \begin{gathered} 2ff^{\prime\prime} - f^{\prime 2} + g^{2} - \frac{{\sigma_{nf} }}{{\sigma_{f} }}\frac{Ha}{{\left( {1 - \phi + \phi \frac{{\rho_{CNT} }}{{\rho_{f} }}} \right)}}f^{\prime } \hfill \\ - \frac{\lambda }{{(1 - \phi )^{2.5} \left( {1 - \phi + \phi \frac{{\rho_{CNT} }}{{\rho_{f} }}} \right)}}f^{\prime } - F_{r} f^{\prime 2} \hfill \\ \end{gathered} \right) = 0,$$
(10)
$$\frac{1}{{(1 - \phi )^{2.5} \left( {1 - \phi + \phi \frac{{\rho_{CNT} }}{{\rho_{f} }}} \right)}}g^{\prime \prime } + {\text{R}}_{e} \left( {2fg^{\prime } - 2gf^{\prime } - \frac{{\sigma_{nf} }}{{\sigma_{f} }}\frac{Ha}{{\left( {1 - \phi + \phi \frac{{\rho_{CNT} }}{{\rho_{f} }}} \right)}}g} \right) = 0,$$
(11)
$${\text{R}}_{e} \left( {\frac{2\lambda }{{(1 - \phi )^{2.5} \left( {1 - \phi + \phi \frac{{\rho_{CNT} }}{{\rho_{f} }}} \right)}}f - 4ff^{\prime } - 4F_{r} f^{2} } \right) - \frac{2}{{(1 - \phi )^{2.5} \left( {1 - \phi + \phi \frac{{\rho_{CNT} }}{{\rho_{f} }}} \right)}}f^{\prime \prime } = 0,$$
(12)
$$\frac{1}{{{\text{P}}_{r} }}\left( {\frac{{\kappa_{nf} }}{{\kappa_{f} }} + R_{d} } \right)\theta^{\prime \prime } + 2\,{\text{R}}_{e} \left( {1 - \phi + \phi \frac{{\left( {\rho c_{p} } \right)_{CNT} }}{{\left( {\rho c_{p} } \right)_{f} }}} \right)f\theta^{\prime } + \frac{{\sigma_{nf} }}{{\sigma_{f} }}{\text{R}}_{e}\, HaE_{c} \left( {f^{\prime 2} + g^{2} } \right) + Q\theta = 0.$$
(13)

After similarity transformation boundary conditions takes the form.

$$\begin{gathered} f(0) = ws,\quad f^{\prime } (0) = A_{1} ,\quad f^{\prime } (1) = A_{2} ,\quad g(0) = 1,\quad g(1) = \omega , \hfill \\ \theta^{\prime } (0) = - \frac{{\kappa_{f} }}{{\kappa_{nf} }}\gamma_{1} (1 - \theta (0)),\quad \theta^{\prime } (1) = - \frac{{\kappa_{f} }}{{\kappa_{nf} }}\gamma_{2} \theta (1). \hfill \\ \end{gathered}$$
(14)

For lower and upper stretching plates \(\gamma_{1}\) and \(\gamma_{2}\) are the Biot parameters, \(A_{1} \,\,and\,\,A_{2}\) are the stretching parameters, \(\omega\) is the rotational parameter, \(E_{c}\) is the Eckert number, \(F\) is the local inertial parameter while suction/ injection parameter, Hartmann coefficient, radiation parameter, Reynolds number and porosity coefficient are presented by \(ws,\,\,Ha,\,\,R_{d} ,\,\,{\text{R}}_{e} ,\,\,and\,\,\lambda\) respectively are defined by:

$$\begin{aligned} & \gamma_{1} = \frac{{h_{1} h}}{{\kappa_{f} }},\,\,\,\,\gamma_{2} = \frac{{h_{2} h}}{{\kappa_{f} }},\,\,\,\,A_{1} = \frac{{\alpha_{1} }}{{\omega_{1} }},\,\,\,\,A_{2} = \frac{{\alpha_{2} }}{{\omega_{2} }},\,\,\,\,\omega = \frac{{\omega_{2} }}{{\omega_{1} }}, \\ & E_{c} = \frac{{r^{2} \omega_{1}^{2} }}{{c_{p} (T_{1} - T_{2} )}},\,\,\,\,Fr = \frac{F}{\sqrt K },\,\,\,\,ws = \frac{{ - w_{o} }}{{2h\omega_{1} }},\,\,\,\,Ha = \frac{{B_{o}^{2} \sigma_{f} }}{{\rho_{f} \omega_{1} }}, \\ & R_{d} = \frac{{16\sigma^{*} T_{2}^{3} }}{{3\kappa_{f} k^{*} }},\,\,\,\,{\text{R}}_{e} = \frac{{\omega_{1} h^{2} }}{{\nu_{f} }},\,\,\,\,\lambda = \frac{{\nu_{f} }}{{k\omega_{1} }},\,\,\,\,Q = \frac{{Q_{o} }}{{(C_{p} \rho )}}. \\ \end{aligned}$$
(15)

Solution methodology

Intelligent Bayesian regularization neural network approach is exploited for solution of hybrid nano-material of carbon nanotubes (CNT’s) based fluidic system in Eqs. (10)–(13). In ANNs-BRS (Artificial neural network-Bayesian regularization scheme) 15% data is utilized for testing, 5% for validation and 80% for training. Whereas suggested ANNs-BRS architecture diagram is presented in Fig. 3. Reference dataset for hybrid nano-material carbon nanotubes based fluidic system is numerically computed by exploiting “Adams” method with the assistance of Mathematica's built-in command “NDSolve”. Table 1 shows the thermo-physical properties of \(H_{2} O\) and CNTs. The dataset is generated for each involved parameter with the variation of A1, A2, φ, Fr, ws, Q as presented in Table 2. Later on, ANNs-BRS scheme is presented by utilizing the “nftool” function to access the graphical user interface of the neural network tool box in the Matlab environment. utilizing a target and arbitrary input values, 80 percent of the data is used for training, 15% for testing and 5% for validation. Neural network weight adjustment is done by employing the ANNs-BRS technique.

Table 2 Case settings and scenario analysis for the hybrid Nano fluid flow model.

The mathematical equations for hybrid Nano-material of carbon nanotubes based fluidic system (6–7) for the case 4 of scenario 1 by utilizing the parameter values listed in Table 2 can be presented as follows:

Analysis and results interpretation

Bayesian regularization backpropagation perform by a function in matlab program called “trainbr” function. This function disables validation stops by default but the reason for this is that validation is usually used a form of regularization also “trainbr” has its own form of validation built into the algorithm.

Performance analysis for hybrid Nano-material single and multiwall carbon nanotubes based fluidic system along with five cases and five scenarios namely \(A1,\,\,A2,\,\,\varphi ,\,\,F_{r} ,\,ws\,\,and\,\,Q\) for trustworthy prediction of plots of temperature and velocity are shown in Figs 4, 5, 6 and 7.

The current ANN model develop with MLP approach. MLP (Multilayer perceptron) is a fully connected multilayer neural network. It has three layers including two hidden layer and an input and output layer. The information about the MLP in the current study is given in Fig. 2. The number of the hidden neurons depend upon the size of input layer and output layer of the ANN model. The number of neurons used in current ANN model are 166. Figure 2, depicts the network architecture of neural network scheme. Figure 3a–d shows the MSE variation, state transition outcomes, error histogram plots and regression analysis namely stretching parameter \(A1\). Similarly, Figs. 4a–d, 5a–d, 6a–d, 7a–d, 8a–d characterize the variation of Mean square error, state transition outcomes, plots of error histogram and regression demonstration for scenario 2 case 4, namely A2, Scenario 3 case 2 namely φ, Scenario 4 case 5 namely \(F_{r}\), Scenario 5 case 3 namely \(ws\) and scenario 6 case 5 namely \(Q\) respectively. According to Fig. 4a–b, the best training performance is 4.935E-09 at epoch 10, with a gradient of 7.271E−08 and Mu 1E−10 at that time. Figure 3c shows the plot of error histogram, while Fig. 3d shows the regression plot for Case 3 of Scenario 1. ANNs-BRS with MSE errors in the E−09 range demonstrate the validity of the proposed method.

Figure 2
Figure 2
Full size image

Networks architecture of ANNs-BRS scheme.

Figure 3
Figure 3
Full size image

ANNs-BRS outcomes for solving the hybrid nanofluid flow model in scenario 1 case 3.

Figure 4
Figure 4
Full size image

ANNs-BRS outcomes for solving the hybrid nanofluid flow model in scenario 2 case 4.

Figure 5
Figure 5
Full size image

ANNs-BRS outcomes for solving the hybrid nanofluid flow model in scenario 3 case 2.

Figure 6
Figure 6
Full size image

ANNs-BRS outcomes for solving the hybrid nanofluid flow model in scenario 4 case 5.

Figure 7
Figure 7
Full size image

ANNs-BRS outcomes for solving the hybrid nanofluid flow model in scenario 5 case 3.

Figure 8
Figure 8
Full size image

ANNs-BRS outcomes for solving the hybrid nanofluid flow model in scenario 6 case 5.

Hidden layers

  1. (a)

    A neural network with 0 hidden layer has ability to express only linearly separable functions.

  2. (b)

    A neural network with 1 hidden layer can represent any function that consists of a continuous mapping between two finite spaces.

  3. (c)

    A neural network with 2 hidden layer can approximate any smooth mapping to any precision and can represent any decision boundary to any accuracy using rational activation functions.

  4. (d)

    A neural network with more than two hidden layers is usually used for deep learning models.

Using less number of neurons in the hidden layers results under fitting of the curve also using more neurons in the hidden layers results over fitting of the curve. Therefore.

  1. (a)

    Number of neurons should be between the input and output layer.

  2. (b)

    Number of neurons should be 0.66 size of input layer plus size of output layer.

  3. (c)

    Number of neurons should be less than twice the size of the input layer.

From Figs. 4a, 5a, 6a, 7a, and 8a it can be observed that best training performance are [3.680E−11, 1.263 E−09, 1.527E−10, 2.623E−08, 5.287E−12] at epoch [33, 17, 13, 35, 54] for case 4 of scenario 2, case 2 of scenario 3, case 5 of scenario 4, case 3 of scenario 5 and case 5 of scenario 6 respectively. One may notice from these figures that the trained data is validated very accurately for all scenarios. Figures 4b, 5b, 6b, 7b, and 8b presents the outcomes of state transition describing gradient values, epochs numbers along with validation checks for various scenarios. From these figures one may observe that gradient values are [9.736E−08, 8.496E−08, 6.267E−08, 2.56E−3, and 9.493E−08], Mu having values [1E−11, 1E−11, 1E−12, 1E−09 and 1E−11] respectively, for each scenario, at epochs [33, 17, 13, 35 and 54]. The plots of error histograms are presented in Figs. 4c, 5c, 6c, 7c, and 8 for case 4 of scenario 2, case 2 of scenario 3, case 5 of scenario 4, case 3 of scenario 5 and case 5 of scenario 6 respectively. These plots indicate that the difference between target and output error is almost negligible. When the distribution of data in an error histogram is far from the zero error line, it means that the errors in the measurements are systematic and not random. Systematic errors are errors that consistently bias the results in the same direction, and are usually caused by factors such as instrument calibration errors, incorrect data processing methods, or human errors in the measurement process. The regression graphs for case 4 of scenario 2, case 2 of scenario 3, case 5 of scenario 4, case 3 of scenario 5 and case 5 of scenario 6 are shown below in, Figs. 4d, 5d, 6d, 7d, and 8d respectively. Also Figs. 4d, 5d, 6d, 7d, and 8d describes regression plots which calculates the correlation between outputs and targets, if R is close to 1 indicates close relationship while near to 0 represents random relationship. In terms of training and testing one can see that a correlation with a value close to unity provides ideal model, proving the validity of the suggested model artificial neural network with Bayesian regularization scheme (ANNs-BRS) for hybrid Nano-material carbon nanotubes based fluidic system. R is the coefficient of determination and it is calculated for linear regression and different types of statistical model also for linear regression it is calculated by using Pearson correlation coefficient (r). But for the different types of statistical model R is calculated by using regression outcomes as shown below.

  1. (a)

    Calculating R using Pearson correlation coefficient

    $$R = r^{2}$$
  2. (b)

    Calculating R using regression outcomes

    $$R = 1 - \frac{sum\,of\,sqaured\,residuals}{{total\,sum\,of\,squares}}$$

These are the two formulas by which we find the value of coefficient of determination also in real life examples. Also the minimum value for R is 0.01 and the larger value for R is 0.25 for better results, depending on sampling different for each case. Tables 3, 4, 5, 6, 7 and 8 are generated for Scenario (1–6) respectively. The relevant parameter values for each of the six scenarios are shown in these tables. The concept of a zero-second calculation is often used in computer science and engineering to describe extremely fast calculations that can be performed almost instantly. This can occur for several reasons, such as the use of specialized hardware, optimized algorithms, or the calculation being performed in parallel. It is important to note that the concept of a zero-second calculation is a theoretical limit, and that in practice, even the fastest calculations will take some non-zero amount of time. However, for certain applications, the time required for a calculation can be so small that it is effectively zero from a practical standpoint.

Table 3 Scenario 1: variation of \(A1\).
Table 4 Scenario 2: variation of \(A2\).
Table 5 Scenario 3: variation of \(\varphi\).
Table 6 Scenario 4: variation of \(F_{r}\).
Table 7 Scenario 5: variation of \(ws\).
Table 8 Scenario 6: variation of \(Q\).

For various machine learning models, the training phase might conclude at various epochs for a variety of reasons:

  • Model complexity Because there are more parameters that need to be tuned, more complex models, like deep neural networks, often take more epochs to converge to a solution.

  • Hyper parameters Other factors, such as the learning rate or batch size, might affect the number of epochs needed to train a model. The number of training epochs needed may vary depending on which hyper parameters are used in a given model.

  • Early stopping Some models might use early stopping, which means that training ends when a performance parameter, like validation loss, reaches a plateau. This may cause various models to stop at various epochs.

  • Dataset The size and complexity of the dataset can also have an impact on the number of epochs required for training. Larger and more complex datasets may require more epochs to train, as there are more examples to learn from and the models need more time to converge to a solution.

Gradient, Mu values, MSE, best training and performance index

In ANN Gradient is defined as the derivative of a function that has more than one input variable. Which means gradient measures change in the weight function with respect to the error. In mathematics gradient is also called slope of a function which is defined as the derivative of a function at a given point. Gradient and Mu values for different parameter are shown in Tables 3, 4, 5, 6, 7 and 8. During training of the neural network we used Mu to control the Back propagation process (weight updating process). If the training stops then it means we reached the maximum value of Mu. Mean square error is the average of square of errors or it is the average square difference between output and target. The best training performance is a measure of how well a machine learning model is able to fit the training data. It is often expressed as a performance metric such as accuracy, mean squared error, F1 score, precision, recall, or others, depending on the specific goals of the system or model and the characteristics of the data being used. The formula for the best training performance will depend on the specific performance metric being used. For example, the accuracy of a binary classification model is calculated as the number of correct predictions divided by the total number of predictions. The mean squared error of a regression model is calculated as the average of the squared differences between the true values and the predicted values. The symbol for the best training performance will depend on the specific performance metric being used. For example, the accuracy of a model may be expressed as “Acc”, the mean squared error may be expressed as “MSE”, and the F1 score may be expressed as “F1”. The unit of the best training performance will also depend on the specific performance metric being used. For example, accuracy is a unitless ratio, mean squared error has units of the square of the target variable, and F1 score is unitless. The performance index is a metric used to evaluate the performance of a system, algorithm, or model. The specific definition of the performance index depends on the application, but generally it measures how well a system is achieving its goals, such as accuracy, speed, efficiency, or other desired outcomes. The calculation of the performance index can vary widely depending on the application, but common methods include using metrics such as accuracy, mean squared error, F1 score, precision, recall, and others. The choice of performance index will depend on the specific goals of the system or model, and the characteristics of the data being used.

Result and discussions

Figures 9, 10, 11 and 12 shows the effect of stretching parameters (A1, A2), Forchheimer number (Fr), Nanoparticle volume fraction (φ) respectively, on velocity profile.

Figure 9
Figure 9
Full size image

Velocity profile for various A1.

Figure 10
Figure 10
Full size image

Velocity profile for various A2.

Figure 11
Figure 11
Full size image

Velocity profile for various Fr.

Figure 12
Figure 12
Full size image

Velocity profile for various φ.

Figure 13
Figure 13
Full size image

Tangential velocity profile for various A1.

Figure 14
Figure 14
Full size image

Tangential velocity profile for various ω.

SWCNT’s has higher density as compared to MWCNTs. Figures 9 and 10 shows that velocity profile gets enhanced by increasing the values stretching parameters (A1, A2).

The impact of Forchheimer number on velocity profile is depicted in Fig. 11, which shows that by increasing Forchheimer number velocity profile decreases. Figure 12 shows the influence of Nanoparticle volume fraction (φ) on velocity profile. By increasing the value of nanoparticle volume fraction (φ), density of the fluid gets increased which results a decrease in velocity of the fluid. By increasing the values of forchheimer number velocity profile gets decrease this is due to the fact that inertia of the fluid gets increase by increasing forchheimer number which causes the deceleration of momentum and velocity profile also the nano particle volume faction has direct relation with the density of the fluid so by increasing the values nano particle volume fraction the density of the fluid improves and velocity and density has inverse relation with each other. Therefor velocity of the fluid decreases by increasing nano particle volume fraction. Increase in stretching parameter causes increase in the velocity of the fluid because when we are going to increase the stretching parameter the viscosity of the fluid declines hence velocity of the resulting fluid gets increased. On the other hand by increasing the stretching parameter momentum boundary layer thickness gets reduce which also cause the increase of the velocity of the fluid.

The impact of stretching parameter A1 on g (η) is depicted in Fig. 13, which shows that stretching velocity of the fluid between the discs decreases. This is due to the fact that stretching increases in radial direction which cause the decreases in velocity of the fluid in tangential direction. Figure 14, shows the impact of rotation number (ω) on tangential velocity profile. It is clear from the Fig. 14, that by enhancing the rotation number, the tangential velocity profile gets increased. Tangential velocity which is given by

$$v_{t} = r\omega$$

In above equation we have tangential velocity on left side of equation. We observe from the above equation that tangential velocity and rotational parameter has direct relation with each other. Hence increase in rotational parameter implies increase in tangential velocity. Due to increase of the stretching parameter the momentum boundary layer thickness gets decrease which results the deceleration of the tangential velocity. Suction causes the increase in the volume flow rate of fluid. As a result the tangential velocity gets decrease.

Figure 15, show the effect of suction on tangential velocity g (η). For suction we have (\(ws\) > 0). In case of suction, g (η) decreases with increasing the value of suction. This is due to the fact that, increase in suction parameter causes increase in volume flow rate. Figure 16, shows the effect of injection on temperature profile (θ). For injection (\(ws\) < 0), but in case of (\(ws\) < 0), we see that injection and temperature profile has direct relation to each other. This is due to the fact that in case of injection volume flow rate decreases. Due to intense blowing (\(ws\) < 0), speed of the fluid increases because heated liquid moves away from the stretching wall. The formula for heat source/sink parameter is shown below

$${\text{Q}} = \frac{{{\text{Q}}_{{\text{o}}} }}{{\left( {{\text{C}}_{{\text{p}}} \rho } \right)}}$$

where Q is heat source/sink parameter, Qo is volumetric heat generation parameter, Cp is specific heat at constant pressure and ρ is the density of the fluid. From above formula we see that when we are going to rise the temperature of the fluid then the heat generation parameter Qo increases. As a result Q increases. In case of injection the volume flow rate gets decreased. As a result the temperature of the fluid gets increase.

Figure 15
Figure 15
Full size image

Tangential velocity profile for various ws.

Figure 16
Figure 16
Full size image

Temperature profile for various ws.

The effect of heat source/sink parameter Q on temperature profile is shown in Fig. 17. We see that by increasing the value of Q the temperature profile gets enhanced. This happens due to fact that Q and temperature profile has a direct relation to each other. The heating source can be various forms of energy such as electricity, natural gas, oil, coal, solar, etc. The heating mechanism refers to the way the heat energy is transferred to the environment. Examples include radiators, heat pumps, furnaces, boilers, etc. The flow chart for ANN development is presented in Fig. 18.

Figure 17
Figure 17
Full size image

Temperature profile for various Q.

Figure 18
Figure 18
Full size image

ANN training and development flow chart.

From the comparison of Tables 9, 10, we see that there is nice agreement between the values which proposed the verification of our dataset.

Table 9 Outcomes of skin friction coefficient for SWCNT-H2O at lower and upper disks.
Table 10 Outcomes of skin friction coefficient for MWCNT-H2O at lower and upper disks.

Margin of error

Margin of error is range of values that differ from the actual value. It can be calculated by using the following formula

$${\text{Margin}}\,{\text{of}}\,{\text{error}}\, = \,\frac{{z^{*} \sqrt {(p^{*} (1 - p))} }}{\sqrt n }$$

here \(z^{*}\) is desired confidence level, p is sample population and n is sample size. The values of margin of error for skin friction coefficient for both SWCNT-H2O and MWCNT-H2O at lower and upper disks are presented in Table 11 (Fig. 19).

Table 11 Margin of error.
Figure 19
Figure 19
Full size image

Configuration topology for MLP network.

Conclusions

The hybrid Nano-material of carbon nanotubes (CNT’s) based fluidic system is investigated in this paper using an artificial neural network with Bayesian regularization scheme (ANNs-BRS). Following are the main goal of this study.

  1. (1)

    Between two stretchable rotating disks the Darcy Forchheimer flow of carbon nanotubes was investigated.

  2. (2)

    The obtained PDE’s are converted into ODE’s by using similarity transformation.

  3. (3)

    We observe that inertia of the fluid gets increase by increasing forchheimer number. which causes the deceleration of momentum and velocity profile, Also by increasing the nanoparticle volume fraction (\(\varphi\)) density of the fluid will gets increase, which results the decrease in velocity profile. Increase in stretching parameters (\(A1,\,A2\)) causes increase in velocity profile because increase in stretching parameter results decrease in viscosity.

  4. (4)

    Due to direct relation vt =  the tangential velocity profile (g(η)) increases by increasing the values of rotation number (ω).

  5. (5)

    Increase in stretching parameter (\(A1\)), the momentum boundary layer thickness gets decrease which results the deceleration of the tangential velocity.

  6. (6)

    Suction (\(ws\) > 0) causes the increase in the volume flow rate of fluid. As a result the tangential velocity gets decrease.

  7. (7)

    Temperature profile depicts increasing behavior for heat source/sink parameter (Q) and injection (\(ws\) < 0).