< Back

Sand-Water Mixing Simulation using 2-grid Material Point Method

Demo 1

Two independent grids, each grid containing water and sand, respectively.

Demo 2

One grid, multiple blocks of water interacting with each other.

Demo 3

One grid, multiple blocks of sand interacting with each other.

Demo 4

One grid, sand particles interacting with water particles. Sand falling into water, water falling into sand.

Demo 5

Two grids, sand particles interacting with water particles (unable to kernelize due to taichi errors, which made it difficult to debug the errors. The result as shown is both slow and non-realistic, which is likely due to the C matrix (description of C matrix) and minor discrepancies in the force computation which snowballed into larger scale effects in the simulation).

Demo 6

Two grids, sand particles interacting with water particles but interaction forces are incorrect. New branch created from an old commit that is less broken than our latest code.

With interaction force zeroed: