Coupling between martensitic phase transformations and plasticity: A microstructure-based finite element model