Mechanical behavior of contacts

Hello,
Does anyone, know how to implement mechanical behavior of contacts. i want to know how to affect more than material to the components of the system.
Thanks.

See the talk in freefem day of friday 11

10h05 - 10h30 Houssam Houssein (LJLL, Arithim) :
A symmetric algorithm for solving mechanical contact problems using FreeFEM (The abstract)