Constitutive model for the numerical analysis of phase transformation in polycrystalline shape memory alloys