Thermo-mechanical evolution of shape memory alloys