The animations on this page show a couple examples of the rigid body dynamics available within ANSYS.  ANSYS Mechanical has a full family of joints to model any assembly and bring it through its full range of motion. 

Nonlinear contact may be modeled with or without friction and flexible models may be incorporated in the simulation as well to determine localized stresses in individual components.