Sand Pile 2D: Rod Pile Front View, Angle of Repose and Force Network
The same rod pile in front view: Blender-rendered cell, stand and funnel arm around live discs with spin markers, red force chains and the fitted flank lines, with the angle of repose and height printed on the pile. Below it the contact-force network alone, line width and colour set by the normal force. Same discrete-element model, sliders and numerical checks as the 3D version.
Pour up to 800 aluminium rods from a funnel into a glass-fronted cell and watch a pile build one grain at a time. Every rod is a disc with its own mass, spin and contacts: a spring and dashpot push touching rods apart (the damping is set from the restitution you choose), a tangential spring is capped by Coulomb friction mu times the normal force, and an optional rolling resistance stands in for rough, non-round grains. Nothing in the code prescribes a slope, so the angle of repose appears by itself from friction, rolling resistance and packing: slippery rods make a flat heap, sticky ones a steep one, and identical rods lock into a hexagonal lattice that behaves quite differently from a mixture of two sizes. The funnel rides up the stand as the pile grows. Heavy contacts are drawn as force chains on the glass, and live graphs show the fitted flank angle, the pile surface, the share of moving rods and the contacts per rod. Nine numerical checks run in the page: the static overlap m g / k_n, the rebound of head-on collisions against the calibrated restitution, a rod rolling down a 20 degree slope at exactly two thirds of g sin theta, a sliding rod at g (sin theta minus mu cos theta), the rebound height e squared times h, momentum and angular momentum conservation in an oblique collision with spin, and the floor reaction against the total weight. The cell, stand and funnel were modelled and baked in Blender; the rods and force chains are drawn live. Two-dimensional rods are a classical analogue (Schneebeli rods), not a 3D sand model: discs settle at lower angles than real sand.
The same rod pile in front view: Blender-rendered cell, stand and funnel arm around live discs with spin markers, red force chains and the fitted flank lines, with the angle of repose and height printed on the pile. Below it the contact-force network alone, line width and colour set by the normal force. Same discrete-element model, sliders and numerical checks as the 3D version.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install