Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 920 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 920 Bytes

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