I’m trying to add a rigid object in MLS-MPM simulation to simulate interaction between rigid objects and elastic objects, I’m wondering if there is any example to show how to add a rigid object in a MLS-MPM simulation. Thanks.
A simple solution would be to restrict the degrees of freedom of an elastic body to SO(2) in 2D and SO(3) in 3D. For example, this repo GitHub - runck/taichi_boat_on_sea shows a quick fix to simulate rigid bodies within the MLS-MPM framework.
If your rigid-body contains thin-shells (which is normally considered hard to solve using material point methods), you might also want to try CPIC. Here’s a sample implementation of CPIC and MPM using Taichi: GitHub - Zhijie-YU/MLS_MPM_CPIC: CPIC cases implemented with taichi.
Hi Tiantian, thanks a lot for your reply, very useful. I will have a look and try