On the FEM simulation of joining by forming operations