Thermomechanical contact elements for healing in polymers