109cc9507SBarry Smith--- 209cc9507SBarry Smithorphan: true 309cc9507SBarry Smith--- 409cc9507SBarry Smith 509cc9507SBarry Smith(2025_meeting)= 609cc9507SBarry Smith 709cc9507SBarry Smith# 2025 PETSc Annual Users Meeting and Tutorial 809cc9507SBarry Smith 994ff1df1SMatthew G. Knepley## Meeting location 1094ff1df1SMatthew G. Knepley 1113b80f9bSMatthew KnepleyMay 20-21, 2025, 101 Davis Hall, University of Buffalo, NY, USA ([105 White Rd, Amherst, NY 14260](https://maps.app.goo.gl/B38RsNe41Zd93rvX7)) 1209cc9507SBarry Smith 1309cc9507SBarry Smith## Meeting times 1409cc9507SBarry Smith 1594ff1df1SMatthew G. Knepley- Monday, May 19 - Tutorial (tutorials begin at 9am) 16ab026ea1SJunchao Zhang- Tuesday, May 20 - Meeting (begin at 9am) 17ab026ea1SJunchao Zhang- Wednesday, May 21 - Meeting (ends around 5pm) 1809cc9507SBarry Smith 1909cc9507SBarry Smith## Registration 2009cc9507SBarry Smith 2109cc9507SBarry SmithPlease [register](https://ti.to/nf-projects/petsc-annual-meeting) to save your seat. 2209cc9507SBarry SmithFee: \$100, for breaks and lunches; free for students. 2309cc9507SBarry Smith 2409cc9507SBarry Smith## Submit a presentation 2509cc9507SBarry Smith 2609cc9507SBarry Smith[Submit an abstract](https://docs.google.com/forms/d/126KwzajoQvcqU_q7btNsYxFqbe7rJ_vASC-tejZfXDQ) to be included in the schedule. 2709cc9507SBarry SmithWe welcome talks from all perspectives, including 2809cc9507SBarry Smith 2909cc9507SBarry Smith- contributions to PETSc 3009cc9507SBarry Smith- use of PETSc in applications or libraries 3109cc9507SBarry Smith- development of libraries and packages [called from PETSc](https://petsc.org/release/install/external_software/) 3209cc9507SBarry Smith- just curious about using PETSc in applications 3309cc9507SBarry Smith 3409cc9507SBarry Smith## Student Travel Support 3509cc9507SBarry Smith 3609cc9507SBarry SmithWe have funding to provide travel support for students attending the meeting without their own funding. To apply, check the 3709cc9507SBarry Smith"Student Funding Support" ticket while registering for the meeting. Early registration will increase your chance of obtaining travel support. 3809cc9507SBarry Smith 39d763035eSDavid Salac## Suggested hotels 40d763035eSDavid Salac 41d763035eSDavid Salac- Hotels Near UB North 42d763035eSDavid Salac 43d763035eSDavid Salac - [Motel 6 Amherst, NY](https://www.motel6.com/en/home/property/buffalo-amherst.html) 4400 Maple Rd, Amherst, NY 14226, (716) 834-2231 44d763035eSDavid Salac - [Hampton Inn Buffalo - Amherst](https://www.hilton.com/en/hotels/bufcphx-hampton-buffalo-amherst/) 1601 Amherst Manor Dr, Amherst, NY 14221, (716) 559-7010 45d763035eSDavid Salac - [Candlewood Suites Buffalo Amherst](https://www.ihg.com/candlewood/hotels/us/en/amherst/bufcw/hoteldetail?cm_mmc=GoogleMaps-_-CW-_-US-_-BUFCW) 20 Flint Rd, Amherst, NY 14226, (716) 688-2100 46d763035eSDavid Salac - [DoubleTree by Hilton Hotel Buffalo-Amherst](https://www.hilton.com/en/hotels/buffldt-doubletree-buffalo-amherst/) 10 Flint Rd, Amherst, NY 14226, (716) 689-4414 47d763035eSDavid Salac - [Comfort Inn University](https://www.choicehotels.com/new-york/amherst/comfort-inn-hotels/ny293?mc=llgoxxpx) 1 Flint Rd, Amherst, NY 14226, (716) 415-1132 48d763035eSDavid Salac - [Fairfield Inn & Suites Buffalo Amherst/University](https://www.marriott.com/en-us/hotels/buffn-fairfield-inn-and-suites-buffalo-amherst-university/overview/?scid=f2ae0541-1279-4f24-b197-a979c79310b0) 3880 Rensch Rd, Amherst, NY 14228, (716) 204-8936 49d763035eSDavid Salac - [Staybridge Suites Buffalo-Amherst by IHG](https://www.ihg.com/staybridge/hotels/us/en/amherst/bufrr/hoteldetail?cm_mmc=GoogleMaps-_-SB-_-US-_-BUFRR}) 1290 Sweet Home Rd, Amherst, NY 14228, (716) 276-8750 50d763035eSDavid Salac 51d763035eSDavid Salac 52d763035eSDavid Salac- Hotels in Downtown Buffalo 53d763035eSDavid Salac 54d763035eSDavid Salac - [Holiday In Express & Suites Buffalo Downtown-Medical Ctr by IHG](https://www.ihg.com/holidayinnexpress/hotels/us/en/buffalo/bufms/hoteldetail?cm_mmc=GoogleMaps-_-EX-_-US-_-BUFMS) 601 Main St, Buffalo, NY 14203, (716) 854-5500, Located near a subway station 55d763035eSDavid Salac - [Hilton Garden Inn Buffalo Downtown](https://www.hilton.com/en/hotels/bufmsgi-hilton-garden-inn-buffalo-downtown/?SEO_id=GMB-AMER-GI-BUFMSGI&y_source=1_MjA4MTcyMy03MTUtbG9jYXRpb24ud2Vic2l0ZQ%3D%3D) 10 Lafayette Square, Buffalo, NY 14203, (716) 848-1000, Located near a subway station 56d763035eSDavid Salac - [Hampton Inn & Suites Buffalo Downtown](https://www.hilton.com/en/hotels/bufdthx-hampton-suites-buffalo-downtown/?SEO_id=GMB-AMER-HX-BUFDTHX&y_source=1_MjA4MzA5Ny03MTUtbG9jYXRpb24ud2Vic2l0ZQ%3D%3D) 220 Delaware Ave, Buffalo, NY 14202, (716) 855-2223, Located near Chippewa St/Nightlife 57d763035eSDavid Salac - [Embassy Suites by Hilton Buffalo](https://www.hilton.com/en/hotels/bufeses-embassy-suites-buffalo/?SEO_id=GMB-AMER-ES-BUFESES&y_source=1_MTEwOTkxNC03MTUtbG9jYXRpb24ud2Vic2l0ZQ%3D%3D) 200 Delaware Ave, Buffalo, NY 14202, (716) 842-1000, Located near Chippewa St/Nightlife 58d763035eSDavid Salac - [Curtiss Hotel](https://curtisshotel.com/) 210 Franklin St, Buffalo, NY 14202, (716) 954-4900, Located near Chippewa St/Nightlife 59d763035eSDavid Salac 6094ff1df1SMatthew G. Knepley## Tentative Agenda 6194ff1df1SMatthew G. Knepley 6294ff1df1SMatthew G. Knepley[comment]: # (Intro: Python, Linear/Nonlinear Solver, GPU) 6394ff1df1SMatthew G. Knepley 6494ff1df1SMatthew G. Knepley[comment2]: # (Adv: Meshing, SNESVI, Optimization) 6594ff1df1SMatthew G. Knepley 6694ff1df1SMatthew G. Knepley### Monday, May 19: Tutorial 6794ff1df1SMatthew G. Knepley 6894ff1df1SMatthew G. Knepley| Time | Title | Speaker | 6994ff1df1SMatthew G. Knepley| -------- | ---------------------------------------------------------------------------------------------------------------------------- | ----------------------- | 7094ff1df1SMatthew G. Knepley| 9:00 am | Introduction | [Matt Knepley] | 7194ff1df1SMatthew G. Knepley| 9:15 am | Tutorial I: Introductory PETSc | | 7294ff1df1SMatthew G. Knepley| 12:00 pm | **Lunch** for tutorial attendees and early arrivees | | 738bc772e2SMatthew G. Knepley| 1:30 pm | Emergent flow asymmetries from the metachronal motion of the soft flexible paddles of the gossamer worm | [Alexander Hoover] | 7494ff1df1SMatthew G. Knepley| 2:00 pm | Tutorial II: Advanced PETSc | | 7594ff1df1SMatthew G. Knepley| 5:00 pm | End of first day | | 7694ff1df1SMatthew G. Knepley 7794ff1df1SMatthew G. Knepley### Tuesday, May 20: Scientific Program 7894ff1df1SMatthew G. Knepley 7994ff1df1SMatthew G. Knepley| Time | Title | Speaker | 8094ff1df1SMatthew G. Knepley| -------- | ---------------------------------------------------------------------------------------------------------------------------- | ----------------------- | 8194ff1df1SMatthew G. Knepley| 9:00 am | Meeting Introduction | [Matt Knepley] | 828bc772e2SMatthew G. Knepley| 9:05 am | A projection method for particle resampling | [Mark Adams] | 838bc772e2SMatthew G. Knepley| 9:30 am | Dense Broyden-Fletcher-Goldfarb-Shanno (BFGS) | [Hansol Suh] | 848bc772e2SMatthew G. Knepley| 10:00 am | IBAMR: Immersed-Boundary Adaptive Mesh Refinement | [David Wells] | 8594ff1df1SMatthew G. Knepley| 10:30 am | TaoTerm | [Toby Isaac] | 8694ff1df1SMatthew G. Knepley| 10:45 am | **Coffee Break** | | 87d763035eSDavid Salac| 11:00 am | Multiple RHS multigrid for the lattice Dirac equation | [Peter Boyle] | 888bc772e2SMatthew G. Knepley| 11:30 am | DMSwarmRT: Ray tracing with PETSc's particle management library DMSwarm | [Joseph Pusztay] | 8994ff1df1SMatthew G. Knepley| 12:00 pm | Empire AI | [Matt Jones] | 9094ff1df1SMatthew G. Knepley| 12:15 pm | **Lunch** | | 918bc772e2SMatthew G. Knepley| 1:30 pm | Exploring Quantum Phases of Interacting Lattice Models via Exact Diagonalization | [Cheng-Chien Chen] | 928bc772e2SMatthew G. Knepley| 2:00 pm | Cardiac Fluid Dynamics | [Boyce Griffith] | 93*a8b9febbSMatthew G. Knepley| 2:30 pm | Application of CutFEM and SCIFEM to the modeling of coastal processes through vegetation | [Chris Kees] | 9494ff1df1SMatthew G. Knepley| 3:00 pm | PetscRegressor | [Richard Mills] | 9594ff1df1SMatthew G. Knepley| 3:15 pm | **Poster Session and Coffee Break** | | 9694ff1df1SMatthew G. Knepley| 4:30 pm | **End of Posters** | | 9794ff1df1SMatthew G. Knepley| 4:45 pm | Leave on bus for dinner at Niagara Falls | | 9894ff1df1SMatthew G. Knepley 9994ff1df1SMatthew G. Knepley 10094ff1df1SMatthew G. Knepley### Wednesday, May 21: Scientific Program 10194ff1df1SMatthew G. Knepley 10294ff1df1SMatthew G. Knepley| Time | Title | Speaker | 10394ff1df1SMatthew G. Knepley| -------- | ---------------------------------------------------------------------------------------------------------------------------- | ----------------------- | 10494ff1df1SMatthew G. Knepley| 9:00 am | TBA | [Blaise Bourdin] | 1058bc772e2SMatthew G. Knepley| 9:30 am | Automatic Generation of Matrix-Free Routines for PDE Solvers with Devito via PETSc | [Zoe Leibowitz] | 106981b0bb8SMatthew G. Knepley| 10:00 am | PetscFD: Simplifying PDE Solutions | [David Salac] | 107f8116064SMatthew G. Knepley| 10:30 am | Implications of nonlinear rheology for plate tectonics | [Margarete Jadamec] | 10894ff1df1SMatthew G. Knepley| 10:45 am | **Coffee Break** | | 109*a8b9febbSMatthew G. Knepley| 11:00 am | Proteus Toolkit | [Darsh Nathawani] | 110f8116064SMatthew G. Knepley| 11:30 am | Mesh Transformations | [Matthew Knepley] | 11194ff1df1SMatthew G. Knepley| 12:00 pm | GitWorkflows | [Satish Balay] | 11294ff1df1SMatthew G. Knepley| 12:15 pm | **Lunch** | | 113f8116064SMatthew G. Knepley| 1:30 pm | pyop3: A DSL for Unstructured Mesh Stencil Calculations | [Conor Ward] | 114f8116064SMatthew G. Knepley| 2:00 pm | IMEX in PETSc | [Hong Zhang] | 11527c7bfc1SJunchao Zhang| 2:15 pm | Early Experiences in Building AI Assistants for Improving the Productivity of PETSc Users and Developers | [Junchao Zhang, Hong Zhang] | 116f8116064SMatthew G. Knepley| 2:30 pm | **PETSc Roundtable** | | 11794ff1df1SMatthew G. Knepley| 3:30 pm | **Coffee Break** | | 11894ff1df1SMatthew G. Knepley| 3:45 pm | **PETSc Roundtable** | | 11994ff1df1SMatthew G. Knepley| 4:45 pm | Meeting Closes | | 12094ff1df1SMatthew G. Knepley 12194ff1df1SMatthew G. Knepley## List of Abstracts 12294ff1df1SMatthew G. Knepley 1238bc772e2SMatthew G. Knepley(alexander-hoover)= 1248bc772e2SMatthew G. Knepley 1258bc772e2SMatthew G. Knepley:::{topic} **Emergent flow asymmetries from the metachronal motion of the soft flexible paddles of the gossamer worm** 1268bc772e2SMatthew G. Knepley**Alexander Hoover** 1278bc772e2SMatthew G. Knepley 1288bc772e2SMatthew G. KnepleyCleveland State University 1298bc772e2SMatthew G. Knepley 1308bc772e2SMatthew G. KnepleyMetachronal waves are ubiquitous in propulsive and fluid transport systems across many different scales and morphologies in the biological world. Gossamer worms, or tomopterids, are a soft-bodied, holopelagic worm that use metachrony with their flexible, gelatinous parapodia to deftly navigate the midwater ocean column that they inhabit. In the following study, we develop a three-dimensional, fluid-structure interaction model, using the IBAMR and libmesh frameworks, of a tomopterid parapodium to explore the emergent metachronal waves formed from the interplay of passive body elasticity, active muscular tension, and hydrodynamic forces. After introducing our model, we examine the effects that varying material properties have on the stroke of an individual parapodium as well as the resulting fluid dynamics. We then explore the temporal dynamics when multiple parapodia are placed sequentially and how differences in the phase can alter the collective kinematics and resulting flow field. Finally, we examine the role of phase differences in a freely-swimming model. 1318bc772e2SMatthew G. Knepley::: 1328bc772e2SMatthew G. Knepley 1338bc772e2SMatthew G. Knepley(mark-adams)= 1348bc772e2SMatthew G. Knepley 1358bc772e2SMatthew G. Knepley:::{topic} **A projection method for particle resampling** 1368bc772e2SMatthew G. Knepley**Mark Adams** 1378bc772e2SMatthew G. Knepley 1388bc772e2SMatthew G. KnepleyLawrence Berkeley National Laboratory 1398bc772e2SMatthew G. Knepley 1408bc772e2SMatthew G. KnepleyParticle discretizations of partial differential equations are advantageous for high-dimensional kinetic models in phase space due to their better scalability than continuum approaches with respect to dimension. Complex processes collectively referred to as particle noise hamper long time simulations with particle methods. One approach to address this problem is particle mesh adaptivity or remapping, known as particle resampling. This talk introduces a resampling method that projects particles to and from a (finite element) function space. The method is simple; using standard sparse linear algebra and finite element techniques, it can adapt to almost any set of new particle locations and preserves all moments up to the order of polynomial represented exactly by the continuum function space. 1418bc772e2SMatthew G. Knepley 1428bc772e2SMatthew G. KnepleyThis work is motivated by the Vlasov-Maxwell-Landau model of magnetized plasmas with up to six dimensions, 3X in physical space and 3V in velocity space, and is developed in the context of a 1X + 1V Vlasov-Poisson model of Landau damping with logically regular particle and continuum phase space grids. Stable long time dynamics are demonstrated up to T=500 and reproducibility artifacts and data with stable dynamics up to T=1000 are publicly available. 1438bc772e2SMatthew G. Knepley::: 1448bc772e2SMatthew G. Knepley 1458bc772e2SMatthew G. Knepley(hansol-suh)= 1468bc772e2SMatthew G. Knepley 1478bc772e2SMatthew G. Knepley:::{topic} **Dense Broyden-Fletcher-Goldfarb-Shanno (BFGS)** 1488bc772e2SMatthew G. Knepley**Hansol Suh** 1498bc772e2SMatthew G. Knepley 1508bc772e2SMatthew G. KnepleyArgonne National Laboratory 1518bc772e2SMatthew G. Knepley 1528bc772e2SMatthew G. KnepleyWe will present a new dense formulation of BFGS specialize for the Limited Memory-Variable Metric (KSPLMVM) linear solver in PETSc, and illustrate its use for optimization problems. 1538bc772e2SMatthew G. Knepley::: 1548bc772e2SMatthew G. Knepley 1558bc772e2SMatthew G. Knepley(david-wells)= 1568bc772e2SMatthew G. Knepley 1578bc772e2SMatthew G. Knepley:::{topic} **IBAMR: Immersed-Boundary Adaptive Mesh Refinement** 1588bc772e2SMatthew G. Knepley**David Wells** 1598bc772e2SMatthew G. Knepley 1608bc772e2SMatthew G. KnepleyUniversity of North Carolina, Chapel Hill 1618bc772e2SMatthew G. Knepley 1628bc772e2SMatthew G. KnepleyIBAMR is a parallel implementation of the immersed boundary method and other relevant numerics, such as Navier-Stokes and multiphase flow solvers. This poster showcases some applications built on IBAMR and describes how they are fundamentally powered by PETSc. 1638bc772e2SMatthew G. Knepley::: 1648bc772e2SMatthew G. Knepley 1658bc772e2SMatthew G. Knepley(joseph-pusztay)= 1668bc772e2SMatthew G. Knepley 1678bc772e2SMatthew G. Knepley:::{topic} **DMSwarmRT: Ray tracing with PETSc's particle management library DMSwarm** 1688bc772e2SMatthew G. Knepley**Joseph Pusztay** 1698bc772e2SMatthew G. Knepley 1708bc772e2SMatthew G. KnepleyUniversity at Buffalo 1718bc772e2SMatthew G. Knepley 1728bc772e2SMatthew G. KnepleyIn this talk I will present work with DMSwarm, PETSc's parallel particle management library, to construct a general purpose ray trace with applicability to ICF plasma. I will discuss underlying improvements to the DMSwarm API to better support device side computation of swarm operations to facilitate the ray trace, with initial scalability tests and results. Additionally, I will present and discuss light weight time stepping objects for device side computation of systems with large numbers of fields that may be stepped independently. 1738bc772e2SMatthew G. Knepley::: 1748bc772e2SMatthew G. Knepley 1758bc772e2SMatthew G. Knepley(cheng-chien-chen)= 1768bc772e2SMatthew G. Knepley 1778bc772e2SMatthew G. Knepley:::{topic} **Exploring Quantum Phases of Interacting Lattice Models via Exact Diagonalization** 1788bc772e2SMatthew G. Knepley**Cheng-Chien Chen** 1798bc772e2SMatthew G. Knepley 1808bc772e2SMatthew G. KnepleyUniversity of Alabama at Birmingham 1818bc772e2SMatthew G. Knepley 1828bc772e2SMatthew G. KnepleyFermionic particles cannot occupy the same quantum state due to the Pauli exclusion principle. Therefore, solving the quantum many-body Schrödinger equation for electrons on finite-size lattices is equivalent to solving a finite-dimensional eigenvalue problem, where the matrix dimension grows exponentially with the lattice size. Here, I will discuss the exact diagonalization technique for finding the low-energy eigenstates of interacting fermionic models on two-dimensional lattices. These interacting models are shown to host a variety of emergent quantum phases, such as superconductivity and antiferromagnetism. For a sparse matrix with 34 billion basis states, the underlying code based on PETSc/SLEPc achieves a strong scaling performance of 85% linear scaling on more than 100,000 CPUs. The presentation will conclude with a brief discussion of potential future research directions, including ultra-large-scale matrix diagonalization based on matrix-free algorithms and/or quantum circuit simulations. 1838bc772e2SMatthew G. Knepley::: 1848bc772e2SMatthew G. Knepley 1858bc772e2SMatthew G. Knepley(boyce-griffith)= 1868bc772e2SMatthew G. Knepley 1878bc772e2SMatthew G. Knepley:::{topic} **Cardiac Fluid Dynamics** 1888bc772e2SMatthew G. Knepley**Boyce Griffith** 1898bc772e2SMatthew G. Knepley 1908bc772e2SMatthew G. KnepleyUniversity of North Carolina, Chapel Hill 1918bc772e2SMatthew G. Knepley 1928bc772e2SMatthew G. KnepleyCardiac fluid dynamics fundamentally involves interactions between complex blood flows and the structural deformations of the muscular heart walls and the thin, flexible valve leaflets. I will initially focus on models of an in vitro pulse-duplicator system that is commonly used in the development and regulation of prosthetic heart valves. These models enable detailed comparisons between experimental data and computational model predictions but use highly simplified descriptions of cardiac anatomy and physiology. I will also present recent in vitro models, focusing on a new comprehensive model of the human heart. This heart model includes fully three-dimensional descriptions of all major cardiac structures along with biomechanics models that are parameterized using experimental tensile test data obtained exclusively from human tissue specimens. Simulation results demonstrate that the model generates physiological stroke volumes, pressure-volume loops, and valvular pressure-flow relationships, thereby illustrating is its potential for predicting cardiac function in both health and disease. Time permitting, I will end the talk by describing extensions of this model to incorporate a comprehensive description of cardiac electrophysiology and electro-mechanical coupling. 1938bc772e2SMatthew G. Knepley::: 1948bc772e2SMatthew G. Knepley 1958bc772e2SMatthew G. Knepley(zoe-leibowitz)= 1968bc772e2SMatthew G. Knepley 1978bc772e2SMatthew G. Knepley:::{topic} **Automatic Generation of Matrix-Free Routines for PDE Solvers with Devito via PETSc** 1988bc772e2SMatthew G. Knepley**Zoe Leibowitz** 1998bc772e2SMatthew G. Knepley 2008bc772e2SMatthew G. KnepleyImperial College, London 2018bc772e2SMatthew G. Knepley 2028bc772e2SMatthew G. KnepleyTraditional numerical solvers are often optimized for specific hardware architectures, making their adaptation to new computing environments challenging. The rapid evolution of hardware increases the complexity of rewriting and re-optimizing these solvers. By combining domain-specific languages (DSLs) with automated code generation, the level of abstraction is raised, enabling the generation of high-performance code across diverse hardware architectures. Moreover, providing users with a high-level problem specification facilitates the development of complex PDE solvers in a form closer to continuous mathematics, reducing code complexity and maximizing reuse. 2038bc772e2SMatthew G. Knepley 2048bc772e2SMatthew G. KnepleyDevito, a DSL and compiler for finite-difference solvers, has been extended to integrate iterative solver functionality through an interface with PETSc, enabling the generation of solvers for various computational fluid dynamics (CFD) problems. As an industry-standard framework, Devito automates the generation of highly optimized explicit finite-difference kernels and stencil computations and has been extensively used in large-scale seismic inversion and medical imaging applications. The new developments introduce automatic generation of matrix-free routines in Devito, allowing interaction with PETSc’s suite of solvers. Key enhancements include support for iterative solvers, implicit time-stepping, coupled solvers, and matrix-free preconditioning. These features are fully integrated into Devito’s symbolic API while maintaining compatibility with staggered grids, subdomains, and custom stencils. 2058bc772e2SMatthew G. Knepley 2068bc772e2SMatthew G. KnepleyThis work expands Devito’s capabilities, enabling it to address a broader range of high-performance computing challenges, including incompressible flow problems in CFD. The new framework is demonstrated through benchmark simulations, including the backward-facing step and flow around a cylinder. 2078bc772e2SMatthew G. Knepley::: 2088bc772e2SMatthew G. Knepley 2098bc772e2SMatthew G. Knepley(matt-knepley)= 2108bc772e2SMatthew G. Knepley 2118bc772e2SMatthew G. Knepley:::{topic} **Making Meshes with DMPlexTransform** 2128bc772e2SMatthew G. Knepley**Matt Knepley** 2138bc772e2SMatthew G. Knepley 2148bc772e2SMatthew G. KnepleyUniversity at Buffalo 2158bc772e2SMatthew G. Knepley 2168bc772e2SMatthew G. KnepleyComputational meshes, as a way to partition space, form the basis of much of PDE simulation technology, for instance for the finite element and finite volume discretization meth- ods. In complex simulations, we are often driven to modify an input mesh. For example, to refine, coarsen, extrude, change cell types, or filter it. This code can be volumi- nous, error-prone, spread over many special cases, and hard to understand and maintain by subsequent developers. We present a simple, table-driven paradigm for mesh transfor- mation which can execute a large variety of transformations in a performant, parallel manner, along with experiments in the open source library PETSc which can be run by the reader. 2178bc772e2SMatthew G. Knepley::: 2188bc772e2SMatthew G. Knepley 2198bc772e2SMatthew G. Knepley(tim-steinhoff)= 2208bc772e2SMatthew G. Knepley 2218bc772e2SMatthew G. Knepley:::{topic} **Using PETSc in a Multi-application Environment** 2228bc772e2SMatthew G. Knepley**Tim Steinhoff** 2238bc772e2SMatthew G. Knepley 2248bc772e2SMatthew G. KnepleyGesellschaft für Anlagen- und Reaktorsicherheit (GRS) gGmbH 2258bc772e2SMatthew G. Knepley 2268bc772e2SMatthew G. KnepleyIn this talk we provide an overview of the use of PETSc in the context of the code family AC<sup>2</sup> which is developed and distributed by GRS. AC<sup>2</sup> consists of multiple codes and is used to simulate the behavior of nuclear reactors during operation, transients, design basis and beyond design basis accidents up to radioactive releases to the environment. Access to PETSc is controlled by the self-developed wrapper NuT (Numerical Toolkit). We present a brief rundown of historical developments introducing NuT and therefore PETSc to handle certain numerical subtasks in AC<sup>2</sup>. This is accompanied by a deeper look into our latest development and the challenges that come with it in order to support the time evolution of nuclide inventories in burnup and decay calculations. 2278bc772e2SMatthew G. Knepley::: 2288bc772e2SMatthew G. Knepley 2298bc772e2SMatthew G. Knepley(conor-ward)= 2308bc772e2SMatthew G. Knepley 2318bc772e2SMatthew G. Knepley:::{topic} **pyop3: A DSL for Unstructured Mesh Stencil Calculations** 2328bc772e2SMatthew G. Knepley**Conor Ward** 2338bc772e2SMatthew G. Knepley 2348bc772e2SMatthew G. KnepleyImperial College, London 2358bc772e2SMatthew G. Knepley 2368bc772e2SMatthew G. Knepleypyop3 is a new domain-specific language that automates the application of local computational kernels over a mesh, termed 'unstructured mesh stencil calculations’. Such operations are ubiquitous across simulation methos including the finite element method and finite volume method, as well as preconditioners, slope limiters, and more. Written in Python, pyop3 takes advantage of some novel abstractions for describing mesh data (think generalised PetscSection) to describe complex mesh loops in a concise way that is agnostic to the underlying data layout. Having described the computation to be performed, pyop3 then uses just-in-time compilation to generate high-performance C code (CUDA/HIP coming soon) and coordinates its execution in parallel using MPI. 2378bc772e2SMatthew G. Knepley 2388bc772e2SMatthew G. Knepleypyop3 is built on top of PETSc, wrapping many of its data types, and the design of the new data layout abstractions are strongly influenced by DMPlex. 2398bc772e2SMatthew G. Knepley 2408bc772e2SMatthew G. KnepleyThis talk will introduce some of the novel abstractions that enable pyop3’s functionality before giving some examples of the sorts of computations that are expressible and the resulting code that is generated. 2418bc772e2SMatthew G. Knepley::: 2428bc772e2SMatthew G. Knepley 243981b0bb8SMatthew G. Knepley(david-salac)= 244981b0bb8SMatthew G. Knepley 245981b0bb8SMatthew G. Knepley:::{topic} **PetscFD: Simplifying PDE Solutions** 246981b0bb8SMatthew G. Knepley**David Salac** 247981b0bb8SMatthew G. Knepley 248981b0bb8SMatthew G. KnepleyUniversity at Buffalo 249981b0bb8SMatthew G. Knepley 250981b0bb8SMatthew G. KnepleyThis talk will outline recent efforts to include finite difference operations in PETSc through the addition of PetscFD. We begin by formally exploring the concept of stencil composition, showing that resulting stencil will have an accuracy equal to the lower of the two stencils being composed. The basic outline of PetscFD is then provided, in addition to several high-level functions that return matrices for arbitrary derivatives. Finally, the usage of PetscFD is demonstrated via several canonical examples. 251981b0bb8SMatthew G. Knepley::: 252981b0bb8SMatthew G. Knepley 253*a8b9febbSMatthew G. Knepley(darsh-nathawani)= 254*a8b9febbSMatthew G. Knepley 255*a8b9febbSMatthew G. Knepley:::{topic} **Proteus Toolkit** 256*a8b9febbSMatthew G. Knepley**Darsh Nathawani** 257*a8b9febbSMatthew G. Knepley 258*a8b9febbSMatthew G. KnepleyLouisiana State University 259*a8b9febbSMatthew G. Knepley 260*a8b9febbSMatthew G. KnepleyProteus is a python package to solve PDEs using traditional and state-of-the-art numerical models. Proteus uses several C, C++ and Fortran libraries either as an external package or a part of Proteus. PETSc is a vital part of the development of Proteus. The objective of this talk is to introduce Proteus, explain how to get it and use it, and some initial performance tests using the Poisson problem and provide comparison with PETSc. This scaling analysis is a crucial part for a guidance to better design efficient algorithms. 261*a8b9febbSMatthew G. Knepley::: 262*a8b9febbSMatthew G. Knepley 263*a8b9febbSMatthew G. Knepley(chris-kees)= 264*a8b9febbSMatthew G. Knepley 265*a8b9febbSMatthew G. Knepley:::{topic} **Application of CutFEM and SCIFEM to the modeling of coastal processes through vegetation** 266*a8b9febbSMatthew G. Knepley**Chris Kees** 267*a8b9febbSMatthew G. Knepley 268*a8b9febbSMatthew G. KnepleyLouisiana State University 269*a8b9febbSMatthew G. Knepley 270*a8b9febbSMatthew G. KnepleyUnderstanding the effects of sea level rise on coastal ecosystems involves complex solid materials, such as mixed sediments and vegetation. Physical flume and basin studies have long been used in coastal engineering to understand wave and current dynamics around such structures. Numerical flumes based on computational fluid dynamics and fluid-structure interaction have recently begun to augment physical models for design studies, particularly for engineered structures where established Arbitrary Lagrangian-Eulerian (ALE) methods based on boundary-conforming meshes and isoparametric or isogeoemtric finite element methods are effective. The rapid growth of lidar and photogrammetry techniques at large scales and computed tomography at small scales has introduced the possibility of constructing numerical experiments for the complex natural materials in coastal ecosystems. These methods tend to produce low-order geometric representations with uneven resolution, which are typically not appropriate for conforming mesh generation. To address this challenge, recent work extended an existing ALE method to include embedded solid dynamics using a piecewise linear CutFEM approach. The implementation is based on equivalent polynomials. The approach retains the convergence properties of the CutFEM method while having a simple implementation within the existing twophase RANS model, which has been used frequently for numerical flume studies. This presentation will consider application and performance of the method for two critical coastal processes: wave interaction with vegetation and sediment dynamics. 271*a8b9febbSMatthew G. Knepley::: 272*a8b9febbSMatthew G. Knepley 27394ff1df1SMatthew G. Knepley## Organizing Committees 27494ff1df1SMatthew G. Knepley 27594ff1df1SMatthew G. Knepley### Extramural Committee 27694ff1df1SMatthew G. Knepley- [Blaise Bourdin](https://math.mcmaster.ca/~bourdinb/) 27794ff1df1SMatthew G. Knepley- [Danny Finn](https://scholar.google.com/citations?user=l09jI6wAAAAJ&hl=en) 27894ff1df1SMatthew G. Knepley- [Toby Isaac](https://tisaac.gitlab.io/triquadtethex/) 27994ff1df1SMatthew G. Knepley- [Lois McInnes](https://wordpress.cels.anl.gov/curfman/) 28094ff1df1SMatthew G. Knepley- [Louis Moresi](https://www.moresi.info/) 28194ff1df1SMatthew G. Knepley- [Darsh Nathawani](https://darshnathawani.com/) 28294ff1df1SMatthew G. Knepley- [Barry Smith](https://barrysmith.github.io/) 28394ff1df1SMatthew G. Knepley- [Junchao Zhang](https://www.anl.gov/profile/junchao-zhang) 28494ff1df1SMatthew G. Knepley 28594ff1df1SMatthew G. Knepley### Local Committee 28694ff1df1SMatthew G. Knepley- [Margarete Jadamec](https://geovizlab.geology.buffalo.edu/) 28794ff1df1SMatthew G. Knepley- [Matt Jones](https://www.buffalo.edu/ccr/about-us/people/staff/jones.html) 28894ff1df1SMatthew G. Knepley- [Matt Knepley](https://cse.buffalo.edu/~knepley/) 28994ff1df1SMatthew G. Knepley- [Joseph Pusztay](https://www.linkedin.com/in/joseph-pusztay-174183129/) 29094ff1df1SMatthew G. Knepley- [David Salac](https://engineering.buffalo.edu/mechanical-aerospace/people/faculty/d-salac.html) 29194ff1df1SMatthew G. Knepley 29209cc9507SBarry Smith## Questions and Meeting Discussion 29309cc9507SBarry Smith 29409cc9507SBarry SmithFor questions about the meeting contact <mailto:petsc2025@lists.mcs.anl.gov>. 295d5edbea4SSatish BalayJoin the discussion about the meeting at [PETSc on Discord](https://discord.gg/Fqm8r6Gcyb), [2025 PETSc Annual Users Meeting channel](https://discord.com/channels/1119324534303109172/1298348560600924200). 29694ff1df1SMatthew G. Knepley 29794ff1df1SMatthew G. Knepley## Code of Conduct 29894ff1df1SMatthew G. Knepley 29994ff1df1SMatthew G. KnepleyAll meeting attendees are expected to follow the PETSc/NumFocus Code of Conduct. The local committee will serve as the code of conduct response team, https://numfocus.org/code-of-conduct#response-team. Should any concerns arise during the meeting, please contact any response team member. 30094ff1df1SMatthew G. Knepley 30194ff1df1SMatthew G. Knepley## Sponsors 30294ff1df1SMatthew G. Knepley```{image} https://petsc.gitlab.io/annual-meetings/2025/Center-for-Computational-Research.png 30394ff1df1SMatthew G. Knepley:width: 400 30494ff1df1SMatthew G. Knepley``` 30594ff1df1SMatthew G. Knepley```{image} https://petsc.gitlab.io/annual-meetings/2025/Institute-for-Artificial-Intelligence-and-Data-Science-color.png 30694ff1df1SMatthew G. Knepley:width: 400 30794ff1df1SMatthew G. Knepley``` 308