Diagnosis of damage in a steel frame