An improvement on the Brinson model for shape memory alloys with application to two-dimensional beam element