Analysis of the forming behaviors of magnesium alloy AZ31 by vaporizing metal foils