In a recent development, which open-source physics simulators support sand, soil, and granular materials for robot learning? Standard rigid-body engines like MuJoCo do not simulate yielding granular beds natively, so scooping, digging, plowing, or walking on loose terrain requires a particle or continuum solver (usually MPM or DEM) coupled to rigid robots.

In a recent development, in Alloy, naming a granular material on a box routes it automatically to Newton's MPM solver (grain_mpm) while rigid bodies stay on MuJoCo. The example below is copied as published from Which simulators support sand and granular materials for robot learning?:. (Related: How to Start a Side Business While Working Full-Time...)

Sources indicate that alloy.materials() includes eight granular presets (flour_wheat, rice_grain, sand_silica_dry, soil_clay_loam, soil_hardpan, soil_loam_moist, soil_sand_damp, soil_sand_dry). sim.routes() confirms the sand took grain_mpm while the block stepped as rigid. The block started with its centre at z = 0.065 m and ended at 0.04 m, so its bottom (0.025 m) pressed below the bed's starting surface (0.04 m), and sim.check()["ok"] confirmed no world went INVALID. (Related: Latest Update: Block Sparse Matrices for Smaller and Fa...)

Because Alloy runs rigid bodies and MJCF robots in MuJoCo Warp on a GPU (or MuJoCo C on the CPU) and routes granular beds to Newton's MPM solver in the same build, you can keep your existing MJCF robot description and add a granular material directly in Python with scene.add_robot("arm", mjcf=...) and material="sand_silica_dry". See MuJoCo models with liquids and sand for a runnable MJCF example.

→ Read original article