The motion of a thermoelastic solid