Advances in Mathematical Physics

Volume 2013 (2013), Article ID 941096, 10 pages

http://dx.doi.org/10.1155/2013/941096

## Higher Order Compact Finite Difference Schemes for Unsteady Boundary Layer Flow Problems

^{1}Department of Mathematics, University of Johannesburg, P.O. Box 17011, Doornfontein 2028, South Africa^{2}School of Mathematical Sciences, University of KwaZulu-Natal, Private Bag X01, Pietermaritzburg, Scottsville 3209, South Africa

Received 1 October 2013; Accepted 2 December 2013

Academic Editor: Waqar Khan

Copyright © 2013 P. G. Dlamini et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

We investigate the applicability of the compact finite difference relaxation method (CFDRM) in solving unsteady boundary layer flow problems modelled by nonlinear partial differential equations. The CFDRM utilizes the Gauss-Seidel approach of decoupling algebraic equations to linearize the governing equations and solve the resulting system of ordinary differential equations using compact finite difference schemes. The CFDRM has only been used to solve ordinary differential equations modelling boundary layer problems. This work extends its applications to nonlinear partial differential equations modelling unsteady boundary layer flows. The CFDRM is validated on two examples and the results are compared to results of the Keller-box method.

#### 1. Introduction

The many, important applications associated with boundary layer flow and heat transfer induced by a stretching surface have made them one of the most studied problems in the field of fluid dynamics. These applications include aerodynamic extrusion of plastic sheets, the cooling process of metallic plates in a cooling bath, and the cooling and/or drying of paper and textiles Sakiadis [1] was the first to study boundary layer flows induced by a stretching surface. Since then, due to their industrial importance they have been studied by quite a number of researchers. Initially, steady flows were considered, but since it is not always to maintain steady state conditions, in recent years the focus has shifted towards unsteady flows. In this work, we consider unsteady flows modelled by partial differential equations.

In solving the unsteady boundary layer problems many researchers have employed the Williams III and Rhyne [2] transformation. Williams III and Rhyne introduced self-similar coordinates to transform the equations governing the unsteady flows by converting the infinite time scale of unsteady problems to a finite region of integration. Various analytical and numerical methods have been used to solve the transformed equations. The Keller-box method of Cebeci and Bradshaw [3] has been very popular in solving this kind of problems amongst researchers. These include Seshadri et al. [4] who combined the Keller-box and perturbation series approach for the solution of unsteady mixed convection flow along a heated vertical plate. Nazar et al. [5, 6] 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. The limitation of the perturbation approach, as noted by Liao [7], is that it gives solutions that are only valid for small time. Liao proposed the use of the homotopy analysis method (HAM) instead and since then the HAM has been dominantly used in solving the unsteady boundary layer flow problems (see [8–16]). The advantage of the HAM over the perturbation techniques is that it is able to produce solutions valid for all time.

In this work we propose the use of a new method that combines the use of higher order compact finite difference (CFD) schemes and the Gauss-Seidel approach of solving algebraic equations. The method called compact finite difference relaxation method (CFDRM) has only been used once by Dlamini et al. [17] to solve ordinary differential equations. The CFDRM is based on simple decoupling and rearrangement of the governing equations and numerically integrating the resulting equations using the CFD schemes. The use of higher order CFD schemes is motivated by the fact that they produce highly accurate solutions on coarser grids with greater computational efficiency. Various CFD schemes used for applications such as interpolation, filtering, and evaluating high-order derivatives were discussed in detail by Lele [18]. CFD schemes have been used to solve, for example, Burger's equation [19, 20], Navier-Stokes equation [21], Korteweg-de Vries equation [22], Black-Scholes equation [23], and many more [24–26]. In this work we explore their usage in solving unsteady boundary layer flow problems.

We consider two examples, the unsteady one-dimensional MHD laminar boundary layer flow due to an impulsively stretching surface that was previously studied by Srinivasa and Eswara [27], and the unsteady three-dimensional MHD flow and heat transfer over an impulsively stretching plate previously studied by Xu et al. [8]. The main objective of the study is to investigate the applicability of the CFDRM to solve unsteady boundary layer problems modelled by partial differential equations. The results are compared with results of the Keller-box method.

The rest of the paper is organized as follows. In Section 2, we discuss the derivation of the compact finite difference schemes, In Section 3 we discuss the development of the CFDRM for computing the solution of an unsteady MHD laminar boundary layer flow due to an impulsively stretching surface. Section 4 presents CFDRM implementation of an unsteady three-dimensional MHD flow and heat transfer over an impulsively stretching plate. Section 5 contains the results and discussion and the conclusions are given in Section 6.

#### 2. Compact Finite Difference Schemes

In the derivation of the CFD schemes we consider a one-dimensional uniform mesh on the region with nodes , where and a corresponding function at the nodes. The distance between any two successive nodes is a constant . Sixth-order approximations of the first, second, and third derivatives at interior nodes can be obtained using the following schemes (see [18] for details):

For illustrative purposes we describe the application of the CFD schemes to second-order differential equations for with known boundary conditions at and . Consider the nonlinear differential equations where is a nonlinear function, and are known functions of , and and are known constants. In solving (4) we apply the CFD approximation for the first and second derivatives given by (2) and (3), respectively, at the interior nodes . Since we know boundary conditions at and , the CFD schemes must be adjusted for the nodes near the boundary points. In order to maintain the order accuracy at the boundary points as in the interior points and to maintain the same tridiagonal format, we use the following one sided scheme at : and when we use where are constants to be determined. To obtain a sixth-order accurate scheme we use Taylor series expansion about and up to , in (5) and (6), respectively, and equate terms of order . In each case, we obtain a system of seven linear algebraic equations in seven unknowns which are solved to give

Similarly, for the second derivatives, we use at and at . The parameters , can be determined by expanding (8) and (9) using Taylor series and equating powers of and subsequently solving the resulting equations. This gives

Using the above equations, the equations for approximating the first- and second-order derivatives can be expressed as where

From (11), and can be expressed as where

#### 3. Unsteady MHD Laminar Boundary Layer Flow Due to an Impulsively Stretching Surface

We consider the unsteady, laminar incompressible flow of a vicious electrically conducting fluid over a linear surface. This problem was studied by Srinivasa and Eswara [27]. They used the Keller-box method to solve the problem. After applying Williams III and Rhyne [2] similarity transformation to the original equation governing this flow they obtained the following dimensionless governing equation for the flow subject to the boundary conditions where is the dimensionless time scale defined as with as positive constant and as the time variable. In the analysis of boundary layer flow problems, a quantity that is of physical interest is the skin friction which in this model is given [4, 5, 7], in dimensionless form, as where is the local Reynolds number.

The initial unsteady solution at () for the governing equation (15) is obtained as a solution of the equation where the primes denote differentiation with respect to . Solving (19) 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

Now we discuss the development of the CFDRM to solve the partial differential equation (15). The CFDRM works for systems of differential equations and hence it is convenient to reduce the order of (15) from three to two. We set , so that (15) becomes

The CFDRM algorithm uses the same ideas as the SRM described in [28–30]. Both employ the Gauss Seidel idea of decoupling systems of algebraic equations to decouple differential equations. In the framework of the SRM the resulting linear system of differential equations is integrated by the spectral collocation method. Instead of using spectral method, the CFDRM uses the compact finite differences to integrate the linearized system of differential equations. Applying the CFDRM on (24) we obtain the following linear PDEs: where

Here, denotes the iteration level. All linear terms are evaluated at current iteration level () and nonlinear terms at the previous iteration level (). The initial approximations for solving (25)-(26) are obtained as the solutions at . Thus and are given by Starting from given initial approximations (29), the iteration scheme (25) can be solved iteratively for when . The solution for is used in (26) which is, in turn, solved for . To solve (25) we use sixth order compact finite difference schemes described in the previous section and use an implicit finite difference method in the -direction.

The finite difference scheme with centering about a midpoint halfway between and is applied in the direction. This midpoint is defined as . Applying the centering about to any function, say and its associated derivative, we obtain

We first apply the CFD schemes on (25) and (26) to obtain with initial approximations

Next, we apply the finite difference scheme on (31) in the -direction with centering about the midpoint to obtain subject to the following boundary and initial conditions: where where is an identity matrix. The matrices , and are as described in Section 3 above. Thus, starting from the initial condition , given by (29), (35) 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 (32) which is, in turn, solved for .

#### 4. Unsteady Three-Dimensional MHD Flow and Heat Transfer over an Impulsively Stretching Plate

We consider the unsteady, three-dimensional flow of an electrically conducting fluid caused by an impulsive stretching surface in two lateral directions. The fluid is electrically conducting in a traverse magnetic field. The magnetic field is neglected under the assumption of a small magnetic Reynolds number. Xu et al. [8] solved this problem using the homotopy analysis method. Here we use the compact finite difference relaxation method to solve the governing equations. The flow is governed by the following three 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 and the Prandtl number. 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

Now we discuss the development of the spectral relaxation method to solve the system of partial differential equations (38)–(40). First, we set and , so that (38) and (39) become Applying the CFDRM on the resulting system of nonlinear partial differential equations gives the following linear partial differential equations: with the following boundary conditions: where

Starting from given initial approximations, denoted by , , , , and , (44) can be solved iteratively for the unknown functions. To solve the above decoupled system of differential equations we apply CFD schemes on the space variable and finite differences in the time variable as described previously and obtain the following system of decoupled equations: with the following boundary conditions: and initial functions The matrices above are defined as

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

#### 5. Results and Discussion

In this section we give the CFDRM and Keller-box method results for the two examples described above. The Keller-box method is an implicit finite difference scheme which is made up of four major steps. First, the governing differential equation is reduced to a system of first-order equations. The resulting first-order equations are discretized using central finite differences. The resulting algebraic equations are linearised by Newton's method and written in matrix vector form. The linear system obtained is then solved by block tridiagonal elimination technique.

Example 1 was solved for . The value of , which correspond to , was approximated to be equal to . This value was found to be large enough to give consistent results. For the CFDRM, uniform stepsizes in the -direction and in the -direction were used to get results accurate to six decimal places. For the Keller-box, stepsizes and were used. Table 1 shows the skin friction for Example 1 obtained using both CFDRM and Keller-box method. The times taken to compute the solution at different values of are also given in Table 1. It can be seen that the CFDRM takes a very short period of time to compute the solution compared to the Keller-box method. The Keller-box required quite a small to get a solution accurate to six decimal places. This means that more points are needed in the Keller-box compared to the CFDRM. Figure 1 shows the effects of varying the magnetic field parameter () on the skin friction . The parameters , , and were used to solve the governing equations in Example 2. The value of was approximated to be equal to . For the CFDRM, uniform stepsizes and to get results accurate to six decimal places. For the Keller-box, stepsizes and were used. The quantities of physical interest (, , and ) are tabulated for both CFDRM and Keller-box and are shown in Table 2. The results are in good agreement with six decimal places as depicted in the table. Table 3 shows the times taken by each method at various values of . It is evident from both Tables 2 and 3 that the CFDRM computes the solution in a very short period of time compared to the Keller-box. The main reason is that a very small and hence a large number of points are required in the Keller-box method for the required accuracy. Graphical solutions of , , and in the entire range for Example 2 are shown in Figures 2, 3, and 4. The solution is plotted for different values of and . Comparing the plots with those of [8], it can be seen that the results of the CFDRM are comparable with their homotopy analysis method results. Xu et al. [8] used the homotopy analysis method to get series solutions which are accurate and uniformly valid for all dimensionless time . From these figures it is clear that the CFDRM is able to give results which are accurate and uniformly valid for all dimensionless time .

#### 6. Conclusion

In this paper, two unsteady boundary layer flow problems have been investigated. The nonlinear partial differential equations governing the unsteady boundary layer flow of the two examples considered are solved using the compact finite difference relaxation method (CFDRM). The CFDRM had previously been applied only to ordinary differential equations modelling boundary layer problems [17]. This work has successfully extended its application to partial differential equations. The results obtained are in good agreement with results obtained using the Keller-box. The CFDRM is computationally faster than the Keller-box method. This is because the CFDRM gives highly accurate solutions on coarser grids.

#### References

- B. C. Sakiadis, “Boundary-layer behavior on continuous solid surfaces: II. The boundary layer on a continuous flat surface,”
*AIChE Journal*, vol. 7, no. 2, pp. 221–225, 1961. View at Publisher · View at Google Scholar - J. C. Williams III and T. B. Rhyne, “Boundary layer development on a wedge impulsively set into motion,”
*SIAM Journal on Applied Mathematics*, vol. 38, no. 2, pp. 215–224, 1980. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - T. Cebeci and P. Bradshaw,
*Physical and Computational Aspects of Convective Heat Transfer*, Springer, New York, NY, USA, 1984. View at MathSciNet - R. Seshadri, N. Sreeshylan, and G. Nath, “Unsteady mixed convection flow in the stagnation region of a heated vertical plate due to impulsive motion,”
*International Journal of Heat and Mass Transfer*, vol. 45, no. 6, pp. 1345–1352, 2002. View at Publisher · View at Google Scholar · View at Scopus - R. Nazar, N. Amin, and I. Pop, “Unsteady boundary layer flow due to a stretching surface in a rotating fluid,”
*Mechanics Research Communications*, vol. 31, no. 1, pp. 121–128, 2004. View at Publisher · View at Google Scholar · View at Scopus - R. Nazar, N. Amin, D. Filip, and I. Pop, “Unsteady boundary layer flow in the region of the stagnation point on a stretching sheet,”
*International Journal of Engineering Science*, vol. 42, no. 11-12, pp. 1241–1253, 2004. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - S. Liao, “An analytic solution of unsteady boundary-layer flows caused by an impulsively stretching plate,”
*Communications in Nonlinear Science and Numerical Simulation*, vol. 11, no. 3, pp. 326–339, 2006. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - H. Xu, S.-J. Liao, and I. Pop, “Series solutions of unsteady three-dimensional MHD flow and heat transfer in the boundary layer over an impulsively stretching plate,”
*European Journal of Mechanics B*, vol. 26, no. 1, pp. 15–27, 2007. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - X. You, H. Xu, and I. Pop, “Homotopy analysis of unsteady heat transfer started impulsively from rest along a symmetric wedge,”
*International Communications in Heat and Mass Transfer*, vol. 37, no. 1, pp. 47–51, 2010. View at Publisher · View at Google Scholar · View at Scopus - T. Fan, H. Xu, and I. Pop, “Unsteady stagnation flow and heat transfer towards a shrinking sheet,”
*International Communications in Heat and Mass Transfer*, vol. 37, no. 10, pp. 1440–1446, 2010. View at Publisher · View at Google Scholar · View at Scopus - Z. Abbas, T. Hayat, M. Sajid, and S. Asghar, “Unsteady flow of a second grade fluid film over an unsteady stretching sheet,”
*Mathematical and Computer Modelling*, vol. 48, no. 3-4, pp. 518–526, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - I. Ahmad, M. Sajid, T. Hayat, and M. Ayub, “Unsteady axisymmetric flow of a second-grade fluid over a radially stretching sheet,”
*Computers & Mathematics with Applications*, vol. 56, no. 5, pp. 1351–1357, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - T. Hayat and Z. Abbas, “Heat transfer analysis on the MHD flow of a second grade fluid in a channel with porous medium,”
*Chaos, Solitons & Fractals*, vol. 38, no. 2, pp. 556–567, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - A. Ali and A. Mehmood, “Homotopy analysis of unsteady boundary layer flow adjacent to permeable stretching surface in a porous medium,”
*Communications in Nonlinear Science and Numerical Simulation*, vol. 13, no. 2, pp. 340–349, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - A. Mehmood, A. Ali, and T. Shah, “Heat transfer analysis of unsteady boundary layer flow by homotopy analysis method,”
*Communications in Nonlinear Science and Numerical Simulation*, vol. 13, no. 5, pp. 902–912, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - A. Alizadeh-Pahlavan and K. Sadeghy, “On the use of homotopy analysis method for solving unsteady MHD flow of Maxwellian fluids above impulsively stretching sheets,”
*Communications in Nonlinear Science and Numerical Simulation*, vol. 14, no. 4, pp. 1355–1365, 2009. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - P. G. Dlamini, S. S. Motsa, and M. Khumalo, “On the comparison between compact finite difference and pseudospectral approaches for solving similarity boundary layer problems,”
*Mathematical Problems in Engineering*, vol. 2013, Article ID 746489, 15 pages, 2013. View at Publisher · View at Google Scholar - S. K. Lele, “Compact finite difference schemes with spectral-like resolution,”
*Journal of Computational Physics*, vol. 103, no. 1, pp. 16–42, 1992. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - M. Sari and G. Gürarslan, “A sixth-order compact finite difference scheme to the numerical solutions of Burgers' equation,”
*Applied Mathematics and Computation*, vol. 208, no. 2, pp. 475–483, 2009. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - P.-G. Zhang and J.-P. Wang, “A predictor-corrector compact finite difference scheme for Burgers' equation,”
*Applied Mathematics and Computation*, vol. 219, no. 3, pp. 892–898, 2012. View at Publisher · View at Google Scholar · View at MathSciNet - A. Shah, L. Yuan, and A. Khan, “Upwind compact finite difference scheme for time-accurate solution of the incompressible Navier-Stokes equations,”
*Applied Mathematics and Computation*, vol. 215, no. 9, pp. 3201–3213, 2010. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J. Li and M. R. Visbal, “High-order compact schemes for nonlinear dispersive waves,”
*Journal of Scientific Computing*, vol. 26, no. 1, pp. 1–23, 2006. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - B. Düring, M. Fournié, and A. Jüngel, “High order compact finite difference schemes for a nonlinear Black-Scholes equation,”
*International Journal of Theoretical and Applied Finance*, vol. 6, no. 7, pp. 767–789, 2003. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - M. Bastani and D. K. Salkuyeh, “A highly accurate method to solve Fisher's equation,”
*Pramana*, vol. 78, no. 3, pp. 335–346, 2012. View at Publisher · View at Google Scholar · View at Scopus - M. Sari, “Solution of the porous media equation by a compact finite difference method,”
*Mathematical Problems in Engineering*, vol. 2009, Article ID 912541, 13 pages, 2009. View at Publisher · View at Google Scholar · View at Scopus - M. Sari and G. Gürarslan, “A sixth-order compact finite difference method for the one-dimensional sine-Gordon equation,”
*International Journal for Numerical Methods in Biomedical Engineering*, vol. 27, no. 7, pp. 1126–1138, 2011. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - A. H. Srinivasa and A. T. Eswara, “Unsteady MHD laminar boundary layer flow due to an impulsively stretching surface,” in
*Proceedings of the World Congress on Engineering (WCE '11)*, vol. 1, pp. 252–255, London, UK, July 2011. View at Scopus - S. S. Motsa and Z. G. Makukula, “On spectral relaxation method approach for steady von Kármán flow of a Reiner-Rivlin fluid with Joule heating, viscous dissipation and suction/injection,”
*Central European Journal of Physics*, vol. 11, no. 3, pp. 363–374, 2013. View at Publisher · View at Google Scholar - S. S. Motsa, P. Dlamini, and M. Khumalo, “A new multistage spectral relaxation method for solving chaotic initial value systems,”
*Nonlinear Dynamics*, vol. 72, no. 1-2, pp. 265–283, 2013. View at Publisher · View at Google Scholar - S. S. Motsa, P. G. Dlamini, and M. Khumalo, “Solving hyperchaotic systems using the spectral relaxation method,”
*Abstract and Applied Analysis*, vol. 2012, Article ID 203461, 18 pages, 2012. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet