Journal article
ngsPETSc: a coupling between NETGEN/NGSolve and PETSc
- Abstract:
- Combining advanced meshing techniques with robust solver capabilities is essential for solving difficult problems in computational science and engineering. In recent years, various software packages have been developed to support the integration of meshing tools with finite element solvers. To mention a few, FreeFEM (Hecht et al., 2005) includes built-in support for mesh generation, allowing users to create and manipulate meshes directly within the software. Similarly, deal.II (Arndt et al., 2023) provides a GridGenerator class for generating standard mesh geometries like grids and cylinders. Furthermore, deal.II can interface with OpenCASCADE (OpenCASCADE Technology, 2023) to refine existing grids while conforming to the geometry provided. Other finite element libraries, such as Firedrake (Ham et al., 2023), DUNE-FEM (Dedner et al., 2010), and FEniCSx (Baratta et al., 2023), rely on external tools like Gmsh (Geuzaine & Remacle, 2020) and Tetgen (Si, 2015) for mesh generation. This paper introduces ngsPETSc, software built with petsc4py (Dalcin et al., 2011) that seamlessly integrates the NETGEN mesher (Schöberl, 1997), the NGSolve finite element library (Schöberl, 2014), and the PETSc toolkit (Balay et al., 2023). ngsPETSc enables the use of NETGEN meshes and geometries in solvers that use PETSc’s DMPLEX (Lange et al., 2015), and provides NGSolve users access to the wide array of linear, nonlinear solvers, and time-steppers available in PETSc.
- Publication status:
- Published
- Peer review status:
- Peer reviewed
Actions
Access Document
- Files:
-
-
(Preview, Version of record, pdf, 1.4MB, Terms of use)
-
- Publisher copy:
- 10.21105/joss.07359
Authors
+ UK Research and Innovation
More from this funder
- Funder identifier:
- https://ror.org/001aqnf71
- Grant:
- EP/W026163/1
+ Engineering and Physical Sciences Research Council
More from this funder
- Funder identifier:
- https://ror.org/0439y7842
- Grant:
- EP/R029423/1
- Publisher:
- Open Journals
- Journal:
- Journal of Open Source Software More from this journal
- Volume:
- 9
- Issue:
- 104
- Article number:
- 7359
- Publication date:
- 2024-12-09
- Acceptance date:
- 2024-12-09
- DOI:
- EISSN:
-
2475-9066
- Language:
-
English
- Pubs id:
-
2069163
- Local pid:
-
pubs:2069163
- Deposit date:
-
2024-12-09
- ARK identifier:
Terms of use
- Copyright holder:
- Betteridge et al
- Copyright date:
- 2024
- Rights statement:
- © 2024 Betteridge et al. Authors of papers retain copyright and release the work under a Creative Commons Attribution 4.0 International License (CC BY 4.0).
- Licence:
- CC Attribution (CC BY)
If you are the owner of this record, you can report an update to it here: Report update to this record