SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.06275 · ICML · 2024

Neural SPH: Improved Neural Modeling of Lagrangian Fluid Dynamics

Johannes Brandstetter, Artur Toshev, Nikolaus Adams, Jonas Erbesdobler

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 10 functions out of this paper's own repositories and ran 3 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
tumaer/lagrangebench canonical 3 of 9
tumaer/neuralsph canonical 0 of 1
FunctionStatusWhere it lives
features_2d_to_3d Ran tumaer/lagrangebench/lagrangebench/models/utils.py
code served (permissive licence) · get_code("49b4ed0a96034759")
get_kinematic_mask Ran tumaer/lagrangebench/lagrangebench/utils.py
code served (permissive licence) · get_code("ae2148a8f216ca25")
set_defaults Ran tumaer/lagrangebench/lagrangebench/defaults.py
code served (permissive licence) · get_code("9cdeaf2ceb9ce374")
broadcast_from_batch Not yet run tumaer/lagrangebench/lagrangebench/utils.py
code served (permissive licence) · get_code("fb95f5733270cfde")
broadcast_to_batch Not yet run tumaer/lagrangebench/lagrangebench/utils.py
code served (permissive licence) · get_code("a29e24698b96e9c8")
build_mlp Not yet run tumaer/lagrangebench/lagrangebench/models/utils.py
code served (permissive licence) · get_code("52d4cd3c6b63e941")
cosine_cutoff Not yet run tumaer/lagrangebench/lagrangebench/models/painn.py
code served (permissive licence) · get_code("7f4cc850dbb1c8cb")
dummy_wrapper Not yet run tumaer/neuralsph/neural_sph/rollout.py
code served (permissive licence) · get_code("d27af16545d8bbef")
gaussian_rbf Not yet run tumaer/lagrangebench/lagrangebench/models/painn.py
code served (permissive licence) · get_code("05afd95c610187cd")
uniform_init Not yet run tumaer/lagrangebench/lagrangebench/models/segnn.py
code served (permissive licence) · get_code("0536cca2e9dee22b")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Smoothed particle hydrodynamics (SPH) is omnipresent in modern engineering and scientific disciplines. SPH is a class of Lagrangian schemes that discretize fluid dynamics via finite material points that are tracked through the evolving velocity field. Due to the particle-like nature of the simulation, graph neural networks (GNNs) have emerged as appealing and successful surrogates. However, the practical utility of such GNN-based simulators relies on their ability to faithfully model physics, providing accurate and stable predictions over long time horizons -which is a notoriously hard problem. In this work, we identify particle clustering originating from tensile instabilities as one of the primary pitfalls. Based on these insights, we enhance both training and rollout inference of state-of-the-art GNNbased simulators with varying components from standard SPH solvers, including pressure, viscous, and external force components. All Neural SPH-enhanced simulators achieve better performance than the baseline GNNs, often by orders of magnitude in terms of rollout error, allowing for significantly longer rollouts and significantly better physics modeling. Code available under https://github.com/tumaer/neuralsph.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2402.06275")
get_code_for_paper("2402.06275")
have("2402.06275")

Connect an agent — have() is free.