yuanming-hu / taichi_mpm

High-performance moving least squares material point method (MLS-MPM) solver. (ACM Transactions on Graphics, SIGGRAPH 2018)
MIT License
2.34k stars 317 forks source link

Particles leaking from rigid bodies #8

Closed haeriamin closed 5 years ago

haeriamin commented 5 years ago

Hi. I wanted to make sure that I'm using a correct grid spacing (dx=dimension/resolution) and/or pd's minimum distance. In the following pics (3D and top views) the setting is as default. However, I'm seeing some leakages from the top rigid surface. Please let me know if there is sth that I can figure it out; ty.

3dview topview

yuanming-hu commented 5 years ago

Hi,

Thanks for trying! Does the leakage happen at the surface or corner?

yuanming-hu commented 5 years ago

and the blue arrows are?

haeriamin commented 5 years ago

Thank you for your response. The leakage at the corner is my fault, as there is a gap there; but there is still leakages from the top surface and I'm not sure why. Should I define level set instead of rigid body, like you did in sand_stir model? The blue arrows show the velocity vector in Houdini.

yuanming-hu commented 5 years ago

Resolved by setting penalty=1e4