Friction Force
Analogous to Frictional Contact, maximizing the dissipation rate subject to the Coulomb constraint defines friction forces per unit area variationally:
Here, is the relative sliding velocity between and the closest point , is the coefficient of friction, is the normal contact force per unit area, and is the normal direction.
This is equivalent to:
with when , while takes any unit vector orthogonal to when .
In addition, the friction scaling function is also nonsmooth with respect to , since when , and when . These nonsmooth properties can severely hinder or even break the convergence of gradient-based optimization. The mollification of the friction-velocity relationship here follows the same approach as in Frictional Contact.