 Research
 Open Access
 Published:
Application of Legendre polynomials based neural networks for the analysis of heat and mass transfer of a nonNewtonian fluid in a porous channel
Advances in Continuous and Discrete Models volume 2022, Article number: 7 (2022)
Abstract
In this paper, the mathematical models for flow and heattransfer analysis of a nonNewtonian 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 intelligencebased feedforward neural networks (ANNs) are utilized with hybridization of a generalized normaldistribution optimization (GNDO) algorithm and sequential quadratic programming (SQP) to study the heattransfer equations and calculate the approximate solutions for the momentum of a nonNewtonian 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 LeNNGNDOSQP 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).
Introduction
In recent years, the problems of nonNewtonian 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 nonNewtonian fluidflow and heattransfer problems such as cooling, hot rolling, lubrication, and drag reduction. Debruge [1] in 1972 extends the applications of heattransfer flow [2–4] 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 carbonnanotube nanofluids [6], the Eyring–Powell model [7], and Walter’s Bfluid model [8]. Most realworld 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 stagnationpoint flow of an EMHD micropolar nanofluid with mixedconvection and slipboundary conditions. Umair [12–14] 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 Bspline 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 [24–26]. Analysis of these numerical methods demonstrates that they are deterministic and require prior information about the problem [27–29].
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 variableorder fractional differential equations [30, 31], countercurrent imbibition phenomena in secondary oilrecovery processes [32, 33], modeling and identification of heatexchanger processes [34], solution of Bratu and nonlinear Emden–Fowler differential equations [35, 36], diabetic retinopathy classification using fundus images [37], the wirecoating process [38], temperature profile of porous and longitudinal fin models [39–41], chemical processes [42] and chaosbased secure communication (CBSC) systems [43]. The above methods motivated the authors to develop a softcomputing technique based on the hybridization of a function approximating the ability of Legendre neural networks and the global search ability of the generalized normaldistribution optimization (GNDO) algorithm and local search mechanism of sequential quadratic programming (SQP).
In this study, our aim is to design and implement a gradientfree softcomputing technique that can handle the realworld problems like heat and masstransfer 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 heatanalysis models of a nonNewtonian 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 masstransfer 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 normaldistribution optimization (GNDO) algorithm and sequential quadratic programming (SQP).

The approximate solutions obtained by the LeNNGNDOSQP 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 LeNNGNDOSQP algorithm in solving difficult nonlinear realworld problems.
Formulation of the problem
Flow analysis
In this section, the mathematical model for flow and heat transfer is developed for a nonNewtonian 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 raxis and normal to the zaxis. The disc in a porous channel is at a distance \(z=L\). NonNewtonian fluid is injected uniformly along the z direction to cool the heated wall that coincides with the raxis. From Fig. 1 it can be seen that the cooling problem with injection is considered as stagnationpoint flow. In cylindrical coordinates, asymmetric, steady and nonNewtonian fluid flow can be written as
where, \(\tau _{rr}\), \(\tau _{rz}\), \(\tau _{zr}\) and \(\tau _{zz}\) are stress components. The boundary conditions for the above analytical model are
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
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
Now, the stress components can be given as [5]
In order to find a solution for the problem shown in Fig. 1, a stream function is defined that identically satisfies the continuity equation
where \(\eta =\frac{z}{L}\), the velocity components in the r and z directions are defined as
Using Eqs. (13)–(15) in governing equation of motion Eq. (2) and Eq. (3) that reduces to
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:
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
subjected to boundary conditions
Heattransfer analysis
The nondimensionless form of the energy equation with viscous dissipation is given by
where, P, ρ, T, k̄ 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
From [1] the fluid temperature has the form
here, \(T_{0}\) denotes the incoming coolant temperature. The following equation, along with the boundary conditions, is obtained after neglecting the dissipation effect:
Proposed methodology
The proposed methodology for solving the governing mathematical model of heat and mass transfer of a nonNewtonian 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.
Design of LeNN model
Figure 2 depicts the structure of a singlelayer 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 higherdimensional 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.
Highorder legendre polynomials are generated by using the recursive formula that is given as
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
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 realvalued 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.
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
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 nonNewtonian fluid is given as
Also, the fitness function for the heattransfer analysis of the fluid is given as
where \(\varepsilon _{1}\) and \(\varepsilon _{2}\) are defined as
Also, the corresponding boundary conditions are defined as
The intension of formulating fitness functions for the problem of heat and masstransfer 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.
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.
Generalized normaldistribution optimization
The generalized normaldistribution optimization (GNDO) algorithm is a novel metaheuristic technique presented by Yiying Zhang [46] inspired by generalized normaldistribution 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 normaldistribution 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.
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
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
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:
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:
where p1, p2 and p3 are integers. It is worth mentioning that the GNDO algorithm is inspired by the relationship between the normaldistribution law and traditional teaching phenomena, the search process of metaheuristics and groupteaching phenomena, respectively. GNDO has been applied to study the parameter extraction of photovoltaic models [46].
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 largescale 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], shortterm hydrothermal coordination [51] and maximum likelihoodbased measurement noise covariance estimation [52].
Hybrid LeNNGNDOSQP 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
where ϕ, ω and β are real values from the population space. Parameter setting for the GNDO algorithm is given in Table 2.
Step 2 Fitness Evaluation: Fitness functions Eq. (33) and Eq. (36) are evaluated to calculate the fitness value for the heat and masstransfer 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 GNDOSQP 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.
The LeNNGNDOSQP 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 normaldistribution 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 realworld 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.
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].
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.
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 nonNewtonian fluid. A flow chart of the problem studied in this paper is presented in Fig. 4.
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
In this problem, the LeNNGNDOSQP 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.
Problem 2: Heattransfer analysis with variations in Reynolds number:
In this problem, heattransfer 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\).
In this problem, the proposed methodology is implemented on a nonNewtonian 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 LeNNGNDOSQP 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 nonNewtonian 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 normalprobability 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.
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 GNDOSQP algorithm. Values of complexity operators for different cases of heat and mass transfer of a nonNewtonian 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) i55300 CPU @ 2.30 GHz, 8.00 GB RAM, 64 bit operating in Microsoft Windows 10 Education edition running the R2018a version of MATLAB.
Conclusion
This paper investigates a mathematical model for flow and heat analysis of a nonNewtonian 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 normaldistribution algorithm and sequential quadratic programming. It is named the LeNNGNDOSQP algorithm.

We studied the flow and heat analysis of a nonNewtonian 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 LeNNGNDOSQP 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 stateoftheart 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 normalprobability 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 LeNNGNDOSQP algorithm has calculated better approximate solutions for the mathematical model of flow and heat analysis of a nonNewtonian fluid with an axisymmetric channel and porous walls. The proposed technique can solve several realworld 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
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)
Yuan, S.: Laminar pipe flow with injection and suction through a porous wall. Technical report, Princeton univ NJ James forrestal research center, (1955)
Kurtcebe, C., Erim, M.: Heat transfer of a nonNewtonian viscoinelastic fluid in an axisymmetric channel with a porous wall for turbine cooling application. Int. Commun. Heat Mass Transf. 29(7), 971–982 (2002)
White, J., Metzner, A.: Constitutive equations for viscoelastic fluids with application to rapid external flows. AIChE J. 11, 324–330 (1965)
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)
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)
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)
Abro, K.A., GomezAguilar, J.: A comparison of heat and mass transfer on a Walter’sB fluid via Caputo–Fabrizio versus Atangana–Baleanu fractional derivatives using the FoxH function. Eur. Phys. J. Plus 134, 101 (2019)
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)
Sheikholeslami, M., Ashorynejad, H.R., Domairry, G., Hashim, I.: Flow and heat transfer of Cuwater nanofluid between a stretching sheet and a porous surface in a rotating system. J. Appl. Math. 2012, Article ID 421320 (2012)
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)
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)
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
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)
Sheikholeslami, M., Ganji, D.: Heat transfer of Cuwater nanofluid flow between parallel plates. Powder Technol. 235, 873–879 (2013)
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)
Sheikholeslami, M., Ganji, D., Ashorynejad, H.: Investigation of squeezing unsteady nanofluid flow using ADM. Powder Technol. 239, 259–265 (2013)
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)
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)
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 Bspline collocation method. Alex. Eng. J. 59, 2695–2703 (2020)
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)
Sheikholeslami, M., Ganji, D.: Magnetohydrodynamic flow in a permeable channel filled with nanofluid. Sci. Iran. 21, 203–212 (2014)
Sheikholeslami, M., Ashorynejad, H.R., Domairry, D., Hashim, I., et al.: Investigation of the laminar viscous flow in a semiporous channel in the presence of uniform magnetic field using optimal homotopy asymptotic method. Sains Malays. 41, 1281–1285 (2012)
Chen, C.K., Ho, S.H.: Solving partial differential equations by twodimensional differential transform method. Appl. Math. Comput. 106, 171–179 (1999)
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)
Jang, M.J., Chen, C.L., Liu, Y.C.: Twodimensional differential transform for partial differential equations. Appl. Math. Comput. 121, 261–270 (2001)
Chakraverty, S., Mall, S.: Regressionbased weight generation algorithm in neural network for solution of initial and boundary value problems. Neural Comput. Appl. 25, 585–594 (2014)
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)
Mall, S., Chakraverty, S.: Application of Legendre neural network for solving ordinary differential equations. Appl. Soft Comput. 43, 347–356 (2016)
ElSayed, A.A., Agarwal, P.: Numerical solution of multiterm variableorder fractional differential equations via shifted Legendre polynomials. Math. Methods Appl. Sci. 42, 3978–3991 (2019)
Agarwal, P., Merker, J., Schuldt, G.: Singular integral Neumann boundary conditions for semilinear elliptic PDEs. Axioms 10, 74 (2021)
Khan, N.A., Sulaiman, M., Aljohani, A.J., Kumam, P., Alrabaiah, H.: Analysis of multiphase flow through porous media for imbibition phenomena by using the LeNNWOANM algorithm. IEEE Access 8, 196425–196458 (2020)
Rajchakit, G., Sriraman, R., Boonsatit, N., Hammachukiattikul, P., Lim, C., Agarwal, P.: Global exponential stability of Cliffordvalued neural networks with timevarying delays and impulsive effects. Adv. Differ. Equ. 2021, 1 (2021)
AlDhaifallah, 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)
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)
Zhang, Y., Lin, J., Hu, Z., Khan, N.A., Sulaiman, M.: Analysis of thirdorder nonlinear multisingular Emden–Fowler equation by using the LeNNWOANM algorithm. IEEE Access 9, 72111–72138 (2021)
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)
Khan, N.A., Sulaiman, M., Kumam, P., Aljohani, A.J.: A new soft computing approach for studying the wire coating dynamics with Oldroyd 8constant fluid. Phys. Fluids 33, 036117 (2021)
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)
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)
Khan, N.A., Sulaiman, M., Kumam, P., Bakar, M.A.: Thermal analysis of conductiveconvectiveradiative heat exchangers with temperature dependent thermal conductivity. IEEE Access 9, 138876–138902 (2021)
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)
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 LeNNWOANM algorithm. Eng. Appl. Artif. Intell. 107, 104537 (2022)
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)
Rajchakit, G., Agarwal, P., Ramalingam, S.: Stability Analysis of Neural Networks. Springer, Singapore (2021)
Zhang, Y., Jin, Z., Mirjalili, S.: Generalized normaldistribution optimization and its applications in parameter extraction of photovoltaic models. Energy Convers. Manag. 224, 113301 (2020)
Nocedal, J., Wright, S.: Numerical Optimization. Springer, Berlin (2006)
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)
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)
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)
Chaudhry, F., Amin, M., Iqbal, M., Khan, R., Khan, J.: A novel chaotic differential evolution hybridized with quadratic programming for shortterm hydrothermal coordination. Neural Comput. Appl. 30, 3533–3544 (2018)
Gao, B., Hu, G., Li, W., Zhao, Y., Zhong, Y.: Maximum likelihoodbased 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)
Huang, W., Jiang, T., Zhang, X., Khan, N.A., Sulaiman, M.: Analysis of beamcolumn designs by varying axial load with internal forces and bending rigidity using a new soft computing technique. Complexity 2021, Article ID 6639032 (2021)
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
Contributions
All authors equally contributed to this manuscript and approved the final version.
Corresponding authors
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:
Approximate series solutions obtained by the proposed algorithm for different cases of problem 2 are given as:
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/.
About this article
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 nonNewtonian fluid in a porous channel. Adv Cont Discr Mod 2022, 7 (2022). https://doi.org/10.1186/s1366202203676x
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s1366202203676x
Keywords
 NonNewtonian fluid
 Porous media
 Heat and mass transfer
 Weighted Legendre neural networks
 Hybrid soft computing
 Generalized normaldistribution optimization
 Sequential quadratic programming
 Machine learning