Thermomechanical model for NiTi-based shape memory alloys covering macroscopic localization of martensitic transformation. (15th June 2021)