Discretization and Approximation
From Equation (18.4.2), the friction force per unit area is defined as
where is the friction coefficient, is the normal contact force, and is the relative sliding velocity. Here when , while takes any unit vector orthogonal to the normal when . Additionally, the friction scaling function is also nonsmooth with respect to , as when , and when .
It is important to note that without temporal discretization, there is no potential energy for friction. However, similar to Frictional Contact, once we discretize the normal force magnitude and the tangent operator to the last time step and smoothly approximate the friction scaling function , the friction force at the -th time step becomes integrable with respect to , and we obtain
Here, is the approximate relative sliding velocity, where and are the normal direction and the point in contact with in the last time step, , and
Therefore, considering self-contact, the approximate friction potential over the entire boundary can be written as
where the scaling comes from double counting the friction between each pair of contact points in the integral (similar to the normal contact forces in Boundary Conditions and Frictional Contact).
After discretizing the boundary curves as polylines and approximating the max operator in the normal contact force component using summations (Piecewise Linear Boundaries), we similarly obtain the spatially discretized friction potential:
Here, is the point-edge distance between and edge in the last time step, and is the approximate relative sliding velocity of the point-edge pair with contact normal and the closest point discretized to the last time step (see next section for details).
If we choose boundary nodes as quadrature points to approximate the integral, we finally obtain our discrete friction potential:
where is the integration weight. Denoting and , the expression of agrees with the discrete form of Equation (9.2.1) we directly derived, except that here traverses all non-incident point-edge pairs on the boundary.
Based on this discrete form of the smoothed semi-implicit friction potential, we now need to determine how to calculate and for point-edge pairs, implement the computation of the value, gradient, and Hessian of , and then incorporate them into the optimization.