2D fluid simulation implementation of Jos Stam paper on real-time fuild dynamics

Fluid Simulation

2D fluid simulation implementation of Jos Stam paper on real-time fuild dynamics, including some suggested extensions.

Usage

  1. Download this repo and store it in your computer.
  2. Open a terminal and go to the root directory of this folder.
  3. Make sure you have installed the needed dependencies by typing:
$ pip install numpy
$ pip install matplotlib
$ pip install ffmpeg

Note: Go to Install FFmpeg on Windows section if you haven’t installed FFmpeg software locally before. It must be added to PATH so that videos can be saved.

  1. Type to run:
$ python fluid.py -i config.json

Where the config.json file is the input file inside the same folder as main.py file.

The Development Log file is also located

 

 

 

To finish reading, please visit source site