Skip to content

FZzzz/FluidSimulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FluidSimulation

Postion-based Fluid Simulation

Introduction

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.

Result

OpenMP

10k fluid particles, 8 threads, 2 solver iterations

20 fps in average

CUDA

  • 64000 fluid particles
  • 70 fps in average

License

License: MIT

Releases

No releases published

Packages

No packages published

Languages