Tutorial on adding contact to motion study in SolidWorks.
Here is the Tutorial.
Start SolidWorks and open the file attached.
Click Motion Study 1 above the status bar next to model.
Click the Contact icon.
Select the contact parts & click OK.
The Contact is added in the motion study. Be sure to change the motion type to basic motion from animation.