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. [7โ9]. 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 [10โ12]) 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.
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 [22โ24]) 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.
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.
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.