A damage constitutive model of rock-like materials containing a single crack under the action of chemical corrosion and uniaxial compression