An extensible framework for fluid simulation

mantaflow is an open-source framework targeted at fluid simulation research in Computer Graphics and Machine Learning.
Its parallelized C++ solver core, python scene definition interface and plugin system allow for quickly prototyping and testing new algorithms. A wide range of Navier-Stokes solver variants are included. It's very versatile, and allows coupling and import/export with deep learning frameworks (e.g., tensorflow via numpy) or standalone compilation as matlab plugin. Mantaflow also serves as the simulation engine in Blender. Download the latest version here.

Here's a preview of a guided tornado simulation created with mantaflow.

What's new?

Version 0.13 featuring:

Version 0.12 adds:

Version 0.11 introduces:

Version 0.10 introduces:

The full release notes are here.


The framework can be used with or without GUI on Linux, MacOS and Windows. Here is an incomplete list of features implemented so far:

About mantaflow

mantaflow mantaflow is currently being actively developed and maintained at the Thuerey group of the Technical University of Munich (TUM).

Development started in 2009 at the ETH Computer Graphics Laboratory. It since then mantaflow was used as a basis for numerous publications, such as:

  transp TUM logo   transp

We hope you find it useful for your research, too. If you decide to use it, let us know your story at


The authors,

Tobias Pfaff and Nils Thuerey


Last update: Aug 2018