Abstract

Nonlinear partial differential equations (PDEs) modelling unsteady boundary-layer flows are solved by the spectral relaxation method (SRM) and the spectral quasilinearization method (SQLM). The SRM and SQLM are Chebyshev pseudospectral based methods that have been successfully used to solve nonlinear boundary layer flow problems described by systems of ordinary differential equations. In this paper application of these methods is extended, for the first time, to systems of nonlinear PDEs that model unsteady boundary layer flow. The new extension is tested on two problems: boundary layer flow caused by an impulsively stretching plate and a coupled four-equation system that models the problem of unsteady MHD flow and mass transfer in a porous space. Numerous simulation experiments are conducted to determine the accuracy and compare the computational performance of the proposed methods against the popular Keller-box finite difference scheme which is widely accepted as being one of the ideal tools for solving nonlinear PDEs that model boundary layer flow problems. The results indicate that the methods are more efficient in terms of computational accuracy and speed compared with the Keller-box.

1. Introduction

Partial differential equations (PDEs) arise in a number of physical problems, such as fluid flow, heat transfer, and biological processes. Finding solutions of the PDEs plays a crucial role in understanding the behaviour of these problems. Mostly, the PDEs modelling real-life problems are nonlinear and complex to solve exactly and hence various analytical and numerical methods have been employed to approximate the solutions of these problems. In recent times, many researchers in fluid mechanics have focused their attention on problems involving boundary layer flows of an incompressible fluid over a stretching surface because of their substantial applications in engineering. A large and growing body of literature has investigated problems involving steady flows. However, in some cases the flow field could be unsteady due to a sudden stretching of the flat sheet. Unsteady flows are mostly defined by systems of nonlinear PDEs and are considerably more difficult to solve than steady flows problems which are often simplified into system nonlinear ODEs using the so-called similarity transformations.

The problem of unsteady boundary layer flow due to an impulsively stretching surface in a viscous fluid has been considered by a number of researchers. These studies include the work of Seshadri et al. [1] who used the Keller-box method of Cebeci and Bradshaw [2] and a perturbation series approach for the solution of unsteady mixed convection flow along a heated vertical plate. The Keller-box method was also used by Ali et al. [3] to solve a related problem of unsteady boundary layer flow due to an impulsively stretching surface. Nazar et al. [4, 5] solved the unsteady boundary-layer flow problem due to an impulsively stretching surface in a rotating fluid by means of the Keller-box numerical method, and they obtained a first order perturbation approximation of the solution. Liao [6] noted that a limiting factor of the perturbation approach is that it gives solutions that are only valid for small time. As an alternative approach, Liao [6] suggested the use of the homotopy analysis method (HAM) that was meant to address some of the limitations of the perturbation methods by offering solutions that are uniformly valid for all time. In recent years, there has been an increasing amount of literature that has adopted Liao’s analytic approach in solving unsteady boundary layer flows. However, there are limits to how far analytic approaches can be utilised in nonlinear systems of PDEs involving many equations. Nonlinear systems involving many coupled equations are very difficult to solve analytically.

In this work, we apply, for the first time, the spectral relaxation method (SRM) and the spectral quasilinearization method (SQLM) to solve nonlinear PDEs describing unsteady boundary layer flow due to an impulsively stretching surface. The SRM was introduced in [7] for the solution of the nonlinear ODE system model of von Karman flow of a Reiner-Rivlin fluid. The method has also been used in the solution of chaotic and hyperchaotic systems [8, 9]. The SRM is based on simple decoupling and rearrangement of the governing nonlinear equations in a Gauss-Seidel manner. The resulting sequence of equations is integrated using the Chebyshev spectral collocation method. On the other hand, in the SQLM, the governing nonlinear equations are linearised using the Newton-Raphson based quasilinearization method (QLM), developed by Bellman and Kalaba [10], and are then integrated using Chebyshev spectral collocation method. A sizeable body of literature now exists on the use of various finite difference based QLM schemes in boundary layer flows described by both nonlinear ODE and PDE-based systems [1115]. Spectral method based quasilinearisation schemes have also been successfully applied to a range of fluid mechanics based ODE model problems (see, e.g., [1618]). For problems with smooth solutions, spectral methods are well known [1921] to be considerably more accurate than other traditional numerical methods such as finite difference and finite elements. In this investigation we revisit the one-dimensional unsteady boundary layer flow due to an impulsively stretching surface that was previously discussed by [6] using the homotopy analysis method and recently in [3] using the Keller-box method. The problem of unsteady three-dimensional MHD flow and mass transfer in a porous space [22] is also investigated. The main purpose of the study is to investigate the applicability and effectiveness of the new SRM approach to systems of nonlinear PDE-based unsteady boundary layer flows of varying levels of complexity. Numerical simulations are conducted on the sample problems using the SRM, SQLM, and Keller-box method. The three methods are compared in terms of accuracy, computational speed, and easy implementation.

The rest of the paper is organized as follows. In Section 2, we discuss the development of the SRM and SQLM for the solution of an unsteady boundary-layer flow caused by an impulsively stretching plate. Section 3 presents the SRM and SQLM implementation of an unsteady three-dimensional MHD flow and mass transfer in a porous space. Section 4 contains the results and discussion, and the conclusions are given in Section 5.

2. Unsteady Boundary-Layer Flows Caused by an Impulsively Stretching Plate

The governing partial differential equations can be obtained by using the standard stream function formulation in conjunction with the transformations suggested by Williams and Rhyne [23]. The dimensionless governing equation is obtained (see [1, 4, 6] for details) as subject to the boundary conditions where the primes denote differentiation with respect to the similarity variable . is a nondimensional function that gives the velocity and is the dimensionless time-scale defined as where is a positive constant and is the time variable. In the analysis of boundary layer flow problems, a quantity that is of physical interest in the skin friction in this model is given [1, 4, 6], in dimensionless form, as where is the local Reynolds number.

The initial unsteady solution at () for the governing equation (1) is obtained as a solution of the equation where the primes denote differentiation with respect to . Solving (5) gives where is the standard complementary error function defined by

The steady state solution when , corresponding to , is obtained from The solution to the above equation is

2.1. Spectral Relaxation Method

In this section we discuss the development of the spectral relaxation method and its application to solve the partial differential equation (1). It is convenient to reduce the order of (1) from three to two. To this end, we set , so that (1) becomes

The spectral relaxation method [7] algorithm uses the idea of the Gauss-Seidel method to decouple the governing systems of (11). From the decoupled equations an iteration scheme is developed by evaluating linear terms in the current iteration level (denoted by ) and nonlinear terms in the previous iteration level (denoted by ). Applying the SRM on (11) gives the following linear partial differential equations: where

The initial approximation for solving (12)–(14) is obtained as the solutions at . Thus and are given by Starting from given initial approximations (16), the iteration schemes (12) can be solved iteratively for when . The solution for is used in (14) which is, in turn, solved for . To solve (12) we discretize the equation using the Chebyshev spectral method in the -direction and use an implicit finite difference method in the -direction. For details of the spectral method, we refer interested readers to [19, 21]. Before applying the spectral method, it is convenient to transform the domain on which the governing equation is defined to the interval where the spectral method can be implemented. For convenience, the semi-infinite domain in the space direction is approximated by the truncated domain , where is a finite number selected to be large enough to represent the behaviour of the flow properties when is very large. We use the transformation to map the interval to . The basic idea behind the spectral collocation method is the introduction of a differentiation matrix which is used to approximate the derivatives of the unknown variables at the collocation points (grid points) as the matrix vector product where is the number of collocation points, , and is the vector function at the collocation points. Higher order derivatives are obtained as powers of ; that is, where is the order of the derivative. We choose the Gauss-Lobatto collocation points to define the nodes in as The matrix is of size . The grid points on are defined as where , are the total number of grid points in the and -directions, respectively, and is the spacing in the -direction. The finite difference scheme is applied with centering about a midpoint halfway between and . This midpoint is defined as . The derivatives with respect to are defined in terms of the Chebyshev differentiation matrices. Applying the centering about to any function, say and its associated derivative, we obtain

Before applying the finite differences, we apply the spectral method on (12) and (14) to obtain

Next, we apply the finite difference scheme on (23) in the -direction with centering about the midpoint to obtain subject to the following boundary and initial conditions: where where is an .

Starting from the initial condition , given by (16), (30) can be solved iteratively to give approximate solutions for ,  , until a solution that converges to within a given accuracy level is obtained. The solution is used in (26) which is, in turn, solved for .

2.2. Spectral Quasilinearization Method

In this section we present the spectral quasilinearization method (SQLM) for solving the partial differential equation (1). The quasilinearization technique is essentially a generalized Newton-Raphson Method that was originally used by Bellman and Kalaba [10] for solving functional equations. We first set , so that (1) becomes

Applying the QLM on (33) the nonlinear partial differential equation reduces to the following iterative sequence of linear partial differential equations: where

The indices and denote the previous and current iteration levels, respectively.

Starting from given initial approximations, denoted by and , (34)–(36) can be solved iteratively for and (). We discretize (34) and (36) using the Chebyshev spectral method in the -direction and we use the implicit finite difference method in the -direction to discretize (34) as described in the previous section. Applying the spectral method and finite differences on (34) and (36) as described previously, we obtain subject to the boundary and initial conditions (31), where where is an identity matrix, is an zero matrix, and is an zero vector. Starting from the initial condition , (38) can be solved iteratively to give approximate solutions for and , , until a solution that converges to within a given accuracy level is obtained.

3. Unsteady Three-Dimensional MHD Flow and Mass Transfer in a Porous Space

We consider the unsteady and three-dimensional flow of a viscous fluid over a stretching surface investigated by Hayat et al. [22]. The fluid is electrically conducting in the presence of a constant applied magnetic field . The induced magnetic field is neglected under the assumption of a small magnetic Reynolds number. The flow is governed by the following four dimensionless partial differential equations: with the following boundary conditions:

In the above equations prime denotes the derivative with respect to and the stretching parameter is a positive constant. is the local Hartman number, the local porosity parameter, the Schmidt number, the Prandtl number, and the chemical reaction parameter. The initial unsteady solution can be found exactly by setting in the above equations and solving the resulting equations. The closed form analytical solutions are given by

Quantities of physical interest in this problems are the skin friction coefficients and in - and -directions, local Nusselt number , and local Sherwood number which are given in [22] in dimensionless form as where and are the local Reynolds numbers, and are the surface shear stresses in - and -directions, is the surface heat transfer parameter, and is the surface mass transfer parameter.

3.1. Spectral Relaxation Method Solution

In this section we discuss the development of the spectral relaxation method to solve the system of partial differential equations (40)–(43). First, we set and , so that (40) and (41) become Applying the SRM on the resulting system of nonlinear partial differential equations gives the following linear partial differential equations: where

Starting from given initial approximations, denoted by , , , , , and , (48)–(53) can be solved iteratively for the unknown functions. To solve the above decoupled system of differential equations we apply Chebyshev spectral collocation method on the space variable and finite differences in the time variable as described previously and obtain the following system of decoupled equations: where the matrices above are defined as

Above, , and are the vectors of the functions , and , respectively, when evaluated at the grid points .

3.2. Spectral Quasilinearization Method

In this section we discuss the development of the spectral quasilinearization method to solve the system of partial differential equations (40)–(43). First, we set and , so that equations (40) and (41) become Applying the SQLM on the resulting system of nonlinear partial differential equations gives the following linear partial differential equations: where Starting from given initial approximations, denoted by , , , , , and , equations (59)–(64) can be solved iteratively for the unknown functions. To solve the above decoupled system of differential equations we apply Chebyshev spectral collocation method on the space variable and finite differences in the time variable as described previously.

4. Results and Discussion

In this section we present the SRM and SQLM results for the two examples described above. Numerical simulations were carried out to obtain approximate numerical values of the quantities of physical interest, namely, the surface shear stresses, surface heat transfer, and the surface mass transfer parameter. In all the spectral method based numerical simulations a finite computational domain of extent was chosen in the -direction. Through numerical experimentation, this value was found to give accurate results for all the selected governing physical parameters used in the generation of results. Increasing the value of did not change the results to a significant extent. The number of collocation points used in the spectral method discretization was in all cases. We remark that both the SRM and SQLM algorithms are based on the computation of the value of some quantity, say , at each time step. This is achieved by iterating using the relaxation method or the quasilinearization method using a known value at the previous time step as initial approximation. The iteration calculations are carried until some desired tolerance level, , is attained. In this study, the tolerance level was set to be . The tolerance level is defined as the maximum values of the infinity norm of the difference between the values of the calculated quantities and its first two derivatives at successive iterations. For example, in calculating , the tolerance level and convergence criteria are defined as where and . The accuracy of the computed SRM and SQLM approximate results was confirmed against numerical results obtained by using the popular Keller-box implicit finite difference method as described by [2]. The Keller-box method has been reported in literature to be accurate, fast, and easier to program for boundary layer flow problems. The algorithm begins with the reduction of the governing nonlinear PDEs into a system of first order equations that are discretized using central differences. The nonlinear algebraic difference equations are linearised using Newton’s method and written in matrix-vector form. The linear matrix systems are solved in an efficient manner using block-tridiagonal-elimination technique. The grid spacing in both the -direction and -direction is carefully selected to ensure that the Keller-box computations yield consistent results for the governing velocity and temperature distributions to a convergence level of at least .

Tables 1 and 2 give the approximate numerical values of the skin friction for various step sizes , computed using the SRM and SQLM, respectively, for Example 1. The tables also give the total computational time for the integration in the whole time domain to be completed. We remark that the results were computed using the same number of collocation points and the same . Reducing the step size improves the accuracy of the results until the results are consistent to within eight decimal digits. The results displayed in the tables are quite revealing in several ways. First, it is clear from the comparison of the computational run times that the SRM takes less computer time than the SQLM. The results also indicate that the SRM converges more rapidly than the SQLM results when the step size is reduced. Full convergence to within eight decimal digits is reached when is at least 0.0005 in the SRM compared to in the case of the SQLM. This means that the SRM converges faster than the SQLM with a decrease in the step size . Furthermore, there is good agreement between the two sets of results when is very small for all values of . The apparent superiority of the SRM in terms of computational efficiency and accuracy when compared to the SQLM may be explained by the fact that the SRM algorithm reduced a coupled system of equations into smaller sequences of decoupled equations which are solved one after the other. Smaller sized matrices are less susceptible to round-off errors and ill-conditioning and take less computer time to invert.

Table 3 gives a comparison of the amount of time it takes for each method to generate numerical solutions that have converged to within at selected time levels. As can be seen from Table 3, the SRM is much faster compared to the SQLM in computing the numerical solutions. For very small time steps the SRM appears to be at least twice as fast as the SQLM. The results from Tables 1, 2, and 3 indicate that the SRM is much more computationally efficient and gives more accurate results than the SQLM under the same conditions.

Figures 1 and 2 display the number of iterations required to yield converged results to within the tolerance level of against the time for the SRM and SQLM, respectively. The results are given for different values of the number of grid points . It can be seen from Figure 1 that more iterations are required to give the converged results when the number of grid points is small. For larger values of , between four and six iterations are required in the range . For near 1, the number of iterations required increases. The trends in the results for SQLM, as seen in Figure 2, are similar to those for the SRM. However, in the case of the SQLM, full convergence is achieved with only four iterations in a wider range of and for smaller values of than the SRM. This observation indicates that the actual convergence rates (with an increase in iterations) of the SQLM are greater than those of the SRM.

Tables 4 and 5 give a comparison of the SRM and SQLM approximate numerical solutions, respectively, against the Keller-box results for the skin frictions, surface heat transfer parameter, and surface mass transfer parameters. We remark that the results reported in Tables 4 and 5 were generated using a tolerance level of in the SRM, SQLM, and Keller-box implementations. It can be noted from Tables 4 and 5 that both the SRM and SQLM converge to the Keller-box results when is sufficiently small. The convergence to six-decimal-digit accurate results is more or less the same for both SRM and SQLM schemes. We remark that the Keller-box results given in Tables 4 and 5 were calculated using nonuniform step size in the -direction and a uniform step size in the -direction. Using a nonuniform grid size significantly improves the computation time of the Keller-box method. Thus, to speed up the computation times for the Keller-box method, computations were carried out with an initial step size of . This was gradually increased by the variable grid parameter (VGP) factor of 1.005 between successive grid points in accordance with the formula for (where is the number of grid points in the direction). The value of was fixed at for the Keller-box implementation.

A comparison of the computational times between the SRM, SQLM, and Keller-box method is given in Table 6 for the computation of results that converge to within six decimal digits. It can be seen from the table that there is a substantial difference in the computation times of the three methods with the SRM being at least four times faster than the SQLM and the Keller-box being the slowest method. The demonstrated speed of the spectral method based methods is primarily due to the intrinsic property of the spectral collocation method to be able to give accurate approximate results using only a few grid points. Only 60 collocation points were used to generate results that converge to at least six decimal digits of accuracy. On the other hand, the Keller-box required a lot more grid points in the direction to give the same amount of accuracy. The apparent computational speed of the SRM over the SQLM is in accord with the observation made earlier in the case of the one-equation system. As can be seen in Table 6, the superiority in computational efficiency of the SRM over the SQLM is much more pronounced in the current example that involves a system of four coupled equations. Thus, the SRM is a better alternative method that can be used to obtain numerical solutions of systems of PDEs arising in boundary layer flow problems.

Figures 3 and 4 show the variation of the SRM and SQLM iterations, respectively, over time for different values of . The indicated number of iterations is the total number of iterations required to obtain results that are consistent to within a tolerance level of . It can be noted from Figure 3 that the total number of iterations required for the SRM is between 4 and 9 with the total iterations increasing as tends to 1. In contrast, the range of the required number of iterations is 3 to 5 in the case of the SQLM. Thus the convergence rate of the SQLM in terms of iterations is higher than that of the SRM.

5. Conclusion

In this paper, we investigated the application of the spectral relaxation method (SRM) and spectral quasilinearisation method (SQLM) in the solution of unsteady boundary layer flows that are described by systems of coupled nonlinear partial differential equations. We considered the model problems of unsteady boundary layer flow caused by an impulsively stretching sheet and the unsteady MHD flow and mass transfer in a porous space. The purpose of this study was to establish the applicability of the SRM, for the first time, to systems of PDEs that model unsteady boundary layer flows. The investigation also sought to assess the accuracy and efficiency of the SRM compared to the SQLM and Keller-box method.

The most obvious finding to emerge from this study is that the SRM is significantly more computationally efficient than the SQLM which, in turn, is faster than the Keller-box method. For sufficiently small step-sizes, all the three methods yield results that are consistent to within a given tolerance level. The SRM was observed to convergence faster than the SQLM with a reduction of the step size. It is this feature that makes the SRM computationally efficient as accurate results are obtained using fewer grid points in the time direction. In addition, the SRM algorithm involves the solution of a sequence of smaller sized matrix equations compared to the SQLM. The numerical results presented in this study clearly demonstrate the potential of the SRM scheme for the simulation of numerical solutions of the class of unsteady boundary layer flows equations related to the model equations discussed in this study. The evidence of the accuracy and efficiency of the SRM from this study suggests that the method can be used as a more practical tool for solving unsteady boundary layer flows and for validating the results generated using other numerical methods in the solution of similar boundary layer flow equations. The presented SRM approach adds to a growing body of literature on practical numerical methods for solving complex nonlinear PDEs in some fluid mechanics applications.

Conflict of Interests

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