Modelling the brittle rock failure by the quaternion-based bonded-particle model in DEM | Synapse