LagrangeBench: A Lagrangian Fluid Mechanics Benchmarking Suite

Artur P. Toshev, G. Galletti, Fabian Fritz, S. Adami, Nikolaus A. Adams
2/12/2026

Official code: tumaer/lagrangebench (77 stars, MIT, last commit 2026-04-21).

Abstract

Machine learning has been successfully applied to grid-based PDE modeling in various scientific applications. However, learned PDE solvers based on Lagrangian particle discretizations, which are the preferred approach to problems with free surfaces or complex physics, remain largely unexplored. We present LagrangeBench, the first benchmarking suite for Lagrangian particle problems, focusing on temporal coarse-graining. In particular, our contribution is: (a) seven new fluid mechanics datasets (four in 2D and three in 3D) generated with the Smoothed Particle Hydrodynamics (SPH) method including the Taylor-Green vortex, lid-driven cavity, reverse Poiseuille flow, and dam break, each of which includes different physics like solid wall interactions or free surface, (b) efficient JAX-based API with various recent training strategies and three neighbor search routines, and (c) JAX implementation of established Graph Neural Networks (GNNs) like GNS and SEGNN with baseline results. Finally, to measure the performance of learned surrogates we go beyond established position errors and introduce physical metrics like kinetic energy MSE and Sinkhorn distance for the particle distribution. Our codebase is available at https://github.com/tumaer/lagrangebench .

View on arXivView PDF

Code Implementations(1)

MIT

LagrangeBench: A Lagrangian Fluid Mechanics Benchmarking Suite

7710Shell, PythonMay 4, 20236 months agoMIT
benchmark-suitegraph-neural-networkslagrangian-dynamicslagrangian-particlessmoothed-particle-hydrodynamics

Similar Papers

Cite this paper

@article{toshev2026lagrangebench,
  title  = {LagrangeBench: A Lagrangian Fluid Mechanics Benchmarking Suite},
  author = {Artur P. Toshev and G. Galletti and Fabian Fritz and S. Adami and Nikolaus A. Adams},
  year   = {2026},
  eprint = {2309.16342},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2309.16342},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.16342.svg)](https://codeofpaper.com/paper/2309.16342)

Discussion