Skip to content

ThiagoAVicente/FluidSimulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fluid Simulation

Theorical content

This project implements a basic 2D fluid simulation. For the underlying theory and implementation approach, I followed this video tutorial. The boundary condition uses a zero-gradient approach.

Demo

gif

Requirements

  • cmake >= 3.16
  • make
  • g++ with C++17
  • sfml2
  • pkg-config

Build Instructions

# create build directory
mkdir build
cd build

# build project
cmake ..
make

Run Instructions

Inside the 'build' directory:

./fluid_simulation

About

Basic fluid simulation implementation in cpp.

Topics

Resources

License

Stars

Watchers

Forks

Contributors