Skip to content

Small mistake in the slides regarding the velocity update #6

@stilnat

Description

@stilnat

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions