A 3D hour glass/silo is simulated, i.e. a square domain with a neck in the middle (see snapshot on the right). Particles are inserted into the upper half of the domain and flow into the lower half due to gravity.
Here a short paraview animation of the code's output.
This code illustrates the effect of friction in DPM simulations. If the friction is high enough, arching is observed at the neck, where particles interlock to obstruct the flow. It also illustrates how to use IntersectionOfWalls to set up a convex polygonal wall, i.e. the neck.
Defining an intersection of walls
The neck is defined by two IntersectionOfWalls object: