{"title":"A matrix-free stabilized solver for the incompressible Navier-Stokes equations","authors":"Laura Prieto Saavedra , Peter Munch , Bruno Blais","doi":"10.1016/j.jcp.2025.114186","DOIUrl":null,"url":null,"abstract":"<div><div>We present an efficient solver for the incompressible Navier-Stokes equations implemented in a matrix-free fashion. It uses a higher-order continuous Galerkin finite element method for the space discretization and leverages a stabilized formulation that includes both the SUPG and PSPG terms. We solve the non-linear problem in a fully coupled way, using a Newton-Krylov method, which is preconditioned by a monolithic geometric multigrid solver. To evaluate its efficiency in terms of time to solution and scalability on modern high-performance computers, we use a manufactured solution, a steady flow around a sphere with Reynolds number <span><math><mrow><mrow><mi>Re</mi></mrow><mo>=</mo><mn>150</mn></mrow></math></span> and the Taylor–Green vortex benchmark at <span><math><mrow><mrow><mi>Re</mi></mrow><mo>=</mo><mn>1</mn><mspace></mspace><mn>600</mn></mrow></math></span>. The results indicate that the solver is robust and scales for both steady-state and transient problems. We compare the matrix-free solver to a matrix-based version and show it exhibits lower memory requirements, better scalability, and significant speedups (10–100<span><math><mo>×</mo></math></span> for higher-order elements). Moreover, we demonstrate that a matrix-free implementation is highly efficient when using higher-order elements, which provide higher accuracy at a lower number of degrees of freedom for complex steady problems. To the best of our knowledge, this work is the first that uses a matrix-free monolithic geometric multigrid preconditioner to solve the stabilized Navier-Stokes equations. All implementations are available via the open-source software <span>Lethe</span>.</div></div>","PeriodicalId":352,"journal":{"name":"Journal of Computational Physics","volume":"538 ","pages":"Article 114186"},"PeriodicalIF":3.8000,"publicationDate":"2025-06-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Computational Physics","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0021999125004693","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
We present an efficient solver for the incompressible Navier-Stokes equations implemented in a matrix-free fashion. It uses a higher-order continuous Galerkin finite element method for the space discretization and leverages a stabilized formulation that includes both the SUPG and PSPG terms. We solve the non-linear problem in a fully coupled way, using a Newton-Krylov method, which is preconditioned by a monolithic geometric multigrid solver. To evaluate its efficiency in terms of time to solution and scalability on modern high-performance computers, we use a manufactured solution, a steady flow around a sphere with Reynolds number and the Taylor–Green vortex benchmark at . The results indicate that the solver is robust and scales for both steady-state and transient problems. We compare the matrix-free solver to a matrix-based version and show it exhibits lower memory requirements, better scalability, and significant speedups (10–100 for higher-order elements). Moreover, we demonstrate that a matrix-free implementation is highly efficient when using higher-order elements, which provide higher accuracy at a lower number of degrees of freedom for complex steady problems. To the best of our knowledge, this work is the first that uses a matrix-free monolithic geometric multigrid preconditioner to solve the stabilized Navier-Stokes equations. All implementations are available via the open-source software Lethe.
期刊介绍:
Journal of Computational Physics thoroughly treats the computational aspects of physical problems, presenting techniques for the numerical solution of mathematical equations arising in all areas of physics. The journal seeks to emphasize methods that cross disciplinary boundaries.
The Journal of Computational Physics also publishes short notes of 4 pages or less (including figures, tables, and references but excluding title pages). Letters to the Editor commenting on articles already published in this Journal will also be considered. Neither notes nor letters should have an abstract.