A computationally efficient algorithm to simulate the butt curl deformation in casting processes