Abstract

In this paper, the Bernstein collocation method (BCM) is used for the first time to solve the nonlinear magnetohydrodynamics (MHD) Jeffery–Hamel arterial blood flow issue. The flow model described by nonlinear partial differential equations is first transformed to a third-order one-dimensional equation. By using the Bernstein collocation method, the problem is transformed into a nonlinear system of algebraic equations. The residual correction procedure is used to estimate the error; it is simple to use and can be used even when the exact solution is unknown. In addition, the corrected Bernstein solution can be found. As a consequence, the solution is estimated using a numerical approach based on Bernstein polynomials, and the findings are verified by the 4th-order Runge–Kutta results. Comparison with the homotopy perturbation method shows that the present method gives much higher accuracy. The accuracy and efficiency of the proposed method were supported by the analysis of variance (ANOVA) and 95% of confidence on interval error. Finally, the results revealed that the MHD Jeffery–Hamel flow is directly proportional to the product of the angle between the plates and Reynolds number .

1. Introduction

Jeffery and Hamel were the first to study viscous incompressible flow through a channel, which is today known as Jeffery–Hamel flow [1]. Hamel looked at an accurate nonsteady solution of the Navier–Stokes equations (NSE), which describes the process of a vortex decaying due to viscous action [2]. In the special situation of two-dimensional flow through a channel with oblique plane walls meeting at a vertex with a source or sink at the vertex, Jeffery–Hamel flows are the exact similarity solution as the NSE [2]. The interplay between the magnetic characteristics and the behaviour of electrically conducting fluids is described by magnetohydrodynamics (MHD). Electrically conducting non-Newtonian fluid flow is important because in most practical circumstances, fluids behave differently under the influence of magnetic fields than nonconductive fluid [3]. The magnetohydrodynamic (MHD) direction of the flow should also be considered in these cases [3]. The most recent works on magnetic blood flow are given in [46].

Some numerical methods for situations involving Jeffery–Hamel flows have been developed in the literature. Khan et al. [3] investigated the equations that regulate the slip effects on Casson fluid MHD flow in converging/diverging channels. First, they used a suitable similarity transformation to convert the system of governing nonlinear partial differential equations to a system of ordinary differential equations. The final problem was then solved using Adomian’s decomposition method and the variation of parameters method. They discovered that raising parameter values causes the velocity in the narrowing channel and the velocity in the widening channel to behave in opposing ways. They found, on the other hand, that the Casson fluid’s hydrodynamic slip flow can be exploited to stop the separation phenomenon in the diverging channel. Hamrelaine et al. [7] investigated the third-order MHD Jeffery–Hamel flow with suction/injection. The homotopy analysis method (HAM) was used to obtain a semianalytic solution, and the Runge–Kutta method is used to calculate a numerical solution. A comparison of the methodologies was carried out. They discovered that the analytical and numerical outcomes are similar. Ara et al. [8] studied the Jeffery–Hamel flow of an incompressible non-Newtonian fluid inside nonparallel walls. They converted the governing nonlinear partial differential equations to nonlinear coupled ordinary differential equations and implemented the Taylor optimization method to get the analytic solution. The results agree with those of the Runge–Kutta method. Heat transfer in a two-dimensional magnetohydrodynamic viscous incompressible flow in convergent/divergent channels was studied by Mahmood et al. [9]. They used the spectral homotopy analysis method (SHAM) to solve the governing nonlinear differential equations and found that increasing the Reynold number, Prandtl number, or Nusselt number yields an increase in the temperature profile. Recently, Adel et al. [10] implemented a Bernoulli collocation method to provide a numerical simulation of the Jeffery–Hamel blood flow problem.

The goal of this research is to use a numerical technique based on the Bernstein collocation method to investigate a solution for the MHD Jeffery–Hamel blood flow problem. The polynomials determined in the Bernstein basis are widely used in a variety of applications because Bernstein polynomials are used as base polynomials since they are dense in and hence produce good approximation results [11]. The Bernstein polynomial converges uniformly to on [0, 1] by the Weierstrass theorem [12]. We shall note that if the solution of the differential equation is a polynomial of degree , then the Bernstein collocation method will give the exact solution [12]. Jafarian et al. [13] presented approximate solutions of the Fredholm and Volterra integral equation systems of the second kind by an application of the Bernstein polynomials expansion method. In this technique, the original integral equation system is reduced to a linear system from which the unknown Bernstein coefficients of the solutions can be easily obtained. Recently, the regularized and the modified regularized long wave (RLW and MRLW) equations have been solved by Hammad [14] using the Bernstein collocation method. He managed to reduce the equations to a system of nonlinear algebraic equations which is easier to solve than the original equations. In addition, the general form of any derivative of Bernstein polynomials was also given for the first time in [14]. The Bernstein collocation method has also been applied to solve functional differential equations of neutral type with good outcomes [15], to find an approximate solution of the fractional equal width wave equation and the modified equal width wave equation [16], and in many interesting problems in science, engineering, and medical fields [1720]. By using the Bernstein collocation method, the problem is transformed into a nonlinear system of algebraic equations. The residual correction procedure is used to estimate the error; it is simple to use and can be used even when the exact solution is unknown. In addition, the corrected Bernstein solution can be found. Moreover, the accuracy and efficiency of the proposed method are evaluated by applying the one-way ANOVA analysis which has been applied by Ahmad and Ilyas [21].

The following is a breakdown of the paper’s structure. The governing equation and problem statement are given in Section 2. The definitions and formulations of Bernstein polynomials are given in Section 3. Then, the BCM is introduced by defining the residual function. In Section 4, an error estimation procedure and a residual correction procedure are given. Some examples to illustrate how the method works are shown in Section 5. A comparison of the BCM against the HPM [21] will also be presented. The last section summarizes the results.

2. Governing Equation and Problem Formulation

The nonlinear MHD Jeffery–Hamel arterial blood flow problem was given in [1, 2, 21]. Consider a continuous two-dimensional flow of an incompressible conducting viscous fluid from a source or sink at channel walls lying in planes with an angle of , as illustrated in Figure 1. Using the continuity Navier–Stokes equations in polar coordinates and assuming that the velocity is exclusively along the radial direction and relies on and , the governing equations are as follows [22]:

subject to the boundary conditions,

The fluid density, pressure of the fluid, and coefficient of kinematics viscosity are represented by , respectively. In a cylindrical coordinate, the artery was assumed to have a constant cross-sectional area and no viscoelastic impact.

2.1. Problem Formulation

Following Ahmad and Ilyas [21], problems (1)–(3) can be reduced to a nonlinear ordinary differential equation. First, integrating the equation of continuity with respect to ,

Yields as

Letwhere

Then, let us obtain the following functions written in terms of :

Integrating and simplifying (3) with respect to gives pressure as follows:

We obtain the following equation by differentiating with respect to and by using (8):

Substituting (9)–(14) into (3), we get

or simply

Differentiating (16) with respect to , we get

Subject to the boundary conditions,where prime denotes derivative with respect to , and is the angle between the inclined plates. Here, is the Reynolds number which is defined as follows [2]:and is the maximum velocity at the centre of the channel . Note that the solution of equation (17) is related to the solution of the original PDEs via the following relation obtained from equations (6) and (7) as follows:

From which . We can use the form of solution as given in equation (20) since in the Jeffery–Hamel flow, the velocity is exclusively along the radial direction.

3. Bernstein Collocation Method (BCM)

In this section, Bernstein polynomials on the interval are defined and the basic ideas of the approximating functions using BCM are introduced.

Definition 1. The Bernstein polynomials of degree defined on the interval are given as [23, 24]where the binomial coefficient isFor convenience, set if or .
Let be the exact solution of (17) and (18). Approximate by BCM as follows:where is an unknown constant matrix of size to be determined and is a matrix of size , consisting of the Bernstein basis polynomial elements, defined, respectively, as follows:The -th derivatives of can be expressed directly from the Bernstein basis polynomial elements asTo solve equation (17) subject to the boundary conditions (15) by means of BCM, first substitute equations (23)–(25) into equation (17) to get the residual function ,Now, replacing by and then applying the collocation nodesOn equation (26) generates set of linear or nonlinear algebraic equations. On the other hand, by imposing again equations (23)–(25) to the boundary conditions (18) asFinally, generate set of linear or nonlinear algebraic equations. The solution of this set of linear or nonlinear algebraic equations gives the unknown coefficients of the vector . Consequently, given in equation (23) is obtained once is known.

4. Error Estimates and Residual Correction Procedure

In this section, the procedure presented in the work of Bataineh et al. [25] will be adopted and the error estimations for BCM solutions using the residual correction procedure shall be given.

Let and be the exact solution and the BCM solutions of equation (17), respectively, then define the error function as . Now, let us constitute the residual correction procedure for the method. First, substituting the term into equation (17) yields

By applying the method for a given value of to equation (29) subject to the boundary conditions

The approximate solution for the error will be obtained. Note that the polynomial is an approximate solution of (17). Here, is the corrected BCM solution.

Corollary 1. If is the approximate solution of (17), then is also an approximate solution of (17). Moreover, is a better approximation than provided that

5. Numerical Experiments

In this section, the present method is applied to the Jeffery–Hamel blood flow problem for four different cases: Case 1 , Case 2 , Case 3 , and Case 4 [21]. Since the exact solutions are unknown, the approximate solutions obtained by the fourth-order Runge–Kutta (RK4) method is taken as the reference solutions.

The solutions obtained by BCM and RK4 with step size are given in Figure 2. The absolute errors and their estimations obtained by the residual correction procedure are shown in Figure 3. As shown in Figure 2, increasing yields a decrease in the flow rate of blood for four cases. Moreover, any changes in and lead to a change in the flow rate of blood. For all the cases considered, the results obtained by the BCM match very well with the results obtained by RK4. Observe from Figure 3 that the estimations of absolute errors agree well with the absolute errors. Figures 4 and 5 show the impact of the Reynolds number and the steep angle of the channel on the fluid velocity profile. It can be concluded that, when and the channel’s steepness is divergent, an increase in Reynolds number causes a decrease in velocity as shown in Figure 4(a), the findings are inverse when and the steepness of the channel is convergent. An increase in Reynolds number leads to an increase in velocity as shown in Figure 4(b) and as shown in Figures 5(a) and 5(b), the divergence angle of the channel and the velocity of the fluid have an inverse relationship when the Reynolds number is fixed.

The BCM solutions for the four cases are listed in Table 1. The absolute errors with a comparison with the HPM [21] are given in Table 2. As shown in Table 2, the approximations obtained by the BCM are more accurate than the approximations obtained by the HPM for all the cases studied. The corrected BCM solutions with a comparison by HPM [21] are also given in Table 1. As shown in Table 3, the corrected BCM solutions are much more accurate than both the BCM and the HPM [21] solutions for all the cases.

One-way ANOVA analysis was conducted to determine whether there was any statistically significant difference between the absolute errors or not. A Tukey analysis from post hoc tests was also conducted to determine group differences. The SPSS 22 program for the statistical analysis was used. Analysis results are given in Tables 4 and 5. According to the ANOVA results in Table 4, there is a significant difference between at least two groups . The Tukey pairwise comparison results show that Case 2 is different from the other groups. Contrary to the HPM [21] results, it is seen from Figure 6 that the mean of the absolute errors for Case 2 is different from the means of the other groups.

6. Conclusions

In this study, the Bernstein collocation method (BCM) has been applied to solve the MHD Jeffery–Hamel blood flow problem. The original two-dimensional blood flow problem was first reduced to a one-dimensional third-order nonlinear differential equation (ODE) by applying some transformation rules. Using the BCM, the nonlinear ODE was then converted to a system of nonlinear algebraic equations. The Bernstein approximate solutions were improved by the residual correction procedure. This procedure was applied to estimate the error and to get more accurate approximations, namely, corrected BCM solutions. The method was tested on the problem for some different values of and . After applying the method to the examples, it was found that the present method is better than HPM [21]. On the other hand, the residual correction procedure estimates the error well. As a result, more accurate approximations can be obtained by using the procedure. As a result of the statistical analysis, Case 2 is different from the other groups for the BCM.

Abbreviations

:Fluid density
:Cylindrical coordinates
:Pressure term
:Kinematic viscosity
:Angle of the channel
:Maximum value of velocity
and :Dimensionless parameters
:Reynolds number.

Data Availability

The study did not report any data.

Consent is not applicable in this study.

Conflicts of Interest

The authors declare no conflicts of interest.

Authors’ Contributions

A.S.B. contributed to the conceptualization of the study; A.S.B. and O.R.I. contributed to the methodology; A.S.B. and O.R.I. were responsible for software; A.S.B., O.R.I., and I.H. contributed to the validation; A.S.B. and O.R.I. were responsible for formal analysis; A.S.B. contributed to the original draft preparation; A.S.B., O.R.I., and I.H. contributed to reviewing and editing; and I.H. was responsible for funding acquisition. All authors have read and agreed to the published version of the manuscript.

Acknowledgments

Prof. Dr. Ahmad Sami Bataineh would like to thank Al-Balqa Applied University for providing him with a sabbatical leave at Universiti Kebangsaan Malaysia which allowed him to conduct this research. The APC was funded by Universiti Kebangsaan Malaysia (Grant # DIP-2021-018).