Abstract

In this paper, we utilized a hybrid method for the unsteady flow of the non-Newtonian third-grade fluid that combines the finite difference with the asymptotic interpolation method. This hybrid method is used to satisfy the semiunbound domain condition of the fluid flow’s length approaching infinity. The primary issue with this research is how much of the hybrid approach’s error may be accepted to guarantee that the method is significant. This paper discussed theoretical error analysis for numerical solutions, including the range and norm of error. The perturbation method’s concept is used to assess the hybrid method’s error. It is discovered that the hybrid approach’s relative error norm is lower than that of the finite difference method. In terms of the error standard, the hybrid approach is more consistent. Error analysis is performed to check for the accuracy as well as the platform for variable mesh size finite difference method in the future research.

1. Introduction

Non-Newtonian fluid flow has always been in the limelight due to the difficulty of the equation. Physical behaviors and properties of fluid make researchers believe that there is no equation with a complete problem variable exist in one equation. Non-Newtonian fluid problem appears such as in designing body vest for police [1] and landslides [2]. Differential types, rate type, and integral type are three types of fluid models in non-Newtonian fluid [35]. The derivatives of the local deformation tensor with respect to time determine the type of differential. Materials with limited memory, such as diluted polymeric solutions, are described using a rate type model. High-memory materials, such as polymeric melts, are regarded as integral types. Second, third, and fourth grades are the three subclasses that make up differential type. The most basic non-Newtonian fluid subclass, known as second-grade fluid, can only describe typical stress differences. On the other hand, the governing equations for third- and fourth-grade fluids are substantially more complicated, and these fluids can indicate shear thickening (viscosity increases with higher stress) or thin (viscosity reduces with increased stress).

This present paper focused on differential type of third-grade fluid. Blood is believed to be a third-grade magnetohydrodynamics (MHD) fluid while the arteries are porous [6]. Besides, the applications of non-Newtonian fluid can be seen in the industrial manufacturing process such as production of magnetic materials, polymer technology, and metallurgy [7, 8].

The third-grade fluid problem can be seen in Hayat et al. [9], where the MHD fluid that flows between two porous plates has been solved using a perturbation method to produce an exact solution. Abelman et al. [10] investigated the third-grade MHD fluid with rotation of the -axis and the fluid filling the porous half-place. The boundary condition (BC) of the problem included a semi-infinite domain; thus, the BC is converted to a finite domain. The same procedure has been applied in Hayat and Wang [11] and later is solved numerically using the MATLAB programming.

The unsteady constants and variables of the accelerated third-grade MHD are investigated using the homotopy analysis method (HAM) [12]. For every fluid problem, HAM required a different convergence property and only accurate between finite interval [0, 1] domain as proved by Van and Robert [13]. Ghani et al. [14] explored an incompressible third-grade MHD fluid in a unidirectional thin film flow over an oscillating inclined belt embedded in a porous medium using the ideal homotopy asymptotic method and the homotopy pertubation method.

Technique of perturbation has been practised to solve MHD free convection from vertical porous plate with a diffusion-thermo effect [15]. However, according to Şenol et al. [16], perturbation methods have a narrow range of validity and valid for weakly nonlinear problems.

Laplace transform has been used to solve accelerated free convection rotating flows of second-grade fluid [17]. However, this analytical method needs more time especially for large problem system.

Rawi et al. [18] and Gaffar et al. [19] applied Keller-box method in solving convective boundary layer flow of micropolar Jeffery fluid with prescribed wall temperature and thermal convection of an incompressible non-Newtonian fluid from a horizontal circular cylinder. Nevertheless, this method needs high computational work at each time step [20].

The fluid problem which involved infinite condition can be found in Rahman et al. [21]. In this research, thermal radiation and nonuniform heat sources or sinks are taken into account together with a hybrid nanofluid flow of heat transmission towards an extending surface. Through similarity transformations, the governing partial differential equations generated from the Navier-Stokes equations are transformed into nonlinear ordinary differential equations. The boundary-value problem solver (bvp4c) in the MATLAB package is then used to numerically resolve the model of coupled nonlinear equations.

The FDM is the earliest technique for creating a rectangular grid using space and time coordinates, and it may be used to gauge how accurate a model is. This approach works well for solving partial differential equations (PDEs), which might have variable boundary conditions, be linear or nonlinear, dependant or time-dependent, etc (BCs). The development of high-speed computers with vast amounts of storage has led to the appearance of numerous numerical solution approaches for PDEs. The FDM is still a useful method for resolving these issues, nevertheless, due to its simplicity of usage.

Goud et al. [22] examined for heat radiation in the MHD flow of a micropolar fluid across a moving vertical porous plate. The equations are converted to nondimensional, and the finite difference technique is implemented. In another study, implicit finite difference method and damped Newton method were used to solve the problem of the unsteady third-grade MHD heat transfer with viscous dissipation [23].

In order to estimate an unknown value when a problem’s sample size approaches infinity, one can utilize the asymptotic interpolation method (AIM). With enough parameters, the asymptotic functions used in this method can accurately reflect a problem’s behavior. The advantage of AIM is highly accurate approximations are obtained in only a few iterations [24].

The third grade of fluid flow in rotating frame as shown in Figure 1 has been addressed by using homotopy analysis method [25]. After all, there is no exact solution that has been produced to this fluid problem.

The combination of the FDM and AIM may solve various models of nonlinear PDEs with an unbounded domain and produce an accurate result in perspective of the strengths of both techniques. Thereby, this current work presents a hybrid finite difference–asymptotic interpolation method to respond to its infinite boundary condition. This hybrid method has been applied in Mahadi et al. [2628]. The advantage of this hybrid method is the numerical solution obtained will be close to its exact solution. This hybrid method is suitable for the problem related to an infinite domain. This present paper highlights the differential types of third grade which fluid has a derivative of the tensor with respect to time. The aim of this paper is to present an error analysis of the hybrid finite difference and the asymptotic interpolation method.

First, the mathematical formulation is presented. The nonlinear equation is discretize using the finite difference method. Later, the nonlinear least square technique is applied in the asymptotic interpolation method using a special function to find the solution when the problem tends to infinity. Next, an error analysis is conducted. The truncation error is evaluated in the finite difference system. Besides that, the modified fluid problem which has an exact solution is imposed, and the same hybrid algorithm is applied. The results of the error analysis included an absolute error and a relative error.

2. Mathematical Formulation

2.1. Governing Equations

An incompressible third-grade fluid in the space such as in Figure 1, , is considered. The plate at is moved with a constant acceleration in the -direction for and induced in the motion in the fluid. The fluid and plate are both in the solid body rotation. Initially, they are all at rest. The momentum equations for such problem of the flow following Aziz et al. [25] are where is the density of fluid and is the velocity of fluid relative to the rotating frame; meanwhile, is rate of change of in the frame. is the angular velocity where it represents the axis of which fluid is rotating. The product of is a Cariolis acceleration. It presents the fluid is flowing relative to the rotating coordinate system. is the radial coordinate with . is centripetal acceleration (direction of the change in velocity towards the center), and is the pressure [12, 25]. is the extra stress tensor with

The tensors are given by where is the coefficient of shear viscosity and and are the material constants [14, 19]. The constitutive equation of the third-grade fluid is

[9, 23, 25, 29], where and are the kinematic tensors [30] such that

From (1),

Next, substitute (6) into (1); the equation can be written in the matrix form where , , and are normal stress tensor and , , , , , and are shear stress tensors. Substitute (5) into (4); thus, Equation (7) which represents the third-grade non-Newtonian fluid in a rotating frame [25] is given as follows. where and . and are the complex functions which involve real and imaginary part of the velocity profile. The boundary conditions are connected to the constant acceleration:

2.2. Hybrid Finite Difference–Asymptotic Interpolation Method

The fluid problem in (8) poses a nonlinear equation, and thus, the forward and central finite differences are applied to discretize the system with and , respectively. Initially, the problem followed the initial condition as shown in (9). As , the forward difference is applied. Then, (8) is

At the period from until , the central finite difference is applied, and the equation is shown as follows:

The boundary condition at (9) indicated that the velocity profile tended to be zero while the length tended to be infinite. The finite difference method has converted the infinite problem from to finite problem [10, 11]. In the hybrid finite difference–asymptotic interpolation method, the problem is explored with 3 or more distinct unit lengths such as , and the results of velocity profiles are shown in Tables 1 and 2. Table 1 presents the real part of fluid’s velocity. Meanwhile, Table 2 presents the imaginary part of fluid’s velocity. The data illustrates that the velocity for each length are different.

Although the results are converging, the velocity profile began to slightly show a difference at . Therefore, an asymptotic interpolation method is added to the system using a special function of [2628].

The hybrid approach used the idea of the least square nonlinear to determine the best fit for each node. Table 3 shows the velocity profile after using the hybrid method. The results fulfill the condition in (9) where the fluid’s velocity decreases as length increase. The validation of the hybrid method can be seen in [28].

2.3. Error Analysis

The theory of perturbation is applied to evaluate the error of the numerical system. Assumed that the system has with , where and are perturbation of and , the truncation error in (8) is highlighted. When the truncation error is moved to the right side, the perturbation of can be described as

In this paper, error analysis is carried out using two methods: (1) degree of polynomial curve fit and (2) modified problem with an exact solution.

Figures 2 and 3 demonstrate the degree of polynomial function for the real part and the imaginary part of the velocity profile.

Step sizes are chosen to be and , where the time step is too small . Thus, (12) is reduced by ignoring higher order of .

Let , and . The derivatives of the polynomial function shown in Figure 1 are considered. The condition of the norm and inequality of are satisfied, where and . Figure 2 shows the 6th-degree polynomial fit for the imaginary part. The condition also satisfied where and . These numbers confirmed that the truncation error of the finite difference method is adequate.

The implicit numerical scheme of the modified third-grade fluid is carried out with the exact solution shown in Figure 4 with and .

Equation (8) now becomes where

Error analysis for finite difference method is performed. Inequality of is calculated in attempt to discover a relative change. Equation (13) is highlighted, and the observation is covered at . This inequality is fulfilled with the lower bound , relative error , and upper bound of . From this exploration, the relative error is noticeably small which is at 8.31%. It demonstrated the validity of the approximate solution by numerical approach of finite difference method for this modified fluid problem. The following figure portrays the velocity profile after the combination of the asymptotic interpolation method.

The Newton method concept has been employed in error analysis for asymptotic interpolation. The least square nonlinear equation is used to generate three nonlinear equations from a special function:

The results are perturbed as , where . Equation (16) then transformed to where are the coefficients at the exact solution and are the coefficient at the approximate solution. The small changes of each coefficient are , , and . For the next step, the formulae below are considered.

For , by considering the assumptions below, let be an approximate solution; meanwhile, is an exact solution, and let . Therefore,

Equation (19) then changed into . By using linearization and by assuming that is very small, the equation is reduced to , where and are a matrix with coefficient and a vector without coefficient of . Based on the findings obtained by Mahadi et al. [2628], the interest of this error analysis for asymptotic interpolation is . The comparison of and the error of solution is shown in Table 4. This demonstrates how closely the two error calculations match up.

The norm of relative error comparison between the hybrid method and the finite difference method with respect to the exact solution is shown in Table 5.

The relative error norm of the hybrid method is smaller than that of the finite difference method. As a result, it is suggested that one of the numerical methods for improving performance when handling an infinite domain of boundary conditions is the hybrid method. The two error analyses mentioned above real-time error analysis which do not require the knowledge of exact solution. Thus, these error analysis can be used for adaptive finite difference method where the grid size can be adjusted in real time to achieve user-supplied error tolerance.

3. Results

The third-grade non-Newtonian fluid in a rotating frame is studied. A novel hybrid method that combines the finite difference method with asymptotic interpolation is intended to improve the finite difference results. This method’s objective is to satisfy the boundary condition. The numerical solution is approximated using the least square nonlinear approach for a specific special function. The results are reported in Tables 13.

The real part of fluid velocity is shown in Table 1 for different lengths such as , , and . The number of data will increase as the lengths increase. The fluid has zero velocity at , when . In comparison to and , the fluid has a low velocity which is not equal to zero. These data show that the fluid still have velocity even small as the problem’s length increase. Table 2 displays the fluid velocity for the imaginary part of the problem as well as the same explanations. These findings demonstrate that the exact velocity can be determined after certain length iterations. Table 3 shows the fluid velocity after utilizing the hybrid technique, which incorporates length iterations and the relevant special function. These results satisfy the boundary condition in (9) as proved by the fact that at , the velocity tends to a low number that is not equal to zero.

The polynomial fit, as illustrated in Figures 2 and 3, for the real and imaginary parts, respectively, has been used to conduct error analysis. The polynomial curve fit is employed to identify the ideal graph for the finite difference process’s evaluation of the truncation error. Instances where the left side’s value is lower than the right side satisfy the norm and inequality requirement.

The modified problem is created, and the error analysis is performed for the finite difference method and asymptotic interpolation. The modified problem has the exact solution given in Figure 4. The results of the hybrid approach are shown in Figure 5. The relative inaccuracy found is within the acceptable range. As a result, the finite difference method’s output is accurate. Next, is the main focus of the error analysis for asymptotic interpolation. Table 4 demonstrates that the error of solution between the exact and hybrid approaches is relatively small.

The norm of relative errors between the hybrid approach and the finite difference method is shown in Table 5. It demonstrates that the hybrid method’s norm of relative error is small for both the real and imaginary parts.

4. Summary and Conclusions

The paper centered on a hybrid technique for responding to a semi-infinite boundary condition for unsteady flow of a non-Newtonian third-grade fluid. The present paper examined the error of the approximate solution to ensure that the hybrid method is effective in solving the problem. There are two approaches to error analysis. First, the perturbation method is applied to the fluid problem. Truncation errors in finite difference are investigated, as well as the degree of polynomial functions. Second, the exact solution to a modified fluid problem is identified. The exact solution, as well as the results of the finite difference method, the hybrid finite difference method, and asymptotic interpolation method, is presented. The findings of this investigation indicate the following: (i)The hybrid approach has a low relative error norm(ii)It suggests that for an indefinite problem, the hybrid method could produce accurate solutions(iii)These real-time error analysis techniques can be used to design an adjustable mesh size finite difference approach with user-supplied error tolerance

The problem of non-Newtonian fluid flow has been addressed using the hybrid finite difference–asymptotic interpolation method. This method is useful for complicated geometry problem in real-time simulation with infinite domain.

Data Availability

The paper contains all relevant data.

Conflicts of Interest

The authors declare that there is no conflict of interests regarding the publication of the paper.

Acknowledgments

The authors would like to express their gratitude to Universiti Teknologi MARA Cawangan Johor for funding this research under Geran Penyelidikan Bestari Vot No. 29000. The authors are also appreciative to the reviewers for attentively reading this article and providing helpful comments and suggestions.