Skip to main content

Theory and Modern Applications

Application of Legendre polynomials based neural networks for the analysis of heat and mass transfer of a non-Newtonian fluid in a porous channel

Abstract

In this paper, the mathematical models for flow and heat-transfer analysis of a non-Newtonian fluid with axisymmetric channels and porous walls are analyzed. The governing equations of the problem are derived by using the basic concepts of continuity and momentum equations. Furthermore, artificial intelligence-based feedforward neural networks (ANNs) are utilized with hybridization of a generalized normal-distribution optimization (GNDO) algorithm and sequential quadratic programming (SQP) to study the heat-transfer equations and calculate the approximate solutions for the momentum of a non-Newtonian fluid. Legendre polynomials based Legendre neural networks (LNN) are used to develop a mathematical model for the governing equations, which are further exploited by the global search ability of GNDO and SQP for rapid localization convergence. The proposed technique is applied to study the effect of variations in Reynolds number Re on the velocity profile \((f^{\prime })\) and the temperature profile \((q)\). The results obtained by the LeNN-GNDO-SQP algorithm are compared with the differential transformation method (DTM), which shows the stability of the results and the correctness of the technique. Extensive graphical and statistical analyses are conducted in terms of minimum, mean, and standard deviation based on fitness value, absolute errors, mean absolute deviation (MAD), error in the Nash–Sutcliffe efficiency (NSE), and root mean square error (RMSE).

1 Introduction

In recent years, the problems of non-Newtonian fluid flow have been a topic of discussion for many researchers. The fundamental reason for this high level of interest was its numerous applications in various engineering domains, particularly the interest in non-Newtonian fluid-flow and heat-transfer problems such as cooling, hot rolling, lubrication, and drag reduction. Debruge [1] in 1972 extends the applications of heat-transfer flow [24] and investigates the problem through a porous channel. There was interest in increasing the resistance of the blades to the hot stream around the blades for cooling. However, the cooling process leads to excess energy consumption, which essentially leads to a reduction in turbine performance [5]. Some accomplished work is listed, providing a brief review of heat and mass transfer in carbon-nanotube nanofluids [6], the Eyring–Powell model [7], and Walter’s B-fluid model [8]. Most real-world phenomena arising in engineering and fluid dynamics are generally presented by highly nonlinear differential equations, and finding exact solutions to nonlinear problems is difficult. In the last decade, many numerical and perturbation techniques have been developed to solve difficult mathematical models. Sheikholeslami investigates the effect of heat transfer in the flow of nanofluids over a permeable stretching wall and by using the perturbation method [9, 10]. The authors of [11] used a shooting method to study the stagnation-point flow of an EMHD micropolar nanofluid with mixed-convection and slip-boundary conditions. Umair [1214] studied the effect of (Ag and TiO2)/water nanoparticles shape effect on heat transfer using a homotopy analysis method (HAM). Ganji [15, 16] uses the homotopy perturbation method (HPM) to study the heat transfer of Cu–water nanofluids between parallel plates. The Adomain decomposition method (ADM) [17, 18], the Hyers–Ulam stability approach [19], the B-spline collocation method [20, 21] and optimal homoptopy perturbation (OHAM) [22, 23] methods were also developed to study the numerical solutions of heat and mass transfer of the fluid models. Recently, Sepasgozar [5] in 2017 implemented a differential transformation method to study the effect of heat and mass transfer of a fluid in a porous channel. The basic idea of DTM has been presented in previous papers [2426]. Analysis of these numerical methods demonstrates that they are deterministic and require prior information about the problem [2729].

In recent times, artificial neural networks (ANNs) based on unsupervised metaheuristic algorithms are developed to solve various nonlinear difficult mathematical models. Some recent applications include the numerical solution of multiterm variable-order fractional differential equations [30, 31], countercurrent imbibition phenomena in secondary oil-recovery processes [32, 33], modeling and identification of heat-exchanger processes [34], solution of Bratu and nonlinear Emden–Fowler differential equations [35, 36], diabetic retinopathy classification using fundus images [37], the wire-coating process [38], temperature profile of porous and longitudinal fin models [3941], chemical processes [42] and chaos-based secure communication (CBSC) systems [43]. The above methods motivated the authors to develop a soft-computing technique based on the hybridization of a function approximating the ability of Legendre neural networks and the global search ability of the generalized normal-distribution optimization (GNDO) algorithm and local search mechanism of sequential quadratic programming (SQP).

In this study, our aim is to design and implement a gradient-free soft-computing technique that can handle the real-world problems like heat- and mass-transfer problems in a porous channel with ease of implementation, accuracy, reliability, and with fewer arbitrary parameters required to set up the method. To examine the robustness and stability of our proposed algorithm, we performed multiple simulations. The outcomes of our designed algorithm are summarized as:

  • Flow- and heat-analysis models of a non-Newtonian viscoelastic fluid are formulated using the basic concepts of continuity and momentum equations in cylindrical coordinates. The problem is further reduced to ordinary differential equations.

  • Series solutions based on Legendre polynomials are constructed for different cases of heat- and mass-transfer analysis of fluid flow in a porous channel. The unknown parameters of the LeNN in fitness functions based on mean square error are minimized by using hybridization of the generalized normal-distribution optimization (GNDO) algorithm and sequential quadratic programming (SQP).

  • The approximate solutions obtained by the LeNN-GNDO-SQP algorithm are compared with the differential transformation method (DTM) that validates the accuracy of the design algorithm. Moreover, the design algorithm is executed for 100 independent runs to study the convergence of solutions. For this purpose, various performance indicators are defined in terms of mean absolute deviation (MAD), Theil’s inequality coefficient (TIC), root mean square error (RMSE), and Nash–Sutcliffe efficiency. The results of these indicators approaches to zero shows the perfect modeling of solutions and efficiency and robustness. Finally, analyses based on the computational complexity of the proposed algorithm are conducted that represent the speed of convergence of the LeNN-GNDO-SQP algorithm in solving difficult nonlinear real-world problems.

2 Formulation of the problem

2.1 Flow analysis

In this section, the mathematical model for flow and heat transfer is developed for a non-Newtonian viscoelastic fluid on a turbine disc for cooling purposes. Figure 1 represents the schematic view of the problem. The surface of a disc is along the r-axis and normal to the z-axis. The disc in a porous channel is at a distance \(z=L\). Non-Newtonian fluid is injected uniformly along the z direction to cool the heated wall that coincides with the r-axis. From Fig. 1 it can be seen that the cooling problem with injection is considered as stagnation-point flow. In cylindrical coordinates, asymmetric, steady and non-Newtonian fluid flow can be written as

$$\begin{aligned}& \frac{\partial (r u_{r} )}{\partial r}+ \frac{\partial (r u_{z} )}{\partial z}=0, \end{aligned}$$
(1)
$$\begin{aligned}& u_{r} \frac{\partial (u_{r} )}{\partial r}+u_{z} \frac{\partial (u_{r} )}{\partial z} =-\frac{1}{\rho } \frac{\partial P}{\partial r}+\frac{1}{\rho } \biggl[ \frac{\partial \tau _{r r}}{\partial r}+\frac{1}{r} (\tau _{r r}- \tau _{\theta \theta } )+\frac{\partial \tau _{r z}}{\partial z} \biggr], \\ \end{aligned}$$
(2)
$$\begin{aligned}& u_{r} \frac{\partial (u_{z} )}{\partial r}+u_{z} \frac{\partial (u_{z} )}{\partial z} =-\frac{1}{\rho } \frac{\partial P}{\partial z}+\frac{1}{\rho } \biggl[ \frac{\partial \tau _{z r}}{\partial r}+\frac{1}{r} \tau _{r z}+ \frac{\partial \tau _{z z}}{\partial z} \biggr], \end{aligned}$$
(3)

where, \(\tau _{rr}\), \(\tau _{rz}\), \(\tau _{zr}\) and \(\tau _{zz}\) are stress components. The boundary conditions for the above analytical model are

$$\begin{aligned}& u_{r}=u_{z}=0\quad \text{at } z=0, \end{aligned}$$
(4)
$$\begin{aligned}& u_{r}=0, u_{z}= - V \quad \text{at } z=L, \end{aligned}$$
(5)

here, V is the velocity of the injected fluid, \(u_{z}\) and \(u_{r}\) are the velocity components along the z and r directions, respectively, ρ denotes density and pressure is represented by P. For the special case of a viscoelastic fluid, Rivlin [44] showed that if at a point \(x_{k}\) and a time t the stress components are assumed to be polynomials in the acceleration gradient \(\frac{\delta a_{m}}{\delta x_{n}}\) (\(m, n=1,2,3\)) and the velocity gradient \(\frac{\delta v_{m}}{\delta x_{n}}\) (\(m, n=1,2,3\)), and in addition if the medium is also isotropic, then the stress matrix can be written as

$$ \Vert \tau _{i j} \Vert =\phi _{0} I+\phi _{1} A+\phi _{2} B+ \phi _{3} A^{2}+ \cdots , $$
(6)

where, \(\phi _{k}\), (\(k=1,2,3\)) are polynomials in A, B and \(A^{2}\), respectively. Also, I denotes a unit matrix, and A and B are symmetric matrices defined as

$$\begin{aligned}& A= \biggl\Vert \frac{\delta v_{i}}{\delta x_{j}}+ \frac{\delta v_{j}}{\delta x_{i}} \biggr\Vert , \end{aligned}$$
(7)
$$\begin{aligned}& B= \biggl\Vert \frac{\delta a_{i}}{\delta x_{j}}+ \frac{\delta a_{j}}{\delta x_{i}}+2 \frac{\delta v_{m}}{\delta x_{i}} \frac{\delta v_{m}}{\delta x_{j}} \biggr\Vert . \end{aligned}$$
(8)

Now, the stress components can be given as [5]

$$\begin{aligned}& \tau _{r r}=\phi _{1} A_{r r}+\phi _{2} A_{r r}^{2}+\phi _{3} B_{r r}, \end{aligned}$$
(9)
$$\begin{aligned}& \tau _{z z}=\phi _{1} A_{z z}+\phi _{2} A_{z z}^{2}+\phi _{3} B_{z z}, \end{aligned}$$
(10)
$$\begin{aligned}& \tau _{\theta \theta }=\phi _{1} A_{\theta \theta }+\phi _{2} A_{ \theta \theta }^{2}+\phi _{3} B_{\theta \theta }, \end{aligned}$$
(11)
$$\begin{aligned}& \tau _{r z}=\phi _{1} A_{r z}+\phi _{2} A_{r z}^{2}+\phi _{3} B_{r z}. \end{aligned}$$
(12)

In order to find a solution for the problem shown in Fig. 1, a stream function is defined that identically satisfies the continuity equation

$$ \psi =\operatorname{Vr}^{2} f(\eta ), $$
(13)

where \(\eta =\frac{z}{L}\), the velocity components in the r and z directions are defined as

$$\begin{aligned}& u_{r}=\frac{V r}{L} f^{\prime }(\eta ), \\ \end{aligned}$$
(14)
$$\begin{aligned}& u_{z}=-2 V f(\eta ). \end{aligned}$$
(15)

Using Eqs. (13)–(15) in governing equation of motion Eq. (2) and Eq. (3) that reduces to

$$\begin{aligned}& f^{\prime 2}-2 f f^{\prime \prime }=-\frac{L^{2}}{\rho V^{2} r} \frac{\partial P}{\partial r}+\frac{\phi _{1}}{\rho V L} f^{\prime \prime \prime } +\frac{\phi _{2}}{\rho L^{2}} \bigl(f^{\prime \prime }-2 f^{\prime } f^{ \prime \prime \prime } \bigr)+\frac{\phi _{3}}{\rho L^{2}} \bigl(f^{ \prime \prime 2}-2 f f^{i v} \bigr), \end{aligned}$$
(16)
$$\begin{aligned}& 4 f f^{\prime }=-\frac{L^{2}}{\rho V^{2}} \frac{\partial P}{\partial z}-2 \frac{\phi _{1}}{\rho V L} f^{\prime \prime } +2 \frac{\phi _{2}}{\rho L^{2}} \biggl(14 f^{\prime } f^{\prime \prime }+ \frac{r^{2}}{L} f^{\prime \prime } f^{\prime \prime \prime } \biggr) \\& \hphantom{4 f f^{\prime }=}{} +4 \frac{\phi _{3}}{\rho L^{2}} \biggl(11 f^{\prime } f^{\prime \prime }+f f^{\prime \prime \prime }+\frac{r^{2}}{L} f^{\prime \prime } f^{\prime \prime \prime } \biggr). \end{aligned}$$
(17)

To eliminate the terms representing pressure, Eq. (16) is differentiated with respect to z and Eq. (17) with respect to r. The resultant equation after subtraction is given as:

$$ -2 f f^{\prime \prime }=\frac{f^{i v}}{\operatorname{Re}}-K_{1} \bigl(4 f^{\prime \prime } f^{\prime \prime \prime }+2 f^{\prime } f^{i v} \bigr) -K_{2} \bigl(4 f^{\prime \prime } f^{\prime \prime \prime }+2 f^{\prime } f^{i v}+2 f f^{v} \bigr), $$
(18)

where, \(K_{1}=\frac{\Phi _{2}}{\rho L^{2}}\), \(K_{2}= \frac{\Phi _{3}}{\rho L^{2}}\) are the injected Reynolds number. Putting \(K_{2}=0\), Eq. (18) reduces to

$$ f^{i v}+2 \operatorname{Re} f f^{\prime \prime \prime }-K_{1} \operatorname{Re} \bigl(4 f^{\prime \prime } f^{\prime \prime \prime }+2 f^{\prime } f^{i v} \bigr)=0, $$
(19)

subjected to boundary conditions

$$ \begin{aligned} f(0)=0, \qquad f^{\prime }(0)=0, \\ f(1)=1, \qquad f^{\prime }(1)=0. \end{aligned} $$
(20)
Figure 1
figure 1

Schematic view of the physical system

2.2 Heat-transfer analysis

The nondimensionless form of the energy equation with viscous dissipation is given by

$$\begin{aligned}& \rho C \biggl(u_{r} \frac{\partial T}{\partial r}+u_{z} \frac{\partial T}{\partial z} \biggr)=\bar{k} \nabla ^{2} T+\varphi , \end{aligned}$$
(21)
$$\begin{aligned}& \varphi =\tau _{r r} \frac{\partial u_{r}}{\partial r}+\tau _{\theta \theta } \frac{u_{r}}{r}+\tau _{z z} \frac{\partial u_{z}}{\partial z}+ \tau _{r z} \biggl(\frac{\partial u_{r}}{\partial z}+ \frac{\partial u_{z}}{\partial r} \biggr), \end{aligned}$$
(22)

where, P, ρ, T, and C are pressure, density, temperature, coefficient of fluid and specific heat, respectively, φ denotes the dissipation function. The temperature distribution at the blade wall (\(z=0\)) can be written as

$$ T_{w}=T_{0}+\sum _{n=0}^{\infty } C_{n} \biggl(\frac{r}{L} \biggr)^{n}. $$
(23)

From [1] the fluid temperature has the form

$$ T=T_{0}+\sum_{n=0}^{\infty } C_{n} \biggl(\frac{r}{L} \biggr)^{n} q_{n}( \eta ), $$
(24)

here, \(T_{0}\) denotes the incoming coolant temperature. The following equation, along with the boundary conditions, is obtained after neglecting the dissipation effect:

$$\begin{aligned}& q^{\prime \prime }-\operatorname{Pr} \operatorname{Re} \bigl(f^{\prime } q-2 f q^{\prime } \bigr)=0, \\ \end{aligned}$$
(25)
$$\begin{aligned}& q(0)=1, \quad q(1)=0. \end{aligned}$$
(26)

3 Proposed methodology

The proposed methodology for solving the governing mathematical model of heat and mass transfer of a non-Newtonian viscoelastic fluid consists of two phases. In the first phase, Legendre polynomials based Legendre neural networks are designed. In the second phase, the designed network is used in an unsupervised manner to calculate the fitness value by optimizing unknown weights in the LeNN structure.

3.1 Design of LeNN model

Figure 2 depicts the structure of a single-layer Legendre Neural Network (LeNN), which consists of input and one output layer and a functional expansion block based on Legendre polynomials. The hidden layer is eliminated by transforming the input pattern to a higher-dimensional space using Legendre polynomials [45]. They are orthogonal on \([-1,1]\) and constitute the set of orthogonal polynomials. The first ten Legendre polynomials are given in Table 1.

Figure 2
figure 2

Structure of Legendre Neural-Network model

Table 1 Legendre polynomials

High-order legendre polynomials are generated by using the recursive formula that is given as

$$ L_{n+1}(\eta )=\frac{1}{n+1} \bigl[(2 n+1) \eta L_{n}(\eta )-n L_{n-1}( \eta ) \bigr]. $$
(27)

The series solution is constructed for the mathematical model of the problem in terms of input, hidden, and output layers. The architecture for the solution \(f(\eta )\) and its higher derivatives can be written as

$$\begin{aligned}& \hat{f}(\eta )=\sum_{i=1}^{k} \phi _{i} L (\omega _{i} \eta + \beta _{i} ), \end{aligned}$$
(28)
$$\begin{aligned}& \hat{f^{\prime }}(\eta )=\sum_{i=1}^{k} \phi _{i} L^{\prime } ( \omega _{i} \eta +\beta _{i} ), \end{aligned}$$
(29)
$$\begin{aligned}& \hat{f^{\prime \prime }}(\eta )=\sum_{i=1}^{k} \phi _{i} L^{\prime \prime } (\omega _{i} \eta +\beta _{i} ), \end{aligned}$$
(30)
$$\begin{aligned}& \hat{f^{\prime \prime \prime }}(\eta )=\sum_{i=1}^{k} \phi _{i} L^{ \prime \prime \prime } (\omega _{i} \eta +\beta _{i} ), \end{aligned}$$
(31)
$$\begin{aligned}& \hat{f^{iv}}(\eta )=\sum_{i=1}^{k} \phi _{i} L^{iv} (\omega _{i} \eta +\beta _{i} ). \end{aligned}$$
(32)

Here, \(\phi = [\phi _{1}, \phi _{2}, \phi _{3}, \ldots , \phi _{m} ]\), \(\omega = [\omega _{1}, \omega _{2}, \omega _{3}, \ldots , \omega _{m} ]\) and \(\beta = [\beta _{1}, \beta _{2}, \beta _{3}, \ldots , \beta _{m} ]\) are real-valued vectors and are bounded, L represents Legendre polynomials, n denotes the order of polynomials and i represents the number of neurons in the LeNN structure.

3.2 Formulation of fitness function

An unsupervised fitness or objective function is formulated for the problem and its boundary conditions in the form of mean square error are given below

$$ \operatorname{Minimize} \varepsilon =\varepsilon _{1}+ \varepsilon _{2}, $$
(33)

where \(\varepsilon _{1}\) is an error function of the differential equation and \(\varepsilon _{1}\) corresponds to the error function of the boundary conditions.

The fitness function for the governing equation of the model representing flow analysis of the non-Newtonian fluid is given as

$$\begin{aligned}& \varepsilon _{1}=\frac{1}{N} \sum _{m=1}^{N} \bigl(\hat{f}_{m}^{i v}+2 \operatorname{Re} \hat{f}_{m} \hat{f}_{m}^{\prime \prime \prime }-K_{1} \operatorname{Re} \bigl(4 \hat{f}_{m}^{\prime \prime } \hat{f}_{m}^{\prime \prime \prime }+2 \hat{f}_{m}^{\prime } \hat{f}_{m}^{i v} \bigr) \bigr)^{2}, \end{aligned}$$
(34)
$$\begin{aligned}& \varepsilon _{2}=\frac{1}{4} \bigl(\bigl( \hat{f}(0)\bigr)^{2}+\bigl(\hat{f}(1)-1\bigr)^{2}+ \bigl( \hat{f}^{\prime } (0) \bigr)^{2}+ \bigl( \hat{f}^{\prime } (1) \bigr)^{2} \bigr). \end{aligned}$$
(35)

Also, the fitness function for the heat-transfer analysis of the fluid is given as

$$ \operatorname{Minimize} \varepsilon =\varepsilon _{1}+ \varepsilon _{2}+ \varepsilon _{3}+\varepsilon _{4}, $$
(36)

where \(\varepsilon _{1}\) and \(\varepsilon _{2}\) are defined as

$$ \textstyle\begin{cases} \varepsilon _{1}=\frac{1}{N} \sum_{m=1}^{34} (\hat{f}_{m}^{i v}+2 \operatorname{Re} \hat{f}_{m} \hat{f}^{\prime \prime \prime }-K_{1} \operatorname{Re} (4 \hat{f}_{m}^{\prime \prime } \hat{f}_{m}^{\prime \prime \prime }+2 \hat{f}_{m}^{\prime } \hat{f}_{m}^{i v} ) )^{2} \\ \varepsilon _{2}=\frac{1}{N} \sum_{m=35}^{68} (\hat{q}_{m}^{ \prime \prime }-\operatorname{Pr} \operatorname{Re} (\hat{f}_{m}^{ \prime } \hat{q}_{m}-2 \hat{f}_{m} \hat{q}_{m}^{\prime } ) )^{2}. \end{cases} $$
(37)

Also, the corresponding boundary conditions are defined as

$$ \textstyle\begin{cases} \varepsilon _{3}=\frac{1}{4} ((\hat{f}(0))^{2}+(\hat{f}(1)-1)^{2}+ ( \hat{f}^{\prime } (0) )^{2}+ ( \hat{f}^{\prime } (1) )^{2} ), \\ \varepsilon _{4}=\frac{1}{2} ((\hat{q}(0)-1)^{2}+(\hat{q}(1)-0)^{2} ). \end{cases} $$
(38)

The intension of formulating fitness functions for the problem of heat- and mass-transfer analysis is to obtain appropriate weights in the LeNN structure that would minimize the error. The parameters for which the value of the fitness function approaches to zero then consequently the exact solution for the problem is approximated accurately by the proposed method.

3.3 Training of neurons

In this section, the procedure adopted for training of weights in a feedforword LeNN model for optimization of the fitness functions Eq. (33) and Eq. (36) is presented, which is based on hybridization of unsupervised and supervised learning of GNDO and SQP, respectively.

3.3.1 Generalized normal-distribution optimization

The generalized normal-distribution optimization (GNDO) algorithm is a novel metaheuristic technique presented by Yiying Zhang [46] inspired by generalized normal-distribution theory. The GNDO algorithm is widely used for parameter extraction of the model. Unlike other metaheuristic algorithms, the GNDO is easy to implement, as it requires the essential population size and termination criteria. The GNDO has a simple structure in which the position of each individual is updated by using a normal-distribution curve. The working strategy of the GNDO algorithm is subdivided into two phases, exploitation and exploration. A graphical overview of the GNDO is shown in Fig. 3.

Figure 3
figure 3

Graphical overview of the LeNN-GNDO-SQP algorithm

Exploitation

Exploitation is a process of finding the best solution around the search space consisting of the current positions of all individuals. Initially, the model for optimization by a generalized distribution model is given as

$$ \boldsymbol{v}_{i}^{t}=\hat{\mu }_{i}+\hat{\delta }_{i} \times \hat{\eta },\quad i=1,2,3, \ldots , N, $$
(39)

where, \({v}_{i}^{t}\), \(\hat{\mu }_{i}\), \(\hat{\delta }_{i}\) and η̂, are trial vector, generalized mean position, generalized standard variance and penalty factor, respectively. Moreover, η̂, \(\hat{\delta }_{i}\) and \(\hat{\mu }_{i}\) are formulated as

$$\begin{aligned}& \hat{\eta }=\textstyle\begin{cases} \sqrt{-\log (\zeta _{1} )} \times \cos (2 \pi \zeta _{2} ),\quad \text{if } a< =b, \\ \sqrt{-\log (\zeta _{1} )} \times \cos (2 \pi \zeta _{2}+\pi ), \quad \text{otherwise }, \end{cases}\displaystyle \end{aligned}$$
(40)
$$\begin{aligned}& \hat{\delta }_{i}=\sqrt{\frac{1}{3} \bigl[ \bigl(x_{i}^{t}-\hat{\mu } \bigr)^{2}+ \bigl(x_{\text{Best }}^{t}-\hat{\mu } \bigr)^{2}+(M- \hat{\mu })^{2} \bigr]}, \end{aligned}$$
(41)
$$\begin{aligned}& \hat{\mu }_{i}=\frac{1}{3} \bigl(\boldsymbol{x}_{i}^{t}+ \boldsymbol{x}_{ \text{Best }}^{t}+\boldsymbol{M} \bigr), \end{aligned}$$
(42)
$$\begin{aligned}& \boldsymbol{M}=\frac{\sum_{i=1}^{N} \boldsymbol{x}_{i}^{t}}{N}. \end{aligned}$$
(43)

Here, M is mean position, \(x_{\text{Best }}^{t}\) is current best so far, a, b, \(\zeta _{1}\) and \(\zeta _{2}\) are random numbers between 0 and 1. Furthermore, η̂,, \(\hat{\delta }_{i}\) and \(\hat{\mu }_{i}\) are discussed in the exploration phase.

Exploration

Exploration refers to the searching of the population space to obtain the best solution. Exploration of the GNDO is based on three randomly selected individuals, as given below:

$$ \boldsymbol{v}_{i}^{t}= \boldsymbol{x}_{i}^{t}+ \underbrace{\beta \times \bigl( \vert \zeta _{3} \vert \times \boldsymbol{v}_{1} \bigr)}_{ \text{Local information sharing}}+ \underbrace{(1-\beta ) \times \bigl( \vert \zeta _{4} \vert \times \boldsymbol{v}_{2} \bigr)}_{ \text{Global information sharing}}. $$
(44)

Here, \({v}_{1}\) and \({v}_{2}\) are trial vectors, β is an adjustment parameter, \(\zeta _{3}\) and \(\zeta _{4}\) are random numbers between 0 and 1 that are subjected to a standard normal distribution. The trial vectors are computed as:

$$\begin{aligned}& \boldsymbol{v}_{1}=\textstyle\begin{cases} \boldsymbol{x}_{i}^{t}-\boldsymbol{x}_{\mathrm{pl}}^{t},& \text{if } f (\boldsymbol{x}_{i}^{t} )< f (\boldsymbol{x}_{ \mathrm{pl}}^{t} ), \\ \boldsymbol{x}_{\mathrm{pl}}^{t}-\boldsymbol{x}_{i}^{t},& \text{otherwise }, \end{cases}\displaystyle \end{aligned}$$
(45)
$$\begin{aligned}& \boldsymbol{v}_{2}=\textstyle\begin{cases} \boldsymbol{x}_{\mathrm{p} 2}^{t}-\boldsymbol{x}_{\mathrm{p} 3}^{t}, &\text{if } f (\boldsymbol{x}_{\mathrm{p} 2}^{t} )< f ( \boldsymbol{x}_{\mathrm{p} 3}^{t} ), \\ \boldsymbol{x}_{\mathrm{p} 3}^{t}-\boldsymbol{x}_{\mathrm{p} 2}^{t}, &\text{otherwise }, \end{cases}\displaystyle \end{aligned}$$
(46)

where p1, p2 and p3 are integers. It is worth mentioning that the GNDO algorithm is inspired by the relationship between the normal-distribution law and traditional teaching phenomena, the search process of metaheuristics and group-teaching phenomena, respectively. GNDO has been applied to study the parameter extraction of photovoltaic models [46].

3.3.2 Sequential quadratic programming

The best performance (weights) obtained by the GNDO algorithm are refined by the process of hybridization with an efficient local search technique known as sequential quadratic programming using a MATLAB toolbox setting. SQP is one of the powerful methods for numerical solution of constrained nonlinear optimization problems. It was developed in 1963 and further refined in 1970. SQP has been applied to a number of problems that prove its power, accuracy and efficiency. Nocedal and Wright [47] discuss SQP in detail and also give a mathematical formulation for various large-scale numerical optimization problems. Some recent applications of SQP are a numerical solution for a simple LNG process [48], exploiting convexity in direct optimal control [49], a chaotic map for ELD optimization [50], short-term hydrothermal coordination [51] and maximum likelihood-based measurement noise covariance estimation [52].

3.4 Hybrid LeNN-GNDO-SQP algorithm

The necessary details of the procedural steps for the proposed algorithm are given as:

Step 1 Initialization of GNDO: Unknown parameters are generated randomly from the population space with the number of entries equal to the number of neurons in the LeNN structure. Mathematically, it can be written as

C= [ ( ϕ , ω , β ) ] T = [ ϕ 1 ω 1 β 1 ϕ 2 ω 2 β 2 ϕ m ω m β m ] ,
(47)

where ϕ, ω and β are real values from the population space. Parameter setting for the GNDO algorithm is given in Table 2.

Table 2 Parameter setting for Generalized normal-distribution algorithm and sequential quadratic programing

Step 2 Fitness Evaluation: Fitness functions Eq. (33) and Eq. (36) are evaluated to calculate the fitness value for the heat- and mass-transfer problem using the weights generated in the previous step.

Step 3 Termination Criterion: The GNDO algorithm stops executing when the following termination criteria are achieved:

  • Objective value, i.e., \(\varepsilon \rightarrow 10^{-15}\).

  • Function tolerance, i.e., \('Fun' TOL \rightarrow 10^{-15}\).

  • Predefined number of iterations is achieved.

If the stopping criteria are fulfilled, then go to step 5, otherwise continue.

Step 4 Storage: Store the optimal best weight corresponding to the minimum fitness value of the objective function and the time taken for the execution.

Step 5 Hybridization: SQP starts the process for minimization of Eq. (33) and Eq. (36) by taking the global best weights of GNDO as initial guesses.

Step 6 Fitness Evaluation: SQP starts the supervised learning, update the weights and evaluate the fitness function until the following termination conditions are satisfied.

  • Objective value, i.e., \(\varepsilon \rightarrow 10^{-15}\).

  • Predefined number of iterations is achieved.

Step 7 Storage: Store the best weight, minimum fitness value and time taken for the execution by SQP and the total time by GNDO-SQP in seconds.

Repeat the procedure from steps 1–7 for a sufficiently large number of independent runs to generate a large data set for reliable statistical analysis. The pseudocode for the proposed technique is given as Algorithm 1.

Algorithm 1
figure a

Pseudocode for the hybridized LeNN-GNDO-SQP algorithm.

The LeNN-GNDO-SQP algorithm has a simple structure and easy implementation because it only requires essential parameter setting and terminal conditions for execution. The GNDO algorithm updates the position of an individual using a generalized normal-distribution formula, and SQP complements its local convergence. Since Legendre polynomials are orthogonal on \([-1,1]\), the experimental analysis shows that the proposed algorithm converges to the best solutions for a number of real-world problems by training the weights from the interval \([-1,1]\). It has been noted that convergence of the design scheme is slightly affected by increasing the domain.

4 Performance indices

In this section, to study the performance of the design scheme for solving the mathematical model of flow and heat analysis due to variations in Reynolds number Re, the performance indicators in terms of mean absolute deviation (MAD), Theil’s inequality coefficient (TIC), root mean square error (RMSE) and Nash–Sutcliffe efficiency (NSE) are formulated as [32, 53].

$$\begin{aligned}& \mathrm{MAD}=\frac{1}{N} \sum_{m=1}^{N} \bigl\vert f_{m}(\eta )-\hat{f}_{m}( \eta ) \bigr\vert , \end{aligned}$$
(48)
$$\begin{aligned}& \mathrm{TIC}= \frac{\sqrt{\frac{1}{N} \sum_{n=1}^{N} (f_{m}(\eta )-\hat{f}_{m}(\xi ) )^{2}}}{(\sqrt{\frac{1}{N} \sum_{m=1}^{N} (f_{m}(\eta ))^{2}}+\sqrt{\frac{1}{N} \sum_{m=1}^{N} (\hat{f}_{m}(\eta ))^{2}})}, \end{aligned}$$
(49)
$$\begin{aligned}& R M S E=\frac{1}{N} \sqrt{\sum_{m=1}^{N} \bigl(f_{m} (\xi )-\hat{f}_{m} (\xi ) \bigr)^{2}}, \\ \end{aligned}$$
(50)
$$\begin{aligned}& \text{NSE}= \textstyle\begin{cases} 1- \frac{\sum_{m=1}^{N} (f_{m}(\eta )-\hat{f}_{m}(\eta ) )^{2}}{\sum_{m=1}^{N} ((f_{m}(\eta )-\underline{\hat{f}}_{m} (\eta ) )^{2}},& \underline{\hat{f}}_{m}(\eta )=\frac{1}{N} \sum_{m=1}^{N} \hat{f}_{m}(\eta ), \end{cases}\displaystyle \end{aligned}$$
(51)

where, \(f_{m}\) is the analytical solution and \(\hat{f}_{m}\) represents the approximate solution by the proposed algorithm, while N denotes the number of grid points.

5 Numerical experimentation and discussion

In this section, we discuss a different problem with multiple scenarios depending on the variations in Re on heat and mass analysis of a non-Newtonian fluid. A flow chart of the problem studied in this paper is presented in Fig. 4.

Figure 4
figure 4

Graphical overview of the model, cases studies and flow chart of the ANN-GNDO-SQP algorithm

Problem 1: Flow problem with variations in Reynolds number:

In this problem, the governing equations, Eqs. (33)–(35), of flow analysis are investigated. Different cases are considered to study the influence of variations in Reynolds number \((\operatorname{Re})\) on velocity components \(f(\eta )\) and \(f^{\prime }(\eta )\). Case I: \(\operatorname{Re} = 0.5\), Case II: \(\operatorname{Re} = 1.0\), Case III: \(\operatorname{Re} = 1.5\) and Case IV: \(\operatorname{Re} = 2.0\). Fitness functions for each case are given as

$$\begin{aligned}& \operatorname{Minimize} \varepsilon = \textstyle\begin{cases} \frac{1}{N} \sum_{m=1}^{N} (\hat{f}^{i v}_{m}+2(0.5) \hat{f}_{m} \hat{f}^{\prime \prime \prime }_{m}-K_{1}(0.5) (4 \hat{f}^{ \prime \prime }_{m} \hat{f}^{\prime \prime \prime }_{m}+2 \hat{f}^{ \prime } \hat{f}^{i v}_{m} ) )^{2} \\ \quad {}+\frac{1}{4} ((\hat{f}_{m}(0))^{2}+(\hat{f}_{m}(1)-1)^{2}+ ( \hat{f}^{\prime }_{m} (0) )^{2}+ ( \hat{f}^{\prime }_{m} (1) )^{2} ), \end{cases}\displaystyle \end{aligned}$$
(52)
$$\begin{aligned}& \operatorname{Minimize} \varepsilon = \textstyle\begin{cases} \frac{1}{N} \sum_{m=1}^{N} (\hat{f}^{i v}_{m}+2(1.0) \hat{f}_{m} \hat{f}^{\prime \prime \prime }_{m}-K_{1}(1.0) (4 \hat{f}^{ \prime \prime }_{m} \hat{f}^{\prime \prime \prime }_{m}+2 \hat{f}^{ \prime } \hat{f}^{i v}_{m} ) )^{2} \\ \quad {}+\frac{1}{4} ((\hat{f}_{m}(0))^{2}+(\hat{f}_{m}(1)-1)^{2}+ ( \hat{f}^{\prime }_{m} (0) )^{2}+ ( \hat{f}^{\prime }_{m} (1) )^{2} ), \end{cases}\displaystyle \end{aligned}$$
(53)
$$\begin{aligned}& \operatorname{Minimize} \varepsilon = \textstyle\begin{cases} \frac{1}{N} \sum_{m=1}^{N} (\hat{f}^{i v}_{m}+2(1.5) \hat{f}_{m} \hat{f}^{\prime \prime \prime }_{m}-K_{1}(1.5) (4 \hat{f}^{ \prime \prime }_{m} \hat{f}^{\prime \prime \prime }_{m}+2 \hat{f}^{ \prime } \hat{f}^{i v}_{m} ) )^{2} \\ \quad {}+\frac{1}{4} ((\hat{f}_{m}(0))^{2}+(\hat{f}_{m}(1)-1)^{2}+ ( \hat{f}^{\prime }_{m} (0) )^{2}+ ( \hat{f}^{\prime }_{m} (1) )^{2} ), \end{cases}\displaystyle \end{aligned}$$
(54)
$$\begin{aligned}& \operatorname{Minimize} \varepsilon = \textstyle\begin{cases} \frac{1}{N} \sum_{m=1}^{N} (\hat{f}^{i v}_{m}+2(2.0) \hat{f}_{m} \hat{f}^{\prime \prime \prime }_{m}-K_{1}(2.0) (4 \hat{f}^{ \prime \prime }_{m} \hat{f}^{\prime \prime \prime }_{m}+2 \hat{f}^{ \prime } \hat{f}^{i v}_{m} ) )^{2} \\ \quad {}+\frac{1}{4} ((\hat{f}_{m}(0))^{2}+(\hat{f}_{m}(1)-1)^{2}+ ( \hat{f}^{\prime }_{m} (0) )^{2}+ ( \hat{f}^{\prime }_{m} (1) )^{2} ). \end{cases}\displaystyle \end{aligned}$$
(55)

In this problem, the LeNN-GNDO-SQP algorithm is applied to study the effect of variations in Reynolds number \((\operatorname{Re})\) on the velocity profile. Approximate solutions for the velocity profile along with absolute errors for each case are given in Table 3 and graphically shown in Figs. 5(a) and 6(a), respectively. It is observed that the velocity profile of the fluid increases at higher values of the Reynolds number. Table 4 presents the results for changes in the velocity profile \(f^{\prime }\). Furthermore, to study the convergence, stability and robustness of the technique, multiple executions have been carried out. The behavior of the fitness function, see Eqs. (52)–(55), for each case are shown in Fig. 6. It can be observed that for most of the simulation, the value of the fitness function lies between 10−5 to 10−7 for each case, which shows the stability of the solutions. Table 5 represents the statistics of absolute errors in terms of minimum, mean and standard deviations. It can be seen that the absolute errors for each case of problem 1 lie around 10−7 to 10−12, 10−6 to 10−12, 10−4 to 10−10 and 10−3 to 10−9, respectively. The performance of the mean absolute deviation, Theil’s inequality coefficient and the root mean square error in terms of minimum, mean and standard deviations are given in Table 6. The results of MAD, TIC and RMSE during multiple executions are shown through Fig. 7. Global values of performance indices are shown in Fig. 8. Global values for fitness functions and performance parameters (MAD,TIC and RMSE) lie around 10−3 to 10−5, 10−2 to 10−4, 10−2 to 10−4 and 10−2 to 10−4, respectively. Values of the unknown parameters in the LeNN structure for obtaining the best solutions for each case of problem 1 are given in Table 7 and graphically shown in Fig. 9.

Figure 5
figure 5

(a) Approximate solutions obtained by the LeNN-GNDO-SQP algorithm along with (b) velocity profile \(f^{\prime }\) for flow analysis of a non-Newtonian fluid due to variations in Re

Figure 6
figure 6

(a) Absolute errors in solutions obtained by the proposed technique for each case study. (b) Global values of fitness function and performance indices obtained during 100 independent runs

Figure 7
figure 7

Boxplots for performance evaluation of mean absolute deviation, Theil’s inequality coefficient and root mean square error obtained during 100 independent runs

Figure 8
figure 8

Global performance of the fitness function and performance indices for 100 independent execution by the LeNN-GNDO-SQP algorithm

Figure 9
figure 9

Trained weights in LeNN optimized by the proposed technique for Case I, II, III and IV of problem 1

Table 3 Comparison between approximate series solutions and absolute errors obtained by DTM [5] and the proposed technique LeNN-GNDO-SQP for different cases of problem 1
Table 4 Results obtained by the proposed technique for the velocity profile \((f^{\prime })\) of problem 1 due to variations in Re
Table 5 Statistical analysis of absolute errors in term of minimum, mean and standard deviation for different cases of problem 1
Table 6 Performance of fitness function and performance measures during 100 independent runs
Table 7 Unknown parameters in the LeNN structure obtained by the proposed algorithm for optimization of different cases of problem 1

Problem 2: Heat-transfer analysis with variations in Reynolds number:

In this problem, heat-transfer analysis has been carried out by studying the effect of variations in Reynolds number. The following cases are considered to study the components of velocity and temperature profile \(f(\eta )\) and \(q(\eta )\), respectively, of the fluid. Case I: \(\operatorname{Re} = 0.5\), Case II: \(\operatorname{Re} = 2.0\), Case III: \(\operatorname{Re} = 5.0\) and Case IV: \(\operatorname{Re} = 10.0\).

$$\begin{aligned}& \operatorname{Minimize} \varepsilon = \textstyle\begin{cases} \frac{1}{N} \sum_{m=1}^{34} (\hat{f}^{i v}+2 (0.5) \hat{f}_{m} \hat{f}^{\prime \prime \prime }_{m}-K_{1}(0.5) (4 \hat{f}^{ \prime \prime }_{m} \hat{f}^{\prime \prime \prime }_{m}+2 \hat{f}^{ \prime }_{m} \hat{f}^{i v}_{m} ) )^{2} \\ \quad {}+\frac{1}{N} \sum_{m=35}^{68} (\hat{q}^{\prime \prime }_{m}- \operatorname{Pr} (0.5) (\hat{f}^{\prime }_{m} \hat{q}_{m}-2 \hat{f}_{m} \hat{q}^{\prime }_{m} ) )^{2} \\ \quad {}+\frac{1}{4} ((\hat{f}(0))^{2}+(\hat{f}(1)-1)^{2}+ ( \hat{f}^{\prime } (0) )^{2}+ ( \hat{f}^{\prime } (1) )^{2} ) \\ \quad {}+\frac{1}{4} ((\hat{f}(0))^{2}+(\hat{f}(1)-1)^{2}+ ( \hat{f}^{\prime } (0) )^{2}+ ( \hat{f}^{\prime } (1) )^{2} ), \end{cases}\displaystyle \end{aligned}$$
(56)
$$\begin{aligned}& \operatorname{Minimize} \varepsilon = \textstyle\begin{cases} \frac{1}{N} \sum_{m=1}^{34} (\hat{f}^{i v}+2 (2.0) \hat{f}_{m} \hat{f}^{\prime \prime \prime }_{m}-K_{1}(2.0) (4 \hat{f}^{ \prime \prime }_{m} \hat{f}^{\prime \prime \prime }_{m}+2 \hat{f}^{ \prime }_{m} \hat{f}^{i v}_{m} ) )^{2} \\ \quad {}+\frac{1}{N} \sum_{m=35}^{68} (\hat{q}^{\prime \prime }_{m}- \operatorname{Pr} (2.0) (\hat{f}^{\prime }_{m} \hat{q}_{m}-2 \hat{f}_{m} \hat{q}^{\prime }_{m} ) )^{2} \\ \quad {}+\frac{1}{4} ((\hat{f}(0))^{2}+(\hat{f}(1)-1)^{2}+ ( \hat{f}^{\prime } (0) )^{2}+ ( \hat{f}^{\prime } (1) )^{2} ) \\ \quad {}+\frac{1}{4} ((\hat{f}(0))^{2}+(\hat{f}(1)-1)^{2}+ ( \hat{f}^{\prime } (0) )^{2}+ ( \hat{f}^{\prime } (1) )^{2} ), \end{cases}\displaystyle \end{aligned}$$
(57)
$$\begin{aligned}& \operatorname{Minimize} \varepsilon = \textstyle\begin{cases} \frac{1}{N} \sum_{m=1}^{34} (\hat{f}^{i v}+2 (5.0) \hat{f}_{m} \hat{f}^{\prime \prime \prime }_{m}-K_{1}(5.0) (4 \hat{f}^{ \prime \prime }_{m} \hat{f}^{\prime \prime \prime }_{m}+2 \hat{f}^{ \prime }_{m} \hat{f}^{i v}_{m} ) )^{2} \\ \quad {}+\frac{1}{N} \sum_{m=35}^{68} (\hat{q}^{\prime \prime }_{m}- \operatorname{Pr} (5.0) (\hat{f}^{\prime }_{m} \hat{q}_{m}-2 \hat{f}_{m} \hat{q}^{\prime }_{m} ) )^{2} \\ \quad {}+\frac{1}{4} ((\hat{f}(0))^{2}+(\hat{f}(1)-1)^{2}+ ( \hat{f}^{\prime } (0) )^{2}+ ( \hat{f}^{\prime } (1) )^{2} ) \\ \quad {}+\frac{1}{4} ((\hat{f}(0))^{2}+(\hat{f}(1)-1)^{2}+ ( \hat{f}^{\prime } (0) )^{2}+ ( \hat{f}^{\prime } (1) )^{2} ), \end{cases}\displaystyle \end{aligned}$$
(58)
$$\begin{aligned}& \operatorname{Minimize} \varepsilon = \textstyle\begin{cases} \frac{1}{N} \sum_{m=1}^{34} (\hat{f}^{i v}+2 (10.0) \hat{f}_{m} \hat{f}^{\prime \prime \prime }_{m}-K_{1}(10.0) (4 \hat{f}^{ \prime \prime }_{m} \hat{f}^{\prime \prime \prime }_{m}+2 \hat{f}^{ \prime }_{m} \hat{f}^{i v}_{m} ) )^{2} \\ \quad {}+\frac{1}{N} \sum_{m=35}^{68} (\hat{q}^{\prime \prime }_{m}- \operatorname{Pr} (10.0) (\hat{f}^{\prime }_{m} \hat{q}_{m}-2 \hat{f}_{m} \hat{q}^{\prime }_{m} ) )^{2} \\ \quad {}+\frac{1}{4} ((\hat{f}(0))^{2}+(\hat{f}(1)-1)^{2}+ ( \hat{f}^{\prime } (0) )^{2}+ ( \hat{f}^{\prime } (1) )^{2} ) \\ \quad {}+\frac{1}{4} ((\hat{f}(0))^{2}+(\hat{f}(1)-1)^{2}+ ( \hat{f}^{\prime } (0) )^{2}+ ( \hat{f}^{\prime } (1) )^{2} ). \end{cases}\displaystyle \end{aligned}$$
(59)

In this problem, the proposed methodology is implemented on a non-Newtonian fluid through a porous channel to study the effect of variations in Reynolds number Re on temperature profile q. Approximate solutions and absolute errors obtained by the LeNN-GNDO-SQP algorithm are given in Table 8 and graphically presented in Fig. 10. It is observed that increasing the Reynolds number causes the temperature profile of the non-Newtonian fluid to decrease. Statistical analysis given in Table 9 on absolute errors in term of minimum, mean and standard deviations shows the accuracy of stability of solutions obtained by the proposed technique. Absolute errors in the solution for each case lie around 10−11 to 10−13, 10−10 to 10−12, 10−8 to 10−11 and 10−8 to 10−10, respectively. Table 10 shows that minimum values of fitness function, MAD, TIC and RMSE lie around \(1.63\mathrm{E}{-}08\) to \(1.39\mathrm{E}{-}03\), \(5.33\mathrm{E}{-}05\), \(1.01\mathrm{E}{-}03\), \(2.30\mathrm{E}{-}05\) and \(1.09\mathrm{E}{-}03\), \(6.12\mathrm{E}{-}05\). The global performance of the performance measures along with fitness values obtained during 100 independent executions are shown in Fig. 11. The accuracy of the proposed technique is shown in Figs. 12 and 13 representing boxplots for MAD, TIC and RMSE along with normal-probability curves of NSE for each case of problem 2. The unknown weights used for finding the solutions of problem 2 are given in Table 11 and graphically illustrated through Fig. 14.

Figure 10
figure 10

(a) Results of the temperature profile for problem 2, obtained by the LeNN-GNDO-SQP algorithm along with (b) Absolute errors in the solution for heat analysis of a non-Newtonian fluid due to variations in Re

Figure 11
figure 11

(a) Global performance of the performance indices and (b) Behavior of the fitness function during 100 independent executions by the LeNN-GNDO-SQP algorithm for problem 2

Figure 12
figure 12

Boxplots for performance evaluation of mean absolute deviation, Theil’s inequality coefficient and root mean square error obtained during 100 independent runs for problem 2

Figure 13
figure 13

Normal-probability curves for Nash–Sutcliffe efficiency for each case of problem 2

Figure 14
figure 14

Best weights obtained by the proposed algorithm for solutions of different cases of problem 2

Table 8 Approximate solutions for the temperature profile of a non-Newtonian fluid obtained by the LeNN-GNDO-SQP algorithm for different cases of problem 2
Table 9 Statistical analysis of absolute errors in term of minimum, mean and standard deviation for different cases of problem 2
Table 10 Performance of fitness function and performance measures (MAD,TIC and RMSE) obtained during 100 independent runs by the proposed algorithm for problem 2
Table 11 Unknown parameters in the LeNN structure obtained by the proposed algorithm for optimization of different cases of problem 2

Finally, the computational complexity analysis (CCA) is evaluated for the proposed algorithm based on the average time taken to calculate unknown neurons in the LeNN structure using the GNDO-SQP algorithm. Values of complexity operators for different cases of heat and mass transfer of a non-Newtonian fluid in a porous channel in terms of mean and standard deviations of executed time by the system are given in Table 12. The results show the consistency of the proposed algorithm. All calculations and evaluation for this research are done on an HP laptop EliteBook 840 G2 with intel(R) Core (TM) i5-5300 CPU @ 2.30 GHz, 8.00 GB RAM, 64 bit operating in Microsoft Windows 10 Education edition running the R2018a version of MATLAB.

Table 12 Computational complexity analysis of the proposed algorithm for different cases of problems 1 and 2

6 Conclusion

This paper investigates a mathematical model for flow and heat analysis of a non-Newtonian fluid with an axisymmetric channel and porous wall. We conclude our findings as follows:

  • A novel evolutionary algorithm is proposed in which we combine the strength of Legendre neural networks (LeNNs) with a generalized normal-distribution algorithm and sequential quadratic programming. It is named the LeNN-GNDO-SQP algorithm.

  • We studied the flow and heat analysis of a non-Newtonian fluid and the influence of variations in Reynolds number on velocity and temperature profiles of the fluid. Two problems are considered, each with 4 cases depending on different values of Re. A detailed overview of the problems studied in this paper is shown in Fig. 4.

  • Experimental results obtained by the LeNN-GNDO-SQP algorithm for all eight cases of problems 1 and 2 are given in Tables 3, 4 and 8. The results show that the approximate solutions obtained by the proposed technique overlap the analytical and DTM solutions with absolute minimum errors of the state-of-the-art algorithms.

  • The performance indicators of mean absolute deviation (MAD), Theil’s inequality coefficient (TIC), root mean square error (RMSE), and Nash–Sutcliffe efficiency are calculated for all cases of problems 1 and 2. The results show the stability and correctness of the proposed algorithm.

  • Graphical analysis in terms of boxplots, frequency plots, and normal-probability curves are presented for 100 independent executions by the proposed technique to study the convergence of the proposed algorithm.

The above analysis suggests that the LeNN-GNDO-SQP algorithm has calculated better approximate solutions for the mathematical model of flow and heat analysis of a non-Newtonian fluid with an axisymmetric channel and porous walls. The proposed technique can solve several real-world problems without any prior information about the objective function.

Availability of data and materials

The data that support the findings of this study are available from the corresponding author upon reasonable request.

References

  1. Debruge, L., Han, L.: Heat transfer in a channel with a porous wall for turbine cooling application. J. Heat Transf. 94(4), 385–390 (1972)

    Google Scholar 

  2. Yuan, S.: Laminar pipe flow with injection and suction through a porous wall. Technical report, Princeton univ NJ James forrestal research center, (1955)

  3. Kurtcebe, C., Erim, M.: Heat transfer of a non-Newtonian viscoinelastic fluid in an axisymmetric channel with a porous wall for turbine cooling application. Int. Commun. Heat Mass Transf. 29(7), 971–982 (2002)

    Google Scholar 

  4. White, J., Metzner, A.: Constitutive equations for viscoelastic fluids with application to rapid external flows. AIChE J. 11, 324–330 (1965)

    Google Scholar 

  5. Sepasgozar, S., Faraji, M., Valipour, P.: Application of differential transformation method (DTM) for heat and mass transfer in a porous channel. Propuls. Power Res. 6, 41–48 (2017)

    Google Scholar 

  6. Yazid, M.N.A.W.M., Sidik, N.A.C., Yahya, W.J.: Heat and mass transfer characteristics of carbon nanotube nanofluids: a review. Renew. Sustain. Energy Rev. 80, 914–941 (2017)

    Google Scholar 

  7. Riaz, A., Ellahi, R., Bhatti, M.M., Marin, M.: Study of heat and mass transfer in the Eyring–Powell model of fluid propagating peristaltically through a rectangular compliant channel. Heat Transf. Res. 50, 1539–1560 (2019)

    Google Scholar 

  8. Abro, K.A., Gomez-Aguilar, J.: A comparison of heat and mass transfer on a Walter’sB fluid via Caputo–Fabrizio versus Atangana–Baleanu fractional derivatives using the Fox-H function. Eur. Phys. J. Plus 134, 101 (2019)

    Google Scholar 

  9. Sheikholeslami, M., Ellahi, R., Ashorynejad, H., Domairry, G., Hayat, T.: Effects of heat transfer in flow of nanofluids over a permeable stretching wall in a porous medium. J. Comput. Theor. Nanosci. 11, 486–496 (2014)

    Google Scholar 

  10. Sheikholeslami, M., Ashorynejad, H.R., Domairry, G., Hashim, I.: Flow and heat transfer of Cu-water nanofluid between a stretching sheet and a porous surface in a rotating system. J. Appl. Math. 2012, Article ID 421320 (2012)

    MATH  Google Scholar 

  11. Muhammad Atif, S., Abbas, M., Rashid, U., Emadifar, H.: Stagnation point flow of EMHD micropolar nanofluid with mixed convection and slip boundary. Complexity 2021, Article ID 3754922 (2021)

    Google Scholar 

  12. Rashid, U., Liang, H., Ahmad, H., Abbas, M., Iqbal, A., Hamed, Y.: Study of (Ag and TiO2)/water nanoparticles shape effect on heat transfer and hybrid nanofluid flow toward stretching shrinking horizontal cylinder. Results Phys. 21, 103812 (2021)

    Google Scholar 

  13. Rashid, U., Baleanu, D., Iqbal, A., Abbas, M.: Shape effect of nanosize particles on magnetohydrodynamic nanofluid flow and heat transfer over a stretching sheet with entropy generation. Entropy 22(10), 1171 (2020). https://doi.org/10.3390/e22101171

    Article  MathSciNet  Google Scholar 

  14. Rashid, U., Baleanu, D., Liang, H., Abbas, M., Iqbal, A., et al.: Marangoni boundary layer flow and heat transfer of graphene–water nanofluid with particle shape effects. In: Processes, vol. 8, p. 1120 (2020)

    Google Scholar 

  15. Sheikholeslami, M., Ganji, D.: Heat transfer of Cu-water nanofluid flow between parallel plates. Powder Technol. 235, 873–879 (2013)

    Google Scholar 

  16. Sheikholeslami, M., Ashorynejad, H., Ganji, D., Kolahdooz, A.: Investigation of rotating MHD viscous flow and heat transfer between stretching and porous surfaces using analytical method. Math. Probl. Eng. 2011, Article ID 258734 (2011)

    MathSciNet  MATH  Google Scholar 

  17. Sheikholeslami, M., Ganji, D., Ashorynejad, H.: Investigation of squeezing unsteady nanofluid flow using ADM. Powder Technol. 239, 259–265 (2013)

    Google Scholar 

  18. Sheikholeslami, M., Ganji, D., Ashorynejad, H., Rokni, H.B.: Analytical investigation of Jeffery–Hamel flow with high magnetic field and nanoparticle by Adomian decomposition method. Appl. Math. Mech. 33, 25–36 (2012)

    MathSciNet  MATH  Google Scholar 

  19. Unyong, B., Govindan, V., Bowmiya, S., Rajchakit, G., Gunasekaran, N., Vadivel, R., Lim, C.P., Agarwal, P.: Generalized linear differential equation using Hyers–Ulam stability approach. AIMS Math. 6, 1607–1623 (2021)

    MathSciNet  Google Scholar 

  20. Iqbal, A., Siddiqui, M.J., Muhi, I., Abbas, M., Akram, T.: Nonlinear waves propagation and stability analysis for planar waves at far field using quintic B-spline collocation method. Alex. Eng. J. 59, 2695–2703 (2020)

    Google Scholar 

  21. Rashid, U., Abdeljawad, T., Liang, H., Iqbal, A., Abbas, M., Siddiqui, M., et al.: The shape effect of gold nanoparticles on squeezing nanofluid flow and heat transfer between parallel plates. Math. Probl. Eng. 2020, Article ID 9584854 (2020)

    MathSciNet  MATH  Google Scholar 

  22. Sheikholeslami, M., Ganji, D.: Magnetohydrodynamic flow in a permeable channel filled with nanofluid. Sci. Iran. 21, 203–212 (2014)

    Google Scholar 

  23. Sheikholeslami, M., Ashorynejad, H.R., Domairry, D., Hashim, I., et al.: Investigation of the laminar viscous flow in a semi-porous channel in the presence of uniform magnetic field using optimal homotopy asymptotic method. Sains Malays. 41, 1281–1285 (2012)

    Google Scholar 

  24. Chen, C.K., Ho, S.H.: Solving partial differential equations by two-dimensional differential transform method. Appl. Math. Comput. 106, 171–179 (1999)

    MathSciNet  MATH  Google Scholar 

  25. Hassan, I.A.H.: Comparison differential transformation technique with Adomian decomposition method for linear and nonlinear initial value problems. Chaos Solitons Fractals 36, 53–65 (2008)

    MathSciNet  MATH  Google Scholar 

  26. Jang, M.J., Chen, C.L., Liu, Y.C.: Two-dimensional differential transform for partial differential equations. Appl. Math. Comput. 121, 261–270 (2001)

    MathSciNet  MATH  Google Scholar 

  27. Chakraverty, S., Mall, S.: Regression-based weight generation algorithm in neural network for solution of initial and boundary value problems. Neural Comput. Appl. 25, 585–594 (2014)

    Google Scholar 

  28. Mall, S., Chakraverty, S.: Numerical solution of nonlinear singular initial value problems of Emden–Fowler type using Chebyshev Neural Network method. Neurocomputing 149, 975–982 (2015)

    Google Scholar 

  29. Mall, S., Chakraverty, S.: Application of Legendre neural network for solving ordinary differential equations. Appl. Soft Comput. 43, 347–356 (2016)

    Google Scholar 

  30. El-Sayed, A.A., Agarwal, P.: Numerical solution of multiterm variable-order fractional differential equations via shifted Legendre polynomials. Math. Methods Appl. Sci. 42, 3978–3991 (2019)

    MathSciNet  MATH  Google Scholar 

  31. Agarwal, P., Merker, J., Schuldt, G.: Singular integral Neumann boundary conditions for semilinear elliptic PDEs. Axioms 10, 74 (2021)

    Google Scholar 

  32. Khan, N.A., Sulaiman, M., Aljohani, A.J., Kumam, P., Alrabaiah, H.: Analysis of multi-phase flow through porous media for imbibition phenomena by using the LeNN-WOA-NM algorithm. IEEE Access 8, 196425–196458 (2020)

    Google Scholar 

  33. Rajchakit, G., Sriraman, R., Boonsatit, N., Hammachukiattikul, P., Lim, C., Agarwal, P.: Global exponential stability of Clifford-valued neural networks with time-varying delays and impulsive effects. Adv. Differ. Equ. 2021, 1 (2021)

    MathSciNet  Google Scholar 

  34. Al-Dhaifallah, M., Nisar, K.S., Agarwal, P., Elsayyad, A.: Modeling and identification of heat exchanger process using least squares support vector machines. Therm. Sci. 21, 2859–2869 (2017)

    Google Scholar 

  35. Ahmad, A., Sulaiman, M., Aljohani, A.J., Alhindi, A., Alrabaiah, H.: Design of an efficient algorithm for solution of Bratu differential equations. Ain Shams Eng. J. 12(2), 2211–2225 (2021)

    Google Scholar 

  36. Zhang, Y., Lin, J., Hu, Z., Khan, N.A., Sulaiman, M.: Analysis of third-order nonlinear multi-singular Emden–Fowler equation by using the LeNN-WOA-NM algorithm. IEEE Access 9, 72111–72138 (2021)

    Google Scholar 

  37. Ali, A., Qadri, S., Khan Mashwani, W., Kumam, W., Kumam, P., Naeem, S., Goktas, A., Jamal, F., Chesneau, C., Anam, S., et al.: Machine learning based automated segmentation and hybrid feature analysis for diabetic retinopathy classification using fundus image. Entropy 22, 567 (2020)

    Google Scholar 

  38. Khan, N.A., Sulaiman, M., Kumam, P., Aljohani, A.J.: A new soft computing approach for studying the wire coating dynamics with Oldroyd 8-constant fluid. Phys. Fluids 33, 036117 (2021)

    Google Scholar 

  39. Ahmad, A., Sulaiman, M., Alhindi, A., Aljohani, A.J.: Analysis of temperature profiles in longitudinal fin designs by a novel neuroevolutionary approach. IEEE Access 8, 113285–113308 (2020)

    Google Scholar 

  40. Khan, N.A., Khalaf, O.I., Romero, C.A.T., Sulaiman, M., Bakar, M.A.: Application of Euler neural networks with soft computing paradigm to solve nonlinear problems arising in heat transfer. Entropy 23, 1053 (2021)

    MathSciNet  Google Scholar 

  41. Khan, N.A., Sulaiman, M., Kumam, P., Bakar, M.A.: Thermal analysis of conductive-convective-radiative heat exchangers with temperature dependent thermal conductivity. IEEE Access 9, 138876–138902 (2021)

    Google Scholar 

  42. Khan, N.A., Sulaiman, M., Tavera Romero, C.A., Alarfaj, F.K.: Theoretical analysis on absorption of carbon dioxide (CO2) into solutions of phenyl glycidyl ether (PGE) using nonlinear autoregressive exogenous neural networks. Molecules 26, 6041 (2021)

    Google Scholar 

  43. Khan, N.A., Sulaiman, M., Aljohani, A.J., Bakar, M.A., et al.: Mathematical models of CBSC over wireless channels and their analysis by using the LeNN-WOA-NM algorithm. Eng. Appl. Artif. Intell. 107, 104537 (2022)

    Google Scholar 

  44. Sheikholeslami, M., Ganji, D., Rashidi, M.: Magnetic field effect on unsteady nanofluid flow and heat transfer using Buongiorno model. J. Magn. Magn. Mater. 416, 164–173 (2016)

    Google Scholar 

  45. Rajchakit, G., Agarwal, P., Ramalingam, S.: Stability Analysis of Neural Networks. Springer, Singapore (2021)

    MATH  Google Scholar 

  46. Zhang, Y., Jin, Z., Mirjalili, S.: Generalized normal-distribution optimization and its applications in parameter extraction of photovoltaic models. Energy Convers. Manag. 224, 113301 (2020)

    Google Scholar 

  47. Nocedal, J., Wright, S.: Numerical Optimization. Springer, Berlin (2006)

    MATH  Google Scholar 

  48. Wahl, P.E., Løvseth, S.W.: Formulating the optimization problem when using sequential quadratic programming applied to a simple LNG process. Comput. Chem. Eng. 82, 1–12 (2015)

    Google Scholar 

  49. Verschueren, R., van Duijkeren, N., Quirynen, R., Diehl, M.: Exploiting convexity in direct optimal control: a sequential convex quadratic programming method. In: 2016 IEEE 55th Conference on Decision and Control (CDC), pp. 1099–1104. IEEE Comput. Soc., Los Alamitos (2016)

    Google Scholar 

  50. Han, X., Quan, L., Xiong, X.: A modified gravitational search algorithm based on sequential quadratic programming and chaotic map for ELD optimization. Knowl. Inf. Syst. 42, 689–708 (2015)

    Google Scholar 

  51. Chaudhry, F., Amin, M., Iqbal, M., Khan, R., Khan, J.: A novel chaotic differential evolution hybridized with quadratic programming for short-term hydrothermal coordination. Neural Comput. Appl. 30, 3533–3544 (2018)

    Google Scholar 

  52. Gao, B., Hu, G., Li, W., Zhao, Y., Zhong, Y.: Maximum likelihood-based measurement noise covariance estimation using sequential quadratic programming for cubature Kalman filter applied in INS/BDS integration. Math. Probl. Eng. 2021, Article ID 9383678 (2021)

    Google Scholar 

  53. Huang, W., Jiang, T., Zhang, X., Khan, N.A., Sulaiman, M.: Analysis of beam-column designs by varying axial load with internal forces and bending rigidity using a new soft computing technique. Complexity 2021, Article ID 6639032 (2021)

    Google Scholar 

Download references

Acknowledgements

The authors acknowledge the financial support provided by Thailand Science Research and Innovation (TSRI) Basic Research Fund: Fiscal year 2022 (FF65).

Funding

This research project is supported by Thailand Science Research and Innovation (TSRI) Basic Research Fund: Fiscal year 2022 (FF65).

Author information

Authors and Affiliations

Authors

Contributions

All authors equally contributed to this manuscript and approved the final version.

Corresponding authors

Correspondence to Muhammad Sulaiman or Poom Kumam.

Ethics declarations

Competing interests

The authors declare that they have no competing interests.

Appendix

Appendix

Approximate series solutions obtained by the proposed algorithm for different cases of problem 1 are given as:

f approx ( η ) = 0.0737124 + ( 0.9548857 η 0.9853870 ) ( 0.1238116 ) f approx ( η ) = + ( 3 ( 0.0019840 η + 0.8147776 ) 2 1 2 ) ( 0.6884827 ) f approx ( η ) = + ( 5 ( 0.9998051 η + 0.6438451 ) 3 3 ( 0.9998051 η + 0.6438451 ) 2 ) f approx ( η ) = × ( 0.6077218 ) f approx ( η ) = + ( 35 ( 0.2778307 η + 0.2041020 ) 4 30 ( 0.2778307 η + 0.2041020 ) 2 8 f approx ( η ) = + 3 8 ) ( 0.2521553 ) f approx ( η ) = f approx ( η ) = + ( 46 , 189 ( 0.1944599 η + 0.0010385 ) 10 109 , 395 ( 0.1944599 η + 0.0010385 ) 8 256 + 90 , 090 ( 0.1944599 η + 0.0010385 ) 6 30 , 030 ( 0.1944599 η + 0.0010385 ) 4 128 + 3465 ( 0.1944599 η + 0.0010385 ) 2 63 128 ) ( 0.6360767 ) f approx ( η ) = 0.8091081 + ( 0.9948947 η 0.0256141 ) ( 0.7158744 ) f approx ( η ) = + ( 3 ( 0.7556283 η 0.5782535 ) 2 1 2 ) ( 0.6089780 ) f approx ( η ) = + ( 5 ( 0.0114832 η + 0.2832519 ) 3 3 ( 0.0114832 η + 0.2832519 ) 2 ) f approx ( η ) = × ( 0.9904232 ) f approx ( η ) = + ( 35 ( 0.4967669 η 0.7383371 ) 4 30 ( 0.4967669 η 0.7383371 ) 2 8 + 3 8 ) f approx ( η ) = × ( 0.9915232 ) f approx ( η ) = f approx ( η ) = + ( 46 , 189 ( 0.5162671 η 0.0931956 ) 10 109 , 395 ( 0.5162671 η 0.0931956 ) 8 256 + 90 , 090 ( 0.5162671 η 0.0931956 ) 6 30 , 030 ( 0.5162671 η 0.0931956 ) 4 128 + 3465 ( 0.5162671 η 0.0931956 ) 2 63 128 ) ( 0.0135231 ) f approx ( η ) = 0.2730144 + ( 0.8684705 η + 1.0063691 ) ( 0.5620503 ) f approx ( η ) = + ( 3 ( 0.9010228 η 0.4239812 ) 2 1 2 ) ( 0.9907777 ) f approx ( η ) = + ( 5 ( 0.9658161 η + 0.6908204 ) 3 3 ( 0.9658161 η + 0.6908204 ) 2 ) f approx ( η ) = × ( 0.2429362 ) f approx ( η ) = + ( 35 ( 0.0749905 η + 0.3770240 ) 4 30 ( 0.0749905 η + 0.3770240 ) 2 8 + 3 8 ) f approx ( η ) = × ( 0.5230242 ) f approx ( η ) = f approx ( η ) = + ( 46 , 189 ( 0.7883565 η 0.581578 ) 10 109 , 395 ( 0.7883565 η 0.581578 ) 8 256 + 90 , 090 ( 0.7883565 η 0.581578 ) 6 30 , 030 ( 0.7883565 η 0.581578 ) 4 128 + 3465 ( 0.7883565 η 0.581578 ) 2 63 128 ) ( 0.0018133 ) f approx ( η ) = 0.0619974 + ( 0.4741334 η 0.6304957 ) ( 0.6762624 ) f approx ( η ) = + ( 3 ( 1.0669554 η 0.3098253 ) 2 1 2 ) ( 1.1455986 ) f approx ( η ) = + ( 5 ( 0.4037276 η 0.7738522 ) 3 3 ( 0.4037276 η 0.7738522 ) 2 ) f approx ( η ) = × ( 0.2412426 ) f approx ( η ) = + ( 35 ( 0.3443633 η + 0.1349037 ) 4 30 ( 0.3443633 η + 0.1349037 ) 2 8 + 3 8 ) f approx ( η ) = × ( 1.025366 ) f approx ( η ) = f approx ( η ) = + ( 46 , 189 ( 1.1266980 η 0.6623952 ) 10 109 , 395 ( 1.1266980 η 0.6623952 ) 8 256 + 90 , 090 ( 1.1266980 η 0.6623952 ) 6 30 , 030 ( 1.1266980 η 0.6623952 ) 4 128 + 3465 ( 1.1266980 η 0.6623952 ) 2 63 128 ) ( 0.0001646 ) .

Approximate series solutions obtained by the proposed algorithm for different cases of problem 2 are given as:

q approx ( η ) = 0.64755958 + ( 0.2679917 η + 0.32286466 ) ( 0.90721203 ) q approx ( η ) = + ( 3 ( 0.0673961 η + 0.51390918 ) 2 1 2 ) ( 0.2393393 ) q approx ( η ) = + ( 5 ( 0.1245562 η 0.0012954 ) 3 3 ( 0.1245562 η 0.0012954 ) 2 ) q approx ( η ) = × ( 0.9577063 ) q approx ( η ) = + ( 35 ( 0.06852431 η + 0.1986130 ) 4 30 ( 0.06852431 η + 0.1986130 ) 2 8 q approx ( η ) = + 3 8 ) ( 0.9999998 ) q approx ( η ) = q approx ( η ) = + ( 46 , 189 ( 0.1328355 η 0.0916769 ) 10 109 , 395 ( 0.1328355 η 0.0916769 ) 8 256 + 90 , 090 ( 0.1328355 η 0.0916769 ) 6 30 , 030 ( 0.1328355 η 0.0916769 ) 4 128 + 3465 ( 0.1328355 η 0.0916769 ) 2 63 128 ) ( 0.9780387 ) q approx ( η ) = 0.61812212 + ( 0.4108238 η + 0.05008926 ) ( 0.23620516 ) q approx ( η ) = + ( 3 ( 0.67163206 η + 0.24507244 ) 2 1 2 ) ( 0.5340786 ) q approx ( η ) = + ( 5 ( 0.4323871 η + 0.22474456 ) 3 3 ( 0.4323871 η + 0.22474456 2 ) q approx ( η ) = × ( 0.4323871 ) q approx ( η ) = + ( 35 ( 0.3567142 η + 0.28828644 ) 4 30 ( 0.3567142 η + 0.28828644 ) 2 8 q approx ( η ) = + 3 8 ) ( 0.8603332 ) q approx ( η ) = q approx ( η ) = + ( 46 , 189 ( 0.3153291 η + 0.0354934 ) 10 109 , 395 ( 0.3153291 η + 0.0354934 ) 8 256 + 90 , 090 ( 0.3153291 η + 0.0354934 ) 6 30 , 030 ( 0.3153291 η + 0.0354934 ) 4 128 + 3465 ( 0.3153291 η + 0.0354934 ) 2 63 128 ) ( 0.3613739 ) q approx ( η ) = 0.3229750 + ( 0.09239525 η 0.0994596 ) ( 0.12554559 ) q approx ( η ) = + ( 3 ( 0.4996417 η + 0.01470355 ) 2 1 2 ) ( 0.1428369 ) q approx ( η ) = + ( 5 ( 0.6810286 η + 0.03751269 ) 3 3 ( 0.6810286 η + 0.03751269 ) 2 ) q approx ( η ) = × ( 0.4226834 ) q approx ( η ) = + ( 35 ( 0.54814667 η 0.74199735 ) 4 30 ( 0.54814667 η 0.74199735 ) 2 8 q approx ( η ) = + 3 8 ) ( 0.2088118 ) q approx ( η ) = q approx ( η ) = + ( 46 , 189 ( 0.6989896 η + 0.37562191 ) 10 109 , 395 ( 0.6989896 η + 0.37562191 ) 8 256 + 90 , 090 ( 0.6989896 η + 0.37562191 ) 6 30 , 030 ( 0.6989896 η + 0.37562191 ) 4 128 + 3465 ( 0.6989896 η + 0.37562191 ) 2 63 128 ) ( 0.04513968 ) q approx ( η ) = 0.604064054 + ( 0.048916851 η + 0.390702563 ) ( 0.14530839 ) q approx ( η ) = + ( 3 ( 0.8600529 η + 0.947150816 ) 2 1 2 ) ( 0.00197444 ) q approx ( η ) = + ( 5 ( 0.50073728 η + 0.84371031 ) 3 3 ( 0.50073728 η + 0.84371031 ) 2 ) q approx ( η ) = × ( 1.00463516 ) q approx ( η ) = + ( 35 ( 0.0501947 η + 0.83973832 ) 4 30 ( 0.0501947 η + 0.83973832 ) 2 8 q approx ( η ) = + 3 8 ) ( 0.0271333 ) q approx ( η ) = q approx ( η ) = + ( 46 , 189 ( 0.64392900 η 0.5282144 ) 10 109 , 395 ( 0.64392900 η 0.5282144 ) 8 256 + 90 , 090 ( 0.64392900 η 0.5282144 ) 6 30 , 030 ( 0.64392900 η 0.5282144 ) 4 128 + 3465 ( 0.64392900 η 0.5282144 ) 2 63 128 ) ( 0.178138559 ) .

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Khan, N.A., Sulaiman, M., Kumam, P. et al. Application of Legendre polynomials based neural networks for the analysis of heat and mass transfer of a non-Newtonian fluid in a porous channel. Adv Cont Discr Mod 2022, 7 (2022). https://doi.org/10.1186/s13662-022-03676-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s13662-022-03676-x

Keywords