1. A method for simulating the process of ejecting a part from a mold cavity with the help of ejector pins, said method comprising: providing a three dimensional computer model defining the geometry of the solution domain, specifying the boundary conditions, discretizing a solution domain based on the model to form a mesh with a plurality of cells or importing the enmeshment, attaching the physical data for the materials involved, obtaining the initial conditions at start of the ejection process, solving the static equilibrium equations for at least a portion of the solution domain, computing the effects of the ejection process on the part and the ejector pins.