Abstract
The method of difference potentials was originally proposed by Ryaben’kii and can be interpreted as a generalized discrete version of the method of Calderon’s operators in the theory of partial differential equations. It has a number of important advantages; it easily handles curvilinear boundaries, variable coefficients, and non-standard boundary conditions while keeping the complexity at the level of a finite-difference scheme on a regular structured grid. The method of difference potentials assembles the overall solution of the original boundary value problem by repeatedly solving an auxiliary problem. This auxiliary problem allows a considerable degree of flexibility in its formulation and can be chosen so that it is very efficient to solve.
Compact finite difference schemes enable high order accuracy on small stencils at virtually no extra cost. The scheme attains consistency only on the solutions of the differential equation rather than on a wider class of sufficiently smooth functions. Unlike standard high order schemes, compact approximations require no additional boundary conditions beyond those needed for the differential equation itself. However, they exploit two stencils—one applies to the left-hand side of the equation and the other applies to the right-hand side of the equation.
We shall show how to properly define and compute the difference potentials and boundary projections for compact schemes. The combination of the method of difference potentials and compact schemes yields an inexpensive numerical procedure that offers high order accuracy for non-conforming smooth curvilinear boundaries on regular grids. We demonstrate the capabilities of the resulting method by solving the inhomogeneous Helmholtz equation with a variable wavenumber with high order (4 and 6) accuracy on Cartesian grids for non-conforming boundaries such as circles and ellipses.
Similar content being viewed by others
Notes
Convergence of the Fourier series remains exponential due to the smoothness, but the constants become larger.
References
Babuska, I.M., Sauter, S.A.: Is the pollution effect of the FEM avoidable for the Helmholtz equation considering high wave numbers? SIAM J. Numer. Anal. 34(6), 2392–2423 (1997)
Baruch, G., Fibich, G., Tsynkov, S.: High-order numerical method for the nonlinear Helmholtz equation with material discontinuities in one space dimension. J. Comput. Phys. 227, 820–850 (2007)
Baruch, G., Fibich, G., Tsynkov, S., Turkel, E.: Fourth order scheme for wave-like equations in frequency space with discontinuities in the coefficients. Commun. Comput. Phys. 5(2–4), 442–455 (2009)
Bayliss, A., Goldstein, C.I., Turkel, E.: On accuracy conditions for the numerical computation of waves. J. Comput. Phys. 59(3), 396–404 (1985)
Britt, S., Tsynkov, S., Turkel, E.: A compact fourth order scheme for the Helmholtz equation in polar coordinates. J. Sci. Comput. 45(1–3), 26–47 (2010)
Britt, S., Tsynkov, S., Turkel, E.: Numerical simulation of time-harmonic waves in inhomogeneous media using compact high order schemes. Commun. Comput. Phys. 9(3), 520–541 (2011)
Calderon, A.P.: Boundary-value problems for elliptic equations. In: Proceedings of the Soviet-American Conference on Partial Differential Equations at Novosibirsk, pp. 303–304. Fizmatgiz, Moscow (1963)
Cangellaris, A.C., Wright, D.B.: Analysis of the numerical error caused by the stair-stepped approximation of a conducting boundary in FDTD simulations of electromagnetic phenomena. IEEE Trans. Antennas Propag. 39(10), 1518–1525 (1991)
Carey, G.F., Chow, S.S., Seager, M.K.: Approximate boundary-flux calculations. Comput. Methods Appl. Mech. Eng. 50(2), 107–120 (1985)
Collatz, L.: The Numerical Treatment of Differential Equations. Springer, New York (1966)
El Guennouni, A., Jbilou, K., Sadok, H.: A block version of BICGSTAB for linear systems with multiple right-hand sides. Electron. Trans. Numer. Anal. 16, 129–142 (2003) (electronic)
Elbouyahyaoui, L., Messaoudi, A., Sadok, H.: Algebraic properties of the block GMRES and block Arnoldi methods. Electron. Trans. Numer. Anal. 33, 207–220 (2008/09)
Erlangga, Y., Turkel, E.: Iterative schemes for high order compact discretizations to the exterior Helmholtz equation. ESAIM: Math. Model. Num. Anal. 46(3), 647–660 (2012)
Erlangga, Y.A., Oosterlee, C.W., Vuik, C.: A novel multigrid based preconditioner for heterogeneous Helmholtz problems. SIAM J. Sci. Comput. 27(4), 1471–1492 (2006) (electronic)
Erlangga, Y.A., Vuik, C., Oosterlee, C.W.: On a class of preconditioners for solving the Helmholtz equation. Appl. Numer. Math. 50(3–4), 409–425 (2004)
Erlangga, Y.A.: Advances in iterative methods and preconditioners for the Helmholtz equation. Arch. Comput. Methods Eng. 15(1), 37–66 (2008)
Freund, R.W., Malhotra, M.: A block QMR algorithm for non-Hermitian linear systems with multiple right-hand sides. In: Proceedings of the Fifth Conference of the International Linear Algebra Society, Atlanta, GA, 1995, vol. 254, pp. 119–157 (1997)
Greengard, L., Rokhlin, V.: A fast algorithm for particle simulations. J. Comput. Phys. 73(2), 325–348 (1987)
Gunzburger, M., Peterson, J.: Reduced-order modeling of complex systems with multiple system parameters. In: Large-Scale Scientific Computing. Lecture Notes in Comput. Sci., vol. 3743, pp. 15–27. Springer, Berlin (2006)
Harari, I., Turkel, E.: Accurate finite difference methods for time-harmonic wave propagation. J. Comput. Phys. 119(2), 252–270 (1995)
Hirschel, E.H., Kordulla, W.: Shear Flow in Surface-Oriented Coordinates. Notes on Numerical Fluid Mechanics, vol. 4. Vieweg, Braunschweig (1981–1986)
Holland, R.: Pitfalls of staircase meshing. IEEE Trans. Electromagn. Compat. 35, 434–439 (1993)
Ihlenburg, F.: Finite Element Analysis of Acoustic Scattering. Applied Mathematical Sciences, vol. 132. Springer, Berlin (1998)
Kamenetskii, D.S.: Difference potentials and the parameterization of solutions of homogeneous difference equations. Comput. Math. Math. Phys. 38(11), 1754–1767 (1998)
Kamenetskii, D.S.: Difference generalized Poincaré-Steklov operators and potentials with density from a space of jumps. Comput. Math. Math. Phys. 39(8), 1275–1282 (1999)
Kamenetskii, D.S.: On one form of representing the difference potentials. Appl. Numer. Math. 33(1–4), 501–508 (2000)
Lax, P., Wendroff, B.: Systems of conservation laws. Commun. Pure Appl. Math. 13, 217–237 (1960)
Lele, S.K.: Compact finite difference schemes with spectral like resolution. J. Comput. Phys. 103, 16–42 (1992)
Li, Z., Ito, K.: The Immersed Interface Method: Numerical Solutions of PDEs Involving Interfaces and Irregular Domains. Frontiers in Applied Mathematics, vol. 33. Society for Industrial and Applied Mathematics (SIAM), Philadelphia (2006)
Lončarić, J., Ryaben’kii, V.S., Tsynkov, S.V.: Active shielding and control of noise. SIAM J. Appl. Math. 62(2), 563–596 (2001)
Nabavi, M., Siddiqui, K., Dargahi, J.: A new 9-point sixth-order accurate compact finite-difference method for the Helmholtz equation. J. Sound Vib. 307, 972–982 (2007)
Novikov, S.P., Fomenko, A.T.: Basic Elements of Differential Geometry and Topology. Mathematics and its Applications (Soviet Series), vol. 60. Kluwer Academic, Dordrecht (1990). Translated from the Russian by M.V. Tsaplina
Peskin, C.S.: The immersed boundary method. Acta Numer. 11, 479–517 (2002)
Peterson, A.W., Tsynkov, S.V.: Active control of sound for composite regions. SIAM J. Appl. Math. 67(6), 1582–1609 (2007)
Petropavlovsky, S.V., Tsynkov, S.V.: Quasi-lacunae of Maxwell’s equations. SIAM J. Appl. Math. 71(4), 1109–1122 (2011)
Petropavlovsky, S.V., Tsynkov, S.V.: A non-deteriorating algorithm for computational electromagnetism based on quasi-lacunae of Maxwell’s equations. J. Comput. Phys. 231, 558–585 (2012)
Qasimov, H., Tsynkov, S.: Lacunae based stabilization of PMLs. J. Comput. Phys. 227, 7322–7345 (2008)
Reznik, A.A.: Approximation of surface potentials of elliptic operators by difference potentials. Dokl. Akad. Nauk SSSR 263(6), 1318–1321 (1982)
Richtmyer, R.D.: Difference Methods for Initial-Value Problems. Interscience Tracts in Pure and Applied Mathematics, vol. 4. Interscience, New York (1957)
Rokhlin, V.: Solution of acoustic scattering problems by means of second kind integral equations. Wave Motion 7(3), 257–272 (1983)
Ryaben’kii, V.S.: Boundary equations with projections. Russ. Math. Surv. 40(2), 147–183 (1985)
Ryaben’kii, V.S.: Method of Difference Potentials and Its Applications. Springer Series in Computational Mathematics, vol. 30. Springer, Berlin (2002)
Ryaben’kii, V.S., Filippov, A.F.: On Stability of Difference Equations. Gosudarstv. Izdat. Tehn.-Teor. Lit, Moscow (1956)
Ryaben’kii, V.S., Tsynkov, S.V., Turchaninov, V.I.: Global discrete artificial boundary conditions for time-dependent wave propagation. J. Comput. Phys. 174(2), 712–758 (2001)
Ryaben’kii, V.S., Tsynkov, S.V.: A Theoretical Introduction to Numerical Analysis. Chapman & Hall/CRC, Boca Raton (2007)
Seeley, R.T.: Singular integrals and boundary value problems. Am. J. Math. 88, 781–809 (1966)
Singer, I., Turkel, E.: High-order finite difference methods for the Helmholtz equation. Comput. Methods Appl. Mech. Eng. 163(1–4), 343–358 (1998)
Singer, I., Turkel, E.: Sixth-order accurate finite difference schemes for the Helmholtz equation. J. Comput. Acoust. 14(3), 339–351 (2006)
Sofronov, I.L.: A new method for the numerical solution of regular elliptic problems. Dokl. Akad. Nauk SSSR 296(5), 1057–1061 (1987)
Strang, G., Fix, G.J.: An Analysis of the Finite Element Method. Prentice Hall, Englewood Cliffs (1973)
Sutmann, G.: Compact finite difference schemes of sixth order for the Helmholtz equation. J. Comput. Appl. Math. 203(1), 15–31 (2007)
Tal-Ezer, H., Turkel, E.: The iterative solver Risolv with application to the exterior Helmholtz problem. SIAM J. Sci. Comput. 32(1), 463–475 (2010)
Tolstykh, A.I., Lipavskii, M.V.: On performance of methods with third- and fifth-order compact upwind differencing. J. Comput. Phys. 140(2), 205–232 (1998)
Tsukerman, I.: A class of difference schemes with flexible local approximation. J. Comput. Phys. 211(2), 659–699 (2006)
Tsynkov, S.V.: Numerical solution of problems on unbounded domains: a review. Appl. Numer. Math. 27(4), 465–532 (1998)
Tsynkov, S.V.: Artificial boundary conditions for the numerical simulation of unsteady acoustic waves. J. Comput. Phys. 189(2), 626–650 (2003)
Tsynkov, S.V.: On the definition of surface potentials for finite-difference operators. J. Sci. Comput. 18(2), 155–189 (2003)
Tsynkov, S.V.: On the application of lacunae-based methods to Maxwell’s equations. J. Comput. Phys. 199(1), 126–149 (2004)
Utyuzhnikov, S.V.: Non-stationary problem of active sound control in bounded domains. J. Comput. Appl. Math. 234(6), 1725–1731 (2010)
Acknowledgements
Work supported by the US NSF under grant # DMS-0810963, US–Israel Binational Science Foundation (BSF) under grant # 2008094, US AFOSR under grant # FA9550-10-1-0092, and US ARO under grant # W911NF-11-1-0384.
Author information
Authors and Affiliations
Corresponding author
Additional information
Dedicated to our friend Saul Abarbanel on the occasion of his 80th birthday.
Appendix A: Coordinates Associated with a Curve and Equation-Based Extension
Appendix A: Coordinates Associated with a Curve and Equation-Based Extension
1.1 A.1 Elliptical Coordinates
Let Γ be an ellipse with semi-axes a and b:
Then, the equation-based extension (introduced in Sect. 4.2 for the case of a circle) is convenient to build using the elliptical coordinates.
Denote \(d=\sqrt{a^{2}-b^{2}}\) the distance from the center of the ellipse (69) to either of its foci. A common definition of elliptical coordinates (η,φ) is given by:
where η≥0 and φ∈[0,2π). The coordinate lines that correspond to (70) are families of ellipses and hyperbolas on the plane, see Fig. 7. For a fixed η=η 0, the coordinate line is an ellipse:
so that the original ellipse (69) corresponds to
For a fixed φ=φ 0, the coordinate line is a hyperbola:
The basis vectors for elliptical coordinates are (see Fig. 7):
and
where r=(x,y) is the radius-vector defined via (70). Hence, the Lame coefficients are equal to one another:
Accordingly, the Helmholtz equation (9) in the elliptical coordinates (70) transforms into
where H=H η =H φ , see formula (72).
Suppose that \(\pmb {\xi }_{\varGamma}=(\xi_{0},\xi_{1}) |_{\varGamma}\) is given on the ellipse (69) so that ξ 0=ξ 0(φ) and ξ 1=ξ 1(φ). In the vicinity of this ellipse, we define a new smooth function v=v(η,φ) by means of the Taylor formula [cf. formula (42)]:
where η 0 is given by expression (71), and the choice of L is discussed in Sect. 4.3. The zeroth and first order derivatives in formula (74) are obtained by requiring that [cf. formula (43)]
Note that whereas in polar coordinates \(\frac{\partial v}{\partial n}=\frac{\partial v}{\partial r}\), in elliptical coordinates we have: \(\frac{\partial v}{\partial n}=\frac{1}{H}\frac{\partial v}{\partial\eta}\). The higher order derivatives for formula (74) are obtained via equation-based differentiation:
and
where
The function v(η,φ) of (74) evaluated at the nodes of the grid boundary γ is called the equation-based extension of \(\pmb {\xi }_{\varGamma}\) from the ellipse Γ given by (69) to γ [cf. formula (48)]:
1.2 A.2 General Case
Equation-based extensions can also be built without assuming any special regular shape of Γ, such as a circle or an ellipse. Suppose that Γ is a general non-self-intersecting smooth closed curve on the plane, and that it is parameterized by its arc length s:
where R is the radius-vector that traces the curve. Assume for definiteness that as s increases the point R(s) moves counterclockwise along Γ. The unit tangent vector to Γ is given by
In addition to the unit tangent, we also consider the unit normal to the curve Γ:
Given a counterclockwise parametrization R=R(s), the normal \(\pmb {\nu }\) of (77) will always be pointing outward with respect to the domain Ω, and hence the pair of vectors \((\pmb {\nu },\pmb {\tau })\) will always have a fixed right-handed orientation on the plane.
Note, that there is a simple relation between the tangent (76), the normal (77), and the curvature κ of the curve Γ. It is given by the Frenet formula:
The vector \(\frac{d\pmb {\tau }}{ds}\) is directed toward the center of curvature, i.e., it may point either toward Ω or away from Ω depending on which direction the curve bends. Since the normal (77) has a fixed orientation, the curvature κ=κ(s) in formula (78) should be taken with the sign (see, e.g., [32, Part 1]):
We can now define the coordinates associated with the curve Γ. First, we re-emphasize that since Γ is smooth, both the tangent \(\pmb {\tau }=\pmb {\tau }(s)\) and the normal \(\pmb {\nu }=\pmb {\nu }(s)\) are smooth functions of s. Consider a point on the plane, which is a given node from the grid boundary γ. Draw the shortest normal from this point onto the curve Γ. Suppose that the value of the parameter of the curve at the foot of this normal is s, and the distance between the original point and the foot of the normal is n, see Fig. 8. As the position of the point may be on either side of the curve, the value of the distance n is taken with the sign: n>0 corresponds to the positive direction \(\pmb {\nu }\), i.e., to the exterior of Ω, and n<0 corresponds to the negative direction of \(\pmb {\nu }\), i.e., to the interior of Ω. The pair of numbers (n,s) provides the coordinates that identify the location of a given point on the plane. These coordinates are obviously orthogonal.
A limitation of the coordinates (n,s) is that for a general shape of the boundary Γ there may be some ambiguity, as it is possible that multiple shortest normals will exist for a given node. Hence, the distance function will be multi-valued and not differentiable w.r.t. the arc length s. This may happen, in particular, when the boundary Γ has a “cavity”. An obvious sufficient condition that avoids such ambiguities is to require that the coordinates (n,s) be used only inside a curvilinear strip of width \(2\bar{R}\) that straddles Γ, where \(\bar{R}=\min_{s} R(s)\) is the minimum radius of curvature. In other words, we require that if \(\frac{d\pmb {\tau }}{ds}\cdot \pmb {\nu }>0\) then \(n<\bar{\kappa}^{-1}\equiv\bar{R}\), and if \(\frac{d\pmb {\tau }}{ds}\cdot \pmb {\nu }<0\) then \(n>\bar{\kappa}^{-1}\equiv-\bar{R}\). This limitation, however, is not severe, because we use the coordinates (n,s) only for the points of the grid boundary γ, which are all about one grid size h away from the curve Γ, see Figs. 3 and 8. Having multiple shortest distances for a given node would then imply that the minimum radius of curvature \(\bar{R}\) is also of order h. This means, in turn, that the grid does not adequately resolve the geometry, and needs to be refined. Let us also note that the simulations in this paper, see Sect. 5, do not involve any shapes with potential cavities, i.e., non-convex features with the curvature κ∼h −1. In the future, we will analyze shapes with “small” features.
The coordinates (n,s) are orthogonal but not orthonormal. For a given point (n,s), its radius-vector r is expressed as follows:
and consequently, the basis vectors are given by
and
where we have used formulae (76), (77), (78), and (79). Accordingly, the Lame coefficients for the coordinates (n,s) are
and
where the last equality in (80) holds because n<κ −1 for κ>0 and n>κ −1 for κ<0.
In the coordinates (n,s), (9) becomes
where H s =H s (n,s) is given by (80), and where we have taken into account that H n ≡1. Equation (81) will be used for building the equation-based extension of a given \(\pmb {\xi }_{\varGamma}\) from the continuous boundary Γ to the nodes of the grid boundary γ similar to how the polar Helmholtz equation (41) was used in Sect. 4.2 for building the corresponding extension from the circle.
Note, that if Γ is a circle of radius R, then the foregoing general constructs transform into the corresponding constructs for polar coordinates described in Sect. 4.2. Indeed, in this case the curvature κ of (79) does not depend on s:
and consequently [see formula (80)],
Then, according to (81) we can write:
Finally, we have n=r−R so that \(\frac{\partial}{\partial n}=\frac {\partial}{\partial r}\), and s=Rθ so that \(\frac{\partial}{\partial s}=\frac{1}{R}\frac {\partial}{\partial\theta}\), which yields:
Let \(\pmb {\xi }_{\varGamma}=(\xi_{0}(s),\xi_{1}(s))\) be given on Γ. In the vicinity of Γ, we define a new smooth function v=v(n,s) by means of the Taylor formula [cf. formula (42)]:
The zeroth and first order derivatives in formula (82) are obtained by requiring that \(\operatorname {\mbox {\textbf {\textit {Tr}}}}v=\pmb {\xi }_{\varGamma}\):
All higher order derivatives in formula (82) are determined with the help of equation (81) applied to v. For convenience, we multiply both sides by H s and then solve for the second derivative with respect to n, which yields:
where \(\tilde{k}=H_{s}k\), \(\tilde{f}=H_{s}f\), and \(\frac{\partial H_{s}}{\partial n}=-\kappa(s)\), see formula (80). Consequently,
Next, we differentiate equation (84) with respect to n:
and substituting v(0,s) and \(\frac{\partial v(0,s)}{\partial n}\) from (83) and \(\frac{\partial^{2} v(0,s)}{\partial n^{2}}\) from (85), we obtain \(\frac{\partial^{3} v(0,s)}{\partial n^{3}}\). Similarly, the fourth normal derivative \(\frac{\partial^{4} v(0,s)}{\partial n^{4}}\) can be evaluated by differentiating equation (86) with respect to n:
and then substituting the previously computed derivatives v(0,s), \(\frac{\partial v(0,s)}{\partial n}\), \(\frac{\partial^{2} v(0,s)}{\partial n^{2}}\), and \(\frac{\partial^{3} v(0,s)}{\partial n^{3}}\). Higher order derivatives (e.g., for the sixth order scheme) can be obtained in the same manner.
As in (42), we emphasize that formula (82) is not an approximation of a given v(n,s) by its truncated Taylor’s expansion. Rather it is the definition of a new function v(n,s). This function is used for building the equation-based extension of \(\pmb {\xi }_{\varGamma}\) from Γ to γ:
So, extension (87) is obtained by drawing a normal from a given node of γ to Γ, see Fig. 8, and then using the Taylor formula with higher order derivatives computed by differentiating the governing equation (81). If Γ is a circle, then the derivatives with respect to n in formula (82) become radial derivatives, and accordingly, the extension (87) transforms into (48).
Extension of the right-hand side f is built with the help of the Taylor formula
The derivatives of f that enter into (88) can be computed as one-sided normal derivatives on the interior side of Γ, similarly to how it is done for formula (49) when Γ is a circle.
Note that for more complicated shapes it may often be convenient to have a piece-wise parametrization for the curve Γ as opposed to the global parametrization. Piece-wise parametrization and different bases (40a) for different portions of the boundary (e.g., independent Chebyshev systems) may also pave the way toward discontinuous coefficients in the boundary conditions, non-smooth boundaries, and other formulations which will be analyzed in the future, see Sect. 6.
It should finally be mentioned that a somewhat more elaborate procedure will yield an equation-based extension for an equation more general than (9):
In formula (89), ε=ε(x,y) is a symmetric and positive definite tensor of rank 2. Equation (9) is a particular case of (89) where ε is the identity. In [6], we have considered another particular case of (89), with ε being diagonal in the Cartesian coordinates: ε=diag{a,b}.
Rights and permissions
About this article
Cite this article
Medvinsky, M., Tsynkov, S. & Turkel, E. The Method of Difference Potentials for the Helmholtz Equation Using Compact High Order Schemes. J Sci Comput 53, 150–193 (2012). https://doi.org/10.1007/s10915-012-9602-y
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10915-012-9602-y