Simulation of a coupled magneto-mechanical system through the sliding-mesh mortar element method