Application of damage theory to predict fractures in metal forming processes