physics.flu-dynApr 8, 2026

A solver-in-the-loop framework for end-to-end differentiable coastal hydrodynamics

Authors: Elsa Cardoso-Bihlo, Alex Bihlo

Organizations: Department of Mathematics and Statistics, Memorial University of Newfoundland, St. John’s, NL, A1C 5S7, Canada

Abstract

Numerical simulation of wave propagation and run-up is a cornerstone of coastal engineering and tsunami hazard assessment. However, applying these forward models to inverse problems, such as bathymetry estimation, source inversion, and structural optimization, remains notoriously difficult due to the rigidity and high computational cost of deriving discrete adjoints. In this paper, we introduce AegirJAX, a fully differentiable hydrodynamic solver based on the depth-integrated, non-hydrostatic shallow-water equations. By implementing the solver entirely within a reverse-mode automatic differentiation framework, AegirJAX treats the time-marching physics loop as a continuous computational graph. We demonstrate the framework's versatility across a suite of scientific machine learning tasks: (1) discovering regime-specific neural corrections for model misspecifications in highly dispersive wave propagation; (2) performing continuous topology optimization for breakwater design; (3) training recurrent neural networks in-the-loop for active wave cancellation; and (4) inverting hidden bathymetry and submarine landslide kinematics directly from downstream sensor data. The proposed differentiable paradigm fundamentally blurs the line between forward simulation and inverse optimization, offering a unified, end-to-end framework for coastal hydrodynamics.

Figures & tables

Explore similar work

CardsList
  1. An End-to-End PyTorch Interface for Differentiable PDE Solvers: A RANS Model-Correction Study

    May 19, 2026Luca Saverio, Michele Alessandro Bucci, Gianmarco Farro +2PDE SolvingDifferentiable Optimization

  2. Differentiate the Solver, Not the Equation: Reverse-Sweep Adjoints for Block Implicit Simulation

    Aug 9, 2026Lei Shu, Ying Jiang, Kui Wu +3Automatic DifferentiationDifferentiable Programming

  3. Physics-integrated neural differentiable modeling for immersed boundary systems

    Mar 17, 2026Chenglin Li, Hang Xu, Jianting Chen +1PDE Surrogate ModelingComputational Fluid Dynamics