# Linear (Cundall) contact model¶

Linear contact model is widely used throughout the DEM field and was first published in [CS79]. Normal force is linear function of normal displacement (=overlap); shear force increases linearly with relative shear displacement, but is limited by Coulomb linear friciton. This model is implemented in woo.dem.Law2_L6Geom_FrictPhys_IdealElPl.

## Stiffness¶ Fig. 13 Series of 2 springs representing normal stiffness of contact between 2 spheres.¶

Normal stiffness is related to Young modulus of both particles’ materials. For clarity, we define contact area of a fictious “connector” between spheres of total length $$l=l_1+l_2$$. These effective lengths are equal to radii for spheres (but have other values for e.g. walls or facets – see below), minus the initial overlap. The contact area is

(2)$A=\pi\min(l_1,l_2)^2$

where $$l_i$$ is (equivalent – for non-spheres) radius the respective particle. The connector is therefore an imaginary cylinder with radius of the lesser sphere, spanning between their centers. Its stiffness is then

(3)$k_n=\left(\frac{l_1}{E_1 A}+\frac{l_2}{E_2 A}\right)^{-1}.$

Tangent (shear) stiffness $$k_t$$ is a fraction (ktDivKn) of $$k_n$$,

(4)$k_t=\left(\frac{k_t}{k_n}\right)k_n,$

where the ratio is averaged between both materials in contact.

Friction angle on the contact is computed from contacting materials as

$\tan\phi=\min\left[(\tan\phi)_1,(\tan\phi)_2\right],$

(unless specified otherwise) of which consequence is that material without friction will not have frictional contacts, regardless of friction of the other material.

Note

It is a simplification to derive friction parameters from material properties – the interface of each couple of materials might have different parameters, though this simplification is mostly sufficient in the practice. If you need to define different parameters for every combination of material instances, there is the woo.core.MatchMaker infrastructure.

### Non-spherical particles¶

The formulas for spheres above suppose that there is particle radius (radius) which defines mechanically active length (between contact point and centroid) where the material deforms ($$l_1$$, $$l_2$$). This is generalized for contact of non-spherical particles, but there are often choices which have to balance computing performance, (somewhat subjective) intuition and (perceived) physical correctness.

The rules for determining $$l_i$$ are the following:

1. Round particles contacting between themselves (including Facet with non-zero halfThick use their natural radii: Sphere.radius, Facet.halfThick, Capsule.radius, InfCylidner.radius, computed centroid – contact point distance for Ellipsoid).

2. Flat particles (Wall or Facet with zero halfThick) use the other’s particle radius – this results in the same influence on contact parameters from both particles, which accounts for local (not simulated) deformation of those flat particles.

As a special case, Facet + Sphere set $$l_1$$ equal to max(halfThick, radius) and $$l_2$$ to radius. The max is to account for facets with both zero and non-zero halfThick.

1. Contact of 2 flat particles is undefined.

These rules are implemented in Cp2_ functors for respective shape combinations, and are passed as parameters to Cg2_Any_Any_L6Geom__Base::handleSpheresLikeContact and to Cp2_FrictMat_FrictPhys::updateFrictPhys in turn. Refer to their source code for details.

#### Examples¶

1. Capsule in contact with Sphere, with

\begin{align*} r_1&=.2\,\mathrm{m}, & r_2&=.1\,\mathrm{m}, \\ u_N&=.001\,\mathrm{m}, \\ E_1&=10\,\mathrm{MPa}, & E_2&=30\,\mathrm{MPa}, \\ l_1&=r_1-\frac{u_N}{2}, & l_2&=\frac{u_N}{2}, \\ A&=\pi\min(l_1,l_2)^2, \\ \end{align*}

lead to equivalent modulus and stiffness:

\begin{align*} \frac{l}{E'}&=\frac{l_1+l_2}{E'}=\frac{l_1}{E_1}+\frac{l_2}{E_2}, \\ k_n=\frac{E'A}{l}&=A\left(\frac{l_1}{E_1}+\frac{l_2}{E_2}\right)^{-1} \end{align*}
Woo: r1,r2=.2,.1; uN=-.001; E1,E2=10e6,30e6

Woo: S1.one(); c=S1.dem.con # one step to create contact

Woo: c.geom.lens, c.geom.contA, c.phys.kn
Out: (Vector2(0.1,0.2), 0.031415926535897934, 1346396.8515384828)

# recompute by hand to check:
Woo: l1,l2=r1+uN/2.,r2+uN/2.; A=pi*min(l1,l2)**2

# l1,l2 swapped above since the functor Cg2_Sphere_Capsule_L6Geom reorders the contact
Woo: (l2,l1), A, A*(l1/E1+l2/E2)**-1
Out: ((0.0995, 0.1995), 0.031102552668702352, 1336785.9313195853)

2. thin Facet (with $$h=0$$ as halfThick) in contact with Sphere, with

\begin{align*} h&=0\,\mathrm{m}, & r&=.1\,\mathrm{m}, \\ u_N&=.001\,\mathrm{m}, \\ E_1&=10\,\mathrm{MPa}, & E_2&=30\,\mathrm{MPa}, \\ l_1&=\max(h,r)-\frac{u_N}{2}, & l_2&=r-\frac{u_N}{2}, \\ A&=\pi\min(l_1,l_2)^2 \end{align*}
Woo: h,r=0,.1; uN=-.001; E1,E2=10e6,30e6;

Woo: S2.one(); c=S2.dem.con # one step to create contact

Woo: c.geom.lens, c.geom.contA, c.phys.kn
Out: (Vector2(0.1,0.1), 0.031415926535897934, 2356194.4901923453)

# hand-computation
Woo: l1,l2=max(h,r)+uN/2.,r+uN/2.; A=pi*min(l1,l2)**2

Woo: (l1,l2), A, A*(l1/E1+l2/E2)**-1
Out: ((0.0995, 0.0995), 0.031102552668702352, 2344413.5177413835)


Warning

The above does not match?! Should be tracked down.

## Contact respose¶

Normal response is computed from the normal displacement (or overlap) as

$F_n=u_n k_n$

and the contact is (optionally) broken when $$u_n>0$$.

Trial tangential force is computed from tangential relative velocity $$\dot u$$ incrementally and finally (optionally) reduced by the coulomb Criterion. Tangential force is a 2-vector along contact-local $$y$$ and $$z$$ axes.

\begin{align*} \Delta \vec{F}_t&=(\pprev{\vec{\dot u}})_t\Dt k_t, \\ \vec{F}_t^T&=\curr{\vec{F}_t}+\Delta \vec{F}_t, \end{align*}

and total tangential force is reduced by the Coulomb criterion:

$\begin{split}\next{\vec{F}_t}=\begin{cases} \curr{\vec{F}_t}+\Delta \vec{F}_t & \text{if } |\curr{\vec{F}_t}+\Delta \vec{F}_t|<F_n\tan\phi, \\ F_n\tan\phi\frac{\curr{\vec{F}_t}+\Delta \vec{F}_t}{|\cdot|} & \text{otherwise}. \end{cases}\end{split}$

## Energy balance¶

Elastic potential stored in a contact is the contact is the triangular area below the displacement-force diagram, in both normal and tangent sense,

$\frac{1}{2}\left(\frac{F_n^2}{k_n}+\frac{|\vec{F}_t|^2}{k_t}\right).$

Plastically dissipated energy is the elastic energy removed by the tangent slip. Noting $$f_y=F_n\tan\phi$$ (yield force magnitude), and norm of the trial tangent force $$f_t=|\curr{\vec{F}_t}+\Delta\vec{F}_t|$$, this energy can be seen as the red area (parallelogram) in the displacement-force diagram

System Message: WARNING/2 (\fill[fill=red!40, fill opacity=50] (0,0)--(4,3)--(4,4)--(0,1) -- cycle; \draw[->] (-.5,0)--(4.5,0) node[anchor=north]{$|u_t|$}; \draw[->] (0,-.5)--(0,4) node[anchor=east]{$|F_t|$}; \draw (0,0)--(4.5,3.375); \draw[dashed] (0,1)--(4,4); \draw[->] (1,0) arc(0:36.87:1) node[anchor=north west]{$\;k_t$}; \draw[<-,very thick] (4,3)--(4,4) node[anchor=north west]{slip};)

! LaTeX Error: File `standalone.cls' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: cls) Enter file name: ! Emergency stop. <read *> l.3 \\usepackage [utf8]{inputenc}^^M ! ==> Fatal error occurred, no output PDF file produced! Transcript written on tikz-7a9f43ff5160120cd9f7cfcfe13bb9597654f41f.log. "