Thermomechanical processing