diffSPH: Differentiable Smoothed Particle Hydrodynamics for Adjoint Optimization and Machine Learning
Rene Winchenbach, Nils Thuerey

TL;DR
diffSPH is a differentiable Smoothed Particle Hydrodynamics framework in PyTorch that enables optimization and machine learning applications in computational fluid dynamics, supporting complex physics and gradient-based training.
Contribution
It introduces a fully differentiable SPH framework with GPU acceleration, supporting various physics models and enabling advanced optimization and ML tasks in CFD.
Findings
Supports gradient propagation through hundreds of simulation steps
Enables particle shifting minimization via target-oriented loss
Allows optimization of initial conditions and physical parameters
Abstract
We present diffSPH, a novel open-source differentiable Smoothed Particle Hydrodynamics (SPH) framework developed entirely in PyTorch with GPU acceleration. diffSPH is designed centrally around differentiation to facilitate optimization and machine learning (ML) applications in Computational Fluid Dynamics~(CFD), including training neural networks and the development of hybrid models. Its differentiable SPH core, and schemes for compressible (with shock capturing and multi-phase flows), weakly compressible (with boundary handling and free-surface flows), and incompressible physics, enable a broad range of application areas. We demonstrate the framework's unique capabilities through several applications, including addressing particle shifting via a novel, target-oriented approach by minimizing physical and regularization loss terms, a task often intractable in traditional solvers. Further…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
