Skip to content

Deep Fluids: A Generative Network for Parameterized Fluid Simulations

Notifications You must be signed in to change notification settings

Univstar/deep-fluids

 
 

Repository files navigation

Deep Fluids Pytorch Implementation

Pytorch implementation of Deep Fluids: A Generative Network for Parameterized Fluid Simulations.

teaser

Requirements

To install mantaflow, run:

$ git clone https://bitbucket.org/mantaflow/manta.git
$ git checkout 15eaf4

and follow the instruction. Note that numpy cmake option should be set to enable support for numpy arrays. (i.e., -DNUMPY='ON')

Usage

To generate dataset:

manta.exe ./scene/smoke_pos_size.py
manta.exe ./scene/liquid_pos_size.py

To train:

python main.py --name=smoke
python main.py --name=liquid --no-curl

To test:

python main.py --test --name=smoke
python main.py --test --name=liquid --no-curl

About

Deep Fluids: A Generative Network for Parameterized Fluid Simulations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%