A complete thermomechanical model for elastic–plastic materials that account for the interaction of defects in structures is proposed. The characteristics of affine-metric space can be used as thermodynamic variables for constructing the model. Applications to describe the pattern of fracture for underground mines are made.