Open-access Complete centered finite difference method for Helmholtz equation

Abstract

A new approach in the finite difference framework is developed, which consists of three steps: choosing the dimension of the local approximation subspace, constructing a vector basis for this subspace, and determining the coefficients of the linear combination. New schemes were developed to form the basis of the local approximation subspace, which were derived by approximating only the k2u term of the Helmholtz equation. The construction of a basis of the local approximation subspace allows the new approach to be able to represent any finite difference scheme that belongs to this subspace. The new method is both consistent and capable of minimizing the dispersion relation for all stencils in all dimensions. In the one-dimensional case and 3-point stencil, pollution error is eliminated. In the two-dimensional (2D) case and 5-point stencil, the Complete Centered Finite Difference Method presents a dispersion relation equivalent to Galerkin/Least-Squares Finite Element Method. In the 2D case and 9-point stencil, two versions were developed using two different bases for the local approximation space. Both versions are equivalent and exhibit a dispersion relation similar to Quasi Stabilized Finite Element Method. Additionally, the dispersion analysis revealed a connection between the coefficients of the linear system and the stencil symmetry.

Key words
dispersion analysis; finite difference method; Helmholtz equation; local truncation error; stabilization

INTRODUCTION

The Helmholtz equation has great applicability in physics and engineering because it describes the time-harmonic acoustic, elastic and electromagnetic waves. Stable and accurate numerical solutions using the finite difference method (FDM) and finite element method (FEM) have been a major challenge to date as reported in a vast literature (Harari & Hughes 1991, Ihlenburg & Babuška 1995a, Singer & Turkel 1998, Alvarez et al. 2006). It is well known that, when the wavenumber of the exact solution k increases, the numerical solutions lose stability and accuracy, even if the ‘rule of thumb’ (Harari & Hughes 1991, Ihlenburg & Babuška 1995a) is satisfied. This heuristic rule prescribes a relationship between k and the mesh parameter h necessary for the numerical solution to adequately approximate a wavelength kh=2π#p, where a reasonable intuitive choice for the number of nodes per wavelength is 7#p10. However, this rule does not guarantee stability and accuracy for medium and high k values (Ihlenburg & Babuška 1995b, Singer & Turkel 1998, Ihlenburg 1998, Alvarez et al. 2006). In these cases the wavenumber of the numerical solution kh can be very different from k. This misbehavior, known as pollution of the finite element solution or pollution effect (Ihlenburg & Babuška 1995a, Babuška et al. 1995, Babuška & Sauter 1997), is also present in numerical solutions using FDM.

In the 1990s, FEM emerged that eliminated the pollution effect in the one-dimensional (1D) case with pioneering work conducted by Professor Thomas J.R. Hughes (Harari & Hughes 1991, Harari & Hughes 1992). The Galerkin Least-Squares Finite Element Method (GLS) introduces a free parameter τ that can be chosen so that khk=0 (dispersion analysis) in the 1D case (Harari & Hughes 1992). However, when applied to the two-dimensional (2D) case, the GLS method presents a pollution effect similar to the classical Galerkin FEM (Thompson & Pinsky 1995). Currently, the idea is accepted that in 2D and three-dimensional (3D) cases, it is impossible to completely eliminate this pollution effect (Babuška & Sauter 1997). Therefore, the new challenge was to develop methods that minimize this pollution effect with the work led by Professor Ivo M. Babuška (Babuška et al. 1995). The Quasi Stabilized Finite Element Method (QSFEM), as presented in (Babuška et al. 1995), introduces modifications at the algebraic level, and no variational formulation is associated with this method. For that reason, there was no FEM derived from a variational formulation with a dispersion relation equivalent to QSFEM. Later, methods with a dispersion relationship equivalent to QSFEM will emerge (Alvarez et al. 2006, Loula et al. 2007, Rochinha et al. 2007, Carmo et al. 2008).

Within the framework of the FDM, some schemes that improve the quality of the numerical solution have been developed. For example, in Singer & Turkel 1998, fourth-order schemes are developed based on generalizations of Padé’s approximations. In Sutmann 2007, new compact finite difference schemes of sixth order are developed for the 3D case. In Nabavi et al. 2007, a new 9-point sixth-order accurate compact method is developed for the 1D and 2D cases. In Fernandes & Loula 2010, a quasi-optimal finite difference method on non-uniform and unstructured meshes is developed. In Wu (2017) a dispersion minimizing compact finite difference scheme of fourth order is developed for the 2D case. In Wu & Xu (2018), an optimal compact finite difference scheme of sixth order is developed for the 2D case. However, all of these schemes can be seen as isolated or incomplete attempts to improve the numerical solution. This is because none of these schemes consider a completely local approximation subspace.

In the present work, the local approximation subspace is considered in its entirety, since a basis of vector is constructed for this subspace. Thus, it is possible to develop a new formalism within the finite difference framework, which always generates the numerical solution with the dispersion relation with the lowest possible error. The new approach, called the Complete Centered Finite Difference Method, is consistent and presents the highest possible stability (Lax & Richtmyer 1956). That is, for the Helmholtz equation, the new method is convergent and exhibits the lowest possible pollution effect. In this first article, our analysis is performed for the Helmholtz scalar equation in an interior domain with Dirichlet boundary conditions, considering only the 1D and 2D cases on uniform meshes. This choice was made with the aim of presenting the new approach in a simple way. In future work, non-uniform meshes and the 3D case will be considered, in addition to Neumann boundary conditions.

The work is organized as follows. The Helmholtz equation and the classical centered scheme for the 1D and 2D cases are presented first. In next section, the new method for the 1D and 2D cases using different uniform stencils is developed, along with new centered schemes necessary to form the basis of the local approximation subspace. Some of the new schemes were developed by simply making new approximations of the term k2u in the Helmholtz equation. Later, the dispersion analysis of all presented schemes is carried out, along with the selection of free parameters for the new method. In next section, the local truncation error of all analyzed schemes is presented, demonstrating that all schemes are consistent. That is, as the mesh is refined, the numerical solution tends toward the exact solution. Later section presents some numerical experiments, which confirm the good performance of the new method and the theoretical analysis carried out. In the final section, some concluding remarks and suggestions for future work are presented.

Helmholtz equation and centered finite difference method

Consider the Helmholtz scalar equation in an interior domain and with Dirichlet boundary conditions.

Δu+k2u=f in Ω,(1)
u=g on Ω,(2)
where k is the wavenumber, Ω is the interior of the bounded domain with a Lipschitz boundary Ω, f is a source term, and u is a scalar field describing the time-harmonic acoustic waves.

In uniform meshes or grids and 3-point stencils, for the 1D case, the well-known second order centered finite difference scheme approximates the second derivative by

d2udx2Ui12Ui+Ui+1h2,(3)
where Ui1=U(xih), Ui=U(xi), Ui+1=U(xi+h) and h=Δx (LeVeque 2007). The second term of the Helmholtz equation is approximated as k2u(x)k2Ui. This results in the equation for the node i of the stencil
Ui12Ui+Ui+1h2+k2Ui=fi or 1h2(AUi1+BUi+AUi+1)=fi,(4)
where, A=1 and B=2+(kh)2. If the generating vector of the stencil equation is defined as G=1h2[A,B,A] and the unknown vector as U=[Ui1,Ui,Ui+1], then equation (4) for every interior point i can be seen as the inner product of these two vectors <G,U>=fi. In the particular case of the homogeneous Helmholtz equation (f=0), these vectors are orthogonal <G,U>=0. This mathematical formalism for representing a finite difference scheme will facilitate the development of the new method in the next section. It should be noted that the dimension of the vectors G and U coincides with the number of points L of the stencil considered.

Similarly, for the 2D case the second derivatives are approximated by

2ux2Ui1,j2Ui,j+Ui+1,jh2 and 2uy2Ui,j12Ui,j+Ui,j+1h2,(5)
and k2u(x,y)k2Ui,j, which results in the equation for the central node i,j (partial ordering or enumeration)
1h2(AUi1,j+AUi,j1+BUi,j+AUi+1,j+AUi,j+1)=fi,j,(6)
where A=1 and B=4+(kh)2. In this case, the generating vector of the stencil equation is defined as G=1h2[A,A,B,A,A] and the unknown vector as U=[Ui1,j,Ui,j1, Ui,j,Ui+1,j,Ui,j+1]. This way, the stencil equation (6) for the interior node i,j continues to be the inner product <G,U>=fi,j.

Complete centered finite difference method

Consider any generic finite difference scheme with solution UhSG, where SG denotes the solution space. This space SG will be called the global approximation space to differentiate it from the local approximation subspace SLSG. The local approximation subspace SL contains only the components of the vector Uh that are part of the stencil equation, while the global approximation space SG contains all the components of the vector Uh. The dimension of this space is determined by the number of mesh nodes with degrees of freedom, and denoted by dim(SG)=N. This space contains all vectors with dimension N. The interpolant uh, defined as the exact solution of the Helmholtz equation evaluated at the mesh nodes, is an element of this space. Thus, the global error EG=Uhuh can be defined. It is well known that the approximation quality of a finite difference scheme is characterized by three properties: convergence, stability and consistency (Lax & Richtmyer 1956, LeVeque 2007). A finite difference scheme is said to be convergent if EG0 when h0, where denotes some norm in SG. Also, it is well known that the convergence of a scheme is guaranteed if it is stable and consistent.

Let the linear system of algebraic equations of any scheme be denoted by 𝐓Uh=F. This finite difference scheme is said to be stable if h<h0 there is the inverse matrix 𝐓1 such that 𝐓1m<C, where C is a constant that does not depend on h, h0>0 is a specific value of the mesh parameter, and m denotes some matrix norm. As mentioned previously, for medium and high k most of the known FDM are not stable for meshes that satisfy the rule of thumb (kh00.6) (Ihlenburg & Babuška 1995a). Only in meshes that verify k2h<1 will there be asymptotic behavior in the convergence of the global error. In the region between kh<1 and k2h<1, there is pre-asymptotic behavior in the convergence of the global error.

Consider the equation corresponding to an arbitrary interior node I (in global ordering) of the system 𝐓Uh=F. This equation is determined by the type of stencil chosen and the finite difference approximations used. Locally at the stencil level, the unknowns of this equation belong to the subspace SLSG with dimension dim(SL)=L. That is, by fixing the number of points L on the stencil, the dimension of the local approximation subspace SL is determined. This space contains all vectors with dimension L. Thus, for each central node I of the stencil corresponds to the the component I of the local truncation error vector [EL]I=[𝐓uF]I, where u denotes the exact solution. This finite difference scheme is said to be consistent if the local truncation error EL0 when h0. On the other hand, a set of L linearly independent vectors forms a basis for this local approximation subspace SL, and any vector in this subspace can be represented as a linear combination of the vectors in this basis. This is the first key idea of the new approach, creating a finite difference method capable of representing any element of the local approximation subspace SL.

In finite difference terms, if the basis vectors of subspace SL are chosen as the generating vectors Gl of the stencil equation, then this new approach allows representing the equation of any scheme at every interior point I (global ordering or enumeration) as being a linear combination of generating vectors Gl linearly independent, then

SCCFD:=l=1LαlGl,Uh(l=1Lαl)fI=0,(7)
where αl are the standard coefficients of the linear combination. These coefficients can be seen as free parameters to be determined considering some criteria for the problem under study, and this is the second key idea of the new approach. In the case of the Helmholtz equation, the criterion used to determine the free parameters will be the minimization of the dispersion relation (Harari & Hughes 1992, Ihlenburg & Babuška 1995b, Babuška et al. 1995).

This new finite difference approach is called the Complete Centered Finite Difference Method (CCFDM) (Nunes 2024). The term ‘complete’ indicates that once a number of stencil points L is fixed, the maximum number of stencil equations necessary to have a complete representation of the local approximation subspace SL are used, that is, the new approach is capable to generate any element of this subspace SL. The word centered indicates that only centered difference formulas were used in this work, although this approach can also be applied with uncentered difference formulas.

In short, the new formalism is simple and consists of three basic steps. In the first step, a type of stencil with a number of points L is chosen, and with this the dimension of the local approximation subspace SL is fixed. This subspace determines the number of non-zero diagonals in the matrix 𝐓 of the linear system, and consequently the bandwidth of this matrix. In addition, once L is fixed, the maximum possible order of approximation for the derivatives is also fixed. In the second step, a vector basis is constructed for the local approximation subspace SL. The vectors of this basis are chosen among the generating vectors Gl corresponding to the equation of each scheme for this stencil. The generating vectors Gl are obtained by making different approximations to the terms of the partial differential equation (PDE). Since the dimension of the subspace SL is L, then L linearly independent generating vectors are needed. Just as a reminder, the generating vectors Gl are linearly independent if the system 𝐆L×LX=0 has the unique solution X=0, where the columns of the matrix 𝐆L×L are formed by the generating vectors Gl, and the vector X is formed by the coefficients αl of the linear combination. In the third step, the coefficients of the linear combination are determined by requiring or imposing that some specific criterion be checked by the stencil equation. For example, this criterion can be chosen in such a way as to guarantee greater stability and/or accuracy of the method. Once these three steps have been completed, if it is necessary to improve the approximation quality of the method, then it is necessary to increase the dimension of the local approximation subspace SL. In other words, it is necessary to increase the number of points L in the stencil. In the following subsections, the first and second steps of the new formalism will be detailed, and in next section, the third step will be detailed.

CCFDM for 1D case and 3-point stencil

In this case, the local approximation subspace SL has dimension dim(SL)=L=3. Consider centered finite difference formulas such that result in three stencil equations with vectors G1=[g1,1,g1,2,g1,3], G2=[g2,1,g2,2,g2,3] and G3=[g3,1,g3,2,g3,3] linearly independent. Thus, the CCFDM equation for the central node i of this stencil is

l=13αlGl,Uh(l=13αl)fi:=AUi1+BUi+CUi+1(l=13αl)fi=0,(8)
where A=α1g1,1+α2g2,1+α3g3,1, B=α1g1,2+α2g2,2+α3g3,2 and C=α1g1,3+α2g2,3+α3g3,3. With this, the first step of formalism is completed. It remains to find three schemes with stencil equations whose generating vectors Gl are linearly independent. These vectors can be found using different approximations for the second derivative and/or for the k2u term of the Helmholtz equation. Here the second derivative is approximated only by the second-order centered finite difference formula (3), and three different approximations are presented for the term k2u of the Helmholtz equation.

The classical centered finite difference scheme (CC) described by the equation (4) generates the first vector G1=1h2[1,2+(kh)2,1]. A new scheme (NS-1) is generated with the approximation k2uk2[Ui1+Ui+1]2, resulting in the equation for the central node i of the stencil

1h2[(1+(kh)22)Ui12Ui+(1+(kh)22)Ui+1]=fi.(9)
Thus, the generating vector of the equation of this stencil is G2=1h2[1+(kh)22,2,1+(kh)22]. This approximation for k2u can be understood as an average of the solution around the central node (Alvarez & Nunes 2024, Nunes 2024). Another new scheme (NS-2) is generated with the approximation k2uk2[Ui+Ui+1Ui12], resulting in the equation
1h2[(1(kh)22)Ui1+(2+(kh)2)Ui+(1+(kh)22)Ui+1]=fi,(10)
whose generating vector is G3=1h2[1(kh)22,2+(kh)2,1+(kh)22]. More details and other approximations for k2u can be found in Alvarez & Nunes (2024) and Nunes (2024).

It can be demonstrated that the vectors G1, G2 and G3 are linearly independent (Nunes 2024). With this, the second step of formalism is completed. Therefore, with these vectors G1, G2 and G3, the equation (8) is capable of generating any scheme for this 3-point stencil. Although a complete basis of three vectors was constructed for the subspace SL=3, in the case of uniform meshes, the Corollary 1 guarantees that only two vectors will be needed for this basis. This corollary will be seen in the dispersion analysis in the next section. Further on, the dispersion analysis will show that in this local approximation subspace SL with dimension L=3, the CCFDM is capable of eliminating the pollution effect, making it unnecessary to increase the dimension of this subspace SL.

As mentioned in the Introduction, schemes CC (4), NS-1 (9), NS-2 (10) or any other individual scheme are ‘isolated or incomplete’ attempts to improve the numerical solution. This is because it is very difficult for a single scheme with generating vector G to be as close as possible to the ‘best approximation’ in this subspace SL=3. However, a basis with three generating vectors G1, G2 and G3 always allows generating the scheme closest to the ‘best approximation’ in this subspace SL=3.

CCFDM for 2D case and 5-point stencil

For this case, the local approximation subspace SL has dimension dim(SL)=5. Consider centered finite difference formulas such that result in five stencil equations with vectors G1, G2, G3, G4 and G5 linearly independent, where

Gl=[gl,1,gl,2,gl,3,gl,4,gl,5],l=1,,5.(11)
Thus, the equation for the central node i,j (partial ordering or enumeration) of any 5-point stencil SCCFD can be generated as
A1Ui1,j+A2Ui,j1+BUi,j+C1Ui+1,j+C2Ui,j+1=(l=15αl)fi,j,(12)
where A1=l=15αlgl,1, A2=l=15αlgl,2, B=l=15αlgl,3, C1=l=15αlgl,4 and C2=l=15αlgl,5. With this the first step of formalism is completed. The generating vectors Gl are obtained with five different approximations for the term k2u of the Helmholtz equation and the same approximation (5) for the Laplacian (Nunes 2024).

The first vector G1=1h2[1,1,4+(kh)2,1,1] is obtained with the typical centered difference scheme (CC) described by the equation (6). Analogously to the 1D case, a new scheme (NS-1) is generated with the approximation k2uk22[Ui1,j+Ui+1,j2+Ui,j1+Ui,j+12], resulting in the equation for the central node i,j

1h2[AUi1,j+AUi,j14Ui,j+AUi+1,j+AUi,j+1]=fi,j,(13)
where A=1+(kh)24, and the generating vector of the equation of this stencil is G2=1h2[A,A,4,A,A]. Another new scheme (NS-2) is generated with the approximation k2uk2[Ui,j+Ui+1,jUi1,j4+Ui,j+1Ui,j14], resulting in the equation for the central node i,j
1h2[AUi1,j+AUi,j1+BUi,j+CUi+1,j+CUi,j+1]=fi,j,(14)
where A=1(kh)24, B=4+(kh)2 and C=1+(kh)24. The generating vector of the equation of this stencil is G3=1h2[A,A,B,C,C]. The third new scheme (NS-3) is generated with the approximation k2uk2[Ui,j+Ui1,jUi+1,j4+Ui,j+1Ui,j14], resulting in the equation for the central node i,j
1h2[AUi1,j+CUi,j1+BUi,j+CUi+1,j+AUi,j+1]=fi,j,(15)
where A=1+(kh)24, B=4+(kh)2 and C=1(kh)24. The generating vector of the equation of this stencil is G4=1h2[A,C,B,C,A]. The last new scheme (NS-4) needed to complete a basis for the subspace SL is generated with the approximation k2uk2[Ui,j+Ui+1,j+Ui1,j2Ui,j+1+Ui,j12], resulting in the equation for the central node i,j
1h2[AUi1,j+CUi,j1+BUi,j+AUi+1,j+CUi,j+1]=fi,j,(16)
where A=1+(kh)22, B=4+(kh)2 and C=1(kh)22. The generating vector of the equation of this stencil is G5=1h2[A,C,B,A,C]. It can be demonstrated that the vectors G1, G2, G3, G4 and G5 are linearly independent (Nunes 2024). With this the second step of formalism is completed.

Although a complete basis of five vectors was constructed for the subspace SL=5, in the case of uniform meshes, the Corollary 1 guarantees that only three vectors will be needed for this basis. Further on, the dispersion analysis will show that in this local approximation subspace SL with dimension L=5, the CCFDM is capable of minimizing pollution effect. However, this minimization presents a dispersion relation equivalent to the GLS method (Thompson & Pinsky 1995), making it necessary to increase the dimension of this subspace SL to obtain a dispersion relation equivalent to the QSFEM (Babuška et al. 1995).

Again, schemes CC (6), NS-1 (52), NS-2 (53), NS-3 (54), NS-4 (55) or any other individual scheme are ‘isolated or incomplete’ attempts to improve the numerical solution. This is because it is very difficult for a single scheme to be as close as possible to the ‘best approximation’ in this subspace SL=5. However, a basis with five generating vectors G1, G2, G3, G4 and G5 always allows generating the scheme closest to the ‘best approximation’ in this subspace SL=5, and this is done with the optimal choice of linear combination coefficients via dispersion analysis. These statements remain valid if the dimension of the subspace SL is increased, but as the dimension of this subspace increases it will be more difficult for any individual scheme to be as close as possible to the ‘best approximation’. Furthermore, this is considered impossible for the Helmholtz equation in two and three dimensions, as it is impossible to eliminate the pollution effect in these cases.

CCFDM for 2D case and 9-point stencil

In this case, the local approximation subspace SL has dimension dim(SL)=9. Consider centered finite difference formulas such that result in nine stencil equations with vectors G1, G2, G3, G4, G5, G6, G7, G8 and G9 linearly independent. Thus, the equation for the central node i,j (partial ordering or enumeration) of any 9-point stencil SCCFD can be generated as

A1Ui1,j+A2Ui,j1+A3Ui1,j1+A4Ui+1,j1+BUi,j+C1Ui+1,j+C2Ui,j+1+C3Ui1,j+1+C4Ui+1,j+1=(l=19αl)fi,j.(17)
And so the first step of the new formalism is completed.

The compact 9-point stencil in Figure 1 (red color) can also be decomposed into two 5-point stencils (black and blue) (Vichnevetsky & Bowles 1982). In this stencil, the Laplacian will be approximated in two different ways. The first approximation will use centered formulas of second order (approximate Laplacian with 5-point), and the second approximation will use centered fourth-order formulas (approximate Laplacian with 9 points). In this way, two versions of the CCFDM will be developed. That is, two different bases for the local approximation subspace SL will be constructed, allowing the development of two versions of the CCFDM. However, it will later be proven that these two versions are equivalent, as they exhibit the same dispersion relation and the same global error behavior. In other words, both versions present a minimum dispersion relation equivalent to QSFEM. In addition, although nine vectors are needed to construct a complete basis for the subspace SL, in the case of uniform meshes, the Corollary 1 guarantees that only five vectors will be needed for this basis. Therefore, in the following development only five vectors will be presented for this basis.

Figure 1
Compact 9-point stencil (red) and two 5-point stencils (black and blue).
CCFDM with 9-point stencil and Laplacian with 5-point

The first version will be denoted by CCFDM-9p-L5p, and consists of decomposing the compact 9-point stencil into two 5-point stencils (Vichnevetsky & Bowles 1982). In Figure 1, these two 5-point stencils are represented as a classic centered 5-point stencil (black color) and another rotated 5-point stencil (blue color). Thus, the Laplacian is approximated by (5) in the 5-point stencil in black, and by

2ux2+2uy2Ui1,j1+Ui+1,j14Ui,j+Ui1,j+1+Ui+1,j+12h2(18)
in the 5-point stencil in blue (Vichnevetsky & Bowles 1982).

The first three generating vectors are analogous to the classical centered 5-point stencil (black), but now the dimension of these vectors is 9.

G1=1h2[1,1,0,0,4+(kh)2,1,1,0,0],(19)
G2=1h2[1+(kh)24,1+(kh)24,0,0,4,1+(kh)24,1+(kh)24,0,0],(20)
G3=1h2[1+(kh)24,1(kh)24,0,0,4+(kh)2,1+(kh)24,1(kh)24,0,0].(21)

To obtain the fourth and fifth generating vector, the rotated 5-point stencil (blue) is used. The fourth generating vector is obtained by the approximation k2uk22[Ui1,j+1+Ui+1,j12+Ui1,j1+Ui+1,j+12], where

G4=1h2[0,0,12+(kh)24,12+(kh)24,2,0,0,12+(kh)24,12+(kh)24].
The fifth generating vector is obtained by the approximation k2uk2[Ui,j+Ui1,j+1+Ui+1,j12Ui1,j1+Ui+1,j+12], where
G5=1h2[0,0,12(kh)22,12+(kh)22,2+(kh)2,0,0,12+(kh)22,12(kh)22].(23)

It can be demonstrated that the vectors G1, G2, G3, G4 and G5 are linearly independent (Nunes 2024). Four more generating vectors (G6, G7, G8 and G9) are missing to complete a basis for the subspace SL. However, as previously stated, the Corrolary 1 guarantees that they will not be necessary in the case of uniform meshes. With this, the second step of the new formalism is completed for this choice of the vector basis for the local approximation subspace.

CCFDM with 9-point stencil and Laplacian with 9-point

The second version will be denoted by CCFDM-9p-L9p, and consists of using a single approximation for the Laplacian operator as in (LeVeque 2007) (compact 9-point stencil red color in Figure 1).

2ux2+2uy216h2(4Ui1,j+4Ui+1,j+4Ui,j1+4Ui,j+1+Ui1,j1+Ui1,j+1+Ui+1,j1+Ui+1,j+120Ui,j).(24)
The approximations of the term k2u are the same as those used in the previous subsection “CCFDM with 9-point stencil and Laplacian with 5-point“. Thus, the generating vectors G1, G2, G3, G4 and G5 are obtained.
G1=1h2[23,23,16,16,103+(kh)2,23,23,16,16],(25)
G2=1h2[23+(kh)24,23+(kh)24,16,16,103,23+(kh)24,23+(kh)24,16,16],(26)
G3=1h2[23+(kh)24,23(kh)24,16,16,103+(kh)2,23+(kh)24,23(kh)24,16,16],(38)
G4=1h2[23,23,16+(kh)24,16+(kh)24,103,23,23,16+(kh)24,16+(kh)24],(28)
G5=1h2[23,23,16(kh)22,16+(kh)22,103+(kh)2,23,23,16+(kh)22,16(kh)22].(29)

It can be demonstrated that the vectors G1, G2, G3, G4 and G5 are linearly independent (Nunes 2024). Analogous to the CCFDM-9p-L5p version, the generating vectors G6, G7, G8 and G9 that complete a basis for the subspace SL are unnecessary for the case of uniform meshes. With this the second step of the new formalism is completed for the other choice of vector basis.

Dispersion analysis and optimal choise of the free parameters

The dispersion analysis allows estimating the difference between the wavenumber of the exact solution k and the wavenumber of the numerical solution kh. This analysis consists of considering the homogeneous Helmholtz equation (f=0) with exact solutions in the form of a plane wave u(x,y)=e𝐢kr=e𝐢k(xcos(θ)+ysin(θ)) propagating in the θ-direction, where 𝐢=1. It is assumed that the numerical solution should also be a plane wave U(x,y)=e𝐢kh(xcos(θ)+ysin(θ)) with discrete wavenumber kh. Thus, substituting this numerical solution into the stencil equation of each scheme, kh can be obtained as a function of k (Harari & Hughes 1992, Ihlenburg & Babuška 1995b, Babuška et al. 1995, Ihlenburg 1998, Alvarez et al. 2006, Loula et al. 2007, Rochinha et al. 2007, Carmo et al. 2008, Fernandes & Loula 2010).

1D case with 3-point stencil

In this case θ=0 and the numerical solution at point xi is U(xi):=Ui=e𝐢khxi. Considering 3-point stencil on uniform meshes, and substituting this numerical solution in the equation (8) the following dispersion relation is obtained,

[cos(khh)(A+C)+B]+𝐢sin(khh)[A+C]=0+𝐢0.(30)
Therefore, the following two equations are obtained:
𝐑𝐞𝐚𝐥 𝐩𝐚𝐫𝐭: cos(khh)[A+C]+B=0,(31)
𝐈𝐦𝐚𝐠𝐢𝐧𝐚𝐫𝐲 𝐩𝐚𝐫𝐭: sin(khh)[CA]=0.(32)

As far as the authors know, this is the first time that two equations appear to be satisfied in the dispersion analysis. In all the works known to us so far, only the equation (20) of the real part has always appeared (Harari & Hughes 1992, Ihlenburg & Babuška 1995b, Babuška et al. 1995, Ihlenburg 1998, Alvarez et al. 2006, Loula et al. 2007, Rochinha et al. 2007, Carmo et al. 2008, Fernandes & Loula 2010). In these works the imaginary part (21) was satisfied automatically, but no mention of this restriction was found. Thus, the equation (21) of the imaginary part is understood as an additional restriction that must satisfy the method to verify the dispersion analysis. In the 1D case, uniform meshes and 3-point stencil, it is necessary that A=C. The CC and NS-1 schemes satisfy the restriction (21), but the NS-2 scheme does not satisfy this restriction (21).

In a similar way to all works known to us, the real part equation (20) is used to explain kh as a function of k,

kh=1harccos(BA+C),(33)
where the values of A, B and C of each scheme must be replaced. Performing the Taylor series expansion of the function arccos() around kh=0 (Ihlenburg 1998, Fernandes 2009, Nunes 2024) it is possible to obtain a polynomial representation of khk for each scheme
𝐂𝐂: khk=124k3h2+3640k5h4+𝒪(k6h5),(34)
𝐍𝐒-𝟏: khk=524k3h2+43640k5h4+𝒪(k6h5),(35)
𝐍𝐒-𝟐: khk=124k3h2+3640k5h4+𝒪(k6h5).(36)

For the CCFDM, A=1h2[α1+α2+α3+(kh)22(α2α3)], B=1h2[2(α1+α2+α3)+(kh)2(α1+α3)] and C=1h2[α1+α2+α3+(kh)22(α2+α3)]. The coefficients αl can be determined to minimize |kkh|. Thus, it is possible to construct stencils with minimal error in the dispersion relation. In particular, for the 1D case it is possible to reach the absolute minimum (khk=0) by making kh=k in the equation (22), and in this way find the parameters αl that satisfy this dispersion relation.

α2=(1+α3)22cos(kh)k2h2cos(kh)[2+k2h2]2,(37)
where α1=1 since the coefficients αl are linearly dependent through the dispersion relation, and therefore it is possible to fix one of them (Ihlenburg 1998).

The generating vector G3 does not satisfy the imaginary part of the dispersion relation (21), and must be disregarded by choosing α3=0. Thus, of the three generating vectors necessary to complete a basis in subspace SL, the generating vector G3 is unnecessary in the case of uniform meshes. In this way, the coefficients in the equation (8) are determined as A=C=1h2[1+α2(1+k2h22)]=k4h24[4+2k2h2]cos(kh) and B=1h2[k2h22(1+α2)]=k4h2cos(kh)2+[2+k2h2]cos(kh)=12Acos(kh). With this the third step of formalism is completed. This CCFDM eliminates pollution effect (khk=0) and there is no need to increase the dimension of the local approximation subspace SL, since its numerical solution coincides with the interpolant. Figure 2 presents khk for the four methods analyzed.

Figure 2
𝐤𝐡𝐤 as a function of 𝐤𝐡 for 𝐤=𝟏𝟎𝟎.

2D case with 5-point stencil

In this case the numerical solution at point (xi,yj) is Ui,j=e𝐢kh(xicos(θ)+yjsin(θ)). Considering 5-point stencil on uniform meshes, and substituting this numerical solution in the equation (12) the following two equations are obtained:

[A1+C1]cos(khhcos(θ))+[A2+C2]cos(khhsin(θ))+B=0,(38)
[C1A1]sin(khhcos(θ))+[C2A2]sin(khhsin(θ))=0.(39)
Again as in the 1D case, the imaginary part equation (28) introduces a new constraint that can be satisfied by requiring A1=C1 and A2=C2. The CC, NS-1 and NS-4 schemes satisfy the restriction (39), but the NS-2 and NS-3 schemes do not satisfy this restriction (39).

The real part (38) is used to explain kh as a function of k. Replacing the values of A1, A2, B, C1 and C2 of each scheme in (38) and performing the Taylor series expansion around kh=0, after some algebraic manipulations using the software Mathematica1 (Wolfram 2015), the expressions of khk for each scheme are obtained:

𝐂𝐂: khk=3+cos(4θ)96k3h2+235+162cos(4θ)+35cos2(4θ)92160k5h4+𝒪(k7h6),(40)
𝐍𝐒-𝟏: khk=9+cos(4θ)96k3h2+1315198cos(4θ)+35cos2(4θ)92160k5h4+𝒪(k7h6),(41)
𝐍𝐒-𝟐: khk=3+cos(4θ)96k3h2+235+162cos(4θ)+35cos2(4θ)92160k5h4+𝒪(k7h6),(42)
𝐍𝐒-𝟑: khk=3+cos(4θ)96k3h2+235+162cos(4θ)+35cos2(4θ)92160k5h4+𝒪(k7h6),(43)
𝐍𝐒-𝟒: khk=3+cos(4θ)96k3h2+(2351680cos(2θ)+8640cos2(2θ)92160+162cos(4θ)1200cos(2θ)cos(4θ)+35cos2(4θ)92160)k5h4+𝒪(k7h6).(44)

For the CCFDM-5p, the dispersion relations (38) and (39) are determined by

A1=1h2[α1+(1+(kh)24)(α2+α4+α5)+(1(kh)24)α3],(45)
A2=1h2[α1+(1(kh)24)(α3+α4+α5)+(1+(kh)24)α2],(46)
B=1h2[4α2+(4+(kh)2)(α1+α3+α4+α5)],(47)
C1=1h2[α1+(1+(kh)24)(α2+α3+α5)+(1(kh)24)α4],(48)
C2=1h2[α1+(1+(kh)24)(α2+α3+α4)+(1(kh)24)α5].(49)

The coefficients αl are linearly dependent through the dispersion relation, therefore it is possible to fix α1=1 (Ihlenburg 1998). The generating vectors G3 and G4 do not satisfy the imaginary part of the dispersion relation (28), and are disregarded making α3=0 and α4=0. Thus, of the five generating vectors needed to complete a basis in subspace SL, only three are necessary for the case of uniform meshes. These coefficients α2 and α5 can be determined to minimize |kkh|. In the 2D case, the absolute minimum kh=k of the equation (38) cannot be reached for any θ-direction of the plane wave. This absolute minimum will be reached the same number of times as free parameters αl available. Thus, choosing the directions θ1 and θ2 for the plane wave it is possible to obtain

α2=1χ5p[8(c2c1+s1s2+c1s2c2s1)+2k2h2(c1c2+s2s1)],α5=1χ5p[k2h2(c2c1s1+s2)],(50)
χ5p=8(c2c1+s1s2+c1s2c2s1)+k2h2(c2c1+s2s1+2c1s22c2s1),(51)
where c1=cos(khcos(θ1)), c2=cos(khcos(θ2)), s1=cos(khsin(θ1)) and s2=cos(khsin(θ2)). Therefore, the CCFDM-5p solution matches the interpolant only when θ=θ1 or θ=θ2, and
𝐂𝐂𝐅𝐃𝐌-𝟓𝐩: khk=γ15pk3h2+γ25pk5h482575360(1+α2+α5)2+𝒪(k7h6),(53)
γ15p=(1+α2+α5)[2580480(1+3α2α5)20643840α5cos(2θ)+860160(1+α2+α5)cos(4θ)],(54)
γ25p=2240[101+533α22230α2(1+α5)+α5(202+1829α5)]+107520α5[53α219(1+α5)]cos(2θ)16128[9+11α22+2α2(1+α5)3α5(6+83α5)]cos(4θ)537600α5(1+α2+α5)cos(6θ)+15680(1+α2+α5)2cos(8θ).(55)

The dispersion relation of the CCFDM-5p is simplified by replacing the parameters α2 equation (50) and α5 equation (51) in the equation (53),

khk=148k3h2[cos(2θ)cos(2θ1)][cos(2θ)cos(2θ2)]+𝒪(k5h4),(56)
which is equivalent to the dispersion of the GLS method for θ1=π8 and θ2=θ1+π4 (Thompson & Pinsky 1995).

It is possible to obtain a dispersion equivalent to the equation (53) or equation (56) in another simpler way. For this, it is necessary to require more symmetry in the stencil, which is justified because the Hemlholtz equation in a homogeneous medium has a high degree of symmetry. Restricting the imaginary part of the dispersion relation (28) guarantees stencil symmetry with respect to the X and Y axes. The symmetry of the stencil with respect to the straight lines y=x and y=x is guaranteed if A1=A2. The generating vector G5 does not have this symmetry, and can be disregarded by making α5=0. Thus, choosing just α2 as

α2=2(4+k2h2+2c1+2s1)8+4c1+k2h2c1+4s1+k2h2s1,(57)
thus, it is possible to obtain
𝐂𝐂𝐅𝐃𝐌-𝟓𝐩: khk=γ15psk3h296(1+α2)+γ25psk5h4184320(1+α2)2+𝒪(k7h6),(58)
γ15ps=3+cos(4θ)+α2[9+cos(4θ)],(59)
γ25ps=505+324cos(4θ)+35cos(8θ)α2[1150+72cos(4θ)70cos(8θ)]+α22[2665396cos(4θ)+35cos(8θ)].(60)
This dispersion relation is simplified by replacing the parameters α2 (57) in the equation (58),
khk=196k3h2[cos(4θ)cos(4θ1)]+𝒪(k5h4),(61)
which is equivalent to the dispersion of the GLS method for θ1=π8 (Thompson & Pinsky 1995).

With this the third step of formalism is completed for the 5-point stencil on uniform meshes. It should be highlighted that the equations (53) or (56) and equations (58) or (61) correspond to the same dispersion relation, although they correspond to two versions of the CCFDM-5p. These two versions differ in the degree of symmetry of the stencil. Figures 3 and 4 show the dispersion relation for the analyzed schemes, where θ1=π8 and θ2=3π8. These are the values of θ1 and θ2 that generate the smallest error in the dispersion relation for the CCFDM-5p. With this choice, CCFDM-5p is a scheme with a dispersion relation equivalent to that of the GLS method (Thompson & Pinsky 1995), but with the following difference. The matrix 𝐓 of the linear system of the GLS method has nine non-zero diagonals, while the matrix of the CCFDM has only five non-zero diagonals. However, to have the CCFDM with a dispersion relation equivalent to that of the QSFEM (Babuška et al. 1995) it is necessary to increase the dimension of the local approximation subspace SL (L=9).

Figure 3
Dispersion relations for khkkhk as a function of khkh for k=100k=100,θ =π /4θ =π /4,θ 1=π /8θ 1=π /8 and θ 2=3π /8θ 2=3π /8.
Figure 4
Dispersion relations for 𝐤=𝟏𝟎𝟎 and 𝐤𝐡=𝟏 as a function of 𝛉-direction, 𝛉𝟏=𝛑/𝟖 and 𝛉𝟐=𝟑𝛑/𝟖.
2D case with 9-point stencil

Considering 9-point stencil on uniform meshes, and substituting this numerical solution in the equation (17) the two restrictions on the dispersion relation are obtained:

[A1+C1]cos(khhcos(θ))+[A2+C2]cos(khhsin(θ))+[A3+C4][cos(khhcos(θ)+khhsin(θ)]+[A4+C3][cos(khhcos(θ)khhsin(θ)]+B=0,(62)
[C1A1]sin(khhcos(θ))+[C2A2]sin(khhsin(θ))+[C4A3][sin(khhcos(θ)+khhsin(θ)]+[C3A4][sin(khhcos(θ)khhsin(θ)]=0.(63)
The equation of the imaginary part (63) introduces a restriction that can be satisfied by requiring A1=C1, A2=C2, A3=C4 and A4=C3. This restriction is not sufficient to guarantee stencil symmetry with respect to the X and Y axes. For this, an additional restriction A3=A4 is necessary. The symmetry of the stencil with respect to the straight lines y=x and y=x is guaranteed if A1=A2. Analogous to the 2D case with 5-point stencil, there are two stencils with different symmetry that generate the same dispersion relation. Here only the case of the stencil with greater symmetry will be presented. That is, the case of the symmetric stencil with respect to the X, Y axes and the straight lines y=x and y=x. More details can be found in Nunes (2024).

CCFDM-9p-L5p

For the CCFDM-9p-L5p, the stencil equation (17) is determined by

A1=1h2[α1+(1+(kh)24)α2+(1+(kh)22)α3],(64)
A2=1h2[α1+(1+(kh)24)α2+(1(kh)22)α3],(65)
A3=1h2[(12+(kh)24)α4+(12(kh)22)α5],(66)
A4=1h2[(12+(kh)24)α4+(12+(kh)22)α5],(67)
B=1h2{[4+(kh)2](α1+α3)2(2α2+α4)+[2(kh)2]α5},(68)
C1=1h2[α1+(1+(kh)24)α2+(1+(kh)22)α3],(69)
C2=1h2[α1+(1+(kh)24)α2+(1(kh)22)α3],(70)
C3=1h2[(12+(kh)24)α4+(12+(kh)22)α5],(71)
C4=1h2[(12+(kh)24)α4+(12(kh)22)α5].(72)

The generating vectors G3 and G5 do not have the required symmetry, and can be disregarded by making α3=α5=0. Thus, only the free parameters α2 and α4 remain to be determined, since α1=1. These coefficients α2 and α4 can be determined to minimize |kkh|. Choosing the directions θ1=π/16 and θ2=3π/16 for the plane wave it is possible to obtain

α2=8(c1+c2s1+s2+2c1s12c2s2c1c2s1+c1c2s2c1s1s2+c2s1s2)χ1CO+χ2CO+χ3CO+4k2h2(c1s1c2s2c1c2s1+c1c2s2c1s1s2+c2s1s2)+2k4h4(c2s2c1s1)χ1CO+χ2CO+χ3CO,(73)
α4=k4h4(c1c2+s1s2)χ1CO+χ2CO+χ3CO,(74)
χ1CO=8(c1c2+s1s22c1s1+2c2s2+c1c2s1c1c2s2+c1s1s2c2s1s2),(75)
χ2CO=2k2h2(c1c2+s1s24c1s1+4c2s2+3c1c2s13c1c2s2+3c1s1s23c2s1s2),(76)
χ3CO=k4h4(c1c2s1c1c2s2+c1s1s2c2s1s2).(77)

The dispersion relation of the CCFDM-9p-L5p is equivalent to the dispersion of the QSFEM for θ1=π16 and θ2=3π16 (Babuška et al. 1995),

khk=k7h6[cos(4θ)cos(4θ1)][cos(4θ)cos(4θ2)]387072+𝒪(k9h8),(78)
where the parameters α2 (73) and α4 (74) were replaced. Figure 5 shows the dispersion relation for the analyzed schemes.

Figure 5
Dispersion relations for 𝐤=𝟏𝟎𝟎 and 𝐤𝐡=𝟏 as a function of 𝛉-direction, 𝛉𝟏=𝛑/𝟏𝟔 and 𝛉𝟐=𝟑𝛑/𝟏𝟔.
CCFDM-9p-L9p

For the CCFDM-9p-L9p, the stencil equation (17) is determined by

A1=1h2[23(α1+α4+α5)+(23+(kh)24)α2+(23+(kh)22)α3],(79)
A2=1h2[23(α1+α4+α5)+(23+(kh)24)α2+(23(kh)22)α3],(80)
A3=1h2[(α1+α2+α36)+(16+(kh)24)α4+(16(kh)22)α5],(81)
A4=1h2[(α1+α2+α36)+(16+(kh)24)α4+(16+(kh)22)α5],(82)
B=1h2[(103+(kh)2)(α1+α3+α5)103(α2+α4)],(83)
C1=1h2[23(α1+α4+α5)+(23+(kh)24)α2+(23+(kh)22)α3],(84)
C2=1h2[23(α1+α4+α5)+(23+(kh)24)α2+(23(kh)22)α3],(85)
C3=1h2[(α1+α2+α36)+(16+(kh)24)α4+(16+(kh)22)α5],(86)
C4=1h2[(α1+α2+α36)+(16+(kh)24)α4+(16(kh)22)α5].(87)

The generating vectors G3 and G5 do not have the required symmetry, and can be disregarded by making α3=α5=0. Thus, only the free parameters α2 and α4 remain to be determined, since α1=1. These coefficients α2 and α4 can be determined to minimize |kkh|. Choosing the directions θ1=π/16 and θ2=3π/16 for the plane wave it is possible to obtain

α2=8(c1+c2s1+s2+2c1s12c2s2c1c2s1+c1c2s2c1s1s2+c2s1s2)χ1L9p+χ2L9p+6k2h2(c1s1c2s2)χ1L9p+χ2L9p,(88)
α4=2(c1+c2s1+s2+2c1s12c2s2c1c2s1+c1c2s2c1s1s2+c2s1s2)χ1L9p+χ2L9p+3k2h2(c1c2+s1s2)χ1L9p+χ2L9p,(89)
χ1L9p=10(c1c2+s1s22c1s1+2c2s2+c1c2s1c1c2s2+c1s1s2c2s1s2),(90)
χ2L9p=3k2h2(c1c2s1c1c2s2+c1s1s2c2s1s2).(91)

The dispersion relation of the CCFDM-9p-L9p is equivalent to the dispersion of the QSFEM for θ1=π16 and θ2=3π16 (Babuška et al. 1995),

khk=k7h6[cos(4θ)cos(4θ1)][cos(4θ)cos(4θ2)]387072+𝒪(k9h8),(92)
where the parameters α2 (88) and α4 (89) were replaced. Figure 6 shows the dispersion relation for the analyzed schemes.

Figure 6
Dispersion relations for 𝐤=𝟏𝟎𝟎 and 𝐤𝐡=𝟏 as a function of 𝛉-direction, 𝛉𝟏=𝛑/𝟏𝟔 and 𝛉𝟐=𝟑𝛑/𝟏𝟔.

Table I presents the distance d:=(khk)h of the CCFDM and QSFEM for different values of θ with kh=1 fixed. The values presented were calculated using equations (56), (78) and (92). The CCFDM-5p presents zero dispersion for the two angles already mentioned θ1=π/8 and θ2=3π/8, which is equivalent to the GLS (Thompson Pinsky 1995). Increasing the dimension of the local approximation subspace SL to L=9 two versions CCFDM-9p-L5p and CCFDM-9p-L9p are obtained, which present a dispersion relation equivalent to QSFEM (Babuška et al. 1995).

Table I
Comparison of the dispersion of each method depending on the wave direction.
Consequence of the uniform mesh in the dispersion analysis and stencil symmetry

The equations (21), (28) and (63) of the imaginary part of the dispersion analysis for uniform meshes imply the following corollary.

Corollary 1. Let it be a uniform mesh with parameter h=hx=hy. For each central node I (global ordering or enumeration) consider stencil with 3-points in the 1D case, stencil with 5-points and 9-points in the 2D case. Let Gl be the generating vectors of the CCFDM for these 1D and 2D cases. If the equations (21), (28) and (63) of the imaginary part of the dispersion analysis are satisfied, then there are only:

  • two linearly independent generating vectors in the 1D case,

  • three linearly independent generating vectors in the 2D case and 5-point stencil,

  • five linearly independent generating vectors in the 2D case and 9-point stencil.

Proof 1. Item i) In the 1D case and 3-point stencil, the CCFDM is determined by three linearly independent generating vectors G1=[A1,B1,C1], G2=[A2,B2,C2] and G3=[A3,B3,C3]. For a uniform mesh, the equation (21) of the imaginary part of the dispersion analysis implies A=C, therefore G1=[A1,B1,A1], G2=[A2,B2,A2] and G3=[A3,B3,A3]. These vectors are linearly independent, when α1G1+α2G2+α3G3=0 only if α1=α2=α3=0. In matrix form this restriction is:

[A1A2A3B1B2B3A1A2A3][α1α2α3]=[000].
From which it can be noted that this matrix only has two linearly independent rows. That is, the rank of the matrix is 2 (deficient rank). Items ii) and iii) can be demonstrated in a similar way. More details can be found in Nunes 2024.

On the other hand, this equation corresponding to the imaginary part is related to the symmetry of the stencil used, thus establishing a connection between the coefficients of the linear system and the symmetry of the stencil. For example, in the 2D case the two stencils analyzed (5-point stencil and 9-point stencil) are shown in the Figure 7.

Figure 7
Two stencils without any constraints: (a) 5-point stencil and (b) 9-point stencil.

The imaginary part of the dispersion equation (28) establishes the constraints C1=A1 and C2=A2 for the stencil in the Figure 7a. The imaginary part of the dispersion equation (63) establishes the constraints C1=A1, C2=A2, C4=A3 and C3=A4 for the stencil in the Figure 7b. From an algebraic point of view, these are restrictions for the coefficients of the linear system of equations 𝐓Uh=F. From a geometric point of view, these are restrictions for the symmetry of the stencil. Applying these restrictions, the stencils in the Figure 7 are transformed into the stencils in the Figure 8.

Figure 8
Two stencils with the constraint of the equation of the imaginary part.

In Figure 8a it can be seen that the restriction of the imaginary part of the dispersion relation guarantees symmetry of the stencil with respect to the X and Y axes. However, the symmetry of this stencil with respect to the straight lines y=x and y=x is only guaranteed if A2=A1 as shown in Figure 9a. In Figure 8b it can be seen that, even after the restrictions imposed by the imaginary part of the dispersion equation, this stencil still does not have symmetry with respect to the X and Y axes. To guarantee this symmetry it is necessary to impose another restriction, A4=A3. And the symmetry of this stencil with respect to the straight lines y=x and y=x is only guaranteed if A1=A2 as shown in Figure 9b. It should be noted that the symmetry of the stencil with respect to the lines y=x and y=x will exist if and only if hx=hy, that is, a uniform mesh. By imposing all these symmetry restrictions, the stencils in Figure 9 are obtained. Thus, this symmetry analysis shows that there is a connection between the symmetry of the problem defined in the continuous domain (equations (1) and (2)) and the discretized problem, and this connection is established through the equation of imaginary part of the dispersion analysis.

Figure 9
Two stencils with all possible symmetry constraints.
Local Truncation Error

The well-known local truncation error EIL is determined at each point I (global ordering or enumeration) by replacing the approximate solution UI with the exact solution uI in the stencil equation for each scheme. Since u is unknown, it is assumed to be a function smooth enough that it is possible to replace u by its Taylor series expansions around the point I (LeVeque 2007). The errors for each scheme analyzed are presented below. In the case of CCFDM the local truncation error is represented as a function of the free parameters αl.

1D case with 3-point stencil

Consider partial ordering or enumeration for the central node i. Using the notation ui(n)=dnu(xi)dxn and fi(n)=dnf(xi)dxn can be obtained:

𝐂𝐂: EiL=fi(2)k2ui(2)12h2+𝒪(h3),(93)
𝐍𝐒-𝟏: EiL=fi(2)12h2+fi(2)k2ui(2)24k2h4+𝒪(h5),(94)
𝐍𝐒-𝟐: EiL=k2ui(1)h+fi(2)k2ui(2)12h2+fi(1)k2ui(1)6k2h3+𝒪(h4),(95)
𝐂𝐂𝐅𝐃𝐌: EiL=(fi(2)k2ui(2))h212+α2[fi(2)h212+(fi(2)k2ui(2))k2h424]+𝒪(h5).(96)

It should be noted that the CC, NS-1 and CCFDM schemes have accuracy order h2. However, the NS-2 scheme has accuracy order h. The NS-2 scheme had no impact on the construction of CCFDM because α3=0.

2D case with 5-point stencil

Consider partial ordering or enumeration for the central node i,j. Using the notation ui,j(nx)=nuxn|i,j and ui,j(ny)=nuyn|i,j can be obtained:

𝐂𝐂: Ei,jL=(ui,j(4x)+ui,j(4y))h212+𝒪(h3),(97)
𝐍𝐒-𝟏: Ei,jL=(ui,j(2x)+ui,j(2y))k2h24+(ui,j(4x)+ui,j(4y))(h212+k2h448)+𝒪(h5),(98)
𝐍𝐒-𝟐: Ei,jL=(ui,j(1x)+ui,j(1y))k2h2+(ui,j(4x)+ui,j(4y))h212+(ui,j(3x)+ui,j(3y))k2h312+𝒪(h4),(99)
𝐍𝐒-𝟑: Ei,jL=(ui,j(1y)ui,j(1x))k2h2+(ui,j(4x)+ui,j(4y))h212+(ui,j(3y)ui,j(3x))k2h312+𝒪(h4),(100)
𝐍𝐒-𝟒: Ei,jL=(ui,j(2x)ui,j(2y))k2h22+(ui,j(4x)+ui,j(4y))h212+(ui,j(4x)ui,j(4y))k2h412+𝒪(h5),(101)
𝐂𝐂𝐅𝐃𝐌: Ei,jL=(ui,j(4x)+ui,j(4y))h212+α2[(ui,j(4x)+ui,j(4y))(h212+k2h448)+(ui,j(2x)+ui,j(2y))k2h24]+α5[(ui,j(4x)+ui,j(4y))h212+(ui,j(4x)ui,j(4y))k2h424+(ui,j(2x)ui,j(2y))k2h22]+𝒪(h5).(102)

It should be noted that the CC, NS-1, NS-4 and CCFDM schemes have accuracy order h2. However, schemes NS-2 and NS-3 have accuracy order h. The NS-2 and NS-3 schemes had no impact on the construction of CCFDM because α3=α4=0.

2D case with 9-point stencil
CCFDM-9p-L5p

The first three schemes CC, NS-1 and NS-2 generated by the vectors G1, G2 and G3 (black stencil) have the same Ei,jL that the first three schemes of the 2D case with 5-point stencil (equations (97), (98) and (99)). The new schemes NS-3 and NS-4 generated by the vectors G4 and G5 of the rotated 5-point stencil (blue stencil) and the CCFDM-9p-L5p have the following Ei,jL:

𝐍𝐒-𝟑: Ei,jL=[ui,j(4x)+ui,j(4y)](h212+k2h424)+[ui,j(2x)+ui,j(2y)]k2h24+ui,j(2x,2y)(h212+k2h44)+𝒪(h5),(103)
𝐍𝐒-𝟒: Ei,jL=[ui,j(4x)+ui,j(4y)](h212k2h43)2ui,j(1x,1y)k2h2+ui,j(2x,2y)h212+𝒪(h5),(104)
𝐂𝐂𝐅𝐃𝐌-𝟗𝐩-𝐋𝟓𝐩: Ei,jL(α2,α4)=[ui,j(4x)+ui,j(4y)]h212+α2{[ui,j(4x)+ui,j(4y)](h212+k2h448)+[ui,j(2x)+ui,j(2y)]k2h44}+α4{[ui,j(4x)+ui,j(4y)](h212+k2h424)+ui,j(2x,2y)(h22+k2h24)+[ui,j(2x)+ui,j(2y)]k2h22}.(105)

It should be noted that the CC, NS-1, NS-3, NS-4 and CCFDM schemes have accuracy order h2. However, the NS-2 scheme has accuracy order h. The NS-2 and NS-4 schemes had no impact on the CCFDM error because α3=α5=0.

CCFDM-9p-L9p

The five schemes generated by the vectors G1, G2, G3, G4, G5 and the CCFDM-9p-L9p present the following Ei,jL:

𝐂𝐂: Ei,jL=[ui,j(4x)+ui,j(4y)]h212+[ui,j(2x,2y)]h26+𝒪(h3),(106)
𝐍𝐒-𝟏: Ei,jL=[ui,j(2x)+ui,j(2y)]k2h24+[ui,j(4x)+ui,j(4y)](h212+k2h448)+[ui,j(2x,2y)]h26+𝒪(h5),(107)
𝐍𝐒-𝟐: Ei,jL=[ui,j(2x)ui,j(2y)]k2h22+[ui,j(4x)+ui,j(4y)]h212+[ui,j(4x)ui,j(4y)]k2h424+𝒪(h5),(108)
𝐍𝐒-𝟑: Ei,jL=[ui,j(4x)+ui,j(4y)](h212+k2h424)+ui,j(2x,2y)(h26+k2h44)+[ui,j(2x)+ui,j(2y)]k2h22+𝒪(h5),(109)
𝐍𝐒-𝟒: Ei,jL=[ui,j(4x)+ui,j(4y)]h212+ui,j(2x,2y)h262ui,j(1x,1y)k2h2[ui,j(3x,1y)+ui,j(1x,3y)]k2h43+𝒪(h5),(110)
𝐂𝐂𝐅𝐃𝐌-𝟗𝐩-𝐋𝟗𝐩: Ei,jL(α2,α4)=[ui,j(4x)+ui,j(4y)]h212+α2{[ui,j(4x)+ui,j(4y)](h212+k2h448)+[ui,j(2x)+ui,j(2y)]k2h24+ui,j(2x,2x)h26}+α4{[ui,j(2x)+ui,j(2y)]k2h22+[ui,j(4x)+ui,j(4y)](h212+k2h424)+ui,j(2x,2y)(h26+k2h44)}.(111)

It should be noted that all schemes have accuracy order h2. The NS-2 and NS-4 schemes had no impact on the CCFDM error because α3=α5=0.

RESULTS AND DISCUSSION

Two examples in the 1D case and three examples in the 2D case are presented to illustrate the performance of the new approach. As mentioned previously, for the 2D case there are two versions depending on the degree of symmetry of the stencil. The CCDFM-5p has a less symmetrical version (α1=1, α3=α4=0, α2 equation (50) and α5 equation (51)) and a more symmetrical version (α1=1, α3=α4=α5=0 and α2 equation (57)). The CCDFM-9p-L5p and CCDFM-9p-L9p methods also have a less symmetric and a more symmetric version (Nunes 2024). In each case, the two versions have the same dispersion relationship and numerical results. Here the results are presented only for the versions corresponding to the stencil with greater symmetry. Furthermore, the CCDFM-9p-L5p and CCDFM-9p-L9p methods for the 9-point stencil were developed by constructing different bases for the local approximation subspace. These two versions have the same dispersion relation. The numerical results show that the solutions of these two versions are equal to minus the round-off difference.

All finite difference schemes analyzed were implemented in computational codes developed using MATLAB software (Gilat 2014). The linear system of algebraic equations corresponding to each scheme is solved using the ‘backslash’ operator. As the matrix of the linear system is sparse, the MATLAB function ‘spdiags’ was used. This allows to reduce the computational cost in terms of execution time and storage memory. More details about the computational implementation can be found in Nunes 2024, including the computational codes. The numerical results were calculated on a Acer laptop, Linux 64-bit operating system, AMD Ryzen 7 4800H processor 2.9GHz with 8 core and 16 threads up to 4.2GHz, 2TB SSD, 16GB of RAM memory DDR4 - 3200MHz, and NVIDIA GeForce GTX 1650 Ti 4GB graphics card.

Two examples in the 1D case

The first example consists of solving the homogeneous Helmholtz equation (1) on the interval ]0,1[ subjected to Dirichlet boundary conditions such that the exact solution is u(x)=sin(kx)/sin(k). Figure 10 shows the solutions of the CC and CCFDM methods together with the interpolant for wavenumber k=4000. The results are presented only for the 0.55x0.60 interval, as the wavenumber is high. It can be noted that the CCFDM solution coincides with the interpolant. Figure 11 shows the relative error REG=Uu2u2 calculated in the l2 vector norm as a function of the number of degrees of freedom N. It can be noted that the relative error of the CCFDM method is approximately 13 orders of magnitude smaller than the error of the CC method. In other words, considering the round-off it is possible to state that the CCFDM error is of the order of computer precision.

Figure 10
CC and CCFDM solutions with 𝐟=𝟎, 𝐤=𝟒𝟎𝟎𝟎 and 𝐤𝐡=0.5.
Figure 11
Relative error in the 𝐥𝟐 norm with 𝐟=𝟎, 𝐤=𝟏𝟎𝟎𝟎 and 𝟓𝟎𝟎𝐍𝟔𝟎𝟎𝟎.

The second example has a source term f(x)=2+(kx)2 and Dirichlet boundary conditions such that the exact solution is u(x)=x2+cos(kx). Figure 12 shows the solutions of the CC and CCFDM methods together with the interpolant for wavenumber k=4000. It can be noted that the CCFDM solution coincides with the interpolant.

Figure 12
CC and CCFDM solutions with 𝐟(𝐱)=𝟐+(𝐤𝐱)𝟐, 𝐤=𝟒𝟎𝟎𝟎 and 𝐤𝐡=0.5.
Three examples in the 2D case

As a first example, the homogeneous Helmholtz equation is considered over a unitary square domain with Dirichlet boundary conditions such that the exact solution is a plane wave propagating in the θ-direction: u(x,y)=cos(k(xcosθ+ysinθ)). Figure 13 shows the solutions of the two versions of the CCFDM together with the interpolant at section y=0.5 for wavenumber k=1000, θ=0 and kh=0.5. Due to the high wavenumber, three x intervals were zoomed. The θ=0 wave direction was chosen, since in this wave direction the CCDFM-9p does not coincide with the interpolant. As shown by the dispersion analysis, the CCFDM on the 9-point stencil is equivalent to QSFEM. Figures 14 and 15 show the same case only with the difference in kh values, which confirm the good performance of the new approach even on very coarse meshes. The CCFDM-5p results are equivalent to the GLS method and have been omitted, for more details see (Nunes 2024).

Figure 13
CCFDM-9P-L5p and CCFDM-9P-L9p solutions at section 𝐲=0.5 for 𝐟=𝟎, 𝐤=𝟏𝟎𝟎𝟎, 𝛉=𝟎 and 𝐤𝐡=0.5.
Figure 14
CCFDM-9P-L5p and CCFDM-9P-L9p solutions at section 𝐲=0.5 for 𝐟=𝟎, 𝐤=𝟏𝟎𝟎𝟎, 𝛉=𝟎 and 𝐤𝐡=𝟏.
Figure 15
CCFDM-9P-L5p and CCFDM-9P-L9p solutions at section 𝐲=0.5 for 𝐟=𝟎, 𝐤=𝟏𝟎𝟎𝟎, 𝛉=𝟎 and 𝐤𝐡=𝟐.

In the second example, the homogeneous problem with superposition of three plane waves is considered, whose exact solution is u(x,y)=i=13cos(k(xcosθi+ysinθi)). Figure 16 shows the solutions of the two versions of the CCFDM together with the interpolant at section y=0.5 for wavenumber k=1000, θ1=0, θ2=π4, θ3=π8 and kh=0.5. These three wave directions were chosen because none of them coincide with the wave direction in which the CCDFM-9p shows zero dispersion. Figures 17 and 18 show the same case only with the difference in kh values.

Figure 16
CCFDM-9P-L5p and CCFDM-9P-L9p solutions at section 𝐲=0.5 for 𝐟=𝟎, 𝐤=𝟏𝟎𝟎𝟎, 𝛉𝟏=𝟎, 𝛉𝟐=𝛑𝟒, 𝛉𝟑=𝛑𝟖 and 𝐤𝐡=0.5.
Figure 17
CCFDM-9P-L5p and CCFDM-9P-L9p solutions at section 𝐲=0.5 for 𝐟=𝟎, 𝐤=𝟏𝟎𝟎𝟎, 𝛉𝟏=𝟎, 𝛉𝟐=𝛑𝟒, 𝛉𝟑=𝛑𝟖 and 𝐤𝐡=𝟏.
Figure 18
CCFDM-9P-L5p and CCFDM-9P-L9p solutions at section 𝐲=0.5 for 𝐟=𝟎, 𝐤=𝟏𝟎𝟎𝟎, 𝛉𝟏=𝟎, 𝛉𝟐=𝛑𝟒, 𝛉𝟑=𝛑𝟖 and 𝐤𝐡=𝟐.

In the third example, the source term f(x,y)=4+k2(x2+y2) and Dirichlet boundary conditions are considered such that the exact solution is u(x,y)=x2+y2+sin[k(xcosθ+ysinθ)]. Figure 19 shows the solutions of the two versions of the CCFDM together with the interpolant at sections y=0.5 for wavenumber k=1000, θ=π4 and kh=0.5. Figures 20 and 21 show the same case only with the difference in kh values.

Figure 19
CCFDM-9P-L5p and CCFDM-9P-L9p solutions at section 𝐲=0.5 for 𝐟(𝐱,𝐲)=𝟒+𝐤𝟐(𝐱𝟐+𝐲𝟐), 𝐤=𝟏𝟎𝟎𝟎, 𝛉=𝛑𝟒 and 𝐤𝐡=0.5.
Figure 20
CCFDM-9P-L5p and CCFDM-9P-L9p solutions at section 𝐲=0.5 for 𝐟(𝐱,𝐲)=𝟒+𝐤𝟐(𝐱𝟐+𝐲𝟐), 𝐤=𝟏𝟎𝟎𝟎, 𝛉=𝛑𝟒 and 𝐤𝐡=𝟏.
Figure 21
CCFDM-9P-L5p and CCFDM-9P-L9p solutions at section 𝐲=0.5 for 𝐟(𝐱,𝐲)=𝟒+𝐤𝟐(𝐱𝟐+𝐲𝟐), 𝐤=𝟏𝟎𝟎𝟎, 𝛉=𝛑𝟒 and 𝐤𝐡=𝟐.

Figure 22 shows the relative error REG=Uu2u2 calculated in the l2 vector norm as a function of the mesh parameter (lower axis) or kh (upper axis). The CCFDM-5p shows an error similar to the CC scheme, where the main highlight is that the pre-asymptotic behavior appears only from kh0.1. This corresponds to a mesh refinement much lower than rule of thumb (kh0.6). This was to be expected because the CCFDM-5p has a dispersion relation equivalent to the GLS method. On the other hand, the CCFDM-9p-L5p and CCFDM-9p-L9p have a dispersion relationship equivalent to the QSFEM method. The main highlight is that they present pre-asymptotic convergence in the region 0.79kh1 (red straight line with slope m1) and asymptotic in the region 0.2kh0.79 (black straight line with slope m2). For meshes with kh0.2, round-off errors impact the solution, and it would be necessary to use computers with quadruple precision (Strouboulis et al. 2006).

Figure 22
Relative error in the 𝐥𝟐 norm with 𝐟=𝟎, 𝐤=𝟑𝟎𝟎, 𝛉=𝟎 and 𝟏𝟎𝟎×𝟏𝟎𝟎𝐍𝟐𝟎𝟎𝟎×𝟐𝟎𝟎𝟎.

Figure 23 shows the relative error REG keeping the kh=0.5 value constant for f=0, θ=0 and 50k1000. The main highlight is that CCFDM-9p-L5p and CCFDM-9p-L9p are equivalent and have a much smaller error than CCFDM-5p and CC scheme.

Figure 23
Relative error 𝐑𝐄𝐆 with 𝐤𝐡=0.5 constant for 𝛉=𝟎 and 𝟓𝟎𝐤𝟏𝟎𝟎𝟎.

Figure 24 shows the relative error REG as a function of wave direction for the case f=0, k=200 and kh=0.5. Again, the main highlight is that CCFDM-9p-L5p and CCFDM-9p-L9p are equivalent and have a much smaller error than CCFDM-5p and CC scheme. As expected, the CCFDM-5p shows zero error for the angles θ1=π/8 and θ1=3π/8 similarly to the GLS method. The CCFDM-9p-L5p and CCFDM-9p-L9p methods show zero error for angles θ1=π/16, θ2=3π/16, θ3=5π/16 and θ4=7π/16 similarly to the QSFEM method. The numerical value REG is not exactly zero due to round-off (Strouboulis et al. 2006).

Figure 24
Relative error as a function of wave direction for the cases 𝐟=𝟎, 𝐤=𝟐𝟎𝟎, 𝐤𝐡=0.5 and 𝟎𝛉𝛑/𝟐.

All the theoretical analysis and numerical experiments carried out show that the CCFDM-9pL-5p and CCFDM-9pL-9p have the same dispersion relation and the same global error behavior, although they differ in the order of approximation of the Laplacian. This allows us to state that for the new approach CCFDM the order of approximation of the derivatives is not the most important thing, if the number of stencil points is kept the same (dimension of the subspace SL), and if a basis for this subspace is constructed. In other words, the most important issue in terms of stability and accuracy is the ability to completely represent the local approximation subspace. Hence the term ‘Complete’ used in the name of the new approach, since it was possible to build a basis for this subspace in the finite difference framework, that is, any element of this subspace can be generated.

CONCLUSIONS

A new approach in the finite difference framework was developed. This approach fully considers the local approximation subspace determined by the type of stencil chosen, since a vector basis is constructed for this subspace using different schemes generated by linearly independent vectors. Thus, the new method can represent any element of this subspace. That is, any finite difference scheme that belongs to this subspace. Furthermore, some of the vectors used to form this basis are new schemes developed by modifying only the k2u term of the PDE.

In essence, the new approach can be formalized in three simple steps: choosing the dimension of the local approximation subspace, constructing a vector basis for this subspace, and determining the coefficients of the linear combination. When applied to the Helmholtz equation on uniform meshes, CCFDM can always minimize the dispersion relation for all stencils in all dimensions. In the 1D case and 3-point stencil, the absolute minimum is achieved with zero dispersion. In the 2D case and 5-point stencil, the absolute minimum is reached in the directions θ=θ1=π8 and θ=θ1+π4 with a dispersion relation equivalent to GLS, where the linear system matrix has only five non-zero diagonals. In the 2D case and 9-point stencil, the CCFDM-9p-L5p and CCFDM-9p-L9p versions were developed using two different bases for the local approximation subspace. Both versions reach the absolute minimum in the directions θ=θ1=π16 and θ=θ1+π8 with a dispersion relation equivalent to QSFEM. That is, both versions are equivalent, and this shows that regardless of the basis chosen for the local approximation subspace, the new approach is capable of generating any element of this subspace.

For the first time in dispersion analysis, two equations emerge that must be satisfied. The equation corresponding to the imaginary part is related to the symmetry of the stencil used, thereby establishing a link between the algebraic question (coefficients of the linear system) and the geometric question of the mesh (stencil symmetry). For each scheme, dispersion analysis, calculation of the local truncation error and experimental analysis of the global error were carried out, showing that the CCFDM is consistent. The numerical results demonstrate that the new approach, in addition to presenting good performance, is very flexible and promising for application to other PDEs.

Based on the analysis presented, it is clear that this new approach introduces a paradigm shift in the framework of finite differences. Future research should investigate this approach on non-uniform 1D, 2D, and 3D meshes, and its application to the diffusion-convection equation with dominant convection. Furthermore, it would be beneficial to extend these ideas to other numerical methods involving sparse matrices, such as the finite element method and the finite volume method.

ACKNOWLEDGMENTS

This work was supported by the Universidade Federal Fluminense and the Coordena~{a}o de Aperfeioamento de Pessoal de N'{i}vel Superior (CAPES, Brasil). The authors are grateful for the constructive comments made by the two reviewers. Dedicated to the Memory of Professor Ivo M. Babuka.

Dedicated to the Memory of Professor Ivo M. Babuška.

  • 1
    https://www.wolfram.com/mathematica

References

  • ALVAREZ GB, LOULA AFD, CARMO EGD ROCHINHA FA. 2006. A discontinuous finite element formulation for Helmholtz equation. Comput Methods Appl Mech Engrg 195(33-36): 4018-4035.
  • ALVAREZ GB NUNES HF. 2024. Novos Esquemas de Diferenças Finitas para a Equação de Helmholtz. REMAT: Revista Eletrônica da Matemática 10: e4001.
  • BABUŠKA I, IHLENBURG F, PAIK ET SAUTER SA. 1995. A Generalized Finite Element Method for solving the Helmholtz equation in two dimensions with minimal pollution. Comput Methods Appl Mech Engrg 128: 325-359.
  • BABUŠKA IM SAUTER SA. 1997. Is the Pollution Effect of the FEM Avoidable for the Helmholtz Equation Considering High Wave Numbers? SIAM J Numer Anal 34(6): 2392-2423.
  • CARMO EGD, ALVAREZ GB, LOULA AFD ROCHINHA FA. 2008. A nearly optimal Galerkin projected residual finite element method for Helmholtz problem. Comput Methods Appl Mech Engrg 197(13-16): 1362-1375.
  • FERNANDES DT LOULA AFD. 2010. Quasi optimal finite difference method for Helmholtz problem on unstructured grids. Int J Numer Methods Eng 82(10): 1244-1281.
  • GILAT A. 2014. MATLAB: An Introduction with Applications. Wiley, 416 p.
  • HARARI I HUGHES TJR. 1991. Finite element methods for the Helmholtz equation in an exterior domain: Model problems. Comput Methods Appl Mech Engrg 87(1): 59-96.
  • HARARI I HUGHES TJR. 1992. Galerkin/least-squares finite element methods for the reduced wave equation with non-reflecting boundary conditions in unbounded domains. Comput Methods Appl Mech Engrg 98(3): 411-454.
  • IHLENBURG F. 1998. Finite element analysis of acoustic scattering. New York: Springer-Verlag, 226 p.
  • IHLENBURG F BABUŠKA I. 1995a. Finite element solution of the Helmholtz equation with high wave number Part I: The h-version of the FEM. Comput Math Appl 30(9): 9-37.
  • IHLENBURG F BABUŠKA I. 1995b. Dispersion analysis and error estimation of Galerkin finite element methods for the Helmholtz equation. Int J Numer Methods Eng 38(22): 3745-3774.
  • LAX PD RICHTMYER RD. 1956. Survey of the Stability of Linear Finite Difference Equations. Commun Pure Appl Math 9(2): 267-293.
  • LEVEQUE RJ. 2007. Finite Difference Methods for Ordinary and Partial Differential Equations: Steady-State and Time-Dependent Problems. Philadelphia: SIAM - Society for Industrial and Applied Mathematics, 341 p.
  • LOULA AFD, ALVAREZ GB, CARMO EGD ROCHINHA FA. 2007. A discontinuous finite element method at element level for Helmholtz equation. Comput Methods Appl Mech Engrg 196(4-6): 867-878.
  • NABAVI M, SIDDIQUI MHK DARGAHI J. 2007. A new 9-point sixth-order accurate compact finite-difference method for the Helmholtz equation. J Sound Vib 307(3): 972-982.
  • NUNES HF. 2024. Método Completo de Diferenças Finitas Centradas para a Equação de Helmholtz. Volta Redonda: Master’s Thesis, Universidade Federal Fluminense, 133 p. (Unpublished).
  • FERNANDES DT. 2009. Métodos de Diferenças Finitas e Elementos Finitos para o Problema de Helmholtz. Petrópolis: Ph.D. Thesis, Laboratório Nacional de Computação Científica, 126 p.
  • ROCHINHA FA, ALVAREZ GB, CARMO EGD LOULA AFD. 2007. A locally discontinuous enriched finite element formulation for acoustics. Commun Numer Meth Engng 23: 623-637.
  • SINGER I TURKEL E. 1998. High-order finite difference methods for the Helmholtz equation. Comput Methods Appl Mech Engrg 163: 343-358.
  • STROUBOULIS T, BABUŠKA I HIDAJAT R. 2006. The generalized finite element method for Helmholtz equation: Theory, computation, and open problems. Comput Methods Appl Mech Engrg 195(37-40): 4711-4731.
  • SUTMANN G. 2007. Compact finite difference schemes of sixth order for the Helmholtz equation. J Comput Appl Math 311(1): 15-31.
  • THOMPSON L PINSKY P. 1995. A galerkin least squares finite element method for the two-dimensional Helmholtz equation, Int J Numer Methods Eng 38(3): 371-397.
  • VICHNEVETSKY R BOWLES JB. 1982. Fourier Analysis of Numerical Approximations of Hyperbolic Equations. Philadelphia: SIAM - Society for Industrial and Applied Mathematics, 152 p.
  • WOLFRAM S. 2015. An Elementary Introduction to the Wolfram Language. Champaign: Wolfram Media Inc, 324 p.
  • WU T. 2017. A dispersion minimizing compact finite difference scheme for the 2D Helmholtz equation. J Comput Appl Math 203: 497-512.
  • WU T XU R. 2018. An optimal compact sixth-order finite difference scheme for the Helmholtz equation. Comput Math Appl 75(7): 2520-2537.

Publication Dates

  • Publication in this collection
    25 Nov 2024
  • Date of issue
    2024

History

  • Received
    18 May 2024
  • Accepted
    11 Aug 2024
location_on
Academia Brasileira de Ciências Rua Anfilófio de Carvalho, 29, 3º andar, 20030-060 Rio de Janeiro RJ Brasil, Tel: +55 21 3907-8100 - Rio de Janeiro - RJ - Brazil
E-mail: aabc@abc.org.br
rss_feed Acompanhe os números deste periódico no seu leitor de RSS
Reportar erro