Stress based multi-contact model for discrete-element simulations