760
Views
1
CrossRef citations to date
0
Altmetric
Research Articles

Tension spline method for the solution of elliptic equations

& ORCID Icon
Pages 604-610 | Received 16 Jun 2017, Accepted 14 Apr 2019, Published online: 09 May 2019

Abstract

In this paper, two classes of methods are developed for the solution of two-dimensional elliptic partial differential equations. We have used tension spline function approximation in both x and y spatial directions and a new scheme of order O(h4+k4) has been obtained. The convergence analysis of the methods has been carried out. Numerical examples are given to illustrate the applicability and accurate nature of our approach.

2010 MSC:

1. Introduction

Elliptic partial differential equations often arise in many fields of engineering and theoretical physics such as electric potential in electrostatics, electromagnetic scattering theory [Citation1], micro and nano electronic devise physics, membrane vibration and radar scattering [Citation2, Citation3].

We consider the linear second-order two-dimensional elliptic equation of the form (1) A2ux2+B2uy2=Cu+f(x,y),(x,y)Ω,(1) subjected to Dirichlet boundary conditions u(x,y)=g(x,y),(x,y)∂Ω, where A, B and C are positive constants and Ω={(x,y);0<x,y<1} with the boundary ∂Ω. We assume that the solution u(x,y) and forcing function f are sufficiently smooth and have required continuous partial derivatives. The well-known Poisson equation and modified Helmholtz equation are special cases of Equation (Equation1).

Various numerical methods have been discussed and developed for solving elliptic partial differential equations. For the solution of two-dimensional Poisson equation, fourth-order compact difference schemes have discussed in [Citation4, Citation5] and also a new family of high-order finite difference schemes is proposed in [Citation6] by using implicit finite difference formulas. Sixth-order compact scheme is developed for the Poisson equation in [Citation7] based on the fourth-order nine-point difference approximation, combined with Richardson extrapolation. Fourth-order finite difference methods for the solution of Helmholtz equation are presented in [Citation8, Citation9]. Cubic spline collocation method was introduced for Poisson equation by Romenski [Citation10]. Bialecki used orthogonal spline collocation method for the solution of Poisson equation [Citation11]. The method of collocation at nodal points based on the tensor product of cubic splines for Helmholtz equation with Dirichlet boundary conditions was first analysed independently by Cavendish and Ito in their PhD theses and second-order convergence of the method was proved. Christara has developed quadratic spline collocation methods for elliptic problems in the unit square [Citation12]. These methods which have third order of accuracy, collocate a perturbed differential equation. Houstis et al. analysed a new class of collocation methods using cubic spline for the general form of elliptic PDEs and derived fourth order of accuracy [Citation13]. Quadratic spline collocation methods for two-dimensional Helmholtz problem are developed in [Citation14], it is shown that the methods are fourth-order accurate at the nodes and collocation points. Rashidinia et al. proposed the cubic spline method for the singular elliptic boundary value problems in [Citation15, Citation16]. Islam Khan et al. used tension spline method to solve second-order singularly perturbed boundary-value problems [Citation17] also tension spline method for the solution of nonlinear partial differential equations have discussed in [Citation18, Citation19]. Mohanty et al. have used a new finite difference scheme for two-dimensional elliptic problems [Citation20], also they proposed cubic spline finite difference method of order O(k2+h4) for two-dimensional quasi-linear elliptic equations [Citation21]. Higher-order accurate finite volume schemes for two-dimensional Helmholtz equations are developed in [Citation22]. For numerically solving inhomogeneous elliptic partial differential equations, a Chebyshev polynomial scheme combined with the method of fundamental solutions (MFS) and the equilibrated collocation Trefftz method have presented in [Citation23] and a particular solution using the standard polynomial basis function has been derived in [Citation24]. A new wavelet multigrid method based on Daubechies filter coefficients is proposed in [Citation25] for the numerical solution of elliptic type equations.

In this paper, we have presented the non-polynomial tension spline method for two-dimensional linear elliptic equation (Equation1). We discussed the derivation of non-polynomial tension spline approximation and by using tension spline approximation in both spatial directions, two classes of nine-point scheme have been obtained. The truncation error of the scheme is carried out and convergence of our approach is proved.

2. Non-polynomial spline functions

We consider the solution domain Ω=[0,1]×[0,1] and choose grid spacing h>0 and k>0, in the x-direction and y-direction, respectively. The mesh points are defined by (xi,yj)=(ih,jk), i=0,1,,m+1, j=0,1,,n+1, where m and n are positive integers. In each segment [xi,xi+1] let s1j(x) be the tension spline function which interpolates u(x,yj) and define (2) s1j(x)=a1i+b1i(xxi)+c1isinhλ1(xxi)+d1icoshλ1(xxi),(2) where a1i, b1i, c1i and d1i are unknown coefficients and λ1 is free parameter. Also, we let s2i(y) be the tension spline function interpolating u(xi,yj) in each segment [yj,yj+1] and define (3) s2i(y)=a2j+b2j(yyj)+c2jsinhλ2(yyj)+d2jcoshλ2(yyj),(3) where a2i, b2i, c2i and d2i are unknown coefficients and λ2 is an arbitrary parameter. To determine explicit expressions for all of coefficients we first denote (4) s1j(xi)=ui,j,s1j(xi+1)=ui+1,j,s2i(yj)=ui,j,s2i(yj+1)=ui,j+1,(4) (5) s1j′′(xi)=M1i,j,s1j′′(xi+1)=M1i+1,j,s2i′′(yj)=M2i,j,s2i′′(yj+1)=M2i,j+1.(5) By using (Equation4) and (Equation5) and from algebraic manipulations we derive a1i=ui,j1λ12M1i,j,b1i=1h(ui+1,jui,j)+1ω1λ1(M1i,jM1i+1,j),c1i=1λ12(csch(ω1)M1i+1,jcoth(ω1)M1i,j),d1i=1λ12M1i,j, where ω1=λ1h. And also a2j=ui,j1λ22M2i,j,b2j=1k(ui,j+1ui,j)+1ω2λ2(M2i,jM2i,j+1),c2j=1λ22(csch(ω2)M2i,j+1coth(ω2)M2i,j),d2j=1λ22M2i,j, where ω2=λ2k.

From the continuity of the first derivatives of spline functions s1j(x) and s2i(y) at (xi,yj), we get the following consistency relations: (6) 1h2(ui1,j2ui,j+ui+1,j)=α1M1i1,j+2β1M1i,j+α1M1i+1,j,(6) (7) 1k2(ui,j12ui,j+ui,j+1)=α2M2i,j1+2β2M2i,j+α2M2i,j+1,(7) where α1=1ω12(1ω1csch(ω1)),β1=1ω12(ω1coth(ω1)1),α2=1ω22(1ω2csch(ω2)),β2=1ω22(ω2coth(ω2)1). When λ10 that ω10,then (α1,β1)(1/6,1/3) and also when λ20, then (α2,β2)(1/6,1/3) so consistency relations of tension splines defined in (Equation6) and (Equation7) reduce to the following cubic spline relations, respectively: (8) (ui1,j2ui,j+ui+1,j)=h26(M1i1,j+4M1i,j+M1i+1,j),(8) (9) (ui,j12ui,j+ui,j+1)=k26(M2i,j1+4M2i,j+M2i,j+1).(9)

3. Spline numerical methods

At the grid point (xi,yj), Equation (Equation1) may be discretized as (10) Auxx(xi,yj)+Buyy(xi,yj)=Cu(xi,yj)+f(xi,yj).(10) We next develop an approximation for Equation (Equation1) in which we use the non-polynomial tension spline functions approximations of second derivatives in x-direction and also in y-direction: (11) uxx(xi,yj)M1i,j,(11) (12) uyy(xi,yj)M2i,j.(12) From (Equation10) and by neglecting the truncation error, we get (13) AM1i,j+BM2i,j=Cui,j+fi,j,(13) (14) AM1i+_1,j+BM2i+_1,j=Cui+_1,j+fi+_1,j,(14) (15) AM1i,j+_1+BM2i,j+_1=Cui,j+_1+fi,j+_1.(15) Similar to (Equation6), for the (j1)-th and (j+1)-th levels in y-direction we have (16) (ui1,j12ui,j1+ui+1,j1)=h2(α1M1i1,j1+2β1M1i,j1+α1M1i+1,j1),(16) (17) (ui1,j+12ui,j+1+ui+1,j+1)=h2(α1M1i1,j+1+2β1M1i,j+1+α1M1i+1,j+1).(17) Similar to (Equation7), for the (i1)-th and (i+1)-th levels in x-direction we have (18) (ui1,j12ui1,j+ui1,j+1)=k2(α2M2i1,j1+2β2M2i1,j+α2M2i1,j+1),(18) (19) (ui+1,j12ui+1,j+ui+1,j+1)=k2(α2M2i+1,j1+2β2M2i+1,j+α2M2i+1,j+1).(19) By using Equations (Equation6), (Equation7) and (Equation13)–(Equation19) and after manipulating them we obtain (20) p1(ui1,j1+ui1,j+1+ui+1,j1+ui+1,j+1)+p2(ui1,j+ui+1,j)+p3(ui,j1+ui,j+1)+p4ui,j=r1(fi1,j1+fi1,j+1+fi+1,j1+fi+1,j+1)+r2(fi1,j+fi+1,j)+r3(fi,j1+fi,j+1)+r4fi,j,(20) where (21) p1=Ak2α2+Bh2α1Cr1,p2=2Ak2β22Bh2α1Cr2,p3=2Bh2β12Ak2α2Cr3,p4=4Ak2β24Bh2β1Cr4,(21) (22) r1=h2k2α1α2,r2=2h2k2α1β2,r3=2h2k2α2β1,r4=4h2k2.β1β2(22)

4. Truncation error

The partial differential equation (Equation10) may be discretized as (23) fi,j=(ADx2+BDy2C)ui,j,(23) where Dx2=(2/x2) and Dy2=(2/y2). Also we have fi+_1,j=(ADx2+BDy2C)ui+_1,j,fi,j+_1=(ADx2+BDy2C)ui,j+_1. Now,by using the above notations and expanding both sides of (Equation20) in Taylor series in terms of u(xi,yj) and its derivatives, we obtain the truncation error of the method as follows: (24) Ti,j=112α2130α12(α2+β2)(12α12β1)Ah2k2Dx2+2(α1+β1)(12α22β2)Bh2k2Dy2+α2(12α12β1)Ah2k4Dx2Dy2+α1(12α22β2)Bh4k2Dx2Dy2+2112α1(α2+β2)Ah4k2Dx4+2112α2(α1+β1)Bh2k4Dy4+α2112α1Ah4k4Dx4Dy2+α1112α22β1Bh4k4Dx2Dy4+112α2(12α12β1)Ah2k6Dx2Dy4+112α1(12α22β2)Bh6k2Dx4Dy2+16130α1(α2+β2)Ah6k2Dx6+16130α2(α1+β1)Bh2k6Dy6+1360α2(12α12β1)Ah2k8Dx2Dy6+1360α1(12α22β2)Bh8k2Dx6Dy2+112α2130α1Ah6k4Dx6Dy2+112α1130α2Bh4k6Dx2Dy6+112α2130α1Ah4k6Dx4Dy4+112α1130α2Bh6k4Dx4Dy4+ui,j.(24) From (Equation24) we conclude that

  • If we choose (25) α1+β1=12,α2+β2=12,α1112,α2112,(25) we obtain various schemes of order O(h2+k2). In particular we can choose α1=α2=(1/6) and β1=β2=(1/3), which we denoted this scheme by T1.

  • If we choose (26) α1+β1=12,α2+β2=12,α1=112,β1=512,α2=112,β2=512,(26) we get a new scheme of O(h4+k4), which we denoted by T2.

5. Convergence analysis

The scheme (Equation20) may be written in the following matrix form: (27) PU=F,(27) where U is the solution vector in the form U=[u1,1,u2,1,,um,1,,u1,n,u2,n,,um,n]T and F is the right-hand side vector. P is a square block tridiagonal matrix of order n×n and can be expressed as P=L+D+R, where D is block diagonal matrix which each block of D is a triangular matrix in the form tri[p2,p4,p2]. L and R are strictly block lower triangular and strictly block upper triangular matrices, respectively. The blocks of R and L are equals to each other and are in the form tri[p1,p3,p1], where the triangular matrix T=tri[a,b,a] is defined by T=(tij)=b,i=j,a,ij∣=1,0otherwise. From relations (Equation21) and (Equation22) we have |p1|=|Cr1Ak2α2Bh2α1|Cr1,|p2|2Ak2β2,|p3|2Bh2β1. Then using (Equation25) and (Equation26) we can obtain (i)2|p1|+|p2|+2|p3|<|p4|, (28) (iii)2|p1|+2|p2|+|p3|<|p4|,(iv)4|p1|+2|p2|+2|p3|<|p4|.(28) From (Equation28) we conclude that P is a diagonally dominant matrix and the system (Equation27) has unique solution. For solving the system (Equation27) by P=L+D+R, the block Jacobi method is as follows: U(n+1)=MJU(n)+D1f, where MJ, the Jacobi iteration matrix is defined by MJ=D1(L+R). Also the block Gauss–Seidel method is U(n+1)=MGSU(n)+(L+D)1f, where MGS=(L+D)1R.

For the nine-point scheme (Equation20) the Jacobi iteration formula is (29) ui,j(n+1)=1p4[p1(ui1,j1(n)+ui1,j+1(n)+ui+1,j1(n)+ui+1,j+1(n))+p2(ui1,j(n)+ui+1,j(n))+p3(ui,j1(n)+ui,j+1(n))]+1p4[r1(fi1,j1+fi1,j+1+fi+1,j1+fi+1,j+1)+r2(fi1,j+fi+1,j)+r3(fi,j1+fi,j+1)+r4fi,j].(29) The error equation of the iteration is (30) εi,j(n+1)=1p4(p1(εi1,j1(n)+εi1,j+1(n)+εi+1,j1(n)+εi+1,j+1(n))+p2(εi1,j(n)+εi+1,j(n))+p3(εi,j1(n)+εi,j+1(n))),(30) where the values of the error are equal to zero on the boundary of the unit square.

Equation (Equation30) can be solved by the method of separation of variables, we let (31) εi,j(n)=Vi.Wj,(31) (32) εi,j(n+1)=ξεi,j(n),(32) where ξ is the propagation factor.By substituting (Equation31) and (Equation32) in (Equation30), we get (33) Wj1γWj+Wj+1=0(33) and (34) l1Vi1+l2Vi+l1Vi+1=0,(34) where γ is an arbitrary parameter to be determine and (35) l1=p1γ+p2,l2=p3γ+p4ξ,(35) and boundary conditions are V0=Vm+1=0 and W0=Wn+1=0.

The solution of difference equation (Equation33) subject to homogeneous boundary conditions is (36) Wj=w1sin(kπqj),1jn,1qn(36) with γ=2cos(kπq) and w1 an arbitrary constant.

Also, the solution of (Equation34) with homogeneous boundary conditions is (37) Vi=v1sin(hπpi),1im, 1pm,(37) (38) l2=2l1cos(hπp),(38) and v1 is an arbitrary constant. By eliminating l1 and l2 from (Equation35) and (Equation38), we get (39) ξ=1p4(4p1cos(kπq)cos(hπp)2p2cos(hπp)2p3cos(kπq)).(39) From (Equation28-(iv)) and (Equation39), we conclude that |ξ|<1. Therefore, the Jacobi method converges for any initial guess and for any values of h and k. Also the spectral radius ρ of Jacobi and Gauss–Seidel iteration matrices are related by ρ(MGS)=ρ(MJ)2. Thus the Gauss–Seidel method converges too.

6. Numerical results

In this section, we consider the following examples with the known exact solutions. We applied our methods to solve these examples, with various values of h and k. The computed solutions at grid points are compared with the exact solutions, the maximum absolute errors and convergence orders are tabulated in Tables .The orders of convergence are established from the following relation:

Table 1. The maximum absolute errors and orders of convergence of Example 6.1.

Table 2. The maximum absolute errors in Example 6.2.

Table 3. The maximum absolute errors and orders of convergence for Example 6.3.

(40) order=loguu1uu2logh1h2,(40) where u is the exact solution and u1 and u2 are computed solutions in two consequence steps (h1,k1) and (h2,k2).

Example 6.1

Consider the equation 32ux2+22uy2=π2u3πsin(πy)(2sin(πx)+2πxcos(πx)+πx),0<x,y<1, subjected to Dirichlet boundary condition u=0 in boundaries of unit square. The exact solution of this problem is u(x,y)=xsin(πy)(1+cos(πx)). We applied our methods T1 and T2 to solve this problem. The computed solutions are compared with exact solutions at grid points and the maximum absolute errors of solutions are tabulated in Table . The graphs of the exact and computed solutions are given in Figure .

Figure 1. Comparison of exact and approximate solutions for Example 6.1 with (h,k)=(1/20,1/20).

Figure 1. Comparison of exact and approximate solutions for Example 6.1 with (h,k)=(1/20,1/20).

Example 6.2

Consider the equation (41) 2ux2+2uy2=2u+6ex+y(2xy2+2x2y4xy),0<x,y<1,(41) subjected to Dirichlet boundary condition u=0 in boundaries of unit square. The exact solution is u(x,y)=3ex+y(x2x)(y2y). We applied method T2 to solve this problem. The maximum absolute errors and orders of convergence are tabulated in Table  and are compared with the results in reference [Citation13].

Example 6.3

Consider the equation (42) 2ux2+2uy2=c2π2u3c2π2sin(cπx)sin(cπy),0<x,y<1,(42) subjected to Dirichlet boundary condition u=0 in boundaries of unit square. The exact solution is u(x,y)=sin(cπx)sin(cπy). We have solved this problem with methods T1 and T2 for two values of c. The maximum absolute errors and orders of convergence of methods are tabulated in Table .

7. Conclusion

We applied non-polynomial tension spline approximation in both space directions for the solution of second-order elliptic partial differential equations. Using the parameters adopted in cubic tension spline, we have obtained a scheme of order O(h2+k2). Also by appropriate choices of the parameters we have increased the order of accuracy to new scheme of order O(h4+k4). The results of the numerical examples show that our methods are accurate and easy applicable.

Disclosure statement

No potential conflict of interest was reported by the authors.

ORCID

Jalil Rashidinia  http://orcid.org/0000-0002-9177-900X

References

  • Barkeshli K. Advanced electromagnetics and scattering theory. New York: Springer; 2015.
  • Datta S. Quantum transport: atom to transistor. London: Cambridge University Press; 2005.
  • Borden B. Radar imaging of airborne targets. New York: Taylor & Francis; 1999.
  • Tian Z. An high order compact finite difference scheme for the second dimensional Poisson equation. J Northwest Univ. 1996;26(2):109–114.
  • Zhang J. Multigrid method and fourth order compact scheme for 2d Poisson equation with unequal meshsize discretization. J Comput Phys. 2002;179:170–179. doi: 10.1006/jcph.2002.7049
  • Zapata RIMU. High-order implicit finite difference schemes for the two-dimensional Poisson equation. Appl Math Comput. 2017;309:222–244.
  • Wang Y, Zhang J. Sixth order compact scheme combined with multigrid method and extrapolation technique for 2d Poisson equation. J Comput Phys. 2009;228:137–146. doi: 10.1016/j.jcp.2008.09.002
  • Singer I, Turkel E. High-order finite difference methods for the Helmholtz equation. Comput Method Appl Math. 1998;163:343–358.
  • Fu Y. Compact fourth order finite difference schemes for Helmholtz equation with high wave numbers. J Comput Math. 2008;26:98–111.
  • Romenski V. The method of spline collocation for the Poisson equation. J Comput Acoust. 1979;81:81–86.
  • Bialecki B. Superconvergence of orthogonal spline collocation in the solution of Poisson's equation. Numer Methods Partial Diff Eqn. 1999;15:285–303. doi: 10.1002/(SICI)1098-2426(199905)15:3<285::AID-NUM2>3.0.CO;2-1
  • Christara CC. Quadratic spline collocation methods for elliptic partial differential equations. BIT. 1994;34:33–61. doi: 10.1007/BF01935015
  • Houstis E, Vavalis E, Rice J. Convergence of o(h4) cubic spline collocation methods for elliptic partial differential equations. SIAM J Numer Anal. 1988;25(1):54–74. doi: 10.1137/0725006
  • Fairweather G, Karageorghis A, Maack J. Compact optimal quadratic spline collocation methods for the Helm-holtz equation. J Comput Phys. 2011;230:2880–2895. doi: 10.1016/j.jcp.2010.12.041
  • Rashidinia J, Mohammadi R, Ghasemi M. Cubic spline solution of singularly perturbed boundary value problems with significant first derivatives. Appl Math Comput. 2007;190:1762–1766.
  • Rashidinia J, Mohammadi R, Jalilian R. Spline solution of nonlinear singular boundary value problems. Int J Comput Math. 2008;85:39–52. doi:10.1080/00207160701293048
  • Khan I, Aziz T. Tension spline method for second-order singularly perturbed boundary-value problems. Int J Comput Math. 2005;82(12):1547–1553. doi:10.1080/00207160410001684280
  • Aghamohamadi M, Rashidinia J, Ezzati R. Tension spline method for solution of non-linear Fisher equation. Appl Math Comput. 2014;249:399–407.
  • Rashidinia J, Mohammadi R. Tension spline solution of nonlinear sine-Gordon equation. Numer Algor. 2011;56:129–142. doi:10.1007/s11075-010-9377-x
  • Mohanty R, Dey S. A new finite difference discretization of order four for (∂u/∂n) for two dimensional quasi-linear elliptic boundary value problems. Int J Comput Math. 2001;76:505–516. doi: 10.1080/00207160108805043
  • Mohanty R, Jain MK, Dhall D. High accuracy cubic spline approximation for two dimensional quassi-linear elliptic boundary value problems. Int J Comput Math. 2013;37:155–171.
  • Yaw K, Kossi E. Higher-order accurate finite volume discretization of Helmholtz equations with pollution effects reductions. Int J Innov Edu Res. 2018;6(2):130–148.
  • Ghimire BK, Tian HY, Lamichhane A. Numerical solutions of elliptic partial differential equations using Chebyshev polynomials. Comput Math Appl. 2016;72:1042–1054. doi: 10.1016/j.camwa.2016.06.012
  • Dangal T, Chena C, Lin J. Polynomial particular solutions for solving elliptic partial differential equations. Comput Math Appl. 2017;73:60–70. doi: 10.1016/j.camwa.2016.10.024
  • Shiralashetti S, Kantli M, Deshi AB. A new wavelet multigrid method for the numerical solution of elliptic type differential equations. Alex Eng J. 2018;57(1):203–209. doi:10.1016/j.aej.2016.12.007