Smooth Particle Hydrodynamics is a particles based method for simulating water. The steps of my implementation are to first sort the particles into there respective grid cell. Second calculate density and press values for particles. Lastly calculate presser forces and move particle based on forces.
Implemented a hash grid to sort particles into using atomic operations to find memory positions to store cell particle IDs and avoid checking particles far form the smoothing radius. additional the hash part allows for the us to not be bound to a predefined grid size for our particles.
You can contact me at brevin.bell0@gmail.com
We use cookies to analyze website traffic and optimize your website experience. By accepting our use of cookies, your data will be aggregated with all other user data.