Skip to content

Cabbache/fluid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fluid simulation

My CPU implementation of fluid based on what is described in GPU Gems.

Renderings

Normal Multiply velocity by scalar after advection

How to run on linux

  • Make sure libsdl2 installed. For debian based OS: sudo apt update && sudo apt install libsdl2-dev -y
  • Make sure g++, cmake and make are installed
  • mkdir build && cd build && cmake .. && make && ./fluid

Notes

  • Still need to implement boundary conditions

Reference

Releases

No releases published

Packages

No packages published