[en] Solving partial differential equations with the finite element method leads to large linear systems of equations that must be solved. When these systems have a natural block structure due to multiple field variables, using iterative solvers with carefully designed preconditioning strategies that exploit the underlying physical structure becomes necessary for an efficient and scalable solution process. FEniCSx Preconditioning Tools (FEniCSx-pctools) is a software package that eases the specification of PETSc (Portable, Extensible Toolkit for Scientific Computation) block preconditioning strategies on linear systems assembled using the DOLFINx finite element solver of the FEniCS Project. The package automatically attaches all necessary metadata so that preconditioning strategies can be applied via PETSc’s standard options-based configuration system. The documented examples include a simple mixed
Poisson system and more complex pressure convection-diffusion approach to preconditioning the Navier–Stokes equations. We show weak parallel scaling on a fully coupled temperature-Navier–Stokes system up to 8192 MPI (Message Passing Interface) processes, demonstrating the applicability of the approach to large-scale problems.
FEniCSx-pctools is available under the LGPLv3 or later license and is developed on Git-
Lab https://gitlab.com/rafinex-external-rifle/fenicsx-pctools. The documentation is available at https://rafinex-external-rifle.gitlab.io/fenicsx-pctools/.
Research center :
ULHPC - University of Luxembourg: High Performance Computing
Disciplines :
Engineering, computing & technology: Multidisciplinary, general & others Mathematics
This research was funded in whole, or in part, by the Luxembourg National Research Fund (FNR), grant reference RIFLE/13754363. For the purpose of open access, and in fulfilment of the obligations arising from the grant agreement, the author has applied a Creative Commons Attribution 4.0 International (CC BY 4.0) license to any Author Accepted Manuscript version arising from this submission.
Jack S. Hale has a family member that works at Rafinex S.à r.l. This family member was not involved in this research project. Martin Řehoř declares no competing interests.