Nothing Special   »   [go: up one dir, main page]

skip to main content
research-article

A Semi Matrix-Free Twogrid Preconditioner for the Helmholtz Equation with Near Optimal Shifts

Published: 03 May 2023 Publication History

Abstract

Due to its significance in terms of wave phenomena a considerable effort has been put into the design of preconditioners for the Helmholtz equation. One option to design a preconditioner is to apply a multigrid method on a shifted operator. In such an approach, the wavenumber is shifted by some imaginary value. This step is motivated by the observation that the shifted problem can be more efficiently handled by iterative solvers when compared to the standard Helmholtz equation. However, up to now, it is not obvious what the best strategy for the choice of the shift parameter is. It is well known that a good shift parameter depends sensitively on the wavenumber and the discretization parameters such as the order and the mesh size. Therefore, we study the choice of a near optimal complex shift such that a flexible generalized minimal residual (FGMRES) solver converges with fewer iterations. Our goal is to provide a map which returns the near optimal shift for the preconditioner depending on the wavenumber and the mesh size. In order to compute this map, a data driven approach is considered: We first generate many samples, and in a second step, we perform a nonlinear regression on this data. With this representative map, the near optimal shift can be obtained by a simple evaluation. Our preconditioner is based on a twogrid V-cycle applied to the shifted problem, allowing us to implement a semi matrix-free method in which only the coarse grid and boundary matrices need to be stored in memory. On the fine grid, only the action of the matrix applied to a vector is computed, without assembling the global matrix. This enables efficient use of computing resources and allows problems to be solved at scales that were previously limited by the available memory. The performance of our preconditioned FGMRES solver is illustrated by several benchmark problems with heterogeneous wavenumbers in two and three space dimensions.

References

[1]
Amoco statics test. https://software.seg.org/datasets/2D/Statics_1994/ (1994). [Online]. Accessed 26 Jan 2021
[2]
Alvarado A and Castillo P Computational performance of LDG methods applied to time harmonic Maxwell equation in polyhedral domains J. Sci. Comput. 2016 67 2 453-474
[3]
Amestoy P, Buttari A, L’Excellent J-Y, and Mary T Performance and scalability of the block low-rank multifrontal factorization on multicore architectures ACM Trans. Math. Softw. 2019 45 1-26
[4]
Anderson R, Andrej J, Barker A, Bramwell J, Camier J-S, Dobrev JCV, Dudouit Y, Fisher A, Kolev T, Pazner W, Stowell M, Tomov V, Akkerman I, Dahm J, Medina D, and Zampini S MFEM: a modular finite element library Comput. Math. Appl. 2021 81 42-74
[5]
Balay, S., Abhyankar, S., Adams, M.F., Brown, J., Brune, P., Buschelman, K., Dalcin, L., Dener, A., Eijkhout, V., Gropp, W.D., Karpeyev, D., Kaushik, D., Knepley, M.G., May, D.A.,McInnes, L.C., Mills, R.T., Munson, T., Rupp, K., Sanan, P., Smith, B.F., Zampini, S., Zhang, H., Zhang, H.: PETSc Web page. https://www.mcs.anl.gov/petsc (2019)
[6]
Bayliss A, Goldstein CI, and Turkel E An iterative method for the Helmholtz equation J. Comput. Phys. 1983 49 3 443-457
[7]
Bolten M and Rittich H Fourier analysis of periodic stencils in multigrid methods SIAM J. Sci. Comput. 2018 40 3 A1642-A1668
[8]
Brandt, A., Ta’asan, S.: Multigrid method for nearly singular and slightly indefinite problems. In: Multigrid Methods II, pp. 99–121. Springer (1986)
[9]
Briggs, W.L., Henson, V.E., McCormick, S.F.: A multigrid tutorial. SIAM (2000)
[10]
Cocquet P-H and Gander MJ How large a shift is needed in the shifted Helmholtz preconditioner for its effective inversion by multigrid? SIAM J. Sci. Comput. 2017 39 2 A438-A478
[11]
Cocquet P-H, Gander MJ, and Xiang X Closed form dispersion corrections including a real shifted wavenumber for finite difference discretizations of 2D constant coefficient Helmholtz problems SIAM J. Sci. Comput. 2021 43 1 A278-A308
[12]
Cools S and Vanroose W Local Fourier analysis of the complex shifted Laplacian preconditioner for Helmholtz problems Numer. Linear Algebra Appl. 2013 20 4 575-597
[13]
Drzisga D, Rüde U, and Wohlmuth B Stencil scaling for vector-valued PDEs on hybrid grids with applications to generalized Newtonian fluids SIAM J. Sci. Comput. 2020 42 6 B1429-B1461
[14]
Elman HC, Ernst OG, and O’leary DP A multigrid method enhanced by Krylov subspace iteration for discrete Helmholtz equations SIAM J. Sci. Comput. 2001 23 4 1291-1315
[15]
Erlangga YA, Oosterlee CW, and Vuik C A novel multigrid based preconditioner for heterogeneous Helmholtz problems SIAM J. Sci. Comput. 2006 27 4 1471-1492
[16]
Erlangga YA, Vuik C, and Oosterlee CW On a class of preconditioners for solving the Helmholtz equation Appl. Numer. Math. 2004 50 3–4 409-425
[17]
Ernst, O.G., Gander, M.J.: Why it is difficult to solve Helmholtz problems with classical iterative methods. In: Lecture Notes in Computational Science and Engineering, pp. 325–363. Springer, Berlin (2011)
[18]
Ernst, O.G., Gander, M.J.: Multigrid methods for Helmholtz problems: a convergent scheme in 1D using standard components. In: Direct and Inverse Problems in Wave Propagation and Applications. De Gruyer, pp. 135–186 (2013)
[19]
Esterhazy S and Melenk JM An analysis of discretizations of the Helmholtz equation in L2 and in negative norms Comput. Math. Appl. 2014 67 4 830-853
[20]
Gander MJ, Graham IG, and Spence EA Applying GMRES to the Helmholtz equation with shifted Laplacian preconditioning: What is the largest shift for which wavenumber-independent convergence is guaranteed? Numer. Math. 2015 131 3 567-614
[21]
Gander MJ and Zhang H A class of iterative solvers for the Helmholtz equation: factorizations, sweeping preconditioners, source transfer, single layer potentials, polarized traces, and optimized Schwarz methods SIAM Rev. 2019 61 1 3-76
[22]
Gray SH and Marfurt KJ Migration from topography: improving the near-surface image Can. J. Explor. Geophys. 1995 31 1–2 18-24
[23]
Greenfeld, D., Galun, M., Basri, R., Yavneh, I., Kimmel, R.: Learning to optimize multigrid PDE solvers. In: Proceedings of Machine Learning Research, vol. 97, pp. 2415–2423, Long Beach, California, USA (2019). PMLR
[24]
Heinlein A, Klawonn A, Lanser M, and Weber J Machine learning in adaptive domain decomposition methods–predicting the geometric location of constraints SIAM J. Sci. Comput. 2019 41 6 A3887-A3912
[25]
Kiefer J Sequential minimax search for a maximum Proc. Am. Math. Soc. 1953 4 3 502
[26]
Kronbichler M and Ljungkvist K Multigrid for matrix-free high-order finite element computations on graphics processors ACM Trans. Parallel Comput. 2019 6 1 1-32
[27]
Kumar P, Rodrigo C, Gaspar FJ, and Oosterlee CW On local Fourier analysis of multigrid methods for PDEs with jumping and random coefficients SIAM J. Sci. Comput. 2019 41 3 A1385-A1413
[28]
Li C and Qiao Z A fast preconditioned iterative algorithm for the electromagnetic scattering from a large cavity J. Sci. Comput. 2012 53 2 435-450
[29]
Liu F and Ying L Recursive sweeping preconditioner for the three-dimensional Helmholtz equation SIAM J. Sci. Comput. 2016 38 2 A814-A832
[30]
LRZ. Hardware of SuperMUC-NG. https://doku.lrz.de/display/PUBLIC/Hardware+of+SuperMUC-NG. Accessed 25 Feb 2020
[31]
Lu P and Xu X A robust multilevel preconditioner based on a domain decomposition method for the Helmholtz equation J. Sci. Comput. 2019 81 1 291-311
[32]
Luz, I., Galun, M., Maron, H., Basri, R., Yavneh, I.: Learning algebraic multigrid using graph neural networks. In: International Conference on Machine Learning, pp. 6489–6499. PMLR (2020)
[33]
Melenk, J.M.: On generalized finite element methods. PhD thesis, research directed by Dept. of Mathematics. University of Maryland at College Park (1995)
[34]
Paszke, A. et al.: PyTorch: an imperative style, high-performance deep learning library. In: Wallach, H., Larochelle, H., Beygelzimer, A., Buc, F., Fox, E., Garnett, R. (eds.) Advances in Neural Information Processing Systems, vol. 32, pp. 8024–8035. Curran Associates, Inc. (2019)
[35]
Ramos, L.G., Nabben, R.: A two-level shifted Laplace preconditioner for Helmholtz problems: field-of-values analysis and wavenumber-independent convergence. arXiv preprint arXiv:2006.08750 (2020)
[36]
Saad Y A flexible inner-outer preconditioned GMRES algorithm SIAM J. Sci. Comput. 1993 14 2 461-469
[37]
Saad Y and Schultz MH GMRES: a generalized minimal residual algorithm for solving nonsymmetric linear systems SIAM J. Sci. Stat. Comput. 1986 7 3 856-869
[38]
Stolk CC, Ahmed M, and Bhowmik SK A multigrid method for the Helmholtz equation with optimized coarse grid corrections SIAM J. Sci. Comput. 2014 36 6 A2819-A2841
[39]
Sun Y, Wu S, and Xu Y A parallel-in-time implementation of the Numerov method for wave equations J. Sci. Comput. 2022 90 1 1-31
[40]
Taus M, Zepeda-Núñez L, Hewett RJ, and Demanet L L-Sweeps: a scalable, parallel preconditioner for the high-frequency Helmholtz equation J. Comput. Phys. 2020 420
[41]
Trottenberg, U., Oosterlee, C.W., Schuller, A.: Multigrid. Elsevier (2000)
[42]
Versteeg R The Marmousi experience: velocity model determination on a synthetic complex data set Lead. Edge 1994 13 9 927-936
[43]
Wienands, R., Joppich, W.: Practical Fourier Analysis for Multigrid Methods. Chapman and Hall/CRC (2004)

Index Terms

  1. A Semi Matrix-Free Twogrid Preconditioner for the Helmholtz Equation with Near Optimal Shifts
        Index terms have been assigned to the content through auto-classification.

        Recommendations

        Comments

        Please enable JavaScript to view thecomments powered by Disqus.

        Information & Contributors

        Information

        Published In

        cover image Journal of Scientific Computing
        Journal of Scientific Computing  Volume 95, Issue 3
        Jun 2023
        866 pages

        Publisher

        Plenum Press

        United States

        Publication History

        Published: 03 May 2023
        Accepted: 20 March 2023
        Revision received: 17 March 2023
        Received: 02 March 2022

        Author Tags

        1. Helmholtz equation
        2. Multigrid
        3. Shifted Laplacian
        4. Preconditioner
        5. Matrix-free
        6. Data driven
        7. Nonlinear regression

        Author Tags

        1. 35J05
        2. 65N55
        3. 65F08
        4. 65F50

        Qualifiers

        • Research-article

        Funding Sources

        Contributors

        Other Metrics

        Bibliometrics & Citations

        Bibliometrics

        Article Metrics

        • 0
          Total Citations
        • 0
          Total Downloads
        • Downloads (Last 12 months)0
        • Downloads (Last 6 weeks)0
        Reflects downloads up to 10 Nov 2024

        Other Metrics

        Citations

        View Options

        View options

        Get Access

        Login options

        Media

        Figures

        Other

        Tables

        Share

        Share

        Share this Publication link

        Share on social media