Skip to content

iScsc/FluidSim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FluidSim

2D Fluid Simulation

Dependencies

SFML lib

For Debian/Ubuntu distro:

sudo apt-get install libsfml-dev

For Arch Linux based distro:

sudo pacman -S sfml

cmake

For Ubuntu, use the snap package manager

sudo snap install cmake

For Arch Linux:

sudo pacman -S cmake

Compilation

If you compile the project for the first time, run the following command in the source directory of the project

mkdir build

Then, run the following commands to compile the project

cd build
cmake ..
make
./app

Controls

Use the following keys to control the simulation:

  • Space: Switch on/off the step mode
  • Enter: In step mode only, make one simulation step
  • r: reset the simulation

About

2D Fluid Simulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published