Discrete element modelling of wellbore integrity in high temperature geothermal reservoirs