SciELO - Scientific Electronic Library Online

 
vol.9 número2EVALUACION DE CAUSAS DE SOBREPRESIÓN DISTINTAS A LA SUB-COMPACTACIÓN: APLICACIÓN EN YACIMIENTOS NO CONVENCIONALESRECONSTRUCCIÓN DEL RELLENO DE UN CAÑÓN SUBMARINO A PARTIR DE ANÁLISIS SISMOESTRATIGRÁFICO INTEGRADO - APLICACIÓN A LA FORMACIÓN BANQUERAU, CUENCA ESCOCIA - COSTA AFUERA CANADÁ índice de autoresíndice de materiabúsqueda de artículos
Home Pagelista alfabética de revistas  

Servicios Personalizados

Revista

Articulo

Indicadores

Links relacionados

  • En proceso de indezaciónCitado por Google
  • No hay articulos similaresSimilares en SciELO
  • En proceso de indezaciónSimilares en Google

Compartir


CT&F - Ciencia, Tecnología y Futuro

versión impresa ISSN 0122-5383versión On-line ISSN 2382-4581

C.T.F Cienc. Tecnol. Futuro vol.9 no.2 Bucaramanga jul./dic. 2019

https://doi.org/10.29047/01225383.178 

Artículos originales

OPTIMAL SHAPE PARAMETER FOR MESHLESS SOLUTION OF THE 2D HELMHOLTZ EQUATION

PARAMETRO OPTIMO DE FORMA PARA LA SOLUCIÓN DE LA ECUACIÓN DE HELMHOLTZ 2D EN MODELO SIN MALLA

Mauricio-A Londoñoa  * 

Hebert, Montegranarioa 

a Instituto de Matematicas, Universidad de Antioquia. Calle 67 53-108, Medellin, Colombia.


ABSTRACT

The solution of the Helmholtz equation is a fundamental step in frequency domain seismic imaging. This paper deals with a numerical study of solutions for 2D Helmholtz equation using a Gaussian radial basis function-generated finite difference scheme (RBFFD). We analyze the behavior of the local truncation error in approximating partial derivatives of the 2D Helmholtz equation solutions when the shape parameter of RBF varies. For discretization, we performed, by means of a classical numerical dispersion analysis with plane waves, a minimization of the error function to obtain local and adaptive near optimal shape parameters according to the local wavelength of the required solution. In particular, the method is applied to obtain a simple and accurate solver by using stencils which seven nodes on hexagonal regular grids, wich mitigate pollution-effects. We validated numerically that the stability and isotropy are enhanced with respect to Cartesian grids. Our method is tested with standard case studies and velocity models, showing similar or better accuracy than finite difference and finite element methods. This is an efficient way for interacting with inverse and imaging problems such as Full Wave Inversion

KEYWORDS: RBF-FD; Helmholtz equation; Shape parameter; pollution effect

RESUMEN

La solución de la ecuación de Helmholtz es una parte fundamental en la modelación sísmica en el dominio de la frecuencia. Este artículo realiza un análisis numérico de las soluciones de la ecuación de Helmholtz 2D utilizando un esquema de diferencias finitas (RBFFD), generado por funciones gaussianas de Base radial. Se analiza el comportamiento del error de truncamiento local al aproximar las derivadas parciales de las soluciones de la ecuación de Helmholtz 2D cuando varía el parámetro de forma de la RBF. Para la discretización, hemos realizado, mediante un análisis de dispersión clásico con ondas planas , una optimización de la función de error para obtener valores locales y adaptativos del parámetro de forma de acuerdo con la longitud de onda local de la solución requerida. En particular, el método se aplica para obtener un programa sencillo y óptimo usando plantillas de siete nodos sobre mallas regulares hexagonales, que mitigan el efecto polución. Se comprueba numéricamente que la estabilidad e isotropía son mejoradas con respecto a las mallas cartesianas. Nuestro método es probado con casos de estudio y modelos de velocidad estándar, mostrando exactitud similar o mejor que los métodos de diferencias o elemento finitos. Esta es una manera eficiente de interactuar con problemas inverso y de imagen tales como la inversión de onda completa

PALABRAS CLAVE: RBFFD; Ecuación de Helmholtz; Parámetro de forma; Efecto polución

1. INTRODUCTION

The Helmholtz equation is an elliptic partial differential equation that represents time-independent solutions of the wave equation. This equation models a wide variety of physical phenomena. These include among others, acoustic wave scattering, time harmonic acoustic, electromagnetic elds, water wave propagation, membrane vibration and radar scattering. All these applications make getting accurate numerical solution for the Helmholtz equation the object of a large number of investigations and methods such as finite differences spectral elements, finite elements method and boundary elements.

Intended for of seismic modeling and inversion, this paper deals with the problem of acoustic and constant density wave propagation on a rectangular domain Ω by solving the Helmholtz equation.

where ω is angular frequency, c(x) > 0 is a smooth function that represents the propagation speed of the wave and f(x) is a compactly supported distribution in ω that represents the source distribution. We consider boundary conditions (Dirichlet, Neumann and absorbing boundary conditions [5]) on the border δΩ and perfectly matched layers(PML) [1],[16] on an artificial extended domain a Ωδ⊃Ω.

When solving (1) at high frequencies by standard numerical methods the wavelength of the numerical solution is different than the real one λ(x) = 2π/k(x), where k(x) = ωc(x)-1 is the so-called wavenumber. This discrepancy of wavelengths is known as pollution effect[2],[17]. To obtain a better solution, it is necessary to oversample the solution by increasing the number of points per wavelength Ng, which has as drawback more computational cost, time and memory. For these and other facts the design of fast and stable solvers for Helmholtz equation has become a significant computational challenge.

Seismic information of good quality about the earth's subsurface structures is the rationale for geophysical applications. The oil and gas industry uses computational intensive algorithms to provide an image of the subsurface. Information is obtained by sending elastic energy into the subsurface and recording the signal required for a seismic wave to be reflected back to the surface from the Earth interfaces that may have different physical properties. In the petroleum industry, accurate seismic information for such a structure can help in determining potential oil and gas reservoirs in subsurface layers. The seismic wave is usually generated by shots of known frequencies, placed on the earth's surface, and the returning wave is recorded by instruments also placed along the earth's surface.

Helmholtz equation solutions are essential in frequency domain seismic imaging methods such us full waveform inversion (FWI), which requires to solve this equation several times [34]. The traditional Finite Element Method (FEM) or standard Finite Differences (FD) produce sparse matrices but for a few degrees of freedom, there may be a strong pollution effect for large values of the wavenumber. [3],[4],[38] obtain solvers that mitigate the pollution effect in the high frequency regime. Recently, [13] developed a solver by using numerical micro-local analysis and ray-based finite elements method to achieve accurate local finite element space. Furthermore, global radial basis functions are more accurate but produce full matrices that become unstable.

Recently, [25] proposed a RBF-FD solver for frequency domain wave propagation and suggested that the approximated solution does not disperse at relatively high frequencies. In [8] There is an up to date view of the theory and applications of Radial Basis Functions and RBF-FD methods in the numerical solution of partial differential equations with examples in Geosciences and seismic problems.

This paper develops and applies a RBF-FD method on hexagonal grids that solves the Helmholtz equation for a wide range of values of the wavenumber k, focusing in obtaining accurate local approximations of the partial derivative operators by using a few degrees of freedom. Direct solvers may be applied to the banded matrices obtained; in particular we use UMFPACK.

2. THEORICAL FRAMEWORK

RBF INTERPOLATION

interpolation with Radial Basis Functions the objective is to reconstruct a d-variate function u defined on a bounded domain Ω⊂ℝd from the values u( xk ) of u on a finite set of N scattered points X = {x 1 ;x 2 ; ... ;x N } ⊂Ω⊂ℝd. A radial basis function with shape parameter ε is defined as ɸε:ℝdxℝd→ℝ [6],[31], [34] such that ɸε(x,y)=ɸ(ε||x-y||), where ɸ:(0,∞)→ℝ is an univariate function. A sufficiently smooth function u:ℝd→ℝ can be approximated by the interpolant.

By forcing the condition PX,ε u( xk ) = u( xk ) for k = 1,...,N, the weights αj can be determined by solving the linear system.

provided that the interpolation matrix ɸX,ε = ɸε( xk ,xk )) 1≤k,j≤N is non-singular and hence the interpolant PX,ε u with

In particular, applying the Gaussian function ɸ(r)=e-r2, the interpolation matrix ɸX,ε is positive definite. Some important results about the convenience and properties of interpolation with this function can be found in [6].

The order of the approximation u(x) ≈ P X,ε u (x) can be measured by the fill distance of X in Ω defined by

and the stability [34] by the separation distance of X defined by

It is worth noting that RBF interpolation is meshless because it can be applied to scattered data with no dependence on point distribution. This property and the values of the shape parameter ε are commonly used to choose a geometry that may improve some performance or relevant aspects of the problem.

GLOBAL COLLOCATION METHOD WITH RBF

In recent years there has been increasing interest for obtaining approximated solutions of partial differential equations by the collocation method via RBF interpolation, either by unsymmetrical collocation or symmetric collocation [29]. Details for the latter can be consulted in [35]. Next, the unsymmetrical method will be described [19]. Under the RBF interpolation framework, we want to approximate the solution of boundary value problems in the formula

where ℒ and ℬ are linear partial differential operators with regular coefficients have a regularity that is good enough. It is assumed that (7) it is a well-posed problem. Let be a set of points conveniently separated as and If it is supposing that the unique solution of (7) can be approximated by the interpolant PX,ε in (2), the problem may be forced by the equations

arising from the linear system

and by (4), obtaining the following linear system whose unknowns are the u values at the points of X

To get the approximated solution u from (10), it is necessary that the collocation matrix (ℒɸε,x∩Ω ℬɸε,X∩∂Ω)t be non-singular, which in general is not true. An elaborated counterexample using multiquadrics and Gaussians was presented in [15]. However, under certain conditions, unsymetrical collocation method is feasible from a generalized approach using separated trial and test spaces [23],[24].

DISCRETIZATION BY RBF-FD

For problems requiring to compute solutions on large domains good resolution, the resultant matrix obtained by the collocation method is dense, huge and ill-conditioned, implying a prohibited computational cost. A variant of RBF collocation method enabling to deal with large domains is the local version [33],[36]. A local interpolation is possible to obtain a sparse matrix that represents the linear partial differential operator. This approach is often called Radial Basis Function-generated Finite Differences method (RBF-FD). The RBF-FD method is the following.

Let be a set of interpolation points. For any x ¡X an influence domain S ¡X is created which is formed by the n i nearest neighbor interpolation points. That is, consider an n i- stencil where and Ωi = ConvexHull(Si). This is how the subsets of points contained in X. u(x) are formed, which be approximated by RBF interpolation for xS i as

with x ∈ Ωi. On the shape parameter ε i is on depending on the location xi . This allows to manipulate the shape of the RBF according to known data. Collocating the ni points of the stencil Si , results in a small linear system given by

with is the local interpolation matrix and

The unknown coefficients αi in (12) can be expressed in terms of the function values at the local interpolation points as

The inverse matrix exists because of the positive definiteness of [6]. Now, with the aim of obtaining a local discretized version for (7) consider x iΩ∩X or X i∂Ω∩X. In both cases a linear partial differential operator must be applied, either ℒ or ℬ, to equation (11). For xi ∈ Ω it follows

where

We denote and From (14) and (15) it follows a discretized local version of (7)

The above system of linear equations can be assembled forming sparse matrix H of size N x N where the z-th row, associated to X, has at most ni nonzero entries,and the unknown matrix is given by U = ũ( x1 ) ũ( x2 )...ũ( xN ) (recall ).

An approximated solution ũ(x) at all the interpolation points can be obtained by solving HU = F. H can be considered a discretized version of the operator ℒ including the boundary conditions involved in (7). The foregoing discussion gives rise to the following definition.

Definition 1. Let Let ℒ: Ck (Ω)→ Ck-m (Ω) be a linear partial differential operator of order m, where Ω ⊂ ℝ d is open and bounded. For u Ck (Ω) and x ∈ Ω consider an n−stencil of nearest neighbors to x. Here x1≡x. The Gaussian RBF-FD operator associated to L denoted by ℒ Sx is defined by

Where

and ɸε( y;xi ) = ℯ−ε2||y−xi||2 with ε > 0. The Gaussian weights matrix of ℒ at Sx is defined by

initially the application of Gaussian RBF-FD implies the solution of a small linear system at every node in order to compute weight matrices, a condition that increases the computational complexity of the problem. There are situations where the non-singular matrix ɸ Sx, ε is ill-conditioned, principally for small values of ε. In these events the RBF is near to the flat limit, however this issue has been overcome by using different methodologies resulting in stable calculations of (20), for example [10]-[12],[22], and recently [26] have used an hybrid kernel that is formed with two weighted terms, one Gaussian and another cubic which is given by '𝜑(r) = αℯ−[εr]2+ βr3 , so this new hybrid kernel now involves three parameters.

Some RBF's do not contain a shape parameter ε. One well known example are polyharmonic splines 𝜑(r) = r 2m log r,m ∈ ℕ and 𝜑(r) = r 2m;m ∉ ℕ. In general a RBF interpolator has the form

where p(x) is a low degree polynomial. The inclusion of p(x), determines the invertibility of the interpolation matrix and this can be explained in terms of the theory of conditionally positive definite functions (for a wider perspective the reader may consult [34],[6]). For example polyharmonic splines include p(x), while the gaussian function does not.

Up to now two kinds of RBF's have been applied in RBF-FD methods (i) infinitely smooth RBF's (which is the approach used in this paper) which contains a shape parameter. In this case is possible to get a high degree of accuracy in the solution although it is necessary to design strategies or algorithms for tuning the best value of the shape parameter and (ii) polyharmonic splines combined with the polynomial term RBF(PHS)- FD for short. This combination is free from a shape parameter but depends on the choice of PHS and polynomial degrees. ɸ(r) is less in uential but p(x) cannot exceed a certain maximum, which increases with the local support size. Thus, the error estimates of RBF(PHS)-FD will depend on knowing the maximal permissible degree of supplementary polynomials (see Fornberg's book [8] for further information).

In this work, to obtain a relatively cheap solver, we focused on obtaining predictable weights with closed formulas depending on ε and h, ε will be adaptable according to the minimum local truncation error at position x. So we will be exploring within small stencils of node sets distributed on regular grids. The node density distribution may cause problems as to accuracy of the method. [8] discuss some methods in quasi-uniform node sets. In order to avoid point sets with sharp density differences we apply the algorithm from [30].

SHAPE PARAMETER FOR SOLUTIONS OF HELMHOLTZ EQUATION

For an homogeneous media the propagation of time-harmonic waves is modeled by Helmholtz equation with wavenumber k = ωc−1 where c is the sound speed and ω is the angular frequency. From the Fourier optics standpoint a time-harmonic wave can be seen as a superposition of plane waves and from the stationary phase method the timeharmonic wave field, at distant points, is due to a plane wave component; therefore it makes sense to consider planes waves as a key part of the analysis. Wave planes are a fundamental tool for investigating the behavior of numerical solutions for Helmholtz equation, either to reduce pollution effects or to design higher order discretizations, in this token, there are recent works such as [18] and [13].

Described below the method to obtain adequate shape parameters on general stencils for approximating a linear dierential operator ℒ with smooth coefficients.

when it is applied to solutions of Helmholtz equation. Let be the symbol of the linear differential operator X [37]2. In particular consider plane waves given by , therefore u satises

Let be an n-stencil with respect to x1 = x = (x,y). The local truncation error by the approximation ℒ S, u(x; k; θ) is given by

where US0 = (u(x1 − x; k; θ)...u(xn − x; k; θ))t. Note that

In particular, if then pℒ(ik cosθ; ik sin θ) = (ik) r+s cosr θ sinsθ. Also, since the symbol of Laplace operator is the polynomial (ξ,Ƞ) = ξ2+ Ƞ2, then (ik cos θ; ik sin θ) =− k2 .

For implementations purposes, we approximated the integral (23) by means of Simpson's rule with ΔΘ=2π/16. To estimate the minimum argument (24) we used the Matlab function fminbnd.m, which use both Golden-section search and parabolic interpolation. This estimate requires roughly range between ten and twenty evaluations of (23). At each iteration, ℒ calculated once by Cholesky decomposition. With this procedure we try to reduce dispersion and pollution effects in numerical solutions of Helmholtz equation, calling this algorithm RBF-min.

Figure 1 Local truncation error approximating Δ u1(xc) for several stencil size. in the figures Xc is the biggest point in black; at xc, k = 9; 56 and Xs = (3:5; 0:5). Node distribution is based on a region of the smooth Marmousi model. 

DISPERSION ANALYSIS

Consider a solution u of Helmholtz equation -Δu(x)-k2u(x)=0. The classical dispersion analysis applies the relative phase error | k-kf |/k where kf is the wavenumber of the numerical solution, which locally satises

The occurrence of the fictitious wavenumber kf is known as numerical dispersion and can be studied by the phase lag | k-kf |. However, as the solution of the Helmholtz equation fluctuates considerably for large wavenumbers the situation is even worse because for measuring the properties of a finite difference scheme, considering only the convergence order is not enough. In fact, the accuracy of the numerical solution deteriorates with increasing wavenumber k even when the resolution factor kh, is kept constant. This phenomenon is related to the so-called 'pollution effect' (see, [17]). Therefore our next task is to build an strategy to mitigate this phenomenon.

To obtain an explicit relation between k and kf we consider the plane wave

with propagation angle θ and wave length λ=2π/k. According to (25) we can take kf as a function which depends on k, θ the stencil S and ε, given by its square

Note that the local truncation error (22) for ℒ=Δ is given just by

The fictitious wavenumber is anisotropic, i.e., it depends on the wave propagation direction θ. As was the case in [27], our objective will be to choose the shape parameter ε such that the average phase error, over all angles of propagation, is minimum. Hence in minimizing the averaged local truncation error

for the variable ε we can mitigate the pollution effect due to dispersion error

Figure 2 Comparison of runtime in calculations of stable weights of results presented in Figure. 1. 

Figure 3 7-stencil on a regular hexagonal grid. 

SOME CLOSED FORMULAS AND TRUNCATION ERROR

In the context of numerical solutions of the wave equation, numerical stability and isotropy are enhanced with a similar computational work when compared with the standard numerical methods in the simulation of heterogeneous and random media. For example, whereas Von Neumann stability in solution of the 2D acoustic wave equation by explicit finite differences with 5-points needs to satisfy the estimate , with hexagonal 7-stencil, this estimate is improved to [7]. Besides, with hexagonal stencils we have reached similar results to those reported in [3] where the authors have developed an optimal Cartesian 9-stencil for Helmholtz equation with the goal of mitigating the pollution effect.

We start considering the 7-stencil , built on an hexagonal regular grid as in Figure 3. For h > 0 and x1 = (x; y) as central node, the coordinates of the other points in H are given by

Sometimes will be convenient to work with subscripts referred by cardinal directions:

With the given labeled order in the 7-stencil H and with p = ℯ−[εh]2, the interpolation matrix ɸH,ε is explicitly given by

From this formula, we seek expressions for and Δ H applied at u(x1). Using a software of symbolic calculus we obtain

where

Also, we note that F1 + F2 = G1 + G2 and denote it by F = F1 + F2 = G 1 + G 2, explicitly

Formulas for partial derivative operators of second order. By simple substitutions with the group of equations (31) within of equations in (30) we have explicit formulas for approximating partial derivative operators of second order

As it is usual in finite differences schemes, once an approximation is proposed, the first step is to investigate its local truncation error. The standard methodology consists in making comparisons with Taylor polynomials. The next lemma will be useful in that sense.

Lemma 1. For the following approximations of weights functions in (31) hold

One way to test the quality of the method is to point out the relationship with other finite difference schemes. It is not difficult to show that the standard finite difference method is the limit of the RBF-FD scheme, it occurs when the width of the Gaussian RBF, controlled by the shape parameter ε, tends to be at.

Remark 1. By examining the limit situation ε→ 0+ with Δ H,εu (Xc) in (33) via approximations in (34) we recover the formula

Given in [7], corresponding to the standard finite difference formulation derived by Taylor expansions.

Local truncation errors. To estimate the local truncation error of the approximations ℒ H,εu(x) ≈ u(x) it suffices to expand u(xi), for i = 2, 3; ..., 7 in Taylor polynomials around x1 = xc, and then substituting them in (33), obtaining

From Taylor polynomials in (34) the following error can be obtained

from which the error estimates can be obtained for (33) with their respective approximation errors

The above treatment and discussion can be summarized in the next result

Theorem 1. Let u be a function in C4 (Ω) with Ω⊂ℝ2 a convex open set. Then for x ∈Ω , h > 0 small enough such that H⊂ Ω and ε>0 such that ; the following assertions about the Gaussian RBF-FD approximations hold:

In Figure 4 it is depicted a comparison of RBF-FD with 5-stencils and 7-stencils against its respective standard finite differences approximations. To conduct this test we chose the Hankel function of the rst kind with k = 100 and h = 0:01. We can observe the behaviour of the relative truncation error

Figure 4 Plot of relative error (left) (39) and (right) (40) with xl = (2; 1:5), k = 100 and h = 0:01 

and

It is worth to point out that in both situations there exist values of ε where the error reaches a minimum value. Furthermore it confirms that the limit situation ε→ 0+, RBF-FD coincides with FD.

OPTIMAL SHAPE PARAMETER ON HEXAGONAL STENCIL

We derive closed formulas to rapidly obtain the optimal shape parameter in the context of hexagonal stencils.

Remark 2. Let u be a solution of the Helmholtz equation. By theorem 1.

for any ε > 0 on a hexagonal stencil H of size h centered at (x;y), we have that for small enough h

In this case the ctitlous wavenumber kf depends also of the stencil size h, kf = kf (k;θ; h; ε) is such that

As we have already seen, kf\s related to the truncation error of the Laplace operator applied in u by

In this case, thanks to the symmetry of the hexagonal stencil, it is possible to nd an explicit relation between k and kf. From (33) in (26) we obtain the formula

where

In Figure 5 (left) there is a plot of the residual where it can appreciated that for some values of ε It Is possible to have good accuracy even in scaling h for keeping hk = 1 or equlvalently that is, by fixing 2π ≈ 6 points per wavelength. Next lemma will allow us to Introduce a simplified variant of (43) which does not depend of θ, by just taking the mean value over [0,2π].

Figure 5 Left: Plot of for four different values of k0 . Right: Plot of ε = ε op (100;h) for four different values of h

Lemma 2. For any (h,k) ∈ℝ 2, T as in (44) satlses the equality

where J 0 is the Bessel function of first kind.

Proof. First, note that thus T has period in the second argument and

then, considering the identity

and by a few changes of variable we can finally obtain

where the last equality is a well known integral representation of the Bessel functions. We define such that

explicitly results in the formula

and we also introduced a new residual function We will see later what is the error between kf(k,h, ε) and and produced by "neglecting" θ in taking the mean value (48).

Lemma 3. Let h and k be positive real numbers with small enough h, then

Proof. By supposing using the expansions in (34) at (49) and taking ε→ 0+, then lim From the Taylor series of J0 it is true that

and the inequality is thus obtained. For the second limit note that from the explicit formula for (49) given by

we can see that

In addition, can be observed above that the behavior of and when ε →∞ are the same, hence

The above lemma and the continuity of the function allow us to guarantee that under the condition h > 0 and h > 0 there is some value ε > 0 such that As we have pointed out, δk measures the dispersion of the approximation, as well δk, thus, given h0 and k0, a good shape parameter would be ε 0(k0,h0) such that δ k(k0,h0, ε 0 (k0,h0))=0. Our strategy to reduce numerical dispersion is to find the minimum root of the equation For our implementations we will be more restrictive by considering with this we are choosing h so that for sampling a wavelength it means to use between 2π to 8π points, that is approximately between 6 and 25 points per wavelength. Thus, in our discretization for the Helmholtz equation on hexagonal stencils we will use the shape parameter

Figure 5 (Right) shows the results of a test focused on behavior of the optimum shape parameter εop. A linear dependence of the wavenumber k is observed; at least in the applied test.

ENHANCED LOCAL TRUNCATION ERROR

This section presents the results of a couple of tests intended to show the order of the local truncation error |Δ H opu (x)-Δu(x)| and |(∂x) H opu (x)-(∂x)u(x)|. In Figure 6 shows the results of testing the approximations by comparing with standard FD for u(x)= ℯik-x. Whereas in Figure 7 the same is done with Both functions are solutions of the Helmholtz equation, it can be noted that in these cases the optimum shape parameter oers an error of the order (h4).

Figure 6 Left: Comparison of relative local truncation error, varying h, between the approximation using standard FD 7p Δ H,0u (x,y) and RBF-FD7p Δ H,0u (x,y). Right: Comparison of relative local truncation error between the approximation using standard FD7p (∂ x ) H,0u (x,y) and RBF-FD7p (∂ x ) H,0u (x,y). Here u(x,y)=ℯik[z cosθ+y sinθ], is evaluated at (x,y)=(2.15), with θ= π|6 and k=100. 

Figure 7 Left: Comparison of relative local truncation error, varying h, between the approximation using standard FD 7p Δ hu (x,y) and RBF-FD7p (Δ) H,ε u (x,y). Right: Comparison of relative local truncation error between the approximation using standard FD7p (∂ x ) hu (x,y) and RBF-FD7p (∂ x ) H, εu(x,y). Here is the Hankel function evaluated at (x, y) = (2, 1:5) and k = 100. 

Figure 8 Comparison between the function (solid line) where k0= 100 and h0=0.01, and the function (dashed line) where J and parameters b0, d0, e0 and G0 were taken from [3]. Left: εop satises δk(l00,0.001, ε op)=0. Right: ε op= arg min

RELATIVE PHASE ERROR - POLLUTION EFFECT

As is well known through the vast literature about numerical solutions of Helmholtz equation, k is a key parameter. For large values of k, the solution u is highly fluctuating. To approximate the Helmholtz equation with an acceptable accuracy, the resolution of the discretization for the domain of interest should be adjusted to the wave number according to the so called rule of thumb [17],

which prescribes a minimum number of elements per wavelength. However, the performance of standard finite difference or finite element methods, such as the classical Galerkin finite element method, deteriorates as k increases. This misbehavior, known as pollution of the approximate solution, can only be avoided, with standard methods, after a drastic renement of the discretization. [9] summarized the local truncation error and the relative phase error (kf,k)l k of the most popular methods for solving Helmholtz equation using different size stencils.

Now our aim isto calculate the approximation order of the numerical wavenumber as k changes, in order to estimate the order of the relative phase error, but first we will examine the order of the error produced by neglecting the dependence of θ in taking the average value of on [0.2π]. We recall that

and

From the Taylor polynomials of (44) and Bessel function respectively

and

thus

From the approximations of F(h,ε) given in (34), it is easy to

Hence On the other hand, from (34), (55)

where

Provided that lWl < 1, the binomial series can be applied, that is We take the linear approximation, then

Hence the relative phase error is given by

Note that for the limit case ε →0+

which asserts that, in the limit case, for keeping the order of the error when k is increasing, the mesh size h it must scale at least as that is

3. EXPERIMENTAL DEVELOPMENT

Perfectly matched layers (PML) is a technique for simulating solutions of wave phenomena in free-space. The idea is to build an absorbing layer for surrounding the computational domain of nterest. The new system possesses the property of generating no reflection, at least in continuous case, at the interface between the free medium and the articial absorbing medium. PML has been ntroduced by Berenger [1] for Maxwell's equations, and has been widely used for the simulation of time dependent seismic waves as well as Helmholtz-like equations. The analysis necessary to show that the Helmholtz equation with PML (PML-Helmholz) for constant wavenumber is a well-posed problem is treated in [20] Now a description of PML-Helmholtz equation is given (see [14] [38] for details).

For setting up the PML-Helmholtz equation it is necessary to define some basic functions in a rectangular domain. Let σl ℝ→ℝ be defined by

where p (0,1) → (0,1) is given by γ and δ are constant. By definition σ ∈C(ℝ). for a fixed positive angular frequency ω satisfying , let dl be the complex-valued function

Consider the open rectangles Ω=(-a,a)x(-b,b) and Ωδ=(-a-δ,a+δ) x(-b-δ,b+δ).

The modified PML-Laplace operator is defined by

or alternatively

where and Note that coincides with -Δ in Ω. Usually, for making analytic studies this is considered as an unbounded operator on L2( 2 ) with domain the Sobolev space H2( 2 ) or in a weaker form, as an unbounded operator on H-1(ℝ2) with domain HJ(ℝ2) [38]. However, for numerical implementations in__ the finite difference approach it is considered a truncated version The PML-Laplace operator allows to introduce the PML-Helmholtz equation

we will suppose that the function c = c(x) which describe the acoustic or P-wave propagation speed is positive and belongs to C2δ).

In order to approximate solutions of equation (66) within the approach of RBF-FD on hexagonal grid, we use the explicit expressions for Gaussian weights, thus by way of the formulas in (33) we have that for x = (x, y) in Ωδ with 7-stencil H ⊂ Ωδ

hence by carrying out substitutions

where weights Γ's are given by

and of course,

We use the optimal shape parameter ε given by (51) to approximate each operator involved in (68). To analyze the approximation applied to problem (66) we regard the concept of consistency [32],

Definition 2. Given a partial differential equation, ℒu = f, and a finite difference scheme, ℒ hu = f based on a stencil with size h, we say that the finite difference scheme is consistent with the partial differential equation if for any smooth function 𝜑(x)

as h → 0, the convergence being pointwise convergence at each point x.

Proposition 1. The RBF-FD approximation given in (67) applied to the problem (66) is consistent with the Helmholtz-PML equation and has second order of accuracy.

Proof. We need to show that for an hexagonal 7-stencil H of size h centered at x ∈Ωδ and for a given shape parameter ε

converges pointwise to 0 as h0, where 𝜑 is a smooth function. The proof will be completed by simply inspecting the estimates in (38) used in (67), once performed these substitutions we can observe that

which means that the accuracy of the approximation is 𝒪(ε 2h2 ), as εh tends to 0.

DISCRETE FORMULATION

We will perform the discretization of the problem (66) on an hexagonal grid G which represents to ÍÍ6. The optimal shape parameter at every stencil will be taken in accord to its dependence of the local wavenumber k(x) = ω 2c−2 (x), so ε op (x) = ε op (k(x),h), where is used (51). For the sake of a more simplied notation, we denote similarly for the others weights formulas in (69).

We begin by considering two rectangular grids given by

where Nz is a positive odd integer. Note that the grid G = G1 G2 is formed by hexagonal stencils. We denote and for points in G1 and G2 respectively; also we denote The homogeneous Dirichlet boundary condition it is expressed in terms of the boundary points of the grid G, by doing

Figure 9 Hexagonal grid G = G1 G2, where G1 are black dots and G2 are blue squares. 

Thus, for points in the grid G1, the equation (68) has the explicit form

for and for points at grid G2 is

for With the couple of equations above we assemble a sparse linear system where c is a diagonal matrix formed with the values

is a block matrix whose blocks are given by

The sparsity pattern of the matrix is depicted in Figure 11.

Remark 3. If the linear system LhUh=f can be solved if only if Here Σ (A) denotes the spectrum of A. Is pending for a further work to prove that Figure 10 shows a plot of some eigenvalues of the matrices and where c represents the Marmousi model extended to PML. The eigenvalues plotted are 500 nearest to ω2 and 500 nearest to 0.

Figure 10 Plot of some eigenvalues of the matrices and (Top) for ω = 10 and h= 0.1497, (below) ω = 50 and h = 0.0300. c represents the Marmousi model extended to PML. 

Figure 11 Sparsity pattern of the matrix  

4. RESULTS

EXACT IMPEDANCE BOUNDARY CONDITIONS

PLANE WAVES

With Ω = (0,1) × (0,1), k = 500, kx = k cos θ, kz = k sin θ . By using 2π points per wavelength, i.e. kh = 1, we solve (91)

SPHERICAL WAVEFRONT

For this example it is chosen Ng = 6 for solving the problem (91) with Ω = (0, 1)x(0,1). Where g is the boundary data satisfying the exact solutions

and

with constant k. These solutions corresponds to a single source and four sources, respectively, outside the domain Ω The relevancy of taking u2 can be seen In [13]. Discretizations were made with Ng = 6 nodes per wavelength at each value of the wavenumber k. Within an hexagonal grid we take 7-stencils at Inner nodes and 22-stencils at boundary nodes.

Table 1 Error of the approximated solutions and for the problem (91) with source outside the domain, whose exact solution u1 and u2 are given in (92) and (93). 

INSIDE SOURCE PROBLEM

Now we test our method with sources inside the domain. The aim is to get the truncated solution of the problem

Figure 12 Nodes distribution of hexagonal type. 

Table 2 Error of the approximated solutions and for the problem (91) with source /inside the domain, g = 0 and ℬ the third order Fade approximation. Exact solutions uc and uM are given in (94) and (95). 

WITH PML

In this test we solve the problem of nd the truncated Green's function for that is the solution of

Figure 13 Comparison of results between RBF-FD and those reported in [3]. (a) Results for k = 500 and h = 1/500 varying the propagation angle, (b) With k varying, θ=π/4 and h=1/k 

The solution of this problem is

Figure 14 Plot of tests for approximated solutions of (91). (a) Comparison with the exact solution (92). (b) Comparison with the exact solution (93). 

where is the Hankel function. For this test we use 2π points per wavelength (i.e. kh = 1). Some results with a qualitative analysis of error are shown in Figure 15.

Figure 15 (Left) Runtime for solving the system L h U h = f by LU factorization. (Center) Near boundary sources. (Right) Centered sources. 

2004 BP MODEL

In this example we calculate the truncated Green function for the well known BP model in frequencies 15Hz and 40Hz. The results are shown in Figure 16.

Figure 16 Top: 2004 BP velocity-analysis Benchmark. Bottom plots: Real part of the wave eld at 6Hz with dierent positions of the source. 

CONCLUSIONS

  • In this paper we have developed and applied a RBF-FD method on hexagonal grids that solves the Helmholtz equation for a wide range of values of the wavenumber k We focus in obtaining accurate local approximations of the partial derivative operators by using a few degrees of freedom applied to solutions of Helmholtz equation.

  • We obtain closed formulas for the weights in terms of ε,h showing that the standard finite difference method is the limit of our RBF-FD scheme, this happens when the wide of the Gaussian RBF, controlled by the shape parameter ε, tends to be flat. The method obtains banded matrices; such that the respective linear systems can be solved efficiently by direct solvers.

  • We have developed a simple solver that is compared with 5-point Finite difference method and accurate compared with 9-point FD method. By local interpolation we found good shape parameters to approximate derivatives of solutions of the 2D Helmholtz equation. Within the RBF-FD framework are approximated the solutions of the PMLHelmholtz equation on hexagonal grids with optimal values of the shape parameter.

  • Our method has been compared against classical and well-known methods, showing equal and sometimes better performance, with this we have validated numerically that our solver suer less of the pollution effects. The advantages and drawbacks of the RBF-FD method applied to Helmholtz equation can be seen at Table 3.

Table 3 Advantages and drawbacks of RBF-FD method 

ACKNOWLEDGEMENTS

This work is supported by Colombian Oil Company ECOPETROL and COLCIENCIAS as a part of the research project grant No. 0266-2013.

REFERENCES

[1] Jean-Pierre Berenger. A perfectly matched layer for the absorption of electromagnetic waves. Journal of Computational Physics, 114(2):185-200, 1994. [ Links ]

[2] Ivo M. Babuska and Stefan A. Sauter. Is the pollution effect of the fem avoidable for the Helmholtz equation considering high wave numbers SIAM J. Numer. Anal.,34(6):2392-2423, December 1997. [ Links ]

[3] Zhongying Chen, Dongsheng Cheng, Wei Feng, and TINGTING Wu. An optimal 9-point finite difference scheme for the Helmholtz equation with PML. Int. J. Numer. Anal. Model, 10:389-410, 2013. [ Links ]

[4] Zhongying Chen , Tingting Wu, and Hongqi Yang. An optimal 25-point finite difference scheme for the helmholtz equation with PML. Journal of Computational and Applied Mathematics, 236(6):1240-1258, 2011. [ Links ]

[5] Björn Engquist and Andrew Majda. Absorbing boundary conditions for numerical simulation of waves. Proceedings of the National Academy of Sciences, 74(5):1765-1766, 1977. [ Links ]

[6] Gregory E. Fasshauer. Meshfree Approximation Methods with Matlab. World Scientific, 2007. [ Links ]

[7] J.C. Fabero, A. Bautista, and L. Casasus. An explicit finite differences scheme over hexagonal tessellation. Applied Mathematics Letters, 14(5):593-598, 2001. [ Links ]

[8] Bengt Fornberg and Natasha Flyer. A primer on radial basis functions with applications to the geosciences, volume 87. SIAM, 2015. [ Links ]

[9] Daniel T. Fernandes and Abimael F. D. Loula. Quasi-optimal finite difference method for Helmholtz problem on unstructured grids. International Journal for Numerical Methods in Engineering, 82(10):1244- 1281, 2010. [ Links ]

[10] Bengt Fornberg, Elisabeth Larsson, andNatasha Flyer . Stable computations with Gaussian radial basis functions. SIAM Journal on Scientific Computing, 33(2):869-892, 2011. [ Links ]

[11] Bengt Fornberg , Erik Lehto, and Collin Powell. Stable calculation of gaussian based RBF-FD stencils. Computers & Mathematics with Applications, 65(4):627- 637, 2013. [ Links ]

[12] Gregory E. Fasshauer and Michael J. McCourt. Stable evaluation of Gaussian radial basis function interpolants. SIAM Journal on Scientific Computing, 34(2):A737-A762, 2012. [ Links ]

[13] Jun Fang, Jianliang Qian, Leonardo Zepeda-Nu~nez, and Hongkai Zhao. Learning dominant wave directions for plane wave methods for high-frequency Helmholtz equations. Research in the Mathematical Sciences, 4(1):9, May 2017. [ Links ]

[14] Taeyoung Ha and Imbunm Kim. Analysis of one dimensional Helmholtz equation with PML boundary. Journal of Computational and Applied Mathematics, 206(1):586-598, 2007. [ Links ]

[15] Y.C. Hon and R. Schaback. On unsymmetric collocation by radial basis functions. Applied Mathematics and Computation, 119(2):177- 186, 2001. [ Links ]

[16] Frank D Hastings, John B Schneider, and Shira L Broschat. Application of the perfectly matched layer (PML) absorbing boundary condition to elastic wave propagation. The Journal of the Acoustical Society of America, 100(5):3061-3069, 1996. [ Links ]

[17] Frank Ihlenburg and Ivo Babuska. Dispersion analysis and error estimation of Galerkin finite element methods for the Helmholtz equation. International journal for numerical methods in engineering, 38(22):3745-3774, 1995. [ Links ]

[18] Lise-Marie Imbert-Gerard. Interpolation properties of generalized plane waves. Numerische Mathematik, 131(4):683-711, Dec 2015. [ Links ]

[19] Edward J Kansa. Multiquadric a scattered data approximation scheme with applications to computational fluid-dynamics|ii solutions to parabolic, hyperbolic and elliptic partial differential equations. Computers & mathematics with applications, 19(8- 9):147-161, 1990. [ Links ]

[20] Seungil Kim and Joseph E. Pasciak. Analysis of a cartesian PML approximation to acoustic scattering problems in R2. Journal of Mathematical Analysis and Applications, 370(1):168-186, 2010. [ Links ]

[21] Seungil Kim andJoseph E. Pasciak . Analysis of the spectrum of a cartesian perfectly matched layer (PML) approximation to acoustic scattering problems. Journal of Mathematical Analysis and Applications, 361(2):420- 430, 2010. [ Links ]

[22] Elisabeth Larsson, Erik Lehto, Alfa Heryudono, and Bengt Fornberg. Stable computation of differentiation matrices and scattered node stencils based on gaussian radial basis functions. SIAM Journal on Scientific Computing, 35(4):A2096-A2119, 2013. [ Links ]

[23] Leevan Ling, Roland Opfer, and Robert Schaback. Results on meshless collocation techniques. Engineering Analysis with Boundary Elements, 30(4):247-253, 2006. [ Links ]

[24] Leevan Ling and Robert Schaback. Stable and convergent unsymmetric meshless collocation methods. SIAM Journal on Numerical Analysis, 46(3):1097-1115, 2008. [ Links ]

[25] Pankaj Mishra, Sankar Nath, Gregory Fasshauer, and Mrinal Sen. Frequency- domain meshless solver for acoustic wave equation using a stable radial basis-finite difference (RBF-FD) algorithm with hybrid kernels, 4022-4027, 2017. [ Links ]

[26] Pankaj K. Mishra, Sankar K. Nath, Gregor Kosec, and Mrinal K. Sen. An improved radial basis-pseudospectral method with hybrid gaussian-cubic kernels. Engineering Analysis with Boundary Elements, 80(Supplement C):162-171, 2017. [ Links ]

[27] J. W. Nehrbass, J. O. Jevtic, and R. Lee. Reducing the phase error for finite-difference methods without increasing the order. IEEE Transactions on Antennas and Propagation, 46(8):1194-1201, Aug 1998. [ Links ]

[28] H. Power and V. Barraco. A comparison analysis between unsymmetric and symmetric radial basis function collocation methods for the numerical solution of partial differential equations. Computers & Mathematics with Applications, 43(3):551-583, 2002. [ Links ]

[29] Per-Olof Persson and Gilbert Strang. A simple mesh generator in Matlab. SIAM Review, 46(2):329-345, 2004. [ Links ]

[30] Robert Schaback. Multivariate interpolation and approximation by translates of a basis function. Series In Approximations and Decompositions, 6:491-514, 1995. [ Links ]

[31] J. Strikwerda. Finite Difference Schemes and Partial Differential Equations, Second Edition. Society for Industrial and Applied Mathematics, 2004. [ Links ]

[32] A. I. Tolstykh and D. A. Shirobokov. On using radial basis functions in a "finite-difference mode" with applications to elasticity problems. Computational Mechanics, 33(1):68-79, Dec 2003. [ Links ]

[33] Yi Tao and Mrinal K Sen. Frequency-domain Full Waveform Inversion with plane-wave data. Geophysics, 78(1):R13-R23, 2012. [ Links ]

[34] Holger Wendland. Scattered data approximation, volume 17. Cambridge university press, 2004. [ Links ]

[35] Holger Wendland. On the stability of meshless symmetric collocation for boundary value problems. BIT Numerical Mathematics, 47(2):455-468, Jun 2007. [ Links ]

[36] Grady B Wright and Bengt Fornberg. Scattered node compact finite difference-type formulas generated from radial basis functions. Journal of Computational Physics, 212(1):99-123, 2006. [ Links ]

[37] Man-Wah Wong. An Introduction to Pseudo- Differential Operators. World Scientific Publishing Company, 2 edition, August 1999. [ Links ]

[38] Churl-Hyun Jo, Changsoo Shin, and Jung Hee Suh. An optimal 9-point, finite-difference, frequency-space, 2D scalar wave extrapolator. Geophysics, 61(2):529- 537,1996 [ Links ]

ARTICLE INFO: CT&F - Ciencia, Tecnologia y Futuro Vol 9, Num 2 December 2019. pages 15 - 35 DOI : https://doi.org/10.29047/01225383.178

Received: April 13, 2018; Revised: August 01, 2018; Accepted: March 26, 2019

Creative Commons License This is an open-access article distributed under the terms of the Creative Commons Attribution License