Nonlinear interaction of solids with rigid surfaces