Varying load with position

Hello,

I am working on a mechanical model of a solenoid for a project. Within the model, I would like to apply a force point load to a plunger. However, I would also like this applied force to vary with the position of the plunger. Is there anyway to carry this out in ABAQUS?