Elements: High-performance simulation of time-dependent problems via domain-specific languages

Information

  • NSF Award
  • 2410408
Owner
  • Award Id
    2410408
  • Award Effective Date
    9/1/2024 - 5 months ago
  • Award Expiration Date
    8/31/2027 - 2 years from now
  • Award Amount
    $ 599,816.00
  • Award Instrument
    Standard Grant

Elements: High-performance simulation of time-dependent problems via domain-specific languages

The accurate and efficient simulation of systems governed by time-dependent partial differential equations (PDE) is a critical tool in modeling a wide range of phenomena across science and engineering. Modeling such systems in complex geometry not only requires significant computing resources, but developing the software to perform the simulations is itself a major undertaking. Although many libraries provide effective services for individual pieces of the simulation, coordinating these to produce an effective simulation is still a nontrivial task.<br/><br/>Domain specific languages (DSLs) allow users to express their problems in programs with syntax corresponding closely to mathematical notation. Behind this top-level interface, DSLs combine automated code generation and existing libraries to minimize user development time while maintaining high performance and a rich feature set. However, such domain-specific languages like FEniCS or Firedrake for solving PDE with finite element methods lack a native abstraction for representing time evolution. The Irksome library developed in this project moves beyond this limitation, allowing users to describe and simulate time-dependent problems within Firedrake. The mathematical techniques and software developed in this project enhance widely-used open-source projects, providing critical cyberinfrastructure to push forward the state of the art in scientific simulation. Moreover, this project provides training for a postdoctoral researcher and a doctoral student in mathematics. Additionally, it provides undergraduate research experiences through the McNair Scholars program at Baylor University.<br/><br/>The Unified Form Language (UFL) is a Python library encoding a domain-specific embedded language for variational formulation of partial differential equations. It is employed by widely-used finite element projects such as Firedrake and FEniCS, which compile UFL syntax into low-level code for high-performance simulations, runnable on a range of machines from laptops to supercomputers. Despite its success at describing a wide class of variational problems and finite element discretizations, it lacks a native abstraction for time-dependence. Consequently, users of UFL-based projects may obtain sophisticated and high-order spatial discretizations automatically but are left to write comparatively simple and naive time-stepping loops. To address this limitation, the Irksome project provides an extension of UFL to model time-dependence and perform time-stepping with Runge-Kutta methods. Irksome performs a source-to-source transformation mapping semi-discrete UFL forms into UFL descriptions of the fully discrete variational problems to be solved at each time step. These can be solved at each time step with Firedrake's interface to PETSc, a leading large-scale solver library. Irksome enables a very broad class of Runge-Kutta schemes, notably including fully implicit methods. The theoretical optimality of these methods has been known for many decades, but they are considerably more complex than alternatives and largely unsupported in time-stepping libraries. Irksome provides an enabling technology for these methods, and this work delivers major performance improvements and feature enhancements. Effective multigrid algorithms require specialized, stage-coupled smoothers associated with small mesh patches. This project accelerates those smoothers through more effective use of sparse direct methods and a data-driven clustering algorithm. Additionally, the introduction of second order time derivatives in Irksome allows users to express higher-order equations and model them directly with Runge-Kutta-Nystrom methods. Newly developed infrastructure in this project is applied to timely research problems such as magnetohydrodynamics and nematoacoustics.<br/><br/>This Office of Advanced Cyberinfrastructure award is jointly funded by the Division of Mathematical Sciences in the Mathematical and Physical Sciences Directorate.<br/><br/>This award reflects NSF's statutory mission and has been deemed worthy of support through evaluation using the Foundation's intellectual merit and broader impacts review criteria.

  • Program Officer
    Varun Chandolavchandol@nsf.gov7032922656
  • Min Amd Letter Date
    9/6/2024 - 5 months ago
  • Max Amd Letter Date
    9/6/2024 - 5 months ago
  • ARRA Amount

Institutions

  • Name
    Baylor University
  • City
    WACO
  • State
    TX
  • Country
    United States
  • Address
    700 S UNIVERSITY PARKS DR
  • Postal Code
    767061003
  • Phone Number
    2547103817

Investigators

  • First Name
    Robert
  • Last Name
    Kirby
  • Email Address
    Robert_Kirby@baylor.edu
  • Start Date
    9/6/2024 12:00:00 AM

Program Element

  • Text
    Software Institutes
  • Code
    800400
  • Text
    CDS&E-MSS
  • Code
    806900

Program Reference

  • Text
    INTERDISCIPLINARY PROPOSALS
  • Code
    4444
  • Text
    SMALL PROJECT
  • Code
    7923
  • Text
    Software Institutes
  • Code
    8004
  • Text
    COMPUTATIONAL SCIENCE & ENGING
  • Code
    9263