Numerical computation of cavity damage and failure during the superplastic deformation of sheet metals