Thermo-mechanical Modelling and Simulation of Magnesium Alloys