Modeling rock damage during the long-term production process for hot dry rocks