Frictional pair force classes apply a force and torque on every
particle in the simulation state. The following general expression
for Markovian tangential friction forces is implemented for
interactions between two spherical particles and is discussed in detail in
Hofmann et al. 2025.
For two particles i and j with radii Ri,j,
center positions ri,j, angular velocities
ωi,j, and translational velocities vi,j,
their surface velocities at the contact point are given by
uiuj=vi+ωi×r^ijRi,=vj−ωj×r^ijRj,
where r^ij=rij/rij. With these expressions,
we calculate the relative tangential velocity ui,j⊥ at the
contact point
ui,j⊥=P(r^ij)(vj−vi)−(ωiRi+ωjRj)×r^ij,
with the projection operator
P(r^ij)=1−r^ijr^ij.
We model the tangential friction force at the contact point very generally as
Fif,contact=−Fjf,contact=f(ui,j⊥,ri,j)u^i,j⊥
where u^i,j⊥=ui,j⊥/ui,j⊥, and
f(ui,j⊥,ri,j) is an arbitrary scalar function. The functional form of
f(ui,j⊥,ri,j) specifies the frictional model.
In addition, a stochastic force satisfying the fluctuation-dissipation relation can
be included. It has the form