Text this: A compressive damage model for a rock considering the microcrack mechanical behavior