Skip to content

Water column loses volume without increase in density with WCSPH #243

Answered by janbender
efaulhaber asked this question in Q&A
Discussion options

You must be logged in to vote

One explanation for the volume loss is of course that the regular samping at the beginning is not dense at all. This means in the initial configuration the particles have already a density of less then the rest density. Moreover, I just remind that long ago we reduced the initial density by a factor of 0.8 because otherwise the denseMode 2 leads to an initial positive density and therefore to pressure forces. I will put it on my todo list to remove this factor since it is misleading. You can do it yourself in your code:

m_V = static_cast<Real>(0.8) * diam*diam;

Just remove the 0.8.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@efaulhaber
Comment options

Comment options

You must be logged in to vote
1 reply
@efaulhaber
Comment options

Answer selected by efaulhaber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #242 on April 28, 2023 10:57.