Modelling cloggings in a geothermal reservoir