Skip to main content

Theory and Modern Applications

Sixth-order finite difference scheme for the Helmholtz equation with inhomogeneous Robin boundary condition

Abstract

In this paper, a class of sixth-order finite difference schemes for the Helmholtz equation with inhomogeneous Robin boundary condition is derived. This scheme is based on the sixth-order approximation for the Robin boundary condition by using the Helmholtz equation and the Taylor expansion, by which the ghost points in the scheme on the domain can be eliminated successfully. Some numerical examples are shown to verify its correctness and robustness with respect to the wave number.

1 Introduction

In this paper, we focus on the Helmholtz equation with inhomogeneous Robin boundary condition on four boundaries

$$\begin{aligned}& -\Delta{u}-k^{2}u=f,\quad \mbox{in }\varOmega, \end{aligned}$$
(1)
$$\begin{aligned}& iku+\frac{\partial{u}}{\partial{\mathbf{n}}}=g,\quad \mbox{in } \varGamma_{\varOmega}, \end{aligned}$$
(2)

where u is the pressure field, k is the wave number, f is the body force, \(\varOmega:= ({0,1} )\times ({0,1} )\), \(i=\sqrt{-1}\), n is the unit out normal vector, g is a given function and \(\varGamma_{\varOmega}=\varGamma^{b}\cup\varGamma^{r}\cup\varGamma^{t}\cup\varGamma^{l}\) with \({\varGamma^{b}}:= [{0,1} ]\times\{0\}\), \({\varGamma^{r}}: = \{1\} \times [ {0,1} ]\), \({\varGamma^{t}}: = [ {1,0} ] \times \{1\}\), \({\varGamma^{l}}: = \{0\}\times [ {1,0} ]\).

Equations (1)–(2) are a mathematical model describing the acoustic scattering that controls the wave propagation and scattering phenomena occurring in many fields. When the wave number k is large, the solution of the problem becomes highly oscillating and efficient numerical methods are required in order to get high performance simulation results. In this topic, various numerical methods were developed in the past decades, such as the finite difference method (see, e.g., [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]), the finite element method (see, e.g., [17,18,19,20,21,22,23,24,25]), the boundary element method (see, e.g., [26,27,28,29,30]), and other techniques (see, e.g., [17, 31,32,33]). For the finite difference method, two common methods are considered in the literature, namely the parameter method and the high-order method. The parameter method was studied in [9], the fourth-order finite difference schemes with the Dirichlet boundary condition were considered in [3, 10] and with the Neumann boundary condition in [1, 4], the sixth-order finite difference schemes with the Dirichlet boundary condition were investigated in [3, 10] and with the Neumann boundary condition in [2]. For the problem with Robin boundary condition, Turkel et al. [12] considered a sixth-order scheme for the homogeneous case, i.e.,

$$\begin{aligned} \frac{\partial{u}}{\partial{x}}+iku=0\quad \text{at }x=x_{0}, \end{aligned}$$
(3)

based on a radiation boundary condition, which is usually imposed in the far-field when the medium is constant. By differentiating (3) with respect to x several times, the high-order scheme for this kind of boundary condition was derived in [12]. Further research can be found in [14]. But in many cases, such as the Helmholtz equation after reduction from the large cavity electromagnetic scattering, the inhomogeneous Robin boundary condition (2) is necessary (see [6, 34,35,36]). Obviously, the high-order scheme in this case cannot be got following the process in [12] due to the existence of the function g. On the other hand, the Robin boundary condition is only imposed on a single boundary in [12, 14]. If two neighbor boundaries are imposed with this kind of boundary condition, there will be a corner point which satisfies two different boundary conditions and it is difficult to deal with when this two conditions are not compatible. Recently, the fourth-order scheme for the Helmholtz equation with inhomogeneous Robin boundary condition on four boundaries was derived in [7]. But to the best of our knowledge, no sixth-order difference scheme for this case was investigated.

In many cases, the body force f is equal to zero, then we simplify the Helmholtz equation with an inhomogeneous Robin boundary condition as follows:

$$\begin{aligned}& -\Delta{u}-k^{2}u=0,\quad \mbox{in }\varOmega, \end{aligned}$$
(4)
$$\begin{aligned}& {\alpha}u+\frac{\partial{u}}{\partial{\mathbf{n}}}=g,\quad \mbox{in } \varGamma_{\varOmega}. \end{aligned}$$
(5)

In this paper, by applying the one-sided approximation of the derivative and Taylor expansion carefully, we derive the sixth-order scheme for the inhomogeneous Robin boundary condition (5), by which the ghost points in the scheme on the domain can be eliminated successfully. The deduction here does not depend on the scheme on the domain. Then some numerical experiments are shown to verify the correctness and the robustness of the scheme with respect to the wave number, too.

2 Numerical scheme

Let \(0< h<1\) denote an uniform mesh size with \(h=\frac{1}{N-1}\) (\(N\in{Z^{+}},N>1\)). Then, for any grid point \((x_{m},y_{n})\), we have \(x_{m}=mh,m=1,\ldots,N\), \(y_{n}=nh,n=1,\ldots,N\). Write \(u_{m,n}=u(x_{m},y_{n})\). Due to the sixth-order schemes for the Helmholtz equation with Dirichlet and Neumann boundary conditions having been investigated before, by applying the results in [2, 10], we can get the scheme on the domain:

$$\begin{aligned} &\mathbf{A}^{d}\cdot \mathbf{U}^{d}_{m,n}=0, \quad m=1,\ldots,N, n=1,\ldots,N, \end{aligned}$$
(6)

where

$$\begin{aligned} &\mathbf{A}^{d}=\bigl(A^{d}_{1},A^{d}_{2},A^{d}_{3},A^{d}_{4},A^{d}_{5},A^{d}_{6},A^{d}_{7},A^{d}_{8},A^{d}_{9} \bigr), \\ &\mathbf{U}^{d}_{m,n}=(U_{m-1,n-1},U_{m,n-1},U_{m+1,n-1},U_{m-1,n},U_{m,n},U_{m+1,n},U_{m-1,n+1},U_{m,n+1},U_{m+1,n+1}), \\ &A_{0}:=A^{d}_{5},\qquad A_{1}:=A^{d}_{2}=A^{d}_{4}=A^{d}_{6}=A^{d}_{8},\qquad A_{2}:=A^{d}_{1}=A^{d}_{3}=A^{d}_{7}=A^{d}_{9}. \end{aligned}$$

\(U_{m,n}\) is the numerical solution of \(u(x_{m},y_{n})\), and \(A_{0}\) is the coefficient of the central point \(U_{m,n}\), \(A_{1}\) is the coefficient of \(U_{m,n-1},U_{m-1,n},U_{m+1,n},U_{m,n+1}\), \(A_{2}\) is the coefficient of four corner points \(U_{m-1,n-1},U_{m+1,n-1},U_{m-1,n+1},U_{m+1,n+1}\). They may take different values at different occurrences which will be specialized in Sect. 3.

Next, we derive the scheme at the interior point of the boundary. Without loss of generality, we only present the deduction in detail for the top boundary \({\varGamma^{t},}\) which satisfies

$$\begin{aligned} {\alpha}u+\frac{\partial{u}}{\partial{y}}=g^{t}, \end{aligned}$$
(7)

where \(g^{t}\) is a given function on the top boundary. By applying the Taylor formula, we have

$$\begin{aligned} \frac{u_{m,n+1}-u_{m,n-1}}{2h}= \biggl(\frac{\partial{u}}{\partial{y}} \biggr)_{m,n}+\frac{h^{2}}{6} \biggl(\frac{\partial^{3}{u}}{\partial{y^{3}}} \biggr)_{m,n}+\frac{h^{4}}{120} \biggl(\frac{\partial^{5}{u}}{\partial{y^{5}}} \biggr)_{m,n}+\mathcal{O}\bigl(h^{6}\bigr). \end{aligned}$$
(8)

It is valid that

$$\begin{aligned} &\frac{\partial^{3}{u}}{\partial{y^{3}}}=-k^{2}\frac{\partial{u}}{\partial{y}}- \frac{\partial^{3}{u}}{\partial{x^{2}}\partial{y}},\qquad \frac{\partial^{5}{u}}{\partial{y^{5}}}=-k^{2} \frac{\partial^{3}{u}}{\partial{y^{3}}}-\frac{\partial^{5}{u}}{\partial{x^{2}}\partial{y^{3}}}. \end{aligned}$$
(9)

On the one hand, \(\frac{\partial^{3}{u}}{\partial{x^{2}}\partial{y}}\) can be written as

$$\begin{aligned} \biggl(\frac{\partial^{3}{u}}{\partial{x^{2}}\partial{y}} \biggr)_{m,n}= \delta_{x}^{2}\delta_{y}u_{m,n}- \frac{h^{2}}{12} \biggl(\frac{\partial^{5}{u}}{\partial{x^{4}}\partial{y}}+2\frac{\partial^{5}{u}}{\partial{x^{2}}\partial{y^{3}}} \biggr)_{m,n}+\mathcal{O}\bigl(h^{4}\bigr), \end{aligned}$$
(10)

where \(\delta_{x}^{2}u_{m,n}=\frac{u_{m-1,n}-2u_{m,n}+u_{m+1,n}}{h^{2}}\), \(\delta_{y}u_{m,n}=\frac{u_{m,n+1}-u_{m,n-1}}{2h}\). Using (4), we get

$$\begin{aligned} \frac{\partial^{5}{u}}{\partial{x^{4}}\partial{y}}+\frac{\partial^{5}{u}}{\partial{x^{2}}\partial{y^{3}}}=-k^{2} \frac{\partial^{3}{u}}{\partial{x^{2}}\partial{y}}. \end{aligned}$$
(11)

Setting \(n=N\), then combining (8) with (6), (9), (10) and (11), we can eliminate \(U_{m-1,N+1}\) and \(U_{m+1,N+1}\) as follows:

$$\begin{aligned} &2 \biggl(\frac{1}{6}+\frac{k^{2}h^{2}}{180} \biggr)A_{2} (U_{m-1,N-1}+U_{m+1,N-1} )+ \biggl[ \biggl(\frac{2}{3}-\frac{k^{2}h^{2}}{90} \biggr)A_{2}+ \biggl(\frac{1}{6}+\frac{k^{2}h^{2}}{180} \biggr)A_{1} \biggr]U_{m,N-1} \\ &\quad {}+ \biggl(\frac{1}{6}+\frac{k^{2}h^{2}}{180} \biggr)A_{1} (U_{m-1,N}+U_{m+1,N} ) \\ &\quad {}+ \biggl[ \biggl(-\frac{2}{3}+ \frac{k^{2}h^{2}}{90} \biggr)A_{2}+ \biggl(\frac{1}{6}+ \frac{k^{2}h^{2}}{180} \biggr)A_{1} \biggr]U_{m,N+1} \\ &\quad {}+ \biggl(\frac{1}{6}+\frac{k^{2}h^{2}}{180} \biggr)A_{0}U_{m,N}+2h \biggl(1-\frac{k^{2}h^{2}}{6}+\frac{k^{4}h^{4}}{120} \biggr)A_{2} \biggl(\frac{\partial{u}}{\partial{y}} \biggr)_{m,N} \\ &\quad {}+\frac{h^{5}A_{2}}{90} \biggl(\frac{\partial^{5}{u}}{\partial{x^{2}}\partial{y^{3}}} \biggr)_{m,N}=0. \end{aligned}$$
(12)

But the ghost point \(U_{m,N+1}\) and \(\frac{\partial^{5}{u}}{\partial{x^{2}}\partial{y^{3}}}\) are left in the scheme which need to be dealt with. By using the Taylor formula, (4) and (7) repeatedly, we obtain, after setting \(n=N\),

$$\begin{aligned} &\biggl(\frac{\partial^{5}{u}}{\partial{x^{2}}\partial{y^{3}}} \biggr)_{m,N}=-{ \alpha} \biggl(\frac{\partial^{4}{u}}{\partial{x^{2}}\partial{y^{2}}} \biggr)_{m,N}-k^{2} \biggl(\frac{\partial^{2}{g^{t}}}{\partial{x^{2}}} \biggr)_{m,N}- \biggl( \frac{\partial^{4}{g^{t}}}{\partial{x^{4}}} \biggr)_{m,N}, \end{aligned}$$
(13)
$$\begin{aligned} &\biggl(\frac{\partial^{3}{u}}{\partial{y^{3}}} \biggr)_{m,N}=-k^{2} \biggl(\frac{\partial{u}}{\partial{y}} \biggr)_{m,N}+{\alpha} \biggl( \frac{\partial^{2}{u}}{\partial{x^{2}}} \biggr)_{m,N}- \biggl(\frac{\partial^{2}{g^{t}}}{\partial{x^{2}}} \biggr)_{m,N}, \end{aligned}$$
(14)
$$\begin{aligned} & \biggl(\frac{\partial^{5}{u}}{\partial{y^{5}}} \biggr)_{m,N}=k^{4} \biggl(\frac{\partial{u}}{\partial{y}} \biggr)_{m,N}-{\alpha}k^{2} \biggl(\frac{\partial^{2}{u}}{\partial{x^{2}}} \biggr)_{m,N}+{\alpha} \biggl( \frac{\partial^{4}u}{\partial{x^{2}}\partial{y^{2}}} \biggr)_{m,N} \\ &\hphantom{\biggl(\frac{\partial^{5}{u}}{\partial{y^{5}}} \biggr)_{m,N}=}{}+2k^{2} \biggl(\frac{\partial^{2}{g^{t}}}{\partial{x^{2}}} \biggr)_{m,N}+ \biggl(\frac{\partial^{4}{g^{t}}}{\partial{x^{4}}} \biggr)_{m,N}. \end{aligned}$$
(15)

According to (8), (14) and (15), we have

$$\begin{aligned} u_{m+1,N}={}&u_{m-1,N}+2h \biggl(1- \frac{k^{2}h^{2}}{6}+\frac{k^{4}h^{4}}{120} \biggr) \biggl(\frac{\partial{u}}{\partial{y}} \biggr)_{m,N}+2h\alpha \biggl(\frac{h^{2}}{6}- \frac{k^{2}h^{4}}{120} \biggr) \biggl(\frac{\partial^{2}{u}}{\partial{x^{2}}} \biggr)_{m,N} \\ &{}+\frac{h^{5}\alpha}{60} \biggl(\frac{\partial^{4}{u}}{\partial{x^{2}y^{2}}} \biggr)_{m,N}-2h \biggl(\frac{h^{2}}{6}-\frac{2k^{2}h^{4}}{120} \biggr) \biggl( \frac{\partial^{2}{g^{t}}}{\partial{x^{2}}} \biggr)_{m,N}. \end{aligned}$$
(16)

Since we need a sixth-order finite difference scheme, we need a fourth-order approximation to \(\frac{\partial^{2}{u}}{\partial{x^{2}}}\) in (16). Obviously, it is valid that

$$\begin{aligned} u_{m+1,N}+u_{m-1,N}=2u_{m,N}+h^{2} \biggl(\frac{\partial^{2}{u}}{\partial{x^{2}}} \biggr)_{m,N}+\frac{h^{4}}{12} \biggl(\frac{\partial^{4}{u}}{\partial{x^{4}}} \biggr)_{m,N}+\mathcal{O} \bigl(h^{6}\bigr). \end{aligned}$$
(17)

By using (4), we have

$$\begin{aligned} \biggl(\frac{\partial^{4}{u}}{\partial{x^{4}}} \biggr)_{m,N}=- \biggl( \frac{\partial^{4}{u}}{\partial{x^{2}}\partial{y^{2}}} \biggr)_{m,N}-k^{2} \biggl( \frac{\partial^{2}{u}}{\partial{x^{2}}} \biggr)_{m,N}. \end{aligned}$$
(18)

Combining (17) and (18), we can obtain the fourth-order approximation to \(\frac{\partial^{2}{u}}{\partial{x^{2}}}\) and approximating \(\frac{\partial^{2}{u}}{\partial{x^{2}}}\) in (18) with the second-order central difference formula and \(\frac{\partial^{4}{u}}{\partial{x^{2}}\partial{y^{2}}}\) in (13) and (18) with the second-order central difference formula in the x-direction and the one-sided difference formula in the y-direction, namely

$$\begin{aligned} \biggl(\frac{\partial^{4}{u}}{\partial{x^{2}}\partial{y^{2}}} \biggr)_{m,N}={}& \frac{1}{2h^{4}} \biggl[8 (u_{m+1,N-1}-2u_{m,N-1}+u_{m-1,N-1} )-(u_{m+1,N-2}-2u_{m,N-2} \\ &{} +u_{m-1,N-2})-7 (u_{m+1,N}-2u_{m,N}+u_{m-1,N} )+6h\biggl( \biggl(\frac{\partial{u}}{\partial{y}} \biggr)_{m+1,N} \\ &{}-2 \biggl(\frac{\partial{u}}{\partial{y}} \biggr)_{m,N}+ \biggl( \frac{\partial{u}}{\partial{y}} \biggr)_{m-1,N}\biggr) \biggr]+\mathcal{O} \bigl(h^{2}\bigr), \end{aligned}$$
(19)

then combining (8) with (6) and (9)–(19) yields the sixth-order scheme for the interior point on the top boundary as follows:

$$\begin{aligned} &\mathbf{A}^{t}\cdot \mathbf{U}^{t}_{m,N}= \mathbf{C}^{t}\cdot \mathbf{G}^{t}_{m,N},\quad m=2, \ldots,N-1, \end{aligned}$$
(20)

where

$$\begin{aligned} &\mathbf{A}^{t}=\bigl(A^{t}_{1},A^{t}_{2},A^{t}_{3},A^{t}_{4},A^{t}_{5},A^{t}_{6},A^{t}_{7},A^{t}_{8},A^{t}_{9} \bigr), \\ &\mathbf{U}^{t}_{m,N}=(U_{m-1,N-1},U_{m,N-1},U_{m+1,N-1},U_{m-1,N},U_{m,N},U_{m+1,N},U_{m-1,N-2},\\ &\hphantom{\mathbf{U}^{t}_{m,N}=}{}U_{m,N-2},U_{m+1,N-2}), \\ &\mathbf{C}^{t}= \bigl(C^{t}_{1},C^{t}_{2},C^{t}_{3},C^{t}_{4} \bigr), \\ &\mathbf{G}^{t}_{m,N}= \biggl(g^{t}_{m,N}, \biggl(\frac{\partial^{2}{{g}^{t}}}{\partial{x^{2}}} \biggr)_{m,N}, \biggl( \frac{\partial^{4}{{g}^{t}}}{\partial{x^{4}}} \biggr)_{m,N},g^{t}_{m-1,N}+g^{t}_{m+1,N} \biggr), \\ &A^{t}_{1}=2 \biggl(\frac{1}{6}+ \frac{k^{2}h^{2}}{180} \biggr)A_{2}+\frac{4\tilde{B}}{h^{4}},\qquad A^{t}_{3}=A^{t}_{1},\qquad A^{t}_{2}=2 \biggl(\frac{1}{6}+\frac{k^{2}h^{2}}{180} \biggr)A_{1}- \frac{8\tilde{B}}{h^{4}}, \\ &A^{t}_{4}= \biggl(\frac{1}{6}+ \frac{k^{2}h^{2}}{180} \biggr)A_{1}+2hB\alpha \biggl(1+ \frac{k^{2}h^{2}}{12} \biggr) \biggl(\frac{1}{6}-\frac{k^{2}h^{2}}{120} \biggr)- (7+6h\alpha )\frac{\tilde{B}}{2h^{4}},\qquad A^{t}_{6}=A^{t}_{4}, \\ &A^{t}_{5}= \biggl(\frac{1}{6}+ \frac{k^{2}h^{2}}{180} \biggr)A_{0}-2h\alpha (A_{2}+B ) \biggl(1-\frac{k^{2}h^{2}}{6}+\frac{k^{4}h^{4}}{120} \biggr)\\ &\hphantom{A^{t}_{5}= }{}-4hB\alpha \biggl(1+ \frac{k^{2}h^{2}}{12} \biggr) \biggl(\frac{1}{6}-\frac{k^{2}h^{2}}{120} \biggr) + (14+12h\alpha )\frac{\tilde{B}}{2h^{4}}, \\ &A^{t}_{7}=-\frac{\tilde{B}}{2h^{4}},\qquad A^{t}_{9}=A^{t}_{7},\qquad A^{t}_{8}= \frac{\tilde{B}}{h^{4}}, \\ &C^{t}_{1}=\frac{6\tilde{B}}{h^{3}}-2h (A_{2}+B ) \biggl(1-\frac{k^{2}h^{2}}{6}+\frac{k^{4}h^{4}}{120} \biggr),\\ &C^{t}_{2}=2hB \biggl(\frac{h^{2}}{6}- \frac{k^{2}h^{4}}{120} \biggr)+k^{2}h^{5} \biggl( \frac{A_{2}}{90}-\frac{B}{60} \biggr), \\ &C^{t}_{3}=h^{5} \biggl( \frac{A_{2}}{90}-\frac{B}{60} \biggr),\qquad C^{t}_{4}=- \frac{3\tilde{B}}{h^{3}}, \\ &B= \biggl(-\frac{2}{3}+\frac{k^{2}h^{2}}{90} \biggr)A_{2}+ \biggl(\frac{1}{6}+\frac{k^{2}h^{2}}{180} \biggr)A_{1},~\\ & \tilde{B}=\frac{Bh^{5}\alpha}{6} \biggl(\frac{1}{6}-\frac{k^{2}h^{2}}{120} \biggr)-h^{5}\alpha \biggl(\frac{A_{2}}{90}- \frac{B}{60} \biggr). \end{aligned}$$

Setting \(m=1\) in (6) and following a similar process to that deriving (20), we can obtain the sixth-order scheme for the interior point on the left boundary,

$$\begin{aligned} &\mathbf{A}^{l}\cdot \mathbf{U}^{l}_{1,n}= \mathbf{C}^{l}\cdot \mathbf{G}^{l}_{1,n},\quad n=2, \ldots,N-1, \end{aligned}$$
(21)

where

$$\begin{aligned} &\mathbf{A}^{l}=\mathbf{A}^{t},\qquad \mathbf{C}^{l}=\mathbf{C}^{t}, \\ &\mathbf{U}^{l}_{1,n}=(U_{2,n-1},U_{2,n},U_{2,n+1},U_{1,n-1},U_{1,n},U_{1,n+1},U_{3,n-1},U_{3,n},U_{3,n+1}), \\ &\mathbf{G}^{l}_{1,n}= \biggl(g^{l}_{1,n}, \biggl(\frac{\partial^{2}{{g}^{l}}}{\partial{x^{2}}} \biggr)_{1,n}, \biggl( \frac{\partial^{4}{{g}^{l}}}{\partial{x^{4}}} \biggr)_{1,n},g^{l}_{1,n-1}+g^{l}_{1,n+1} \biggr). \end{aligned}$$

By setting \(n=1\) and \(m=N\) in (6), respectively, and using the analogous deduction in (20) and (21), we can deduce the following schemes on the bottom and right boundaries, respectively:

$$\begin{aligned} &\mathbf{A}^{b}\cdot \mathbf{U}^{b}_{m,1}= \mathbf{C}^{b}\cdot \mathbf{G}^{b}_{m,1},\quad m=2, \ldots,N-1, \end{aligned}$$
(22)

where

$$\begin{aligned} &\mathbf{A}^{b}=\mathbf{A}^{t},\qquad \mathbf{C}^{b}=\mathbf{C}^{t}, \\ &\mathbf{U}^{b}_{m,1}=(U_{m-1,2},U_{m,2},U_{m+1,2},U_{m-1,1},U_{m,1},U_{m+1,1},U_{m-1,3},U_{m,3},U_{m+1,3}), \\ &\mathbf{G}^{b}_{m,1}= \biggl(g^{b}_{m,1}, \biggl(\frac{\partial^{2}{{g}^{b}}}{\partial{y^{2}}} \biggr)_{m,1}, \biggl( \frac{\partial^{4}{{g}^{b}}}{\partial{y^{4}}} \biggr)_{m,1},g^{b}_{m-1,1}+g^{b}_{m+1,1} \biggr), \end{aligned}$$

and

$$\begin{aligned} &\mathbf{A}^{r}\cdot \mathbf{U}^{r}_{N,n}= \mathbf{C}^{r}\cdot \mathbf{G}^{r}_{N,n},\quad n=2, \ldots,N-1, \end{aligned}$$
(23)

where

$$\begin{aligned} &\mathbf{A}^{r}=\mathbf{A}^{t},\qquad \mathbf{C}^{l}=\mathbf{C}^{t}, \\ &\mathbf{U}^{r}_{N,n}=(U_{N-1,n-1},U_{N-1,n},U_{N-1,n+1},U_{N,n-1},U_{N,n},U_{N,n+1},U_{N-2,n-1},U_{N-2,n},U_{N-2,n+1}), \\ &\mathbf{G}^{r}_{N,n}= \biggl(g^{r}_{N,n}, \biggl(\frac{\partial^{2}{{g}^{r}}}{\partial{y^{2}}} \biggr)_{N,n}, \biggl( \frac{\partial^{4}{{g}^{r}}}{\partial{y^{4}}} \biggr)_{N,n},g^{r}_{N,n-1}+g^{r}_{N,n+1} \biggr). \end{aligned}$$

For the sixth-order scheme at four vertices of the domain, we take the upper right vertex as an example for illustration. Using (4), (14), (15), (17), the right boundary condition \({\alpha}u+\frac{\partial{u}}{\partial{x}}=g^{r}\) at \((x_{N},y_{N})\), \((x_{N},y_{N-1})\), \((x_{N},y_{N-2})\) and the top boundary condition \({\alpha}u+\frac{\partial{u}}{\partial{y}}=g^{t}\) at \((x_{N},y_{N})\), \((x_{N-1},y_{N})\), \((x_{N-2},y_{N})\), we have

$$\begin{aligned} &u_{N,N+1}+u_{N+1,N} \\ &\quad =u_{N-1,N}+u_{N,N-1}+2h \biggl(1-\frac{k^{2}h^{2}}{6}+ \frac{k^{4}h^{4}}{120} \biggr) \biggl(\frac{\partial{u}}{\partial{x}}+\frac{\partial{u}}{\partial{y}} \biggr)_{N,N} \\ &\qquad {}-2k^{2}h{\alpha} \biggl(\frac{h^{2}}{6}- \frac{k^{2}h^{4}}{120} \biggr)u_{N,N}+\frac{h^{5}{\alpha}}{30} \biggl(\frac{\partial^{4}{u}}{\partial{x^{2}}\partial{y^{2}}} \biggr)_{N,N} \\ &\qquad {}+ \biggl(\frac{k^{2}h^{5}}{30}-\frac{h^{3}}{3} \biggr) \biggl( \frac{\partial^{2}{g^{t}}}{\partial{x^{2}}}+\frac{\partial^{2}{g^{r}}}{\partial{y^{2}}} \biggr)_{N,N}+ \frac{h^{5}}{60} \biggl(\frac{\partial^{4}{g^{t}}}{\partial{x^{4}}}+\frac{\partial^{4}{g^{r}}}{\partial{y^{4}}} \biggr)_{N,N}+\mathcal{O}\bigl(h^{6}\bigr), \end{aligned}$$
(24)
$$\begin{aligned} &u_{N-1,N+1}+u_{N+1,N-1} \\ &\quad =2u_{N-1,N-1}+2h \biggl(1-\frac{k^{2}h^{2}}{6}+\frac{k^{4}h^{4}}{120} \biggr) \biggl[ \biggl(\frac{\partial{u}}{\partial{x}} \biggr)_{N,N-1}+ \biggl( \frac{\partial{u}}{\partial{y}} \biggr)_{N-1,N} \biggr] \\ &\qquad {}+2h{\alpha} \biggl(\frac{h^{2}}{6}-\frac{k^{2}h^{4}}{120} \biggr) \biggl(1+ \frac{k^{2}h^{2}}{12} \biggr) \biggl[ \biggl(\frac{\partial^{2}{u}}{\partial{x^{2}}} \biggr)_{N-1,N}+ \biggl(\frac{\partial^{2}{u}}{\partial{y^{2}}} \biggr)_{N,N-1} \biggr] \\ &\qquad {}+\biggl[\frac{h^{3}{\alpha}}{6} \biggl(\frac{h^{2}}{6}- \frac{k^{2}h^{4}}{120} \biggr)+\frac{h^{5}{\alpha}}{60} \biggr] \biggl[ \biggl( \frac{\partial^{4}{u}}{\partial{x^{2}}\partial{y^{2}}} \biggr)_{N-1,N}+ \biggl(\frac{\partial^{4}{u}}{\partial{x^{2}}\partial{y^{2}}} \biggr)_{N,N-1} \biggr] \\ & \qquad {}+\biggl(\frac{k^{2}h^{5}}{30}-\frac{h^{3}}{3} \biggr) \biggl[ \biggl( \frac{\partial^{2}{g^{t}}}{\partial{x^{2}}} \biggr)_{N-1,N}+ \biggl(\frac{\partial^{2}{g^{r}}}{\partial{y^{2}}} \biggr)_{N,N-1} \biggr] \\ &\qquad {}+\frac{h^{5}}{60} \biggl[ \biggl( \frac{\partial^{4}{g^{t}}}{\partial{x^{4}}} \biggr)_{N-1,N}+ \biggl(\frac{\partial^{4}{g^{r}}}{\partial{y^{4}}} \biggr)_{N,N-1} \biggr]+\mathcal{O}\bigl(h^{6}\bigr), \end{aligned}$$
(25)
$$\begin{aligned} &u_{N-2,N+1}+u_{N+1,N-2} \\ &\quad =u_{N-2,N-1}+u_{N-1,N-2}+2h \biggl(1-\frac{k^{2}h^{2}}{6}+ \frac{k^{4}h^{4}}{120} \biggr) \biggl[ \biggl(\frac{\partial{u}}{\partial{x}} \biggr)_{N,N-2}+ \biggl(\frac{\partial{u}}{\partial{y}} \biggr)_{N-2,N} \biggr] \\ &\qquad {}+2h{\alpha} \biggl(\frac{h^{2}}{6}-\frac{k^{2}h^{4}}{120} \biggr) \biggl(1+ \frac{k^{2}h^{2}}{12} \biggr) \biggl[ \biggl(\frac{\partial^{2}{u}}{\partial{x^{2}}} \biggr)_{N-2,N}+ \biggl(\frac{\partial^{2}{u}}{\partial{y^{2}}} \biggr)_{N,N-2} \biggr] \\ &\qquad {}+ \biggl[\frac{h^{3}{\alpha}}{6} \biggl(\frac{h^{2}}{6}- \frac{k^{2}h^{4}}{120} \biggr)+\frac{h^{5}{\alpha}}{60} \biggr] \biggl[ \biggl( \frac{\partial^{4}{u}}{\partial{x^{2}}\partial{y^{2}}} \biggr)_{N-2,N}+ \biggl(\frac{\partial^{4}{u}}{\partial{x^{2}}\partial{y^{2}}} \biggr)_{N,N-2} \biggr] \\ & \qquad {}+\biggl(\frac{k^{2}h^{5}}{30}-\frac{h^{3}}{3} \biggr) \biggl[ \biggl( \frac{\partial^{2}{g^{t}}}{\partial{x^{2}}} \biggr)_{N-2,N}+ \biggl(\frac{\partial^{2}{g^{r}}}{\partial{y^{2}}} \biggr)_{N,N-2} \biggr] \\ &\qquad {}+\frac{h^{5}}{60} \biggl[ \biggl( \frac{\partial^{4}{g^{t}}}{\partial{x^{4}}} \biggr)_{N-2,N}+ \biggl(\frac{\partial^{4}{g^{r}}}{\partial{y^{4}}} \biggr)_{N,N-2} \biggr]+\mathcal{O}\bigl(h^{6}\bigr). \end{aligned}$$
(26)

Setting both m in the top boundary scheme and n in the right boundary scheme to N, adding the resulting formula, using (24)–(26) and following the process in (20), we can get the scheme for the top right vertex as follows:

$$\begin{aligned} &\mathbf{A}^{tr}\cdot \mathbf{U}^{tr}_{N,N}= \mathbf{C}^{tr}\cdot \mathbf{G}^{tr}_{N,N}, \end{aligned}$$
(27)

where

$$\begin{aligned} &\mathbf{A}^{tr}=\bigl(A^{tr}_{1},A^{tr}_{2},A^{tr}_{3},A^{tr}_{4},A^{tr}_{5},A^{tr}_{6},A^{tr}_{7},A^{tr}_{8},A^{tr}_{9} \bigr), \\ &\mathbf{U}^{tr}_{N,N}=(U_{N-1,N-1},U_{N-1,N}+U_{N,N-1},U_{N,N},U_{N-2,N-2},U_{N-1,N-2}+U_{N-2,N-1},\\ &\hphantom{\mathbf{U}^{tr}_{N,N}=}{}U_{N-2,N}+U_{N,N-2}, U_{N-3,N-2}+U_{N-2,N-3},U_{N-3,N-1}+U_{N-1,N-3},U_{N-3,N}+U_{N,N-3} ), \\ &\mathbf{C}^{tr}= \bigl(C^{tr}_{1},C^{tr}_{2},C^{tr}_{3},C^{tr}_{4},C^{tr}_{5},C^{tr}_{6},C^{tr}_{7},C^{tr}_{8},C^{tr}_{9},C^{tr}_{10},C^{tr}_{11},C^{tr}_{12} \bigr), \\ &\mathbf{G}^{tr}_{N,N}= \biggl(g^{t}_{N,N}+g^{r}_{N,N},g^{t}_{N-1,N}+g^{r}_{N,N-1},g^{t}_{N-2,N}+g^{r}_{N,N-2},g^{t}_{N-3,N}+g^{r}_{N,N-3}, \\ &\hphantom{\mathbf{G}^{tr}_{N,N}=} \biggl(\frac{\partial^{2}{g^{t}}}{\partial{x^{2}}} \biggr)_{N-2,N}+ \biggl( \frac{\partial^{2}{g^{r}}}{\partial{y^{2}}} \biggr)_{N,N-2}, \biggl(\frac{\partial^{2}{g^{t}}}{\partial{x^{2}}} \biggr)_{N-1,N}+ \biggl(\frac{\partial^{2}{g^{r}}}{\partial{y^{2}}} \biggr)_{N,N-1}, \\ &\hphantom{\mathbf{G}^{tr}_{N,N}=} \biggl(\frac{\partial^{2}{g^{t}}}{\partial{x^{2}}}+\frac{\partial^{2}{g^{r}}}{\partial{y^{2}}} \biggr)_{N,N}, \biggl(\frac{\partial^{4}{g^{t}}}{\partial{x^{4}}} \biggr)_{N-2,N}+ \biggl( \frac{\partial^{4}{g^{r}}}{\partial{y^{4}}} \biggr)_{N,N-2}, \\ &\hphantom{\mathbf{G}^{tr}_{N,N}=} \biggl(\frac{\partial^{4}{g^{t}}}{\partial{x^{4}}} \biggr)_{N-1,N}+ \biggl(\frac{\partial^{4}{g^{r}}}{\partial{y^{4}}} \biggr)_{N,N-1}, \biggl(\frac{\partial^{4}{g^{t}}}{\partial{x^{4}}}+\frac{\partial^{4}{g^{r}}}{\partial{y^{4}}} \biggr)_{N,N}, \\ &\hphantom{\mathbf{G}^{tr}_{N,N}=} \biggl(\frac{\partial{g^{t}}}{\partial{x}}+\frac{\partial{g^{r}}}{\partial{y}} \biggr)_{N,N},g^{t}_{N+1,N}+g^{r}_{N,N+1} \biggr), \\ &A^{tr}_{1}= \biggl(4-\frac{16}{h^{4}}s \biggr)A^{t}_{1}+\frac{8h{\alpha}}{15}A^{t}_{4}- \frac{4s\tilde{B}}{h^{8}}, \\ &A^{tr}_{2}= \biggl[-2hp{\alpha}-\frac{4{\alpha}}{h} \biggl(\frac{h^{2}}{6}-\frac{k^{2}h^{4}}{120} \biggr) \biggl(1+ \frac{k^{2}h^{2}}{12} \biggr)+\frac{s}{2h^{4}} (22+12h{\alpha} ) \biggr]A^{t}_{1}+A^{t}_{2} \\ &\hphantom{A^{tr}_{2}= }{}+ \biggl[2-\frac{h{\alpha}}{120} (56+48h{\alpha} ) \biggr]A^{t}_{4}- \frac{\tilde{B}}{2h^{4}} \biggl[\frac{2{\alpha}}{h} \biggl(\frac{h^{2}}{6}- \frac{k^{2}h^{4}}{120} \biggr) \biggl(1+\frac{k^{2}h^{2}}{12} \biggr)\\ &\hphantom{A^{tr}_{2}= }{}- \frac{s}{2h^{4}} (7+6h{\alpha} ) \biggr], \\ &A^{tr}_{3}= \biggl[\frac{4{\alpha}}{h} \biggl( \frac{h^{2}}{6}-\frac{k^{2}h^{4}}{120} \biggr) \biggl(1+\frac{k^{2}h^{2}}{12} \biggr)-\frac{s}{2h^{4}} (14+12h{\alpha} ) \biggr]A^{t}_{1} \\ &\hphantom{A^{tr}_{3}=} {}+\biggl[-4hp{\alpha}-2k^{2}h{\alpha} \biggl( \frac{h^{2}}{6}-\frac{k^{2}h^{4}}{120} \biggr)+\frac{h{\alpha}}{120} \bigl(49+84h{\alpha}+36h^{2}{\alpha}^{2} \bigr) \biggr]A^{t}_{4}+2A^{t}_{5}, \\ &A^{tr}_{4}=-\frac{sA^{t}_{1}}{h^{4}}+ \frac{h{\alpha}A^{t}_{4}}{120}-\frac{\tilde{B}s}{h^{8}},\qquad A^{tr}_{5}= \frac{5sA^{t}_{1}}{h^{4}}-\frac{h{\alpha}A^{t}_{4}}{15}-\frac{\tilde{B}}{2h^{4}} \biggl(1- \frac{17s}{2h^{4}} \biggr), \\ &A^{tr}_{6}= \biggl[\frac{2{\alpha}}{h} \biggl( \frac{h^{2}}{6}-\frac{k^{2}h^{4}}{120} \biggr) \biggl(1+\frac{k^{2}h^{2}}{12} \biggr)-\frac{s}{2h^{4}} (8+6h{\alpha} ) \biggr]A^{t}_{1}+ \frac{h{\alpha}A^{t}_{4}}{120} (7+6h{\alpha} ) \\ &\hphantom{A^{tr}_{6}=}{}-\frac{{\tilde{B}}}{2h^{4}} \biggl[-2hp{\alpha}-\frac{4{\alpha}}{h} \biggl( \frac{h^{2}}{6}-\frac{k^{2}h^{4}}{120} \biggr) \biggl(1+\frac{k^{2}h^{2}}{12} \biggr)+\frac{s}{2h^{4}} (14+12h{\alpha} ) \biggr]+\frac{\tilde{B}}{h^{4}}, \\ &A^{tr}_{7}=\frac{\tilde{B}s}{4h^{8}},\qquad A^{tr}_{8}=- \frac{2\tilde{B}s}{h^{8}},\\ &A^{tr}_{9}=-\frac{\tilde{B}}{2h^{4}} \biggl[\frac{2{\alpha}}{h} \biggl(\frac{h^{2}}{6}-\frac{k^{2}h^{4}}{120} \biggr) \biggl(1+\frac{k^{2}h^{2}}{12} \biggr)-\frac{s}{2h^{4}} (7+6h{\alpha} ) \biggr], \\ &C^{tr}_{1}=-\frac{3sA^{t}_{1}}{h^{3}}- \biggl[2hp- \frac{h{\alpha}}{120} \bigl(42h+18h^{2}{\alpha} \bigr) \biggr]A^{t}_{4}-2hp (A_{2}+B )+ \frac{6{\tilde{B}}}{h^{3}}, \\ &C^{tr}_{2}= \biggl(-2hp+\frac{6s}{h^{3}} \biggr)A^{t}_{1}-\frac{2h^{2}{\alpha}}{5}A^{t}_{4}+ \frac{3\tilde{B}s}{2h^{7}}-\frac{3\tilde{B}}{h^{3}}, \\ &C^{tr}_{3}=-\frac{3sA^{t}_{1}}{h^{3}}+\frac{h^{2}{\alpha}A^{t}_{4}}{20}+ \frac{\tilde{B}}{2h^{4}} \biggl(2hp-\frac{6s}{h^{3}} \biggr),\qquad C^{tr}_{4}= \frac{3\tilde{B}s}{2h^{7}}, \\ &C^{tr}_{5}=\frac{\tilde{B}}{2h^{4}} \biggl(- \frac{h^{3}}{3}+\frac{k^{2}h^{5}}{30} \biggr),\qquad C^{tr}_{6}= \biggl(\frac{h^{3}}{3}-\frac{k^{2}h^{5}}{30} \biggr)A^{t}_{1}, \\ &C^{tr}_{7}= \biggl(\frac{h^{3}}{3}- \frac{k^{2}h^{5}}{30} \biggr)A^{t}_{4}+2hB \biggl( \frac{h^{2}}{6}-\frac{k^{2}h^{4}}{120} \biggr)+k^{2} \biggl( \frac{h^{5}A_{2}}{90}-\frac{h^{5}B}{60} \biggr),\\ & C^{tr}_{8}= \frac{h\tilde{B}}{120}, \qquad C^{tr}_{9}=-\frac{h^{5}A^{t}_{1}}{60},\qquad C^{tr}_{10}=- \frac{h^{5}A^{t}_{4}}{60}+\frac{h^{5}A_{2}}{90}-\frac{h^{5}B}{60},\\ & C^{tr}_{11}=- \frac{3h^{3}{\alpha}A^{t}_{4}}{20},\qquad C^{tr}_{12}=-\frac{3\tilde{B}}{h^{3}}, \\ &s=\frac{h^{3}{\alpha}}{6} \biggl(\frac{h^{2}}{6}-\frac{k^{2}h^{4}}{120} \biggr)+\frac{h^{5}{\alpha}}{60},\qquad p=1-\frac{k^{2}h^{2}}{6}+\frac{k^{4}h^{4}}{120}, \end{aligned}$$

and \(g^{t}_{N+1,N},g^{r}_{N,N+1}\) only need to Taylor expand at \((x_{N},y_{N})\).

Similarly, we can derive the sixth-order scheme for the other vertices by the symmetry. Setting both m in the top boundary scheme to 1 and n in the left boundary scheme to N, following the process in (27), we can get the scheme for the top left vertex as follows:

$$\begin{aligned} &\mathbf{A}^{tl}\cdot \mathbf{U}^{tl}_{1,N}= \mathbf{C}^{tl}\cdot \mathbf{G}^{tl}_{1,N}, \end{aligned}$$
(28)

where

$$\begin{aligned} &\mathbf{A}^{tl}=\mathbf{A}^{tr},\qquad \mathbf{C}^{tl}= \mathbf{C}^{tr}, \\ &\mathbf{U}^{tl}_{1,N}=(U_{2,N-1},U_{1,N-1}+U_{2,N},U_{1,N},U_{3,N-2},U_{2,N-2}+U_{3,N-1},U_{3,N}+U_{1,N-2}, \\ &\hphantom{\mathbf{U}^{tl}_{1,N}=}{}U_{4,N-2}+U_{3,N-3},U_{4,N-1}+U_{2,N-3},U_{4,N}+U_{1,N-3}), \\ &\mathbf{G}^{tl}_{1,N}= \biggl(g^{t}_{1,N}+g^{l}_{1,N},g^{t}_{2,N}+g^{l}_{1,N-1},g^{t}_{3,N}+g^{l}_{1,N-2},g^{t}_{4,N}+g^{l}_{1,N-3}, \\ &\hphantom{\mathbf{G}^{tl}_{1,N}=}{} \biggl(\frac{\partial^{2}{g^{t}}}{\partial{x^{2}}} \biggr)_{3,N}+ \biggl( \frac{\partial^{2}{g^{l}}}{\partial{y^{2}}} \biggr)_{1,N-2}, \biggl(\frac{\partial^{2}{g^{t}}}{\partial{x^{2}}} \biggr)_{2,N}+ \biggl(\frac{\partial^{2}{g^{l}}}{\partial{y^{2}}} \biggr)_{1,N-1}, \biggl(\frac{\partial^{2}{g^{t}}}{\partial{x^{2}}}+\frac{\partial^{2}{g^{l}}}{\partial{y^{2}}} \biggr)_{1,N}, \\ &\hphantom{\mathbf{G}^{tl}_{1,N}=}{}\biggl(\frac{\partial^{4}{g^{t}}}{\partial{x^{4}}} \biggr)_{3,N}+ \biggl( \frac{\partial^{4}{g^{l}}}{\partial{y^{4}}} \biggr)_{1,N-2}, \biggl(\frac{\partial^{4}{g^{t}}}{\partial{x^{4}}} \biggr)_{2,N}+ \biggl(\frac{\partial^{4}{g^{l}}}{\partial{y^{4}}} \biggr)_{1,N-1}, \biggl(\frac{\partial^{4}{g^{t}}}{\partial{x^{4}}}+\frac{\partial^{4}{g^{l}}}{\partial{y^{4}}} \biggr)_{1,N}, \\ &\hphantom{\mathbf{G}^{tl}_{1,N}=}{} \biggl(-\frac{\partial{g^{t}}}{\partial{x}}+\frac{\partial{g^{l}}}{\partial{y}} \biggr)_{1,N},g^{t}_{0,N}+g^{l}_{1,N+1} \biggr), \end{aligned}$$

and \(g^{t}_{0,N},g^{l}_{1,N+1}\) only need to Taylor expand at \((x_{1},y_{N})\).

Setting both m in the bottom boundary scheme to 1 and n in the left boundary scheme to 1, following the process in (27), we can get the scheme for the bottom left vertex as follows:

$$\begin{aligned} &\mathbf{A}^{bl}\cdot \mathbf{U}^{bl}_{1,1}= \mathbf{C}^{bl}\cdot \mathbf{G}^{bl}_{1,1}, \end{aligned}$$
(29)

where

$$\begin{aligned} &\mathbf{A}^{bl}=\mathbf{A}^{tr},\qquad \mathbf{C}^{bl}= \mathbf{C}^{tr}, \\ &\mathbf{U}^{bl}_{1,1}=(U_{2,2},U_{1,2}+U_{2,1},U_{1,1},U_{3,3},U_{2,3}+U_{3,2},U_{3,1}+U_{1,3}, \\ &\hphantom{\mathbf{U}^{bl}_{1,1}=}{}U_{4,3}+U_{3,4},U_{4,2}+U_{2,4},U_{4,1}+U_{1,4}), \\ &\mathbf{G}^{bl}_{1,1}= \biggl(g^{b}_{1,1}+g^{l}_{1,1},g^{b}_{2,1}+g^{l}_{1,2},g^{b}_{3,1}+g^{l}_{1,3},g^{b}_{4,1}+g^{l}_{1,4}, \\ &\hphantom{\mathbf{G}^{bl}_{1,1}= }{} \biggl(\frac{\partial^{2}{g^{b}}}{\partial{x^{2}}} \biggr)_{3,1}+ \biggl( \frac{\partial^{2}{g^{l}}}{\partial{y^{2}}} \biggr)_{1,3}, \biggl(\frac{\partial^{2}{g^{b}}}{\partial{x^{2}}} \biggr)_{2,1}+ \biggl(\frac{\partial^{2}{g^{l}}}{\partial{y^{2}}} \biggr)_{1,2}, \biggl(\frac{\partial^{2}{g^{b}}}{\partial{x^{2}}}+\frac{\partial^{2}{g^{l}}}{\partial{y^{2}}} \biggr)_{1,1}, \\ &\hphantom{\mathbf{G}^{bl}_{1,1}= }{} \biggl(\frac{\partial^{4}{g^{b}}}{\partial{x^{4}}} \biggr)_{3,1}+ \biggl( \frac{\partial^{4}{g^{l}}}{\partial{y^{4}}} \biggr)_{1,3}, \biggl(\frac{\partial^{4}{g^{b}}}{\partial{x^{4}}} \biggr)_{2,1}+ \biggl(\frac{\partial^{4}{g^{l}}}{\partial{y^{4}}} \biggr)_{1,2}, \biggl(\frac{\partial^{4}{g^{b}}}{\partial{x^{4}}}+\frac{\partial^{4}{g^{l}}}{\partial{y^{4}}} \biggr)_{1,1}, \\ &\hphantom{\mathbf{G}^{bl}_{1,1}= }{}\biggl(-\frac{\partial{g^{b}}}{\partial{x}}-\frac{\partial{g^{l}}}{\partial{y}} \biggr)_{1,1},g^{b}_{0,1}+g^{l}_{1,0} \biggr), \end{aligned}$$

and \(g^{b}_{0,1},g^{l}_{1,0}\) only need to be Taylor expanded at \((x_{1},y_{1})\).

Setting both m in the bottom boundary scheme to N and n in the left boundary scheme to 1, following the process in (27), we can get the scheme for the bottom left vertex as follows:

$$\begin{aligned} &\mathbf{A}^{br}\cdot \mathbf{U}^{br}_{N,1}= \mathbf{C}^{br}\cdot \mathbf{G}^{bl}_{N,1}, \end{aligned}$$
(30)

where

$$\begin{aligned} &\mathbf{A}^{br}=\mathbf{A}^{tr},\qquad \mathbf{C}^{br}= \mathbf{C}^{tr}, \\ &\mathbf{U}^{br}_{N,1}=(U_{N-1,2},U_{N,2}+U_{N-1,1},U_{N,1},U_{N-2,3},U_{N-1,3}+U_{N-2,2},U_{N-2,1}+U_{N,3}, \\ &\hphantom{\mathbf{U}^{br}_{N,1}=}U_{N-3,3}+U_{N-2,4},U_{N-3,2}+U_{N-1,4},U_{N-3,1}+U_{N,4} ), \\ &\mathbf{G}^{br}_{N,1}= \biggl(g^{b}_{N,1}+g^{r}_{N,1},g^{b}_{N-1,1}+g^{r}_{N,2},g^{b}_{N-2,1}+g^{r}_{N,3},g^{b}_{N-3,1}+g^{r}_{N,4}, \\ &\hphantom{\mathbf{G}^{br}_{N,1}= }\biggl(\frac{\partial^{2}{g^{b}}}{\partial{x^{2}}} \biggr)_{N-2,1}+ \biggl( \frac{\partial^{2}{g^{r}}}{\partial{y^{2}}} \biggr)_{N,3}, \biggl(\frac{\partial^{2}{g^{b}}}{\partial{x^{2}}} \biggr)_{N-1,1}+ \biggl(\frac{\partial^{2}{g^{r}}}{\partial{y^{2}}} \biggr)_{N,2}, \biggl(\frac{\partial^{2}{g^{b}}}{\partial{x^{2}}}+\frac{\partial^{2}{g^{r}}}{\partial{y^{2}}} \biggr)_{N,1}, \\ &\hphantom{\mathbf{G}^{br}_{N,1}= }\biggl(\frac{\partial^{4}{g^{b}}}{\partial{x^{4}}} \biggr)_{N-2,1}+ \biggl( \frac{\partial^{4}{g^{r}}}{\partial{y^{4}}} \biggr)_{N,3}, \biggl(\frac{\partial^{4}{g^{b}}}{\partial{x^{4}}} \biggr)_{N-1,1}+ \biggl(\frac{\partial^{4}{g^{r}}}{\partial{y^{4}}} \biggr)_{N,2}, \biggl(\frac{\partial^{4}{g^{b}}}{\partial{x^{4}}}+\frac{\partial^{4}{g^{r}}}{\partial{y^{4}}} \biggr)_{N,1}, \\ &\hphantom{\mathbf{G}^{br}_{N,1}= }\biggl(\frac{\partial{g^{b}}}{\partial{x}}-\frac{\partial{g^{r}}}{\partial{y}} \biggr)_{N,1},g^{b}_{N+1,1}+g^{r}_{N,0} \biggr), \end{aligned}$$

and \(g^{b}_{N+1,1}\), \(g^{r}_{N,0}\) only need to be Taylor expanded at \((x_{N},y_{1})\).

3 Numerical results

In this section, we present some numerical experiments to verify the correctness and robustness of the scheme derived above. In all our results, the errors are measured in \(l^{\infty}\)-norm.

Setting \({\alpha}=ik\) in (4) and the exact solution \(u ( x,y ) = {e^{i ( {{k_{1}}x + {k_{2}}y} )}}\), the function \(g(x,y)\) on the boundary can be easily determined by (5) as follows:

$$\begin{aligned} &g(x,y)= \textstyle\begin{cases} i (k-k_{2} ){e^{i{k_{1}}x}}, &\text{$(x,y) \in \varGamma^{b}$},\\ i ({k+{k_{1}}} ){e^{i ( {{k_{1}} + {k_{2}}y} )}}, &\text{$(x,y) \in {\varGamma ^{r}}$},\\ i ({k+{k_{2}}} ){e^{i ( {{k_{1}}x + {k_{2}}} )}}, &\text{$(x,y) \in {\varGamma ^{t}}$},\\ i ( {k - {k_{1}}} ){e^{i{k_{2}}y}}, &\text{$(x,y) \in {\varGamma ^{l}}$}, \end{cases}\displaystyle \end{aligned}$$
(31)

where \(k_{1}=k\cos\theta\) and \(k_{2}=k\sin\theta\) are the wave numbers in the x and y directions, respectively, and θ is the propagation direction. Firstly, taking the sixth-order scheme EB (scheme (111) in [3]) on the domain for example, combining with the sixth-order scheme derived above for the inhomogeneous Robin boundary condition, we show the convergence order in Fig. 1, which is consistent with the theoretical prediction. Next, to illustrate the correctness and robustness of the high-order scheme derived above, we compare it with some well-known ones in the literature. Let \(k=10\), \(\theta=\frac{\pi}{4}\), \(N=20,40,80,160\), respectively, we show the error in Tables 1–3, which is good agreement with the theoretical precondition. Here, we use SFD as a standard for the standard second-order scheme (5) in [10], 5PT as a standard for the classical 5-point finite difference scheme (102) in [3], RD5 as a standard for the second-order reduced dispersion 5-point scheme (108) in [3], GFEM as a standard for the Galerkin finite element method (99) in [3], GLSFEM as a standard for the stabilized finite element method (105) in [3], ACFS and CFS as a standard for two compact fourth-order finite difference schemes (2.5) and (2.10) in [4], EB\(m~(m=4,6)\) as a standard for the schemes (10) and (14) in [10], HO as a standard for the high-order scheme (24) in [1], QSFEM as a standard for the quasi-stabilized finite element method in Sect. 4.3.2 of [3], FLAME as a standard for the flexible approximation scheme in Sect. 4.3.3 of [3], and QOFD as a standard for the quasi-optimal finite difference scheme in Sect. 4.3.4 of [3], and TmQOFD and QOFDTm \((m=2,4,6)\) as a standard for alternative schemes in Sect. 4.4 of [3].

Figure 1
figure 1

Convergence orders

Table 1 Errors of different second-order schemes \((k=10)\)
Table 2 Errors of different fourth-order schemes \((k=10)\)
Table 3 Errors of different sixth-order schemes \((k=10)\)

Then we use the SFD scheme in [10] in the second-order scheme, the CFS scheme in [4] in the fourth-order scheme, the EB scheme in [10] in the sixth-order scheme and the parameter scheme in [9]. Setting \(\theta=\frac{\pi}{4}\), and \(k=100,200,500\) and \(N=100,200,400,800\), respectively, we show the error generated by different schemes in Tables 4–6. And letting \(kh=0.6\), we collect the relationship between the relative error and the wave number k in Fig. 2. As is well known, the relative error increases as the wave number increases. But compared with the second- and fourth-order schemes and the parameter one, the sixth-order method investigated here can achieve the best computational accuracy in all tested cases.

Figure 2
figure 2

Development of the relative error with respect to k

Table 4 Errors of different schemes \((k=100)\)
Table 5 Errors of different schemes \((k=200)\)
Table 6 Errors of different schemes \((k=500)\)

Finally, we consider a practical model which is reduced from the large cavity electromagnetic scattering and has been investigated in [6, 34,35,36]. In this problem, \(\varOmega:= ({0,1} )\times ({0,\frac{1}{4}} )\), \(\varGamma_{\varOmega}=\varGamma^{b}\cup\varGamma^{r}\cup\varGamma^{t}\cup\varGamma^{l}\) with \({\varGamma^{b}}:= [{0,1} ]\times\{0\}\), \({\varGamma^{r}}: = \{1\} \times [ {0,\frac{1}{4}} ]\), \({\varGamma^{t}}: = [ {1,0} ] \times \{\frac{1}{4}\}\), \({\varGamma^{l}}: = \{0\}\times [ {\frac{1}{4},0} ]\), \(f=0\), \(u=0\) on \(\varGamma^{b}\cup\varGamma^{r}\cup\varGamma^{l}\), \(\frac{\partial{u}}{\partial{y}}+iku=g^{t}\) on \(\varGamma^{t}\), which is the lowest-order approximation of the radiation boundary condition (see [6, 18]). Setting \(g^{t}=-2ik\cos{\theta}e^{ik\sin{\theta}x}\) and \(\theta=\frac{\pi}{4}\) (see [6, 36]), we show that the real part, the image part and magnitude of the solution with \(k=128{\pi},N=512\) in Figs. 3–4, which is consistent with that illustrated in [6, 36]. The results confirm the correctness of the scheme deduced above again.

Figure 3
figure 3

Real and image parts of the solution at the line \(y=1/4\) with \(k=128{\pi}\), \(N=512\)

Figure 4
figure 4

Real part (left) and magnitude (right) of the solution with \(k=128{\pi}\), \(N=512\)

4 Conclusions

In this work, we derived a class of sixth-order finite difference scheme with inhomogeneous Robin boundary condition for solving the Helmholtz equation. We show some numerical examples to illustrate the efficiency and the correctness of the scheme. In all tests, compared with the second-order, fourth-order and parameter schemes, the sixth-order scheme has higher accuracy.

References

  1. Singer, I., Turkel, E.: High-order finite difference methods for the Helmholtz equation. Comput. Methods Appl. Mech. Eng. 163, 343–358 (1998)

    Article  MathSciNet  Google Scholar 

  2. Nabavi, M., Siddiqui, M.H.K., Dargahi, J.: A new 9-point sixth-order accurate compact finite-difference method for the Helmholtz equation. J. Sound Vib. 307, 972–982 (2007)

    Article  Google Scholar 

  3. Fernandes, D.T., Loula, A.F.D.: Quasi optimal finite difference method for Helmholtz problem on unstructured grids. Int. J. Numer. Methods Eng. 82, 1244–1281 (2010)

    MathSciNet  MATH  Google Scholar 

  4. Fu, Y.: Compact fourth-order finite difference schemes for Helmholtz equation with high wave numbers. J. Comput. Math. 26, 98–111 (2008)

    MathSciNet  MATH  Google Scholar 

  5. Wang, K., Wong, Y.S., Deng, J.: Efficient and accurate numerical solutions for Helmholtz equation in polar and spherical coordinates. Commun. Comput. Phys. 17, 779–807 (2015)

    Article  MathSciNet  Google Scholar 

  6. Wang, K., Wong, Y.S.: Is pollution effect of finite difference schemes avoidable for multi-dimensional Helmholtz equations with high wave numbers? Commun. Comput. Phys. 21, 490–514 (2017)

    Article  MathSciNet  Google Scholar 

  7. Wang, K., Zhang, Y., Guo, R.: Finite difference methods for the Helmholtz equation: a brief view. Math. Numer. Sin. 40, 171–190 (2018)

    MathSciNet  MATH  Google Scholar 

  8. Britt, S., Tsynkov, S., Turkel, E.: A compact fourth order scheme for the Helmholtz equation in polar coordinates. J. Sci. Comput. 45, 26–47 (2010)

    Article  MathSciNet  Google Scholar 

  9. Chen, Z., Cheng, D., Feng, W., Wu, T.: An optimal 9-point finite difference scheme for the Helmholtz equation with PML. Int. J. Numer. Anal. Model. 10, 389–410 (2013)

    MathSciNet  MATH  Google Scholar 

  10. Singer, I., Turkel, E.: Sixth-order accurate finite difference schemes for the Helmholtz equation. J. Comput. Acoust. 14, 339–351 (2006)

    Article  MathSciNet  Google Scholar 

  11. Guo, R., Wang, K., Xu, L.: Efficient finite difference methods for acoustic scattering from circular cylindrical obstacle. Int. J. Numer. Anal. Model. 13, 986–1002 (2016)

    MathSciNet  MATH  Google Scholar 

  12. Turkel, E., Gordon, D., Gordon, R., Tsynkov, S.: Compact 2D and 3D sixth order schemes for the Helmholtz equation with variable wave number. J. Comput. Phys. 232, 272–287 (2013)

    Article  MathSciNet  Google Scholar 

  13. Wu, T., Xu, R.: An optimal compact sixth-order finite difference scheme for the Helmholtz equation. Comput. Math. Appl. 75, 2520–2537 (2018)

    Article  MathSciNet  Google Scholar 

  14. Sutmann, G.: Compact finite difference schemes of sixth order for the Helmholtz equation. J. Comput. Appl. Math. 203, 15–31 (2007)

    Article  MathSciNet  Google Scholar 

  15. Tsukerman, I.: A class of difference schemes with flexible local approximation. J. Comput. Phys. 211, 669–699 (2006)

    Article  MathSciNet  Google Scholar 

  16. Wang, K., Wong, Y.S., Huang, J.: Analysis of pollution-free approaches for multi-dimensional Helmholtz equations. Int. J. Numer. Anal. Model. 16, 412–435 (2019)

    MathSciNet  Google Scholar 

  17. Chen, W., Liu, Y., Xu, X.: A robust domain decomposition method for the Helmholtz equation with high wave number. Modél. Math. Anal. Numér. 50, 921–944 (2016)

    Article  MathSciNet  Google Scholar 

  18. Ihlenburg, F.: Finite Element Analysis of Acoustic Scattering. Springer, New York (1998)

    Book  Google Scholar 

  19. Zhang, Q., Babuska, I., Banerjee, U.: Robustness in Stable Generalized Finite Element Methods (SGFEM) applied to Poisson problems with crack singularities. Comput. Methods Appl. Mech. Eng. 311, 476–502 (2016)

    Article  MathSciNet  Google Scholar 

  20. Babuska, I., Sauter, S.A.: Is the pollution effect of the FEM avoidable for the Helmholtz equation considering high wave numbers? SIAM J. Numer. Anal. 34, 2392–2423 (1997)

    Article  MathSciNet  Google Scholar 

  21. Chen, H., Wu, H., Xu, X.: Multilevel preconditioner with stable coarse grid corrections for the Helmholtz equation. J. Sci. Comput. 37, 221–244 (2015)

    MathSciNet  MATH  Google Scholar 

  22. Feng, X., Wu, H.: hp-discontinuous Galerkin methods for the Helmholtz equation with large wave number. Math. Comput. 80, 1997–2024 (2011)

    Article  MathSciNet  Google Scholar 

  23. Babuska, I., Ihlenburg, F., Paik, E.T., Sauter, S.A.: A generalized finite element method for solving the Helmholtz equation in two dimensions with minimal pollution. Comput. Methods Appl. Mech. Eng. 128, 325–359 (1995)

    Article  MathSciNet  Google Scholar 

  24. Thompson, L.L., Pinsky, P.M.: A Galerkin least-squares finite element method for the two-dimensional Helmholtz equation. Int. J. Numer. Methods Eng. 38, 371–397 (1995)

    Article  MathSciNet  Google Scholar 

  25. Wang, J., Zhang, Z.: A hybridizable weak Galerkin method for the Helmholtz equation with large wave number: hp analysis. Int. J. Numer. Anal. Model. 14, 744–761 (2017)

    MathSciNet  MATH  Google Scholar 

  26. Ma, J., Zhu, J., Li, M.: The Galerkin boundary element method for exterior problems of 2-d Helmholtz equation with arbitrary wavenumber. Eng. Anal. Bound. Elem. 34, 1058–1063 (2010)

    Article  MathSciNet  Google Scholar 

  27. Hsiao, G., Xu, L.: A system of boundary integral equations for the transmission problem in acoustics. Appl. Numer. Math. 61, 1017–1029 (2011)

    Article  MathSciNet  Google Scholar 

  28. Hsiao, G., Nigam, N., Pasciak, J.E., Xu, L., Yin, T.: Error analysis of the DtN-FEM for the scattering problem in acoustics via Fourier analysis. J. Comput. Appl. Math. 235, 4949–4965 (2011)

    Article  MathSciNet  Google Scholar 

  29. Li, H., Ma, Y.: Mechanical quadrature method and splitting extrapolation for solving Dirichlet boundary integral equation of Helmholtz on polygons. J. Appl. Math. 2014, Article ID 812505 (2014)

    MathSciNet  Google Scholar 

  30. Cheng, P., Huang, J., Wang, Z.: Mechanical quadrature methods and extrapolation for solving nonlinear boundary Helmholtz integral equation. Appl. Math. Mech. 32, 1505–1514 (2011)

    Article  MathSciNet  Google Scholar 

  31. Ying, L.: Directional preconditioner for 2D high frequency obstacle scattering. Multiscale Model. Simul. 13, 829–846 (2015)

    Article  MathSciNet  Google Scholar 

  32. Chen, D., Huang, T., Li, L.: Comparison of algebraic multigrid preconditioners for solving Helmholtz equations. J. Appl. Math. 2012, Article ID 367909 (2012)

    MathSciNet  MATH  Google Scholar 

  33. Huang, Z., Huang, T.: A constraint preconditioner for solving symmetric positive definite systems and application to the Helmholtz equations and Poisson equations. Math. Model. Anal. 15, 299–311 (2010)

    Article  MathSciNet  Google Scholar 

  34. Bao, G., Sun, W.: A fast algorithm for the electromagnetic scattering from a large cavity. SIAM J. Sci. Comput. 27, 553–574 (2005)

    Article  MathSciNet  Google Scholar 

  35. Du, K., Li, B., Sun, W.: A numerical study on the stability of a class of Helmholtz problems. J. Comput. Phys. 287, 46–59 (2015)

    Article  MathSciNet  Google Scholar 

  36. Zhao, M., Qiao, Z., Tang, T.: A fast high order method for electromagnetic scattering by large open cavities. J. Comput. Math. 29, 287–304 (2011)

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgements

The authors would like to thank the editor and reviewer for their valuable comments and suggestions.

Availability of data and materials

The datasets used or analyzed during the current study are available from the corresponding author on request.

Funding

This work is supported by the Natural Science Foundation of China (No. 91630205), Chongqing Research Program of Basic Research and Frontier Technology (No. cstc2017jcyjAX 0231), Project No. 2019CDXYST0016 supported by the Fundamental Research Funds for the Central Universities, Project No. 201805032 supported by Chongqing University Graduate Key Courses, Shihezi university high-level personnel launch scientific research projects (RCSX 201733).

Author information

Authors and Affiliations

Authors

Contributions

YZ derived the scheme and implements the numerical examples; KW proposed the problem and supervised the deduction of the scheme and simulation of the numerical examples; RG suggested some details. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Kun Wang.

Ethics declarations

Competing interests

The authors declare that no competing interests exist.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Zhang, Y., Wang, K. & Guo, R. Sixth-order finite difference scheme for the Helmholtz equation with inhomogeneous Robin boundary condition. Adv Differ Equ 2019, 362 (2019). https://doi.org/10.1186/s13662-019-2304-0

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s13662-019-2304-0

Keywords