⛏️ Granular Flow

Hopper Discharge & Arch Formation
Orifice
Orifice width (D) 5.0d
Grains
Friction μ 0.40
Grain size d 1.0
Gravity g 1.0
Stats
Grains
0
Flow Q
0
D/d ratio
5.0
Clogs
0
Click canvas to shake & unclog
⚠️ Arch Formed! Flow blocked — click canvas to shake

About this simulation

This simulation models granular flow through a hopper orifice using a soft-sphere Discrete Element Method (DEM): each grain is a disc that exerts a spring–dashpot normal force and a Coulomb-limited friction force on its neighbours whenever it overlaps them. Gravity pulls grains down through a funnel, and the discharge rate is governed by the empirical Beverloo law, Q ~ C·√g·(D − k·d)^2.5, where D is the orifice width and d is the grain diameter. Narrow the orifice far enough and the flow does not simply slow down — it can jam completely when grains lock into a self-supporting arch across the gap, a stochastic transition rather than a smooth one. Colour on each grain encodes its instantaneous speed, so you can watch force chains and stagnant zones emerge as the pile empties.

🔬 What it shows

Coloured discs stream from a hopper through a narrow orifice, occasionally freezing into an arch that halts flow entirely. Live stats track grain count, measured flow rate Q, the D/d ratio and how many times the hopper has clogged, while the canvas overlay compares the actual discharge against the theoretical Beverloo prediction.

🎮 How to use

Drag Orifice width (D) from 2.5d to 10d to control how easily grains escape; below roughly 4–5d clogging becomes frequent. Friction μ (0–0.9) makes arches more or less stable, Grain size d (0.6–1.6) rescales the discs, and Gravity g (0.3–3.0) speeds up or slows down discharge. Use Pause/Reset to restart a run, and click or tap the canvas to shake the hopper and break a jam.

💡 Did you know?

Granular jamming does not need cohesion or glue — pure geometry and friction are enough. A handful of grains bridging an orifice can support the weight of an entire silo above it, which is why real hoppers use vibrators, air jets or mechanical stirrers rather than just gravity to guarantee reliable discharge.

Frequently asked questions

What is the Beverloo law shown in this simulation?

The Beverloo law describes how the mass flow rate Q through a hopper orifice scales with orifice size: Q ~ C·ρ·√g·(D − k·d)^2.5, where D is orifice width, d is grain diameter, g is gravity and k ≈ 1.5 accounts for an empty zone near the wall where grains cannot centre themselves. The simulation overlays this theoretical curve next to the measured flow rate.

Why does the flow suddenly stop instead of slowing gradually?

Clogging is a stochastic, not a gradual, process. As grains approach the orifice they sometimes lock into a mechanically stable arch that bridges the gap and carries the weight of the grains above sideways into the hopper walls. Once that arch forms, flow halts abruptly rather than tapering off — this is why the "Clogs" counter jumps in discrete steps.

What does the Orifice width (D) slider actually control?

It sets the gap at the bottom of the hopper in units of grain diameter d, from 2.5d up to 10d. Below a ratio of roughly 4–5d, arches form so readily that the hopper clogs almost immediately; above about 6–7d, flow is essentially continuous and follows the Beverloo prediction closely.

What happens when I click or tap the canvas?

Clicking applies a local impulse to nearby grains, mimicking the vibration or tapping used on real industrial silos to dislodge a jam. If the hopper is clogged, a well-placed click perturbs the arch enough to collapse it and let flow resume, which is exactly how the simulation's shake-to-unclog mechanic works.

How do the Friction and Gravity sliders change the behaviour?

Friction μ (0–0.9) sets how strongly grains resist sliding past each other; higher friction makes arches more stable and clogging more frequent even at wider orifices. Gravity g (0.3–3.0) scales the driving force pulling grains down, so higher gravity increases discharge speed but does not by itself prevent arch formation, since jamming is governed by geometry as much as by force.