Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

High Accuracy Spline Explicit Group (SEG) Approximation for Two Dimensional Elliptic Boundary Value Problems

Abstract

Over the last few decades, cubic splines have been widely used to approximate differential equations due to their ability to produce highly accurate solutions. In this paper, the numerical solution of a two-dimensional elliptic partial differential equation is treated by a specific cubic spline approximation in the x-direction and finite difference in the y-direction. A four point explicit group (EG) iterative scheme with an acceleration tool is then applied to the obtained system. The formulation and implementation of the method for solving physical problems are presented in detail. The complexity of computational is also discussed and the comparative results are tabulated to illustrate the efficiency of the proposed method.

Introduction

Consider the two-dimensional elliptic partial differential equation (1) which is defined in the solution domain Ω = {(x, y):0 < x, y < 1}, where functions D(x) and g(x, y) ∈ C2(Ω). The corresponding Dirichlet boundary conditions are given by (2) where ∂Ω is its boundary. These types of problems arise very frequently in different areas of applied mathematics and physics such as convection-diffusion equation which describes the transport phenomena, and the Poisson’s equation which is broadly used in electrostatics, mechanical engineering and theoretical physics. Thus, solving elliptic differential equation have been of interest to many authors [13].

In 1968, Bickley [4] suggested the use of cubic splines for solving a linear ordinary differential. Following this, Albasiny and Hoskins [5] approximated the solutions by applying the cubic spline interpolation introduced by Ahlberg et al. [6], which leads to a matrix system of tri-diagonal instead of upper Hessenberg form which was obtained by Bickley [4]. The cubic spline method suggested by Bickley [4] was then examined by Fyfe [7]. Fyfe concluded that spline method is better than the usual finite difference method in terms of its accuracy and also its flexibility to get the approximation at any point in the domain. Due to its simplicity, many researchers started to work on spline methods for solving boundary value problems [811]. To mention a few, Bialecki et al. [12] formulated a new fourth order one step nodal bicubic spline collocation methods for the solution of various elliptic boundary value problems. Mohanty and Gopal [13] proposed a high accuracy cubic spline finite difference approximation of O(k2 + h4) accuracy for the solution of non-linear wave equation. Goh et al. [14] discussed the solution for one-dimensional heat and advection-diffusion by using a combination of finite difference approach and cubic B-spline method.

Over the last few decades, we have seen the formulation of group iterative methods for solving the two dimensional elliptic partial difference Eqs [1518]. In 1991, a half-sweep iterative method had been introduced by Abdullah [19] via the explicit decoupled group (EDG) iterative method which was shown to be faster and computationally economical than the existing explicit group (EG) method due to Yousif and Evans [18] for solving elliptic partial differential equation. Inspired by Abdullah [19], Othman and Abdullah [20] proposed a quarter-sweep iteration through the modified explicit group (MEG) method. Following this, Ali and Ng [21] extended the idea and formulated the modified explicit decoupled group (MEDG) method for solving two-dimensional Poisson equation. The MEDG method exhibits a better convergence rather than the existing group schemes of the same family, namely EG, EDG and MEG methods.

In 1986, Yousif and Evans [18] developed the explicit group (EG) iterative method where a small group of 2, 4, 9, 16 and 25 points were constructed in the iterative processes for solving Laplace’s equation. The numerical results show that the EG method is simpler to program compared to the block (line) iterative methods and it requires less storage. However, this method was solely formulated using the usual standard finite difference discretization which restricts the solutions at only certain points of the solution domain. This, thus, motivate us to adopt the idea in using splines in the formulation of the group methods.

In this paper, a new method, namely spline explicit group (SEG) iterative method, which incorporates cubic spline with group iterative scheme, is developed for solving the elliptic problems. Using a cubic spline approximation in the x-direction and central difference in the y-direction, we obtain a new three level implicit nine-point compact finite difference formulation. Then, a four point explicit group iterative scheme is applied to the obtained system. The performance of the method will be investigated via two benchmark problems, that is the convection-diffusion equation and Poisson’s equation.

The Cubic Spline Approximation and Numerical Scheme

Here, the solution domain Ω = [0, 1] × [0, 1] is divided by h > 0 in x-direction and k > 0 in y-direction. Therefore, the grid points (xl, ym) are represented as xl = lh and ym = mk, l = 0, 1, …, Nx, m = 0, 1, …, Ny, where Nx and Ny are positive integers. Let Ul, m be the approximation solution of ul, m at the grid point (xl, ym).

Suppose that Sm(x) is the m-th mesh row cubic spline polynomial which interpolates the value Ul, m at (xl, ym), is given by [6] (3) for xl−1xxl, where l = 1, 2, …, Nx and m = 0, 1, 2, …, Ny. For each m-th mesh row, the cubic spline Sm(x) satisfies the following properties

  1. Sm(x) coincides with a polynomial of degree three on each [xl−1, xl], l = 1, 2, …, Nx, m = 0, 1, 2, …, Ny
  2. Sm(x) ∈ C2[0, 1], and
  3. Sm(xl) = Ul, m, l = 0, 1, 2, …, Nx, m = 0, 1, 2, …, Ny
The derivatives of cubic spline Sm(x) can be obtained as below (4) (5) And, from Eq (1), it gives (6) When x = xl, Eq (4) becomes (7) Similarly, for x ∈ [xl, xl+1], it gives (8) Combining both Eqs (7) and (8), the following approximation can be obtained (9) Further, we have (10) (11) By using the continuity of first derivative at (xl, ym), which is, , the following relation can be obtained (12) The following approximations are considered (13a) (13b) (13c) (14a) (14b) (14c) Eqs (14b) and (14c) are obtained from the second-order one-sided finite difference scheme. For the derivatives of Sm(x), we consider (15a) (15b) (15c) (15d) (15e) (15f) By using Taylor series expansion about the grid point (xl, ym), Eq (1) can be written as (16) where Tl, m is the local truncation error. Substituting the above approximations (13)–(15) into (16), it results (17) where λ is the mesh ratio, denoted by λ = (k/h). If the singular terms like appear in the functions D(x) and/or g(x, y), which is unable to evaluate at x = 0. The following approximations are considered (18a) (18b) where Thus, neglecting the higher order terms and local truncation error, Eq (17) can be written as (19) This modified equation retains its order of accuracy everywhere throughout the solution region, moreover in the vicinity of the singularity. Note that, this proposed scheme (19) is of O(k2 + k2h2 + h4) and applicable to both singular and non-singular elliptic equations of the form (1).

Spline Explicit Group Method

We apply Eq (19) to any group of four points on the solution domain (as shown in Fig 1). Then, a (4 × 4) system as below, can be obtained (20) where and Eq (20) can be inverted and written in explicit forms (21) where and The Gauss-Seidel technique is employed to accelerate the convergence process. Iterations are generated in groups of four points over the entire spatial domain until the convergence test is satisfied. Once the approximations Ul,m had been calculated, the value of Ml,m can be easily obtained by solving the system generated by (12). Then, the piecewise polynomial of the function can be obtained from Eq (3). Finally, the approximate solution at any point at m-th mesh row can be easily calculated.

Applying Eq (21) to each of the group in natural row ordering (Fig 2) will lead to a linear system where the matrix of coefficient A is given by (22) with The submatrices are given by In order to derive the explicit formulae, the matrix A is transformed into AE and vector b is modified into bE, where, The block structure of AE is the same as matrix A with the nonzero block R0 replaced by identity matrices, I and the blocks Ri and , replaced by , i = 0, 2, 3, 4, 5, 6 and , j = 3,4,6 respectively. Since the coefficient matrix (22) is block tridiagonal with non-vanishing diagonal element, it is π-consistently ordered and has property-A(π) [22]. Thus, the theory of block S.O.R. is also applicable to the SEG iterative method and therefore, is convergent.

Computational Complexity Analysis

In order to show the efficiency of the proposed method, computational complexity of the SEG iterative method is examined. Assume that the solution domain is discretized into even intervals, Nx and Ny in x- and y-directions, respectively. Therefore, we have (nx − 1)(ny − 1) grouped points and (nx + ny − 1) ungrouped points, where nx = Nx − 1 and ny = Ny − 1. This can be shown as in Fig 3.

The estimation on this computational complexity is based on the arithmetic operations performed at each iteration for the additions/substractions (Add/Sub) and multiplications/divisions (Mul/Div) operations. Therefore, the number of operations required for SEG is given as in Table 1. The total number of arithmetic operations can be obtained by multiplying the number of arithmetic operations for each iteration with the number of iterations.

thumbnail
Table 1. The number of arithmetic operations per iteration for SEG iterative method.

https://doi.org/10.1371/journal.pone.0132782.t001

Numerical Results

In this section, two benchmark test problems, whose exact solutions are known are solved by the proposed combination of cubic spline and explicit group iterative method. The results are then compared with those obtained by the

  • Combination of cubic spline with block Gauss-Seidel iterative method (SBGS)
  • Combination of central difference scheme with explicit group iterative method (CDEG)
where the CDEG scheme can be derived by substituting the partial derivative in Eq (1) by the central difference approximation. In all cases, we assume that u(0) = 0 as the initial guess and the iterations were stopped when the estimated error was below tolerance, that is when ∣u(s+1)u(s)∣ ≤ 10−12 was achieved.

Example 1

Consider the convection-diffusion equation The exact solution for the problem is given by where and β > 0. The boundary conditions can be obtained from the exact solution. The (4 × 4) matrix system can be obtained by substituting D00 = β, D10 = D20 = 0 and Gl, m = Gl+1, m = Gl+1, m+1 = Gl, m+1 = 0 in Eq (20). The maximum absolute errors are tabulated in Table 2 and the number of arithmetic operations are shown in Table 3.

thumbnail
Table 2. Computational errors for proposed method, SEG compared with CDEG [18] and SBGS [23] by using β = 10 and k/h2 = 64.

https://doi.org/10.1371/journal.pone.0132782.t002

thumbnail
Table 3. Total arithmetic operations needed to generate the above results for CDEG [18], SBGS [23] and the proposed method, SEG (β = 10, k/h2 = 64).

https://doi.org/10.1371/journal.pone.0132782.t003

Example 2

Given the following Poisson’s equation in polar cylindrical coordinates in rz plane. The exact solution is u(r, z) = r2 sinh r cosh z. The solutions can be approximated by replacing the variables (x, y) by (r, z) and substituting and g(r, z) = cosh z(5r cosh r + 2(2 + r2) sinh r) into scheme (20). The corresponding errors and the number of arithmetic operations are tabulated in Tables 4 and 5, respectively.

thumbnail
Table 4. Maximum absolute errors of proposed method, SEG compared with CDEG [18] and SBGS [23] compared to the exact solution (k/h = 0.8).

https://doi.org/10.1371/journal.pone.0132782.t004

thumbnail
Table 5. Total arithmetic operations needed to generate the above results for CDEG [18], SBGS [23] and the proposed method, SEG for k/h = 0.8.

https://doi.org/10.1371/journal.pone.0132782.t005

Conclusions

In this paper, a new method namely, the SEG iterative method was formulated for solving the elliptic boundary value problems. The presented results show that the proposed method is capable of approximating the solution very well in terms of accuracy and execution time. It can be seen that the computation cost is reduced substantially compared to those obtained by the cubic spline block Gauss-Seidel iterative method [23], especially when the grid size increases. Furthermore, in terms of accuracy, the proposed method is superior to the original central difference explicit group iterative method [18]. In conclusion, the proposed method is a viable alternative approximation tool for solving the elliptic partial differential equations.

Acknowledgments

The authors gratefully thank to the reviewers for their valuable suggestions which definitely help to improve the quality of the paper.

Author Contributions

Conceived and designed the experiments: JG NHMA. Performed the experiments: JG NHMA. Analyzed the data: JG NHMA. Contributed reagents/materials/analysis tools: JG NHMA. Wrote the paper: JG NHMA.

References

  1. 1. Aarão J, Bradshaw-Hajek BH, Miklavcic SJ, Ward DA. The extended domain eigenfunction method for solving elliptic boundary value problems with annular domains. Journal of Physics A: Mathematical and Theoretical. 2010;43:185202.
  2. 2. Malavi-Arabshahi SM, Dehghan M. Preconditioned techniques for solving large sparse linear systems arising from the discretization of the elliptic partial differential equations. Applied Mathematics and Computation. 2007;188(2):1371–1388.
  3. 3. Wang YM, Guo BY. Fourth-order compact finite difference method for fourth-order nonlinear elliptic boundary value problems. Journal of Computational and Applied Mathematics. 2008;221(1):76–97.
  4. 4. Bickley WG. Piecewise cubic interpolation and two-point boundary problems. The Computer Journal. 1968;11(2):206–208.
  5. 5. Albasiny EL, Hoskins WD. Cubic spline solutions to two-point boundary value problems. The Computer Journal. 1969;12(2):151–153.
  6. 6. Ahlberg JH, Nilson EN, Walsh JL. The theory of splines and their applications. Academic Press; 1967.
  7. 7. Fyfe DJ. The use of cubic splines in the solution of two-point boundary value problems. The Computer Journal. 1969;12(2):188–192.
  8. 8. Al-Said EA, Noor MA, Rassias TM. Cubic splines method for solving fourth-order obstacle problems. Applied Mathematics and Computation. 2006;174(1):180–187.
  9. 9. Goh J, Majid AA, Ismail AIM. Numerical method using cubic B-spline for the heat and wave equation. Computers & Mathematics with Applications. 2011;62(12):4492–4498.
  10. 10. Goh J, Majid AA, Ismail AIM. A quartic B-spline for second-order singular boundary value problems. Computers & Mathematics with Applications. 2012;64(2):115–120.
  11. 11. Ding HF, Zhang YX, Cao JX, Tian JH. A class of difference scheme for solving telegraph equation by new non-polynomial spline methods. Applied Mathematics and Computation. 2012;218(9):4671–4683.
  12. 12. Bialecki B, Fairweather G, Karageorghis A. Optimal superconvergent one step nodal cubic spline collocation methods. SIAM Journal on Scientific Computing. 2005;27(2):575–598.
  13. 13. Mohanty RK, Gopal V. High accuracy cubic spline finite difference approximation for the solution of one-space dimensional non-linear wave equations. Applied Mathematics and Computation. 2011;218(8):4234–4244.
  14. 14. Goh J, Majid AA, Ismail AIM. Cubic B-Spline collocation method for one-dimensional heat and advection-diffusion equations. Journal of Applied Mathematics. 2012;2012.
  15. 15. Ali NHM, Foo KP. Modified Explicit Group AOR Methods in the solution of elliptic equations. Applied Mathematical Sciences. 2012;6:2465–2480.
  16. 16. Evans DJ, Abdullah AR. The group explicit method for the solution of Burger’s equation. Computing. 1984;32(3):239–253.
  17. 17. Saeed AM, Ali NHM. Preconditioned modified explicit decoupled group method in the solution of elliptic PDEs. Applied Mathematical Sciences. 2010;p. 1165–1181.
  18. 18. Yousif WS, Evans DJ. Explicit group over-relaxation methods for solving elliptic partial differential equations. Mathematics and Computers in Simulation. 1986;28(6):453–466.
  19. 19. Abdullah AR. The four point explicit decoupled group (EDG) method: a fast Poisson solver. International Journal of Computer Mathematics. 1991;38:61–70.
  20. 20. Othman M, Abdullah AR. An efficient four points modified explicit group poisson solver. International Journal of Computer Mathematics. 2000;76:203–217.
  21. 21. Ali NHM, Ng KF. Modified explicit decoupled group method in the solution of 2-D elliptic PDES. In: Proceedings of the 12th WSEAS International Conference on Applied Mathematics. MATH’07; 2007. p. 162–167.
  22. 22. Young DM. Iterative Solution of Large Linear Systems. Academic Press; 1971.
  23. 23. Mohanty RK, Kumar R, Dahiya V. Cubic spline iterative method for Poisson’s equation in cylindrical polar coordinates. ISRN Mathematical Physics. 2012;2012.