Thermoelastic and electromagnetic damping analysis