Granum is a discrete element program for soil written in Rust, with a double-precisionCPU engine, single-precision CUDA and wgpu engines, a desktop interface built around lab-oratory tests and staged models, and a Model Context Protocol server through which an AIagent can build, run and report models. It adds to the usual spheres, clumps, Hertz–Mindlincontacts and parallel bonds a breathing-aggregate model of clay and cemented clay. Onthe impact benchmarks of Chung and Ooi (2011), both engines match Hertz’s solutions towithin 0.1% and the oblique impacts of Kratos to within 0.2◦ above 15◦. On the DEM8penetration benchmark, the CUDA engine reproduces the results of eight open-source codes,including Yade, LIGGGHTS and MercuryDPM, for beds of 25,000 to 100,000 particles in 2.3to 12.7 minutes, faster than every CPU code but two to four times slower than the dedicatedGPU codes. The tests exposed, and the program now corrects, a loss of displacement insingle-precision position updates and an inefficient grid for a large sphere among small ones.In geotechnical use the GPU runs a triaxial test 16 times faster than 32 CPU threads, cali-brates an eleven-parameter cemented-clay model in hours, and simulates a 785,000-particleembankment in 2.5 hours.
No takes yet. Share an insight, caveat, or question.
Sompote Youwai (2026) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: