After a DEM simulation, I have a heap of particles and would like to compute its angle of repose. What is the suggested method of doing that? I've found a number of papers using angle of repose from simulations, but non of them mentions the methodology to obtain it, so I assume they did it "by eye" from the visualization. I am thinking of maybe triangulating the particle packing (to determine which ones are on the boundary) and then doing regression with cone-shaped surface that will be the best fit for boundary particles, but there might be something more robust and well-tested already. Thanks!