Avalanches, hydrodynamics, and discharge events in models of sandpiles | Synapse