Faster on-line calculation of thermal stresses by time integration