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
- Download this repo and store it in your computer.
- Open a terminal and go to the root directory of this folder.
- 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.
- 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