1 Introduction

Among many other topics in the physics of granular matter, Bob Behringer’s research has had outsized impact on the field of jamming [1,2,3]. His measurements of the jump and subsequent power law growth in the contact number above a critical packing fraction [4] represents the first, and still one of the few [5,6,7], measurements of a major hallmark of isotropic jamming. His work on shear jamming [8], dilatancy [9], and contact force statistics [10, 11] upended the conventional view of the jamming phase diagram and illuminated how granular materials’ rigidity encodes their loading history. Here, inspired by Bob’s work, we ask how shearing can wipe out the memory of an initially isotropic state in a weakly jammed solid. In other words, how does irreversibility emerge near jamming?

Packings of soft spheres prepared at small but finite pressure are marginal solids—while their response to infinitesimal strains is elastic [1], a small shear stress suffices to instigate quasistatic plastic flow [12, 13]. Recently there has been considerable interest in how the ensemble-averaged stress–strain curve for shear becomes nonlinear, and in particular on how the crossover from linear to nonlinear response depends on the distance to jamming [14,15,16,17,18,19,20,21,22,23]. The shear strain required to make or break a contact vanishes in the limit of large system sizes, so finite deformations necessarily involve topological changes to the contact network [24,25,26,27,28]. It is therefore natural to ask about the relationship between nonlinearity and plasticity, especially when one approaches (un)jamming. More precisely, we ask whether there is a correlation between the linear-to-nonlinear crossover and (ir)reversibile contact changes.

To probe nonlinearity and irreversibility near jamming, we study shear reversal in marginally jammed packings of athermal, frictionless, purely repulsive soft spheres. We begin from an isotropic state prepared at a targeted pressure p. We use this initial pressure (prior to shearing) to quantify the distance to unjamming at \(p = 0\). After preparation, the system is subjected to simple shear in small quasistatic steps to a maximum strain \(\gamma _m\). The shearing direction is then reversed, and the system is returned to zero strain. A load is reversible if the stress follows the loading curve back to its initial value at zero strain. Reversible and irreversible deformations are illustrated in Fig. 1 with data from our simulations. This complements similar irreversibility under volumetric strain as observed in [21] and interpreted in terms of a history-dependent critical packing fraction.

Fig. 1
figure 1

Sample output from a loading-unloading cycle in simulations. a If deformation is reversible, the loading curve \(\sigma (\gamma _{\uparrow })\) and unloading curve \(\sigma (\gamma _{\downarrow })\) coincide. b In an irreversible deformation there is hysteresis, and the enclosed area is equal to the plastic work

The present work builds on results from Boschan et al. [19, 29], who studied the loading curve but did not consider shear reversal. The loading curve was found to be linear up to a strain scale \(\gamma ^\dag \sim p\). After \(\gamma ^\dag \) the stress continues to grow, albeit more slowly than an extrapolation of the initial linear trend. The crossover to steady plastic flow occurs later, at a distinct strain scale \(\gamma _y \simeq 0.05\). Simulations of large amplitude oscillatory shear at finite rate also showed two distinct crossovers with identical scaling properties [22].

Boschan et al. [19] also studied contact changes, i.e. made and broken contacts during shearing. They found that the linear-to-nonlinear crossover at \(\gamma ^\dag \) is also evident in the contact change statistics, as detailed in Sect. 4. It is plausible that contact changes are a proxy for irreversible rearrangements, but this must be verified—while rearrangements involve contact changes, not all rearrangements are irreversible [22, 30,31,32,33,34,35].

Here we probe nonlinearity and and irreversibility during a loading-unloading cycle. We first monitor the plastic work performed during the cycle, and then correlate these results to the statistics of contact changes at the particle scale. We find, first, that there is finite plastic work even when the ensemble-averaged stress–strain curve is linear. Consistent with this observation, we also find that irreversible contact changes accrue prior to the loss of linearity. Second, prior to \(\gamma ^\dag \), some fraction of the contact changes are reversible. After \(\gamma ^\dag \), when the stress–strain curve is nonlinear, essentially all contact changes are plastic.

2 Model and methods

We perform two-dimensional simulations of athermal frictionless disks, a standard model with a jamming transition [2]. Particles experience a spring-like force proportional to their overlap \(\delta _{ij} = (R_i + R_j) - r_{ij}\), where \(R_i\) and \(R_j\) denote the radii and \(r_{ij}\) is the length of the vector \(\mathbf {r}_{ij}\) pointing from the center of particle i to j. The contact force on particle i due to particle j is purely repulsive, and there is no interaction when the particles are not in contact,

$$\begin{aligned} \mathbf {f}_{ij}^{\mathrm {el}} = \left\{ \begin{array}{cl} -k(\delta _{ij})\delta _{ij}\hat{\mathbf {r}}_{ij} &{} \,\,\,\,\delta _{ij} \ge 0 \\ \mathbf {0}&{} \,\,\,\,\delta _{ij} < 0 \, \end{array} \right. \end{aligned}$$
(1)

where a hat indicates a unit vector. We fix the units of stress by setting the spring constant k and mean particle size to unity. The stress tensor is

$$\begin{aligned} \sigma _{\alpha \beta } = -\frac{1}{2V}\sum _{ij}\,\mathbf{f}_{ij,\alpha }{} \mathbf{r}_{ij,\beta }, \end{aligned}$$
(2)

where Greek indices denote Cartesian coordinates, and V is the total area of the unit cell.

Initial conditions are created by randomly populating the bi-periodic simulation box and then using a nonlinear conjugate gradient energy minimization protocol to quench instantaneously to a local minimum of the elastic potential energy at fixed volume [36]. The box is then allowed to undergo small changes in size and shape to achieve a target pressure p and zero shear stress—these are called “shear-stabilized” packings in the nomenclature of Dagois-Bohy et al. [37, 38]. Packings are bidisperse to avoid crystallization; we use the standard [1, 36] 50:50 mixture of small and large particles and a radius ratio of 1:1.4.

Once the initial state is prepared, we apply quasistatic simple shear using Lees-Edwards boundary conditions with small logarithmically-spaced steps ranging between \(\varDelta \gamma = 10^{-8}\ldots 10^{-3}\). After each strain step the energy is re-minimized [36] while holding the strain fixed, so particles follow quasistatic trajectories. Once a maximum strain \(\gamma _m\) is reached, the direction of shear is reversed and the system is returned to zero strain, again via a series of small logarithmically-spaced steps.

In order to quantify irreversibility, we calculate the plastic work \(W_p\) of the loading/unloading cycle,

$$\begin{aligned} W_p = \oint \sigma \, \mathrm{d}\gamma = \int _0^{\gamma _m} \sigma _\uparrow \, \mathrm{d}\gamma _\uparrow - \int _0^{\gamma _m} \, \sigma _\downarrow \, \mathrm{d}\gamma _\downarrow \,, \end{aligned}$$
(3)

where upwards and downwards pointing arrows are used to indicate the loading and unloading curves, respectively. Clearly \(W_p\) is zero when the response is reversible.

Fig. 2
figure 2

Shear reversal tests for varying maximum strains \(\gamma _m\) (see legend) at pressure \(p = 10^{-4}\) and system size \(N = 1024\)

Fig. 3
figure 3

a Plastic work versus maximum strain for varying pressures (see legend). b Collapse to a master curve with \(\varrho = 5/2\). The dashed lines have slopes 2 and 3/2

The phenomenology of a shear reversal test in weakly jammed soft spheres is illustrated in Fig. 1. In panel (a), the maximum shear strain \(\gamma _m = 10^{-5}\) is so small that no contact changes occur [26, 27]. The stress–strain curve is linear and the loading and unloading curves coincide. In panel (b), the maximum shear strain \(\gamma _m = 10^{-2}\) is substantially larger. On reversal the stress decreases but does not retrace the loading curve. The loading and unloading curves are both nonlinear. Because there is hysteresis, there is an associated plastic work. In addition to the plastic work, irreversibility can be quantified by the plastic strain \(\gamma _p\) and a plastic stress \(\sigma _p\), corresponding to the intercepts of the unloading curve with the x- and y-axis, respectively.

3 Plastic work

We perform shear reversal tests for a range of preparation pressures p and varying maximum strain \(\gamma _m\). Figure 2 illustrates loading and unloading curves for \(p = 10^{-4}\) and \(\gamma _m\) ranging from \(10^{-5}\) to \(10^{-2}\) in half-decade steps. The result is representative of other pressures.

To quantify the appearance of irreversibility, we analyze the plastic work as a function of \(\gamma _m\) and p, as shown in Fig. 3. We find nonzero \(W_p\) for all investigated maximum strains, which are as small as \(10^{-5}\). (As noted above, packings of finite size can be sheared reversibly if the contact network remains unchanged, but this strain interval vanishes in the large system size limit [26, 27]). For each pressure \(W_p\) has an approximately power law growth with \(\gamma _m\), with an apparent exponent that varies with pressure.

To better understand the pressure dependence of \(W_p\), we seek to collapse the data to a master curve. Anticipating a correlation with the onset of nonlinearity, we plot the rescaled variable \(x \equiv \gamma _m/p \sim \gamma _m/\gamma ^\dag \). On the other axis we plot the rescaled work \(\mathcal{{W}} \equiv W_p/p^{\rho }\) for some exponent \(\varrho \). To motivate \(\varrho \), we note that for small values of \(\gamma _m\), the loading curve is associated with work \(W_\uparrow \sim G_0 \gamma _m^2\), where \(G_0 \sim p^{1/2}\) is the shear modulus for Hookean particles near jamming [1, 39, 40]. If we assume \(G_0\) also sets the relevant scale for \(W_p\) at small \(\gamma _m\), then we expect \(W_p \sim p^{1/2}\gamma _m^2\). Rearranging in favor of \(\gamma _m/p\) gives \({W_p }/{ p^{5/2}} \sim \left( {\gamma _m}/{p} \right) ^2 \), which requires \(\varrho = 5/2\). This prediction is tested in the log-log plot of Fig. 3b, where we find data collapse to a curve with an initial slope of 2. When \(x \gg x^* \sim O(1)\) the plastic work grows more slowly with \(\gamma _m\), with an exponent of roughly 3/2,

$$\begin{aligned} \mathcal{W} \sim \left\{ \begin{array}{cl} x^{2} &{} \,\,\,\, x < x^* \\ x^{3/2} &{} \,\,\,\, x > x^* \,. \end{array} \right. \end{aligned}$$
(4)

Plasticity is indeed sensitive to \(\gamma ^\dag \), because data for \(W_p\) collapse with the rescaled variable x. But irreversibility does not “turn on” when the ensemble-averaged stress–strain curve becomes nonlinear, as indicated by measurable \(W_p\) even when the curve is linear.

4 Contact changes

We now seek to relate irreversibility to the evolution of contact changes during loading and unloading.

As first shown in Ref. [19] and verified below, the scale \(\gamma ^\dag \) is apparent in the evolution of the number of made and broken contacts per particle, which we refer to as the contact change density \(n_{cc}(\gamma )\). We now monitor contact changes during unloading to see to what extent the original contact network is recovered (i.e. broken contacts are re-made and made contacts are re-broken). Contact changes are always identified with respect to the initial condition, even during unloading. The “plastic contact change density” \(n_{cc}^p\), equal to \(n_{cc}\) at the end of the unloading curve, is a measure of irreversible (i.e. plastic) contact changes.

Figure 4 depicts loading and unloading curves for three values of \(\gamma _m\) and three different initial pressures \(p = 10^{-5},10^{-4}\,\mathrm {and}\,10^{-3}\). For the lowest \(\gamma _m\), in panel (a), most contact changes are recovered at the end of the cycle and \(n_{cc}\) has a nonzero slope. \(n_{cc}^p\) is nevertheless nonzero, and it increases as p tends to zero. Plastic contact changes also increase with increasing \(\gamma _m\) (panels (b) and (c)). In the final panel a large fraction of the contact changes are unrecoverable, \(n_{cc}\) hits the vertical axis with zero slope, and \(n_{cc}^p\) is nearly equal to \(n_{cc}(\gamma _m)\).

4.1 Contact changes during loading

Fig. 4
figure 4

The contact change density \(n_{cc}\) as a function of \(\gamma /\gamma _m\) for a \(\gamma _m = 10^{-5}\), b \(\gamma _m = 10^{-4}\) and c) \(\gamma _m = 10^{-2}\) each at pressures \(p = 10^{-5},10^{-4}\,\mathrm {and}\,10^{-3}\) at \(N = 1024\). The solid lines indicate the loading the dashed lines the unloading curves

Figure 5 depicts \(n_{cc}\) during loading. The figure shows that data for different pressures can be collapsed to a master curve by plotting \(\mathcal{N} \equiv n_{cc}/(\gamma ^\dag )^{1/2} \sim n_{cc}/p^{1/2}\) as a function of \(y = \gamma /p \sim \gamma /\gamma ^\dag \). This collapse was first demonstrated in Ref. [19]; for completeness we present it in Fig. 5 using data from the present study. We find

$$\begin{aligned} \mathcal{N} \sim \left\{ \begin{array}{cl} y &{} \,\,\,\, y < y^* \\ y^{1/2} &{} \,\,\,\, y > y^* \,. \end{array} \right. \end{aligned}$$
(5)

The crossover \(y^* \sim O(1)\) is compatible with \(x^*\) from the plastic work. For later reference, we note that

$$\begin{aligned} n_{cc} \simeq a_m \gamma _m^{1/2} \end{aligned}$$
(6)

when \(\gamma _m > \gamma ^\dag = y^* \, p\). We estimate \(a_m \approx 3.7 \pm 0.1\) by fitting Eq. (6) to \(\mathcal N\) for \(y > 10\).

We note that, by definition, \(n_{cc}\) changes by an amount 1 / N when the system has undergone a strain \(\gamma _{cc}\) sufficient to produce one contact change. Hence

$$\begin{aligned} \frac{\mathrm{d}n_{cc}}{\mathrm{d}\gamma } \approx \frac{1/N}{\gamma _{cc}} \,, \end{aligned}$$
(7)

and the average strain interval between contact changes, \(\gamma _{cc}\) can be read off from the slope of the curves in Fig. 4. (Alternatively, the probability of a contact change in the interval \([\gamma , \gamma + \mathrm{d}\gamma )\) is \(1/\gamma _{cc}\)). In particular, when the loading curve is linear, there is a typical strain interval \(\gamma _{cc} \sim p^{1/2}/N\) between contact changes. Van Deen et al. [26, 27] reached compatible results by directly resolving contact changes. As noted above, \(\gamma _{cc}\) vanishes in the large system size limit.

Fig. 5
figure 5

When appropriately rescaled with the pressure, the contact change density \(n_{cc}\) collapses to a master curve when plotted as a function of \(\gamma /p\)

Fig. 6
figure 6

a The plastic contact change density \(n^{p}_{cc}\) as a function of maximum strain \(\gamma _m\) at varying pressures p and system sizes N. b Data collapse to a master curve. Dashed lines indicate the slopes 1 and 1/2

4.2 Contact changes after reversal

To quantify to what extent the initial contact network can be recovered under reversal, we now monitor the plastic contact change density \(n_{cc}^p\). Clearly \(n_{cc}^p = 0\) if the initial contact network is fully recovered. Figure 6 plots \(n_{cc}^p\) as a function of \(\gamma _m\) for three pressures and system sizes \(N = 128\), 512, and 1024. We find \(n_{cc}^p\) is an increasing function of \(\gamma _m\), and for a given \(\gamma _m\) it is larger at smaller pressures. There is also dependence on N.

The system size-dependence in \(n_{cc}^p\) suggests that the contact change strain \(\gamma _{cc} \sim p^{1/2}/N\) plays a dominant role, as opposed to \(\gamma ^\dag \sim p\). To test this hypothesis, we attempt to collapse data to a master curve by plotting as a function of \(z \equiv \gamma _m N/p^{1/2} \sim \gamma _m/\gamma _{cc}\). We find collapse plotting \(\mathcal{P} \equiv n_{cc}^p N^{1/2}/p^{1/4} \) versus \(p^{1/2}/N\), as shown in Fig. 6b. The master curve is

$$\begin{aligned} \mathcal{P} \sim \left\{ \begin{array}{cl} z &{} \,\,\,\,z < z^* \\ z^{1/2} &{} \,\,\,\,z > z^* \,. \end{array} \right. \end{aligned}$$
(8)

The crossover value \(z^* \sim O(10^2)\). Therefore

$$\begin{aligned} n_{cc}^p \simeq a_p \gamma _m^{1/2} \end{aligned}$$
(9)

after the system has undergone on the order of one hundred contact changes. The constant \(a_p \approx 3.5 \pm 0.1\).

4.3 Relating nonlinearity and irreversibility

We can use the above observations to interpret the strain scale \(\gamma ^\dag \) in terms of irreversibility. To this end, it is useful to introduce the “plastic fraction”

$$\begin{aligned} f_p(\gamma _m) = \frac{\mathrm{d}n_{cc}^p}{\mathrm{d}n_{cc}^m} \,, \end{aligned}$$
(10)

where \(n_{cc}^m\) is the value of \(n_{cc}\) at the end of loading. \(f_p\) quantifies the extent to which marginal contact changes tend to be plastic. If \(f_p(\gamma _m) = 0\), then all marginal contact changes in an infinitesimal interval around \(\gamma _m\) are reversible. If \(f_p = 1\), all contact changes are plastic.

While a direct numerical evaluation of \(f_p\) is noisy, we can infer its scaling properties by noting that

$$\begin{aligned} f_p = \left( { \frac{\mathrm{d}n_{cc}^p}{\mathrm{d}\gamma _m} } \right) \left( \frac{\mathrm{d}n_{cc}^m}{\mathrm{d}\gamma _m} \right) ^{-1} \,. \end{aligned}$$
(11)

From Eq. (9) it follows that

$$\begin{aligned} { \frac{\mathrm{d}n_{cc}^p}{\mathrm{d}\gamma _m} } \simeq \frac{a_p}{\gamma _m^{1/2}} \end{aligned}$$
(12)

in the \(N \rightarrow \infty \) limit. Similarly, Eq. (6) implies that

$$\begin{aligned} \frac{\mathrm{d}n_{cc}^m}{\mathrm{d}\gamma _m} \simeq \frac{a_m}{\gamma _m^{1/2}} \end{aligned}$$
(13)

when \(\gamma _m > \gamma ^\dag \). Thus \(f_p\) plateaus at a value \(a_p/a_m \approx 0.95\) when \(\gamma _m > \gamma ^\dag \). In other words, after the linear-to-nonlinear crossover, around \(95\%\) of the subsequent contact changes are plastic. By contrast, for smaller values of \(\gamma _m\) the plastic fraction evolves with strain.

4.4 From contact changes to the stress–strain curve

A remaining challenge is to determine how plastic events impact stress buildup. Here we make a first attempt. We expect irreversible contact changes to have an associated stress drop \(\varDelta \sigma _p/N\) due to an eigenvalue of the Hessian matrix going to zero [41, 42]. Then we assume that the infinitesimal stress \(\mathrm{d}\sigma \) generated by a strain \(\mathrm{d} \gamma \) has both an elastic contribution and an offsetting stress release due to irreversible events

$$\begin{aligned} \mathrm{d}\sigma = G_0 \, \mathrm{d}\gamma - \varDelta \sigma _p \, \mathrm{d} n_{cc}^p(\gamma ) \,. \end{aligned}$$
(14)

Using Eq. (9) and rewriting in dimensionless form gives

$$\begin{aligned} \frac{1}{G_0}\frac{\mathrm{d}\sigma }{\mathrm{d}\gamma } = 1 - \frac{\varDelta \sigma _p}{p^{1/2} \, G_0 } \left( \frac{p}{ \gamma }\right) ^{1/2} \,. \end{aligned}$$
(15)

It remains to determine the typical stress drop amplitude, \(\varDelta \sigma _p\). The scaling relation \(\varDelta \sigma _p \sim p\) suggests itself purely on dimensional grounds. Assuming this form then predicts that the right hand side of Eq. (15) depends on \(\gamma \) and p only via their ratio \(\gamma /p\). Reassuringly, this is consistent with the linear-to-nonlinear crossover at \(\gamma ^\dag \sim p\), and with recent measurements of the secant modulus during shear startup [19] and the storage modulus in oscillatory shear [17, 22]. We conclude that the typical stress drop is indeed linear in p. Eq. (15) can then be integrated to find

$$\begin{aligned} {\sigma }\sim \left\{ \begin{array}{cl} p^{1/2} \, \gamma &{} \,\,\,\, \gamma < \gamma ^\dag \\ p \, \gamma ^{1/2}&{} \,\,\,\, \gamma > \gamma ^\dag \,. \end{array} \right. \end{aligned}$$
(16)

This stress–strain curve is compatible with \(W_p\) in Fig. 3b, including the \(\gamma ^{3/2}\) scaling beyond \(\gamma \approx \gamma ^\dag \).

The approach presented above is semi-empirical. A more fundamental motivation would require directly identifying plastic events to determine their frequency and associated stress drops. The necessary theoretical tools were recently developed in Refs. [42,43,44].

5 Discussion

We have investigated irreversibility at the macro and micro scale in systems near jamming, evidencing irreversibility in both the plastic work and the contact change statistics for small shear strains. Initially the average loading curve is linear and most contact changes are reversible. Increasing the maximum strain increases the number and fraction of plastic contact changes. For \(\gamma > \gamma ^\dag \), the loading curve becomes nonlinear and nearly all contact changes are plastic. The onset of nonlinearity therefore corresponds not to the onset of irreversibility (as commonly assumed in continuum elasto-plastic theories), but to “fully developed” irreversibility, as reflected in the saturation of the plastic fraction \(f_p\). This crossover occurs earlier for smaller \(\gamma ^\dag \sim p\).

With hindsight, the above scenario is apparent in the contact change statistics. For small \(\gamma _m\), as in Fig. 4a, the plastic contact change density is much smaller than \(n_{cc}^m\), and the unloading branch of the \(n_{cc}\) curve ends with a nonzero slope—indicating that shearing the system “a little bit further” to \(\gamma _\downarrow < 0\) would bring the system closer to its initial contact topology, i.e. fewer net contact changes. In contrast, for large \(\gamma _m\), as in Fig. 4c, \(n_{cc}^p\) is nearly equal to \(n_{cc}^m\), and the unloading curve is flat—the system has effectively lost all memory of its initial condition.

Our work has correlated the onset of nonlinearity at the macro scale to a particle scale crossover from reversible to irreversible contact changes. Both of these crossovers are sensitive to the proximity to jamming. We have also suggested a phenomenological approach to relate irreversible rearrangements to the form of the loading curve, highlighting the need for a deeper understanding of the statistics of stress drops during loading.