Simulation of the contact among surfaces in the Dynamics of rigid bodies by using short range force fields