SPH ParticleSource and collisions with a plane #2668
-
Hi, I´m a new user of SOFA's GUI (Windows 10, SOFA 21.12.00). I would like to simulate the collision of fluid particles and irregular rigid surfaces. I've used the ParticleSource component of the SofaSphFluid plugin and a simple plane to start testing the idea as you can see in the attached XLM script of the scene. However I've found some problems:
What am I doing wrong? Can you help me? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
hey @oporras thanks for your question and welcome on SOFA Github Discussions! I myself never used the SPHFluidForceField, however:
Let us know whether it helps! |
Beta Was this translation helpful? Give feedback.
-
Dear @oporras After investigation, the problem you raised is due to a bug in the UniformMass when topological changes occur. For now, you can either use the SOFA v21.06 which is not having this issue, use the master branch of SOFA when the PR will be merged. Anyway, the future SOFA version v22.06 upcoming next June will include the fix. Best, Hugo |
Beta Was this translation helpful? Give feedback.
Dear @oporras
After investigation, the problem you raised is due to a bug in the UniformMass when topological changes occur.
I fixed it in the pull-request #2853, please feel free to review/test it.
For now, you can either use the SOFA v21.06 which is not having this issue, use the master branch of SOFA when the PR will be merged. Anyway, the future SOFA version v22.06 upcoming next June will include the fix.
Best,
Hugo