Files
test2/extern/mantaflow
Lukas Tönne 025c401dca Fix #144250: Crash when mantaflow solver does not converge and skips cleanup
Mantaflow likes to throw exceptions when things go wrong, which includes a
simple case of the solver not converging sufficiently. This should not be
catastrophic, but cleanup of buffers is omitted when such an exception occurs.
This then leads to yet another failure when the solver is stopped because of
incorrect buffer refcounts. That exception bubbles up through the python layer
and causes errors in the Blender integration wrapper that cause crashes.

Pull Request: https://projects.blender.org/blender/blender/pulls/147527
2025-10-07 15:49:07 +02:00
..
2025-04-02 16:50:50 +02:00

Mantaflow

Mantaflow is an open-source framework targeted at fluid simulation research in Computer Graphics. Its parallelized C++ solver core, python scene definition interface and plugin system allow for quickly prototyping and testing new algorithms.

In addition, it provides a toolbox of examples for deep learning experiments with fluids. E.g., it contains examples how to build convolutional neural network setups in conjunction with the tensorflow framework.

For more information on how to install, run and code with Mantaflow, please head over to our home page at http://mantaflow.com

Debugging

You could export openVDB volume into mantaflow, by running Blender with:

blender --debug-value 3001

And then select Domain -> Fluid -> Cache - > Advanced -> Export Mantaflow Script.