This video shows an GPU implementation of Fluid simulation using the Position Based Dynamics approach, including viscosity, vorticity and a visualization of the grid used for neighborhood search. The system is solved in particle centric Gauss-Jacobean-style manner.
Particle collision is turned off, convergence gets achieved.
Position Based Dynamics is a field in simulations, that only/mainly works on the positions of vertices or particles.
Instead of accumulating all acting external and internal forces and then changing a particles position according to the resulting velocity using euler integration,
PBD introduces constraints that depends on the "material" being simulated, that change the positions via relaxation, until all active constraints are fulfilled.
Some introductory literature:
Position Based Dynamics, Müller et.al. (2015)
Position-Based Simulation Methods in Computer Graphics, Müller et.al. (2015)
Position Based Fluids Miles, Müller and Macklin (2009)
Position-based Methods for the Simulation of Solid Objects in Computer Graphics, Bender et.al. (2013)
Advanced Character Physics, Jakobsen (2003)
Ещё видео!