 Research
 Open Access
 Published:
Solutions of fractional order differential equations modeling temperature distribution in convective straight fins design
Advances in Difference Equations volume 2021, Article number: 382 (2021)
Abstract
In this paper, the problem of temperature distribution for convective straight fins with constant and temperaturedependent thermal conductivity is solved by using artificial neural networks trained by the biogeographybased heterogeneous cuckoo search (BHCS) algorithm. We have solved the integer and noninteger order energy balance equation in order to analyse the temperature distribution in convective straight fins. We have compared our results with homotopy perturbation method (HPM), variational iteration method (VIM), and homotopy perturbation Sumudu transform method (HPSTM). The results show that the ANN–BHCS algorithm gives better results than other analytical techniques. We have further checked the efficiency of the ANN–BHCS algorithm by using the performance metrics MAD, TIC, and ENSE. We have calculated the values of MAD, TIC, and ENSE for case 1 of the problem, and histograms of these metrics show the efficiency of our algorithm.
Introduction
A vast number of problems which model physical phenomena, for example heat transfer, involve the nonlinear function [1]. In mechanical engineering, heat transfer is a very common science because in various objects it can be required. The problems of improvement of heat transfer are solved on an extended surface which is known as fin. The heat transfer mechanism of fin is to conduct heat through its thermal conduction from the source of heat to the fin’s surface, and then heat is dissipated into the air through the effects of thermal radiation and convection. In addition to traditional uses, like heat exchangers, compressors, and engines with internal combustion, fins also demonstrate efficiency in the systems of heat rejection and cooling of electronic parts of space vehicles [2, 3]. A broad analysis on this subject was presented in [4] by Kern and Kraus. By using the homotopy perturbation technique, Domairry and Fazeli investigated the efficacy of the convective fins in [5]. The heat transfer dynamics of fins in space radiator and onedimensional radiation fins are further investigated in [6–8]. The system of heatrejecting comprising parallel tubes connected by web plates has been studied by Bartas and Sellers [9]. In [10], Hug and Aziz used a perturbationbased technique to find the closed form solutions for straight convective fin with thermal conductivity which is dependent on temperature. To find analytical solution for dimensionless temperature and investigate the efficiency of the fin having thermal conductivity dependent on temperature, Arslanturk [11, 12] used Adomian decomposition technique.
In recent years, studying the heat transfer on extended surfaces has become very pivotal with growing importance of performance of heat transfer fins having lower volumes, weights, initial and operating costs of the systems [11]. In addition to the developments in standard methods of numerical computation, a new methodology, which is known as homotopy perturbation Sumudu transformation technique, was proposed to analyze less or strongly nonlinear systems. HPSTM has recently been used for solution of nonlinear fractional equation of gas dynamics and some other physical phenomena [13]. Sumudu transform method, homotopy perturbation method (HPM), and He’s polynomials are combined to design the HPSTM technique [14]. Fractional calculus [15, 16] is a branch of applied mathematics which deals with arbitrary order differentiation and integration. It has found many applications in different areas of science and engineering over the last three decades [17–20]. The HPSTM is used for the solution of energy balance equation of fractional order [21]. More works on analytical and numerical techniques for the solving integer and fractional differential equations are available in [22–51].
In this work, we have designed a hybrid of ANNs and biogeographybased heterogeneous cuckoo search algorithm (BHCS) for the solution of integer and fractional order energy balance equation in order to analyze the temperature distribution in convective straight fins. We have named our algorithm the ANN–BHCS algorithm. We have analyzed seven cases of the problems and the results are compared with other techniques such as HPM, VIM, and HPSTM [6, 21, 52]. The results show that the ANN–BHCS algorithm is better than other techniques in terms of obtaining the solutions with high accuracy. We have further tested the efficiency of the ANN–BHCS algorithm by utilizing the performance metrics MAD, TIC, and ENSE.
Key contributions of our work are given below:

We have designed a hybrid technique of ANNs and BHCS which is named ANN–BHCS algorithm, see Fig. 1. The ANN model is designed for the solution of integer and fractional order differential equations, see Fig. 3.

The problem of temperature distribution in convective straight fin is analyzed, see Fig. 2. Three integer order and four fractional order cases of the problem are considered.

To validate the results obtained by the ANN–BHCS algorithm, we have compared it with analytical techniques such as HPM, VIM, and HPSTM.

To check the quality of the solutions and efficiency of the algorithm, we have calculated three performance metrics which are mean absolute deviation (MAD), Theil’s inequality coefficient (TIC), and error in Nash–Sutcliffe efficiency ENSE.
Straight convective fins with temperaturedependent thermal conductivity
Consider a straight convective fin having thermal conductivity dependent on temperature, and it has an arbitrary constant area of cross section \(A_{c}\), length b, and perimeter P, and the heat transfer coefficient is denoted by h. The fin is associated with the temperature T at the base surface, and extends into temperature \(T_{a}\) of the fluid. The geometry of the straight fin is given in Fig. 2. The onedimensional energy balance equation is given by [52, 53]
The thermal conductivity of fin’s material is considered as a linear function according to Eq. (2),
where k is the parameter defining the variation of the thermal conductivity and \(k_{a}\) is the thermal conductivity at the ambient fluid temperature of the fin.
Introducing the dimensionless parameters:
Now Eq. (1) reduces to the following equation:
with the following boundary conditions:
The computational domain \(0\leq x\leq b\) is transformed to \(0\leq \xi \leq 1\) by introducing the dimensionless parameters given in Eq. (3).
To understand the anomalous behavior of this system, we fractionalize the energy balance Eq. (4) into fractional order (\(v>0\)) as follows in order to find fin temperature in straight fins:
with the following boundary conditions as in Eq. (5).
Basic definitions
This section consists of some definitions and important relations from fractional calculus that have been used in the construction of ANN for FDEs. Fractional derivatives and integrals have been expressed in different ways in literature, i.e., Riemann–Liouville, Caputo, Erdélyi–Kober, Hadamard, Grünwald–Letnikov, and Riesz type etc. In standard fractional calculus, equivalence of these definitions for some functions has been given [15, 54, 55]. All of these definitions have their own importance and advantages in different kinds of problems in mathematics. Definitions of Riemann–Liouville and Caputo fractional derivatives are given below.
Definition 1
(The fractional order Riemann–Liouville integral and derivative)
The integral of fractional order \(v>0\) can be written as [16]
Here, \(I^{v}\) shows the fractional integral of order v. The fractional derivative of order \(v>0\) is normally given as
Here, \(D^{v}\) represents the fractional derivative of order v and n is an integer.
Definition 2
(Caputo fractional derivatives)
There are some limitations of the definition of fractional derivatives given by Riemann–Liouville, when it is used for modeling of some real world phenomena related to differential equations of fractional order. Therefore, a modified definition for fractional differential operator \(D^{v}\) is introduced by Caputo [16, 56]:
where \(I^{v}\) is given in Eq. (3). Caputo integral operator is given by
The ordinary derivative followed by a fractional integral gives the Caputo fractional derivative, while the calculation in reverse order gives the Riemann–Liouville derivative. Using Caputo fractional derivative, we can use the traditional homogeneous and nonhomogeneous initial/boundary conditions occurring in general applications. However, for homogeneous initial conditions, Riemann–Liouville and Caputo formulations coincide [16, 57].
Definition 3
(MittagLeffler function (MLF))
The MittagLeffler function (MLF) is one of the most important functions having widespread applications in fractional calculus. It plays an important role in the solution of differential equations of integer and fractional orders because of its exponential nature.
The classical MLF has the definition as given below [58]:
It becomes the exponential function when \(\alpha =1\). The MLF function with two parameters α and β is as follows:
For \(\beta =1\), it becomes a standard MLF function.
Solution methodology
ANN modeling
This section presents the mathematical modeling of artificial neural networks (ANN) for differential equations of fractional order. Neural networks modeling has already been implemented for solving integer order differential equations. Now, we model the ANN to find the solution for fractional order differential equations.
The exponential function is used as an activation function for ANN. It has the capability to approximate the functions and its fractional derivative is also calculated with terms represented by classical MLF. The fractional derivative of an exponential function can be written as
Approximate solution for the problem considered in this research and its v order derivative is given by
Equations (15) and (16) are used to approximate a solution of the fractional order differential equation given in Eq. (6). The neural networks architecture for fractional differential equations is given in Fig. 3. The objective function for the problem considered in this paper is given by
where \(E_{1}\) and \(E_{2}\) are given by
Here, \(E_{1}\) is related to the differential equation and \(E_{2}\) is related to the initial and boundary conditions. We try to find the weights \(\alpha _{i}\), \(\omega _{i}\), and \(\beta _{i}\) in Eq. (15) such that \(E_{1}\) and \(E_{2}\) approach zero, then E will also approach zero. Hence the approximate solution \(\hat{\theta }(\xi )\) will approach the exact solution \(\theta (\xi )\).
Cuckoo search
Inspired by the cuckoo bird’s breeding behavior, a metaheuristic algorithm was developed which is called the cuckoo search algorithm [59]. The female bird lays eggs in other host birds’ nests and they unintentionally raise her brood. When the host bird finds the egg of the cuckoo bird in her nest, it either throws it out of the nest or starts making her own brood elsewhere [60].
In the cuckoo search algorithm, the solution is represented by the egg of the host bird and the new candidate solution is represented by cuckoo’s egg. There are three rules that are described for cuckoo search and those are [61]: (1) the cuckoo lays a single egg at a time and puts it in the host’s nest; (2) the nests that have a high quality egg, i.e., a better solution will go to the next generation; and (3) there is a fixed number of host nests, and the host bird can find an alien egg with certain probability.
Assuming \(\boldsymbol{x}_{i}= (x_{i 1}, x_{i 2}, \ldots , x_{i D} )\) as the position for the ith egg (solution) then updated solution \({x_{i}}^{\mathrm{new}}\) is generated by Levy flights as given below:
where the product ⊕ is entrywise multiplication; the Levy flight exponent is denoted by β; the step size for a cuckoo is determined by a positive parameter α; the best solution within the current population is denoted by \(x_{g}\); u and v are random numbers:
where Γ is used for gamma function, and β controls the value of \(\sigma _{u}\). There is a discovery operator in CS which is used to replace the discovered nests with a probability (pa). The equation that is used to update the solution is given as follows:
where \({x_{ij}}^{\mathrm{new}}\) is the jth element of the ith solution \({x_{i}}^{\mathrm{new}}\); \(x_{r1,j}\) and \(x_{r2,j}\) are the jth elements of the two solutions \(x_{r1}\) and \(x_{r2}\), where r1 and r2 are two different integers in interval \([1, \mathit{NP}]\), where NP represents size of population, pa represents the discovery probability, P and rand are some random numbers that belong to the interval \([0, 1]\).
Biogeographybased optimization
Biogeographybased optimization (BBO) is an evolutionary algorithm which is inspired by different characteristics of species living in the islands [62]. In BBO, each habitat is considered as a candidate solution having some habitat’s suitability index (HSI), which is employed for measurement of the quality of a habitat. A habitat (solution) is represented by some suitability index variables (SIV). Two types of operators, i.e., migration and mutation, are used in BBO that are employed for the evolution of the population. In migration process, the solutions with high HSI share their characteristics with the solutions having low HSI and the solutions with low HSI accept new characteristics from the solutions with high HSI.
In BBO, population is randomly initialized with NP habitats (solutons). Each generation sorts the population from the best to the worst and immigration and emigration rates λ and μ respectively are assigned to each habitat:
where immigration (I) and emigration (E) rates are such that \(I=E=1\); \(S_{i}\) represents the number of species of the habitats and \(S_{i}=\mathit{NP}i\). Accordingly, for the best solution the \(S_{i}\) value is \(\mathit{NP}1\), and for the second best solution the \(S_{i}\) value is \(\mathit{NP}2\), and for the worst solution the \(S_{i}\) value is 0.
The migration mixes the features within the population that modifies the solutions. After migration, to modify the solutions, BBO also uses the mutation operator.
Heterogeneous cuckoo search algorithm based on BBO
CS and BBO are hybridized because CS uses the Levy flights to modify the solutions as it is good at exploration, and BBO modifies the solutions using the migration operator as it is good at exploitation. Combining the exploration and exploitation, a hybrid metaheuristic algorithm is developed which is known as BBObased heterogeneous cuckoo search (BHCS) algorithm. The proposed BHCS algorithm has two main stages that are the heterogeneous cuckoo search and the discovery based on biogeography. The details of these two stages are explained in the next section.
Heterogeneous cuckoo search strategy
At first stage, the BHCS algorithm uses the Levy flights and quantum mechanism based heterogeneous cuckoo search. This strategy is inspired by quantum mechanism and was first presented in [60, 63]. The rules to update the solutions by heterogeneous cuckoo search are given as follows [60, 63]:
where \(L=\delta \ln (1 / \eta )\), \(\varepsilon =\delta \exp (\eta )\), \(x_{g}\) is used for the best solution at the current iteration; \(\bar{x}=\frac{1}{N P} \sum_{i=1}^{N P} x_{i}\) represents the mean of all solutions; sr and η are random numbers in the interval \([0, 1]\). Equation (25) shows that heterogeneous cuckoo search employs three equations to update the solutions with the same probabilities. The first equation is related to Levy flights in original cuckoo search and the second and third equations to update the solutions are based on quantum mechanism. Updating the solutions using heterogeneous rules diversifies the search and follows the direction towards the real global region.
Biogeographybased discovery operator
At the second stage, new solutions are generated using a discovery operator. When the host bird finds an alien egg with probability pa, it abandons the old nest and starts making a new nest based on the migration operator.
Initially, solutions are listed from the best to worst, and an immigration rate μ is assigned to each solution:
where \(E=1\) represents the maximum emigration rate; \(S_{i}=\mathit{NP}i\) represents the number of species in solutions.
In biogeographybased discovery operator, those solutions having best fitness value share their characteristics with other solutions, which helps to enhance the exploitation.
Overall BHCS algorithm
The BHCS algorithm uses a cascading structure for the implementation of its two steps. The cooperation between heterogeneous search strategy and biogeographybased discovery operator can efficiently balance the exploitation and exploration.
Performance metrics
We have performed 100 simulations on all four problems to establish the stability, adaptability, and certainty of the BHCS algorithm. For this purpose, we have determined the mean absolute deviation (MAD) in solutions, rootmeansquare error (RMSE), error in Nash–Sutcliffe efficiency (ENSE), Theil’s inequality coefficient (TIC), and Nash–Sutcliffe efficiency (NSE). The analytical definition of these indexes are provided in Eqs. (27)–(30),
Results and discussion
In this paper, the biogeographybased heterogeneous cuckoo search (BHCS) algorithm is used to train the ANN model for the solution of fractional differential equations. We have considered the fractional form of the energy balance equation (6) in order to find the temperature in straight fins. We have considered the cases with integer and fractional orders. The problems are solved using the ANN modeling given in Eqs. (15) and (16). In our ANN network, we have taken 10 neurons with 30 unknown weights α, ω, and β. The training is performed over the interval \([0,1]\) with a step size of 0.1. The domain has 11 grid points.
Case 1
In the first case, we have taken \(\beta =0\), \(v=2\). Using these values, Eq. (6) becomes
with boundary conditions
The fitness function for Eqs. (31) and (32) is given as
Equation (33) is minimized for \(\psi =0.2\), \(\psi =0.5\), and \(\psi =0.8\) using the ANN–BHCS algorithm. The minimum fitness values obtained for the cases with \(\psi =0.2\), \(\psi =0.5\), and \(\psi =0.8\) are 7.4829E−13, 1.5272E−16, and 2.8616E−12 respectively. Weights obtained by the ANN–BHCS algorithm for different values of ψ in case 1 are given in Fig. 4.
Using the weights given in Fig. 4, the series solutions for case 1 are given as follows:
Solution for \(\psi =0.2\):
Solution for \(\psi =0.5\):
Solution for \(\psi =0.8\):
Exact and approximate solutions for \(\psi =0.2\), \(\psi =0.5\), and \(\psi =0.8\) obtained by HPM, VIM, HPSTM, and ANN–BHCS algorithm are given in Tables 1, 2 and 3 respectively. The absolute errors in approximate solutions for \(\psi =0.2\), \(\psi =0.5\), and \(\psi =0.8\) are given in Tables 4, 5 and 6 respectively. The tables show that the absolute errors in solutions obtained by the ANN–BHCS algorithm are less than those of the HPM, VIM, and HPSTM, which shows that the ANN–BHCS algorithm gives better solutions than other techniques. The exact and approximate solutions obtained by the ANN–BHCS algorithm for different values of ψ are also plotted in Fig. 5(a). The figure shows that the solutions obtained by the ANN–BHCS algorithm are very close to the exact solution. From Fig. 5(a), we can see that the dimensionless temperature θ decreases as the value of thermogeometric fin parameter ψ increases. The absolute errors in solutions for different values of ψ are plotted in Fig. 5(b). The absolute errors in solutions for \(\psi =0.2\), \(\psi =0.5\), and \(\psi =0.8\) are in the range 2.25E−08 to 7.71E−09, 4.19E−09 to 8.80E−09, and 2.34E−07 to 4.25E−07 respectively. Convergence of the fitness values for different values of ψ is given in Fig. 5(c). Histogram plots of the values of performance metrics are given in Figs. 6 and 7. In Fig. 6, the histograms for MAD and TIC values are given, which shows that more than 90% of the values are very close to zero. Figure 7 shows that more than 90% of the fitness and ENSE values are very close to zero, which shows the accuracy of the ANN–BHCS algorithm.
Case 2
In the second case, we have taken \(\psi =0.5\) and \(v=2\). Using these values, Eq. (6) becomes
with boundary conditions
The fitness function for Eqs. (37) and (38) is given as
Equation (39) is minimized for different values of β using the ANN–BHCS algorithm. A total of 100 simulations were performed for different values of β. The minimum fitness values for \(\beta =0.5,0.3,0.1,0.1,0.3\), and 0.5 are 7.6027E−10, 2.8034E−11, 6.4330E−12, 1.3345E−10, 2.8926E−12, and 3.7965E−12 respectively. Weights obtained to minimize the fitness function for different values of β are plotted in Fig. 8. Using the weights given in Fig. 8, series solutions of case 2 for different values of β are given as follows:
Solution for \(\beta =0.5\):
Solution for \(\beta =0.3\):
Solution for \(\beta =0.1\):
Solution for \(\beta =0.1\):
Solution for \(\beta =0.3\):
Solution for \(\beta =0.5\):
Numerical solutions for case 2 with different values of thermal conductivity β are given in Table 7. Solutions are also plotted in Fig. 9(a). In this case, the thermogeometric fin parameter is taken as \(\psi =0.5\) and the thermal conductivity β is varied from −0.5 to 0.5 with a step size of 0.2. From Table 7 and Fig. 9(a), we see that the dimensionless temperature θ increases with increase in the value of β. The accuracy of the ANN–BHCS algorithm can be seen from convergence of the fitness values and histograms of fitness values in Fig. 9.
Case 3
In the third case, we have taken \(v=2\), \(\psi =1.5\), and β is varied from −0.5 to 0.5 with step size 0.2. For this case, Eq. (6) takes the form
with boundary conditions
The fitness function for Eqs. (46) and (47) is given as
The ANN–BHCS algorithm is used to minimize the fitness function for different values of β. The minimum fitness values obtained by the ANN–BHCS algorithm for \(\beta =0.5\), −0.3, −0.1, 0.1, 0.3, and 0.5 are 2.5336E−07, 8.0939E−09, 3.0616E−10, 3.6515E−11, 4.3335E−10, and 3.9055E−09 respectively. Weights obtained to minimize the fitness function for different problems are plotted in Fig. 10. Using these weights, the series solutions of different values of β are given as follows:
Solution for \(\beta =0.5\):
Solution for \(\beta =0.3\):
Solution for \(\beta =0.1\):
Solution for \(\beta =0.1\):
Solution for \(\beta =0.3\):
Solution for \(\beta =0.5\):
Numerical solutions of case 3 for different values of β are given in Table 8 and Fig. 11(a). Convergence and histogram plots of fitness values are given in Fig. 11. For all the values of β considered in case 3, most of the fitness values are very close to zero, which shows the accuracy of the ANN–BHCS algorithm. From Fig. 11(a), it is clear that the dimensionless temperature θ increases as the values of thermal conductivity β increase.
Case 4
In this case, we have taken \(v=1.75\), \(\psi =0.5\), and β is varied from −0.5 to 0.5 with step size of 0.2. Using these values, Eq. (6) becomes
with boundary conditions
The fitness function for Eqs. (55) and (56) is given by
The ANN–BHCS algorithm is used to minimize the fitness function (57) for different values of thermal conductivity β. The minimum of fitness values for \(\beta =0.5, 0.3, 0.1, 0.1, 0.3\), and 0.5 are 6.4804E−08, 2.7340E−09, 2.3225E−10, 7.0940E−10,5.1839E−11, and 4.8342E−11 respectively. Weights obtained by the ANN–BHCS algorithm to minimize fitness functions for different values of β are given in Fig. 12. Using these weights, the series solutions for different values of β are given as follows:
Solution for \(\beta =0.5\):
Solution for \(\beta =0.3\):
Solution for \(\beta =0.1\):
Solution for \(\beta =0.1\):
Solution for \(\beta =0.3\):
Solution for \(\beta =0.5\):
Numerical solutions of case 4 for different values of β are given in Table 9 and Fig. 13(a). From Fig. 13(a), it is clear that the dimensionless temperature θ increases as the value of thermal conductivity β goes from −0.5 to 0.5. Convergence of the fitness values for case 4 is given in Fig. 13(b). Histograms of the fitness values for different values of β are given in Figs. 13(c)–13(h). The figures show that more than 90% of the fitness values are very close to zero, which shows the efficiency of the ANN–BHCS algorithm.
Case 5
In this case, we have taken \(v=1.75\), \(\psi =1.5\), and β is varied from −0.5 to 0.5 with step size of 0.2. Using these values, Eq. (6) becomes
with boundary conditions
The fitness function for Eqs. (64) and (65) is given by
The ANN–BHCS algorithm is used to minimize the fitness function (66) for different values of β. The minimum fitness values for \(\beta =0.5, 0.3, 0.1, 0.1, 0.3\), and 0.5 are 5.5365E−05, 1.1040E−07, 3.6501E−09, 4.5598E−08, 1.9501E−08, and 9.3420E−09 respectively. Weights obtained to minimize the fitness function for different values of β are given in Fig. 14. Series solutions of case 5 with different values of β are given as follows:
Solution for \(\beta =0.5\):
Solution for \(\beta =0.3\):
Solution for \(\beta =0.1\):
Solution for \(\beta =0.1\):
Solution for \(\beta =0.3\):
Solution for \(\beta =0.5\):
Numerical solutions of case 5 for different values of β are given in Table 10 and Fig. 15(a). From Fig. 15(a), it is clear that the dimensionless temperature θ increases as the value of thermal conductivity β goes from −0.5 to 0.5. Convergence of the fitness values for case 5 is given in Fig. 15(b). Histograms of the fitness values for different values of β are given in Figs. 15(c)–15(h). The figures show that more than 90% of the fitness values are very close to zero, which shows the efficiency of the ANN–BHCS algorithm.
Case 6
In this case, we have taken \(v=1.5\), \(\psi =0.5\), and β is varied from −0.5 to 0.5 with step size of 0.2. Using these values, Eq. (6) becomes
with boundary conditions
The fitness function for Eqs. (73) and (74) is given by
The ANN–BHCS algorithm is used to minimize the fitness function (75) for different values of β. The minimum fitness values for \(\beta =0.5, 0.3, 0.1, 0.1, 0.3\), and 0.5 are 1.1723E−06, 2.0482E−07, 3.9230E−08, 2.9632E−09, 2.2827E−10, and 4.3199E−11 respectively. Weights obtained to minimize the fitness function for different values of β are given in Fig. 16. Series solutions of case 6 with different values of β are given as follows:
Solution for \(\beta =0.5\):
Solution for \(\beta =0.3\):
Solution for \(\beta =0.1\):
Solution for \(\beta =0.1\):
Solution for \(\beta =0.3\):
Solution for \(\beta =0.5\):
Numerical solutions of case 6 for different values of β are given in Table 11 and Fig. 17(a). From Fig. 17(a), it is clear that the dimensionless temperature θ increases as the value of thermal conductivity β goes from −0.5 to 0.5. Convergence of the fitness values for case 6 is given in Fig. 17(b). Histograms of the fitness values for different values of β are given in Figs. 17(c)–17(h). The figures show that more than 90% of the fitness values are very close to zero, which shows the efficiency of the ANN–BHCS algorithm.
Case 7
In this case, we have taken \(v=1.5\), \(\psi =1.5\), and β is varied from −0.5 to 0.5 with step size of 0.2. Using these values, Eq. (6) becomes
with boundary conditions
The fitness function for Eqs. (82) and (83) is given by
The BHCS algorithm is used to minimize the fitness function (84) for different values of β. The minimum fitness values for \(\beta =0.5, 0.3, 0.1, 0.1, 0.3\), and 0.5 are 3.2749E−04, 6.1684E−06, 1.0813E−07, 6.9620E−08, 3.3707E−08, and 6.1241E−08 respectively. Weights obtained to minimize the fitness function for different values of β are given in Fig. 18. Series solutions of case 6 with different values of β are given as follows:
Solution for \(\beta =0.5\):
Solution for \(\beta =0.3\):
Solution for \(\beta =0.1\):
Solution for \(\beta =0.1\):
Solution for \(\beta =0.3\):
Solution for \(\beta =0.5\):
Numerical solutions for case 7 are given in Table 12. Solutions are also plotted in Fig. 19(a) for different values of β. The solution figures show that dimensionless temperature θ increases with increasing the values of thermal conductivity from −0.5 to 0.5. Convergence of the fitness values for case 7 is given in Fig. 19(b). Histograms for the fitness values for different values of β are plotted in Figs. 19(c)–19(h).
Sensitivity analysis of parameters
In this section, we analyze the sensitivity of different parameters which are number of neurons, population size, and discovery probability pa. The ODE in case 1 with \(\psi =0.2\) is solved for sensitivity analysis of parameters. Solutions and absolute errors for different values of parameters are given in Tables 13, 14, 15, 16, 17, 18. We have solved the problem for 3, 5, and 10 neurons with fixed population size of 50 and discovery probability \(pa=0.3\), and the results show that the ANN–BHCS algorithm gives better solution for 10 neurons. The problem is solved for different values of discovery probability \(pa=0.01, 0.15\), and 0.3, and the number of neurons and population size were fixed as 10 and 50 respectively. For \(pa=0.3\), the ANN–BHCS algorithm gives better solution. Similarly, the problem is solved for different population sizes, and the results show that for 50 population size the algorithm gives better results.
Conclusion
In this paper, we have used ANNbased biogeographybased heterogeneous cuckoo search algorithm (ANN–BHCS) to analyze the problem of temperature distribution for convective straight fins. The ANN–BHCS algorithm is an efficient technique for the solution of fractional differential equations. We have considered seven cases of the problem, in which three cases are of integer order and four cases are of fractional order. In the first case, we have solved integer order energy balance equation for different values of thermogeometric fin parameter ψ. The series solutions for case 1 are given in Eqs. (34), (35) and (36). The comparison of exact and numerical solutions obtained by HPM, VIM, HPSTM, and ANN–BHCS for case 1 is given in Tables 1–6. Solutions obtained for case 1 are also plotted in Fig. 5(a). The results show that the ANN–BHCS algorithm gives better solutions than other techniques. The efficiency of the algorithm is also obvious from the histograms of MAD, TIC, and ENSE values for case 1 in Figs. 6 and 7. From the second to seventh case, we have taken \(\beta =0.5, 0.3, 0.1, 0.1, 0.3, 0.5\) for all the cases. In the second and third case, we have considered integer order energy balance equation. Series solutions for the second and third case are given in Eqs. (40)–(45) and (49)–(54). Numerical solutions for the second and third case are given in Tables 7 and 8. Solution plots and histograms for fitness values of second and third case are given in Figs. 9 and 11. For both the cases, the dimensionless temperature increases for the values of \(\beta =0.5, 0.3, 0.1, 0.1, 0.3, 0.5\). The cases from the fourth to seventh are of fractional order. The series solutions for all the cases are given in results section. Numerical solutions from the fourth to seventh case are given in Tables 9–12. Solution plots and histograms of fitness values for the fourth to seventh cases are given in Figs. 13, 15, 17 and 19. The results show that the ANN–BHCS algorithm can efficiently solve the integer and fractional order differential equations.
Availability of data and materials
The data that support the findings of this study are available from the corresponding author upon reasonable request.
Abbreviations
 \(A_{c}\) :

Cross section area
 b :

Length
 P :

Perimeter
 T :

Temperature
 \(k_{a}\) :

Thermal conductivity
 MLF :

MittagLeffler function
 pa :

Discovery probability
 HSI:

Habitat’s suitability index
 I:

Immigration rate
 E:

Emigration rate
 f :

Activation function
 j :

Total number of neurons
 \(\alpha _{i}\), \(\beta _{i}\), \(\omega _{i}\) :

Unknown weights
 \(\hat{\theta }(\xi )\) :

Approximate series solution
 \(E_{1}\) :

Solution error of differential equation
 \(E_{2}\) :

Solution error of initial/boundary values
 ANNs:

Artificial neural networks
 ODE:

Ordinary differential equation
 HPM:

Homotopy perturbation method
 VIM:

Variational iteration method
 HPSTM:

Homotopy perturbation Sumudu transform method
 BBO:

Biogeographybased optimization
 CS:

Cuckoo search
 BHCS:

Biogeography based heterogeneous cuckoo search
 TIC:

Theil’s inequality coefficient
 MAD:

Mean absolute deviation
 NSE:

Nash–Sutcliffe efficiency
 ENSE:

Error in Nash–Sutcliffe efficiency
 AE:

Absolute errors
References
Ganji, D., Rajabi, A.: Assessment of homotopy–perturbation and perturbation methods in heat radiation equations. Int. Commun. Heat Mass Transf. 33, 391–400 (2006)
Aziz, A., Nguyen, H.: Twodimensional performance of convectingradiating fins of different profile shapes. Wärme Stoffübertrag. 28, 481–487 (1993)
Cuce, E., Cuce, P.M.: Homotopy perturbation method for temperature distribution, fin efficiency and fin effectiveness of convective straight fins with temperaturedependent thermal conductivity. Proc. Inst. Mech. Eng., Part C, J. Mech. Eng. Sci. 227, 1754–1760 (2013)
Kern, D., Kraus, A.: Extended Surface Heat Transfer. McGrawHill, New York (1972)
Domairry, G., Fazeli, M.: Homotopy analysis method to determine the fin efficiency of convective straight fins with temperaturedependent thermal conductivity. Commun. Nonlinear Sci. Numer. Simul. 14, 489–499 (2009)
Chiu, C.H., et al.: A decomposition method for solving the convective longitudinal fins with variable thermal conductivity. Int. J. Heat Mass Transf. 45, 2067–2075 (2002)
Chiu, C.H., Chen, C.K.: Application of Adomian’s decomposition procedure to the analysis of convectiveradiative fins. J. Heat Transf. 125, 312–316 (2003)
Lesnic, D., Heggs, P.: A decomposition method for powerlaw fintype problems. Int. Commun. Heat Mass Transf. 31, 673–682 (2004)
Bartas, J., Sellers, W.:. Radiation fin effectiveness (1960)
Aziz, A., Enamul Huq, S.: Perturbation solution for convecting fin with variable thermal conductivity (1975)
Arslanturk, C.: Optimum design of space radiators with temperaturedependent thermal conductivity. Appl. Therm. Eng. 26, 1149–1157 (2006)
Arslanturk, C.: Optimization of straight fins with a step change in thickness and variable thermal conductivity by homotopy perturbation method. J. Therm. Sci. Technol. 30, 9–19 (2010)
Singh, J., Kumar, D., Kılıçman, A.: Homotopy perturbation method for fractional gas dynamics equation using Sumudu transform. Abstr. Appl. Anal. 2013 Article ID 934060 (2013)
Ghorbani, A.: Beyond Adomian polynomials: He polynomials. Chaos Solitons Fractals 39, 1486–1492 (2009)
Miller, K.S., Ross, B.: An Introduction to the Fractional Calculus and Fractional Differential Equations. Wiley, New York (1993)
Podlubny, I.: Fractional Differential Equations: An Introduction to Fractional Derivatives, Fractional Differential Equations, to Methods of Their Solution and Some of Their Applications. Elsevier, Amsterdam (1998)
Saha Ray, S., Poddar, B., Bera, R.: Analytical solution of a dynamic system containing fractional derivative of order onehalf by Adomian decomposition method. J. Appl. Mech. 72, 290–295 (2005)
Ray, S.S., Bera, R.: An approximate solution of a nonlinear fractional differential equation by Adomian decomposition method. Appl. Math. Comput. 167, 561–571 (2005)
Ray, S.S., Bera, R.: Analytical solution of a fractional diffusion equation by Adomian decomposition method. Appl. Math. Comput. 174, 329–336 (2006)
Ray, S.S.: A new approach for the application of Adomian decomposition method for the solution of fractional space diffusion equation with insulated ends. Appl. Math. Comput. 202, 544–549 (2008)
Patra, A., Ray, S.S.: Analysis for fin efficiency with temperaturedependent thermal conductivity of fractional order energy balance equation using HPST method. Alex. Eng. J. 55, 77–85 (2016)
Inan, B., Osman, M.S., Ak, T., Baleanu, D.: Analytical and numerical solutions of mathematical biology models: the Newell–Whitehead–Segel and Allen–Cahn equations. Math. Methods Appl. Sci. 43, 2588–2600 (2020)
Park, C., Nuruddeen, R., Ali, K.K., Muhammad, L., Osman, M., Baleanu, D.: Novel hyperbolic and exponential ansatz methods to the fractional fifthorder Korteweg–de Vries equations. Adv. Differ. Equ. 2020, 627 (2020)
Ali, K.K., Abd El Salam, M.A., Mohamed, E.M., Samet, B., Kumar, S., Osman, M.: Numerical solution for generalized nonlinear fractional integrodifferential equations with linear functional arguments using Chebyshev series. Adv. Differ. Equ. 2020, 494 (2020)
Ali, K.K., Cattani, C., GómezAguilar, J., Baleanu, D., Osman, M.: Analytical and numerical study of the DNA dynamics arising in oscillatorchain of Peyrard–Bishop model. Chaos Solitons Fractals 139, 110089 (2020)
Arqub, O.A., Osman, M.S., AbdelAty, A.H., Mohamed, A.B.A., Momani, S.: A numerical algorithm for the solutions of ABC singular Lane–Emden type models arising in astrophysics using reproducing kernel discretization method. Mathematics 8, 923 (2020)
Dhawan, S., Machado, J.A.T., Brzeziński, D.W., Osman, M.S.: A Chebyshev wavelet collocation method for some types of differential problems. Symmetry 13, 536 (2021)
Kumar, S., Kumar, R., Osman, M., Samet, B.: A wavelet based numerical scheme for fractional order SEIR epidemic of measles by using Genocchi polynomials. Numer. Methods Partial Differ. Equ. 37, 1250–1268 (2021)
Bayones, F., Nisar, K.S., Khan, K.A., Raza, N., Hussien, N.S., Osman, M., Abualnaja, K.M.: Magnetohydrodynamics (MHD) flow analysis with mixed convection moves through a stretching surface. AIP Adv. 11, 045001 (2021)
CuahutenangoBarro, B., TanecoHernández, M., Lv, Y.P., GómezAguilar, J., Osman, M., Jahanshahi, H., Aly, A.A.: Analytical solutions of fractional wave equation with memory effect using the fractional derivative with exponential kernel. Results Phys. 25, 104148 (2021)
Djennadi, S., Shawagfeh, N., Osman, M.S., GómezAguilar, J., Arqub, O.A., et al.: The Tikhonov regularization method for the inverse source problem of time fractional heat equation in the view of ABCfractional technique. Phys. Scr. 96, 094006 (2021)
Khalid, A., Rehan, A., Nisar, K.S., Osman, M.S.: Splines solutions of boundary value problems that arises in sculpturing electrical process of motors with two rotating mechanism circuit. Phys. Scr. 96, 104001 (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)
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). https://doi.org/10.1109/ACCESS.2021.3078750
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., Aljohani, A.J., Alhindi, A., Alrabaiah, H.: Design of an efficient algorithm for solution of Bratu differential equations. Ain Shams Eng. J. 12, 2211–2225 (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)
Waseem, W., Sulaiman, M., Islam, S., Kumam, P., Nawaz, R., Raja, M.A.Z., Farooq, M., Shoaib, M.: A study of changes in temperature profile of porous fin model using cuckoo search algorithm. Alex. Eng. J. 59, 11–24 (2020)
Bukhari, A.H., Sulaiman, M., Islam, S., Shoaib, M., Kumam, P., Raja, M.A.Z.: Neurofuzzy modeling and prediction of summer precipitation with application to different meteorological stations. Alex. Eng. J. 59, 101–116 (2020)
Bukhari, A.H., Raja, M.A.Z., Sulaiman, M., Islam, S., Shoaib, M., Kumam, P.: Fractional neurosequential ARFIMALSTM for financial market forecasting. IEEE Access 8, 71326–71338 (2020)
Waseem, W., Sulaiman, M., Alhindi, A., Alhakami, H.: A soft computing approach based on fractional order DPSO algorithm designed to solve the corneal model for eye surgery. IEEE Access 8, 61576–61592 (2020)
Bukhari, A.H., Sulaiman, M., Raja, M.A.Z., Islam, S., Shoaib, M., Kumam, P.: Design of a hybrid NARRBFs neural network for nonlinear dusty plasma system. Alex. Eng. J. 59, 3325–3345 (2020)
Khan, A., Sulaiman, M., Alhakami, H., Alhindi, A.: Analysis of oscillatory behavior of heart by using a novel neuroevolutionary approach. IEEE Access 8, 86674–86695 (2020)
Waseem, W., Sulaiman, M., Kumam, P., Shoaib, M., Raja, M.A.Z., Islam, S.: Investigation of singular ordinary differential equations by a neuroevolutionary approach. PLoS ONE 15, e0235829 (2020)
Waseem, W., Sulaiman, M., Aljohani, A.J.: Investigation of fractional models of damping material by a neuroevolutionary approach. Chaos Solitons Fractals 140, 110198 (2020)
Ahmad, S., Sulaiman, M., Kumam, P., Hussain, Z., Asif Jan, M., Mashwani, W.K., Ullah, M.: A novel population initialization strategy for accelerating Levy flights based multiverse optimizer. J. Intell. Fuzzy Syst. 39, 1–17 (2020). https://doi.org/10.3233/JIFS190112
Sulaiman, M., Ahmad, S., Iqbal, J., Khan, A., Khan, R.: Optimal operation of the hybrid electricity generation system using multiverse optimization algorithm. Comput. Intell. Neurosci. 2019, Article ID 6192980 (2019)
Sulaiman, M., Ahmad, A., Khan, A., Muhammad, S.: Hybridized symbiotic organism search algorithm for the optimal operation of directional overcurrent relays. Complexity 2018, Article ID 4605769 (2018)
Sulaiman, M., Waseem, Muhammad, S., Khan, A.: Improved solutions for the optimal coordination of DOCRs using firefly algorithm. Complexity 2018, Article ID 7039790 (2018)
Sulaiman, M., Salhi, A., Khan, A., Muhammad, S., Khan, W.: On the theoretical analysis of the plant propagation algorithms. Math. Probl. Eng. 2018, Article ID 6357935 (2018)
Sulaiman, M., Salhi, A., Selamoglu, B.I., Kirikchi, O.B.: A plant propagation algorithm for constrained engineering optimisation problems. Math. Probl. Eng. 2014, Article ID 627416 (2014)
Coşkun, S.B., Atay, M.T.: Analysis of convective straight and radial fins with temperaturedependent thermal conductivity using variational iteration method with comparison with respect to finite element analysis. Math. Probl. Eng. 2007, Article ID 042072 (2007)
Arslanturk, C.: A decomposition method for fin efficiency of convective straight fins with temperaturedependent thermal conductivity. Int. Commun. Heat Mass Transf. 32, 831–841 (2005)
Oldham, K., Spanier, J.: The Fractional Calculus Theory and Applications of Differentiation and Integration to Arbitrary Order. Elsevier, Amsterdam (1974)
Kilbas, A.A., Srivastava, H.M., Trujillo, J.J.: Theory and Applications of Fractional Differential Equations, vol. 204. Elsevier, Amsterdam (2006)
Caputo, M.: Linear models of dissipation whose Q is almost frequency independent—II. Geophys. J. Int. 13, 529–539 (1967)
Diethelm, K., Ford, N.J.: Multiorder fractional differential equations and their numerical solution. Appl. Math. Comput. 154, 621–640 (2004)
Mainardi, F., Gorenflo, R.: The MittagLeffler function in the Riemann–Liouville fractional calculus. In: Boundary Value Problems, Special Functions and Fractional Calculus, pp. 215–225 (1996)
Yang, X.S., Deb, S.: Cuckoo search via Lévy flights. In: 2009 World Congress on Nature & Biologically Inspired Computing (NaBIC), pp. 210–214. IEEE Press, New York (2009)
Ding, X., Xu, Z., Cheung, N.J., Liu, X.: Parameter estimation of Takagi–Sugeno fuzzy system using heterogeneous cuckoo search algorithm. Neurocomputing 151, 1332–1342 (2015)
Yang, X.S., Deb, S.: Engineering optimisation by cuckoo search. Int. J. Math. Model. Numer. Optim. 1, 330–343 (2010)
Simon, D.: Biogeographybased optimization. IEEE Trans. Evol. Comput. 12, 702–713 (2008)
Cheung, N.J., Ding, X.M., Shen, H.B.: A nonhomogeneous cuckoo search algorithm based on quantum mechanism for real parameter optimization. IEEE Trans. Cybern. 47, 391–402 (2016)
Acknowledgements
The authors acknowledge the support provided by the Department of Mathematics, Faculty of Science, King Mongkut’s University of Technology Thonburi (KMUTT), 126 Pracha Uthit Rd., Bang Mod, Thung Khru, Bangkok 10140, Thailand.
Funding
The funding is provided by the Center of Excellence in Theoretical and Computational Science (TaCSCoE), KMUTT.
Author information
Authors and Affiliations
Contributions
All authors have equal contribution in writing of this paper. All authors read and approved the final manuscript.
Corresponding authors
Ethics declarations
Competing interests
The authors declare that they have no competing interests.
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
Ahmad, A., Sulaiman, M. & Kumam, P. Solutions of fractional order differential equations modeling temperature distribution in convective straight fins design. Adv Differ Equ 2021, 382 (2021). https://doi.org/10.1186/s1366202103537z
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s1366202103537z
Keywords
 Fractional order differential equations
 Design engineering
 Mathematical models
 Intelligent computing techniques
 Artificial neural networks
 Heuristic optimization techniques