Modeling of flow stress for magnesium alloy during hot deformation