Learning Lagrangian Fluid Dynamics with Graph Neural Networks

1 Jan 2021  ·  Zijie Li, Amir Barati Farimani ·

We present a data-driven model for fluid simulation under Lagrangian representation. Our model uses graph to describe fluid field, where physical quantities are encoded as node and edge features. Instead of directly predicting the acceleration or position correction given current state, we decompose the simulation scheme into separate parts - advection, collision and pressure projection. For these different reasoning tasks, we propose two kinds of graph neural network structures, node-focused networks and edge-focused networks. Our tests show that the learned model can produce accurate results and remain stable in scenarios with large amount of particles and different geometries. Unlike many previous works, further tests demonstrate that our model is able to retain many important physical properties of incompressible fluids, such as minor divergence and reasonable pressure distribution. Additionally, our model can adopt a range of time step sizes different from ones using in the training set, which indicates its robust generalization capability.

PDF Abstract
No code implementations yet. Submit your code now

Tasks


Datasets


  Add Datasets introduced or used in this paper

Results from the Paper


  Submit results from this paper to get state-of-the-art GitHub badges and help the community compare results to other papers.

Methods