Postion-based Fluid Simulation
This project implemented Position-ased Fluid(PBF) simulation with referencing to Unified Particle Physics for Real-time Applications published by Macklin and his fellow. Comparing with traditional particle-based fluid simulation, PBF has better stability over different timesteps and faster computation speed.
OpenMP
10k fluid particles, 8 threads, 2 solver iterations
20 fps in average
CUDA
- 64000 fluid particles
- 70 fps in average