`ISRN Mathematical PhysicsVolumeย 2012ย (2012), Article IDย 234516, 11 pagesdoi:10.5402/2012/234516`
Research Article

## Cubic Spline Iterative Method for Poisson’s Equation in Cylindrical Polar Coordinates

1Department of Mathematics, Faculty of Mathematical Sciences, University of Delhi, Delhi 110 007, India
2Department of Mathematics, Deenbandhu Chhotu Ram University of Science & Technology, Murthal 131039, India

Received 4 October 2011; Accepted 16 November 2011

Academic Editors: J.-C.ย Wallet and H.ย Zhou

Copyright ยฉ 2012 R. K. Mohanty 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

Using nonpolynomial cubic spline approximation in - and finite difference in -direction, we discuss a numerical approximation of for the solutions of diffusion-convection equation, where and are grid sizes in - and -coordinates, respectively. We also extend our technique to polar coordinate system and obtain high-order numerical scheme for Poisson’s equation in cylindrical polar coordinates. Iterative method of the proposed method is discussed, and numerical examples are given in support of the theoretical results.

#### 1. Introduction

We consider the two-dimensional elliptic equation of the form The Dirichlet boundary conditions are given by where is the solution domain and is its boundary. For and , the above equation represents diffusion-convention equation. For , the above equations represent the Poisson’s equation with singular coefficients in rectangular coordinates. Similarly, for and replacing the variables by , we obtain a Poisson’s equation in cylindrical polar coordinates. We will assume that the boundary conditions are given with sufficient smoothness to maintain the order of accuracy of the difference scheme and spline functions under consideration.

In this paper, we are interested in discussing a new approximation based on cubic spline polynomial for the solution of elliptic equation (1.1). In many practical problems, coefficients of the second derivatives term are small compared to the coefficients of the first derivatives term. These problems are called singular perturbation problems. Singularly perturbed elliptic boundary value problems are mathematically models of diffusion-convections process or related physical phenomenon. The diffusion term is the term involving the second-order derivative, and convective term is that involving the first-order derivative. During last three decades, several numerical schemes for the solution of elliptic partial differential equations have been developed by many researchers. First-Lynch and Rice [1] have discussed high-accuracy finite difference approximations to the solutions of elliptic partial differential equations. Boisvert [2] has discussed a class of high-order accurate discretization for the elliptic boundary value problems. Yavneh [3] has reported the analysis of fourth-order compact scheme for convection diffusion equation. A fourth-order difference method for elliptic equations with non-linear first derivative terms has been discussed by Jain et al. [4, 5]. In 1997, Mohanty [6] has derived order difference method for a class of 2D elliptic boundary value problems with singular coefficients. A new discretization method of order four for the numerical solution of 2D non-linear elliptic partial differential equations has been studied by Mohanty et al. [79]. The use of cubic spline polynomial and its approximation plays an important role for the formation of stable numerical methods. In the past, many authors (see [1012]) have studied and analysed the use of cubic spline approximations in the solution of linear two-point boundary value problems. In 1983, Jain and Aziz [13] have developed a new method based on cubic spline approximations for the solution of two-point nonlinear boundary value problems. Later, Al-Said [14, 15] has discussed cubic spline methods for solving the system of second-order boundary value problems. Khan [16] has introduced parametric cubic spline approach for solving second order ordinary differential equations. Mohanty et al. [17, 18] have also reported a fourth-order accurate cubic spline alternating group explicit method for nonlinear singular two-point boundary value problems. Recently, Rashidinia et al. [19] have proposed a new cubic spline technique for two-point boundary value problems. Most recently, Mohanty and Dahiya [20] and Mohanty et al. [21] have used cubic spline polynomials and developed high order stable numerical methods for the solution of one space dimensional parabolic and hyperbolic partial differential equations. To the authors knowledge, no high-order method using cubic spline polynomial for the solution of 2D elliptic differential equations (1.1) has been discussed in the literature so far. In this paper, using nine-point compact cell (see Figure 1), we discuss a new compact cubic spline finite difference method of accuracy two in - and four in -coordinates for the solution of elliptic differential equation (1.1). In the next section, we discuss the derivation of the proposed cubic spline method. It has been experienced in the past that the cubic spline solutions for the Poisson’s equation in polar coordinates usually deteriorate in the vicinity of the singularity. We overcome this difficulty by modifying the method in such a way that the solution retains its order and accuracy everywhere in the vicinity of the singularity. In Section 3, we discuss an iterative method. In Section 4, we compare the computed results with the results obtained by the method discussed in [8]. Concluding remarks are given in Section 5.

Figure 1: 9-point computational network.

#### 2. The Approximation Based on Cubic Spline Polynomial

We consider our region of interest, a rectangular domain . We choose grid spacing and in the directions - and - respectively, so that the mesh points denoted by are defined by and , where and are positive integers such that and . The mesh ratio parameter is denoted by . The notations are used for the discrete approximation and the exact value of at the grid point , respectively. Similarly, we write and .

At the grid point , we denote

Let be the cubic spline interpolating polynomial of the function between the grid point and and is given by which satisfies at th-line parallel to -axis the following properties:(i) coincides with a polynomial of degree three on each ,(ii), (iii),.

The derivatives of cubic spline function are given by where and replacing by “”, we get Combining (2.5) and (2.6), we obtain Further, from (2.5), we have and from (2.6), We consider the following approximations:

Since the derivative values of defined by (2.4), (2.7), (2.8), and (2.9) are not known at each grid point , we use the following approximations for the derivatives of .

Let

Then at each grid point , a cubic spline finite difference method of Numerov type with accuracy of for the solution of differential equation (1.1) may be written as where the local truncation error . Note that the method (2.12) is of for the numerical solution of (1.1). However, the method (2.12) fails to compute at , when and/or contains the singular terms like , and so forth. For example, if , this implies , which cannot be evaluated at (since ). We modify the method (2.12) in such a manner, so that the method retains its order and accuracy everywhere in the vicinity of the singularity.

We use the following approximation:

Substituting the approximations (2.13) into (2.12) and neglecting higher-order terms and local truncation error, we get where and . Note that the cubic spline method (2.14) is of for the numerical solution of elliptic equation (1.1), which is also free from the terms and hence can be computed for .

#### 3. Iterative Method

Now consider the convection-diffusion equation where is a constant, and magnitude of determines the ratio of convection to diffusion term. Substituting and into the difference scheme (2.14) and simplifying, we obtain a nine-point cubic spline difference scheme of accuracy for the solution of the convection-diffusion equation (3.1) given by where is called the cell Reynold number, and the coefficients are defined by

The scheme (3.2) may be written in matrix form where is a square matrix of order , is the solution vector, and is the right hand side vector consisting of boundary values.

The coefficient matrix has a block tridiagonal structure, with the submatrices ,, and given by

We focus on line stationary iterative methods for solving the linear system (3.5). The coefficient matrix can be written as , where is block tri-diagonal matrix of , is strictly block lower triangular part, and is strictly block upper triangular part of matrix . The iteration matrices of the block Jacobi and block Gauss-Seidel methods are described by

The matrix has block tri-diagonal form and hence is block consistently ordered (see Varga [22]).

It can be verified that and for provided . One can also verify that which implies that is weakly diagonally dominant. Since is reducible, we conclude that it is also an -matrix (see Varga [22]).

Applying the Jacobi iterative method to the scheme (3.2), we get the iterative scheme

The propagating factors for the Jacobi iterative methods are given by where . Consequently, the spectral radii of the Jacobi and Gauss-Seidel matrices are related by

Hence, the associated iteration converges for any initial guess, where is either Jacobi or Gauss-Seidel iteration matrix. The Jacobi and Gauss-Seidel splitting are regular for both the line and point versions, and hence, they converge for any initial guess.

#### 4. Numerical Results

If we replace the partial derivatives in (1.1) by the central difference approximations at the grid point , we obtain a central difference scheme (CDS) which is of . We now solve the following two benchmark problems whose exact solutions are known. The right hand side homogeneous function and boundary conditions may be obtained by using the exact solution as a test procedure. We use block Gauss-Seidel iterative method (see [2224]) to solve the proposed scheme (2.14). In all cases, we have considered as the initial guess, and the iterations were stopped when the absolute error tolerance was achieved. In all cases, we have calculated maximum absolute errors (-norm) for different grid sizes. All computations were performed using double-precision arithmetic.

Example 4.1 (Convection-Diffusion Equation). The problem is to solve (3.1) in the solution region whose exact solution is given by where , .
The maximum absolute errors for are tabulated in Tables 1 and 2.

Table 1: Example 4.1: The maximum absolute errors.
Table 2: Example 4.1: The maximum absolute errors .

Example 4.2 (Poisson’s Equation in Polar Cylindrical Coordinates). Consider the following:
The exact solution is given by . The maximum absolute errors for are tabulated in Tables 3 and 4.

Table 3: Example 4.2: The maximum absolute errors.
Table 4: Example 4.2: The maximum absolute errors .

#### 5. Concluding Remarks

The available numerical methods based on spline approximations for the numerical solution of 2D Poisson’s equation are of accurate, which require nine grid points. In this paper, using the same number of grid points, we have discussed a new stable compact nine point cubic spline finite difference method of accuracy for the solution of Poisson’s equation in polar cylindrical coordinates. For a fixed parameter , the proposed method behaves like a fourth-order method, which is exhibited from the computed results.

#### References

1. R. E. Lynch and J. R. Rice, โHigh accuracy finite difference approximation to solutions of elliptic partial differential equations,โ Proceedings of the National Academy of Sciences of the United States of America, vol. 75, no. 6, pp. 2541โ2544, 1978.
2. R. F. Boisvert, โFamilies of High order Accurate discretization of some elliptic problems,โ SIAM Journal on Scientific Computing, vol. 2, pp. 268โ285, 1981.
3. I. Yavneh, โAnalysis of a fourth-order compact scheme for convection-diffusion,โ Journal of Computational Physics, vol. 133, no. 2, pp. 361โ364, 1997.
4. M.K. Jain, R.K. Jain, and R.K. Mohanty, โA fourth order difference method for elliptic equations with Non Linear first derivative terms,โ Numerical Methods for Partial Differential Equations, vol. 5, no. 2, pp. 87โ95, 1989.
5. M. K. Jain, R. K. Jain, and R. K. Mohanty, โFourth order difference methods for the system of 2-D nonlinear elliptic partial differential equations,โ Numerical Methods for Partial Differential Equations, vol. 7, pp. 227โ244, 1991.
6. R. K. Mohanty, โOrder h4 difference methods for a class of singular two space elliptic boundary value problems,โ Journal of Computational and Applied Mathematics, vol. 81, no. 2, pp. 229โ247, 1997.
7. R. K. Mohanty and S. Dey, โA new finite difference discretization of order four for (u/n) for two-dimensional quasi-linear elliptic boundary value problem,โ International Journal of Computer Mathematics, vol. 76, no. 4, pp. 505โ516, 2001.
8. R. K. Mohanty, S. Karaa, and U. Arora, โFourth order nine point unequal mesh discretization for the solution of 2D nonlinear elliptic partial differential equations,โ Neural, Parallel and Scientific Computations, vol. 14, no. 4, pp. 453โ470, 2006.
9. R. K. Mohanty and S. Singh, โA new fourth order discretization for singularly perturbed two dimensional non-linear elliptic boundary value problems,โ Applied Mathematics and Computation, vol. 175, no. 2, pp. 1400โ1414, 2006.
10. W. G. Bickley, โPiecewise cubic interpolation and two-point boundary problems,โ Computer Journal, vol. 11, no. 2, pp. 206โ208, 1968.
11. D. J. Fyfe, โThe use of cubic splines in the solution of two point boundary value problems,โ The Computer Journal, vol. 12, pp. 188โ192, 1969.
12. R. P. Tewarson, โOn the use of splines for the numerical solution of nonlinear two-point boundary value problems,โ BIT, vol. 20, no. 2, pp. 223โ232, 1980.
13. M. K. Jain and T. Aziz, โCubic spline solution of two-point boundary value problems with significant first derivatives,โ Computer Methods in Applied Mechanics and Engineering, vol. 39, no. 1, pp. 83โ91, 1983.
14. E. A. Al-Said, โSpline methods for solving system of second-order boundary-value problems,โ International Journal of Computer Mathematics, vol. 70, no. 4, pp. 717โ727, 1999.
15. E. A. Al-Said, โThe use of cubic splines in the numerical solution of a system of second-order boundary value problems,โ Computers and Mathematics with Applications, vol. 42, no. 6-7, pp. 861โ869, 2001.
16. A. Khan, โParametric cubic spline solution of two point boundary value problems,โ Applied Mathematics and Computation, vol. 154, no. 1, pp. 175โ182, 2004.
17. R. K. Mohanty and D. J. Evans, โA fourth order accurate cubic spline alternating group explicit method for non-linear singular two point boundary value problems,โ International Journal of Computer Mathematics, vol. 80, no. 4, pp. 479โ492, 2003.
18. R. K. Mohanty, P. L. Sachdev, and N. Jha, โAn O(h4) accurate cubic spline TAGE method for nonlinear singular two point boundary value problems,โ Applied Mathematics and Computation, vol. 158, no. 3, pp. 853โ868, 2004.
19. J. Rashidinia, R. Mohammadi, and R. Jalilian, โCubic spline method for two-point boundary value problems,โ International Journal of Engineering Science, vol. 19, pp. 39โ43, 2008.
20. R. K. Mohanty and V. Dahiya, โAn $O\left({k}^{2}+k{h}^{2}+{h}^{4}\right)$ accurate two-level implicit cubic spline method for one space dimensional quasi-linear parabolic equations,โ American Journal of Computational Mathematics, vol. 1, no. 1, pp. 11โ17, 2011.
21. R.K. Mohanty, R. Kumar, and V. Dahiya, โCubic spline method for 1D wave equation in polar coordinates,โ ISRN Computational Mathematics, vol. 2012, Article ID 302923, 6 pages, 2012.
22. R.S. Varga, Matrix Iterative Analysis, Springer, New York, NY, USA, 2000.
23. Y. Saad, Iterative methods for Sparse Linear Systems, SIAM, Philadelphia, Pa, USA, 2nd edition, 2003.
24. L. A. Hageman and D. M. Young, Applied Iterative Methods, Dover, New York, NY, USA, 2004.