Thermodynamic simulation and damage analysis of magnesium production retort tubes. (October 2020)