I have to simulate a BALL JOINT

Good morning, I have to make fem with SolidWorks Simulation calculation, I have to simulate a BALL JOINT on one leg of the structure. Do you know how to do? Thank you very much.

SolidworksSimulation