A granular energy-controlled boundary condition for discrete element simulations of granular flows on erodible surfaces. (February 2023)