A question in demo_3d program

hello yuanming
when i debug the following program, i found some question: the code work well when the “material=MPMSolver.material_elastic” or “material=MPMSolver.material_snow”. However when “material=MPMSolver.material_water” the code cannot work anymore, can you help me to find the reason for this? thank you so much.

the code i used is show in the below website
https://github.com/taichi-dev/taichi_elements/blob/master/demo_3d.py
the problem is as show by the following gif picture
Video_2020-02-09_16192100_00_00–00_00_02|400x416Video_2020-02-09_16192100_00_00--00_00_02

Thanks for reporting! Could you let me know the taichi_elements commit # you are on?

I used taichi-nightly 0.3.20,taichi-elements is also not very new, now i update them to the newest one and everything is ok now, thank you!

1 个赞

Cool!