In a contact analysis, you solve for the contact state and the contact forces. The most fundamental quantity in a contact analysis is the distance between the boundaries which may come into contact, the gap. If the gap is positive then there is no interaction. The task of the contact algorithm is to ensure that the gap never becomes negative; that is, to avoid
overclosure. In order to accomplish this task, contact forces must be introduced.