Learning Mesh-Based Simulation with Graph Networks
Tobias Pfaff, Meire Fortunato, Alvaro Sanchez-Gonzalez, Peter W. Battaglia
TL;DR
The paper tackles the high cost and inflexibility of traditional mesh-based simulations by introducing MeshGraphNets, a graph neural network framework that learns dynamics on adaptive meshes by performing mesh-space and world-space message passing. It combines an Encode-Process-Decode architecture with a learned sizing field to drive adaptive remeshing, enabling resolution-independent dynamics and efficient rollouts. Across cloth, structural, and fluid domains, the method delivers accurate predictions far faster than classical solvers and generalizes to larger or unseen meshes. This work broadens the applicability of neural simulators to complex, high-dimensional physical systems and opens avenues for differentiable optimization and control on adaptive meshes.
Abstract
Mesh-based simulations are central to modeling complex physical systems in many disciplines across science and engineering. Mesh representations support powerful numerical integration methods and their resolution can be adapted to strike favorable trade-offs between accuracy and efficiency. However, high-dimensional scientific simulations are very expensive to run, and solvers and parameters must often be tuned individually to each system studied. Here we introduce MeshGraphNets, a framework for learning mesh-based simulations using graph neural networks. Our model can be trained to pass messages on a mesh graph and to adapt the mesh discretization during forward simulation. Our results show it can accurately predict the dynamics of a wide range of physical systems, including aerodynamics, structural mechanics, and cloth. The model's adaptivity supports learning resolution-independent dynamics and can scale to more complex state spaces at test time. Our method is also highly efficient, running 1-2 orders of magnitude faster than the simulation on which it is trained. Our approach broadens the range of problems on which neural network simulators can operate and promises to improve the efficiency of complex, scientific modeling tasks.
