A damage analysis of steel beams