SPH-Tutorial icon indicating copy to clipboard operation
SPH-Tutorial copied to clipboard

Small mistake in the slides regarding the velocity update

Open stilnat opened this issue 9 months ago • 0 comments

Hi, first of all I wanted to thank you all because both your paper and the slides are super high quality stuff, it's by far the best source of documentation I could find on SPH. I'm implementing SPH following your paper and the slides for my game, and I noticed in the slides that there was what I believe to be a typo : It is in the first set of slide, sheet 6.11.

Image

According to your paper, the velocity update is actually adding the pressure force, not subtracting it :

Image

From my tests, subtracting the pressure force means that particles attract each other which is unwanted behavior, so I assume the correct velocity update is by adding the pressure force.

stilnat avatar Apr 29 '25 13:04 stilnat