Accelerating Eulerian Fluid Simulation With Convolutional Networks


Real-time simulation of fluid and smoke is a long standing problem in computer graphics, where state-of-the-art approaches require large compute resources, making real-time applications often impractical. In this work, we propose a data-driven approach that leverages the approximation power of deep-learning methods with the precision of standard fluid solvers to obtain both fast and highly realistic simulations. The proposed method solves the incompressible Euler equations following the standard operator splitting method in which a large, often ill-condition linear system must be solved. We propose replacing this system by learning a Convolutional Network (ConvNet) from a training set of simulations using a semi-supervised learning method to minimize long-term velocity divergence.

ConvNets are amenable to efficient GPU implementations and, unlike exact iterative solvers, have fixed computational complexity and latency. The proposed hybrid approach restricts the learning task to a linear projection without modeling the well understood advection and body forces. We present real-time 2D and 3D simulations of fluids and smoke; the obtained results are realistic and show good generalization properties to unseen geometry.


Demo Video

Citing the dataset

  author = {{Tompson}, J. and {Schlachter}, K. and {Sprechmann}, P. and {Perlin}, K.},
  title = "{Accelerating Eulerian Fluid Simulation With Convolutional Networks}",
  journal = {ArXiv e-prints},
  archivePrefix = "arXiv",
  eprint = {1607.03597},
  primaryClass = "cs.CV",
  year = 2016,
  month = jul,


arxiv preprint  

Code and Data

Coming soon! (contact if you need immediate access to the codebase).