Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

11. Elastoviscoplasticity: the Saramito model, yielding and recoil

Below its yield stress a polymer gel such as a Carbopol dispersion is not rigid, as the Bingham model assumes: it deforms elastically and recovers when the load is removed. Above the yield stress it flows, and when the driving stress is removed the elastic strain is recovered, so that the material moves backwards for a short time. The Bingham model has no elasticity, and the Oldroyd-B model has no yield stress.

The model of Saramito (2007) combines the two: an elastic solid below the yield stress and a viscoelastic fluid above it, with a von Mises yield criterion. This lecture integrates the model in creep, in start-up of shear, in oscillatory shear and in recovery. The parameter set CARBOPOL_EVP used throughout (G0=380 PaG_0 = 380\text{ Pa}, τy=45 Pa\tau_y = 45\text{ Pa}) is assumed and is not fitted to measurements.

Learning objectives

  1. Write the Saramito model and show the change from an elastic solid (∥τd∥≤τy\lVert\boldsymbol{\tau}_d\rVert \leq \tau_y) to a viscoelastic fluid above the yield stress (viscoplastic_admm.solve_saramito_evp_1d).

  2. Compute start-up of shear at a fixed rate: the elastic rise of the stress, yielding and the overshoot.

  3. Compute the stress–strain loops of large-amplitude oscillatory shear below and above the yield strain γy=τy/G0\gamma_y = \tau_y / G_0.

  4. Compute the recoil after the stress is removed, for several values of the modulus G0G_0.

Time: about 60 min

1. The Saramito model

Saramito (2007) multiplied the relaxation term of the Oldroyd-B model by a factor Y(τ)Y(\boldsymbol{\tau}) that is zero below the yield stress. The yield criterion is of the von Mises type, on the norm ∥τd∥=12τxx2+τxy2\lVert\boldsymbol{\tau}_d\rVert = \sqrt{\frac{1}{2}\tau_{xx}^2 + \tau_{xy}^2} of the deviatoric stress. In shear, with the total shear stress σ=τxy+ηsγ˙\sigma = \tau_{xy} + \eta_s\dot{\gamma} and the relaxation time λ=ηp/G0\lambda = \eta_p / G_0:

τ∇+Y(τ)λτ=2 G0 D,Y(τ)≡max⁡ ⁣(0,  ∥τd∥−τy∥τd∥)\stackrel{\nabla}{\boldsymbol{\tau}} + \frac{Y(\boldsymbol{\tau})}{\lambda}\boldsymbol{\tau} = 2\,G_0\,\mathbf{D}, \qquad Y(\boldsymbol{\tau}) \equiv \max\!\left(0,\; \frac{\lVert\boldsymbol{\tau}_d\rVert - \tau_y}{\lVert\boldsymbol{\tau}_d\rVert}\right)

The function Y(τ)Y(\boldsymbol{\tau}) switches between a solid and a fluid, without the creep of a regularized model:

  • Below the yield stress, ∥τd∥≤τy\lVert\boldsymbol{\tau}_d\rVert \leq \tau_y, Y=0Y = 0 and there is no relaxation. In shear τ˙xy=G0γ˙\dot{\tau}_{xy} = G_0\dot{\gamma}, so that τxy=G0γ\tau_{xy} = G_0\gamma: under a constant stress σ0\sigma_0 the strain tends to γ∞=σ0/G0\gamma_\infty = \sigma_0 / G_0 and the shear rate to zero.

  • Above the yield stress, ∥τd∥>τy\lVert\boldsymbol{\tau}_d\rVert > \tau_y, Y>0Y > 0 and the material relaxes as a viscoelastic fluid, with positive dissipation.


Demonstration 1: creep below and above the yield stress (CARBOPOL_EVP)
======================================================================
Sub-yield load (30 Pa < tau_y=45 Pa) : final strain = 0.078947 (exact sigma/G0 = 0.078947), final rate = 7.11e-15 s^-1, ever yielded? False
Super-yield load (75 Pa > tau_y=45 Pa): final strain = 1.6965, steady flow rate = 2.528 s^-1, yielded? True
<Figure size 1122x440 with 2 Axes>

Figure 11.1. Saramito model with the parameters of CARBOPOL_EVP (assumed) under a constant stress. (a) At 30 Pa, below the yield stress, the strain stops at σ0/G0\sigma_0/G_0; at 75 Pa it grows steadily. (b) Shear rate in the two cases.

What Demonstration 1 shows. Below τy=45 Pa\tau_y = 45\text{ Pa}, the strain computed by solve_saramito_evp_1d rises to γ∞=30/380=0.078947\gamma_\infty = 30/380 = 0.078947, correct to six digits, and then stays constant (γ˙=0\dot{\gamma} = 0). At 75 Pa75\text{ Pa} the model yields and flows steadily.


2. Start-up of shear at a fixed rate

At an imposed shear rate γ˙0\dot{\gamma}_0 (mode="rate_controlled") the stress first grows elastically, τxy=G0γ\tau_{xy} = G_0\gamma and τxx=G0γ2\tau_{xx} = G_0\gamma^2, until the norm 12τxx2+τxy2\sqrt{\frac{1}{2}\tau_{xx}^2 + \tau_{xy}^2} reaches τy\tau_y, near the yield strain γy=τy/G0\gamma_y = \tau_y / G_0. Beyond the yield strain the normal stress continues to grow, τ˙xx=2γ˙0τxy−…\dot{\tau}_{xx} = 2\dot{\gamma}_0\tau_{xy} - \dots, which increases Y(τ)Y(\boldsymbol{\tau}) and the rate of relaxation. The shear stress therefore passes through a maximum before it settles on its steady value.


Demonstration 2: start-up of shear: elastic rise, yielding and overshoot
========================================================================
gdot =  0.5 s^-1 | yield strain = 0.5611 (tau_y/G0 = 0.6000) | peak/steady tau_xy = 1.128
gdot =  1.5 s^-1 | yield strain = 0.5611 (tau_y/G0 = 0.6000) | peak/steady tau_xy = 1.117
gdot =  4.0 s^-1 | yield strain = 0.5611 (tau_y/G0 = 0.6000) | peak/steady tau_xy = 1.095
<Figure size 1122x440 with 2 Axes>

Figure 11.2. Start-up at three shear rates. (a) Total shear stress against strain, with the elastic line G0γG_0\gamma. (b) Polymer shear stress; the peak exceeds the steady value by 9.5 to 12.8 %.

What Demonstration 2 shows. At all three shear rates (0.5 to 4.0 s−14.0\text{ s}^{-1}), the shear stress passes through a maximum above its steady value. The maximum comes from the normal stress τxx\tau_{xx}, which enters the von Mises norm.


3. Large-amplitude oscillatory shear

In oscillatory shear, γ(t)=γ0sin⁡(ωt)\gamma(t) = \gamma_0\sin(\omega t) and γ˙(t)=γ0ωcos⁡(ωt)\dot{\gamma}(t) = \gamma_0\omega\cos(\omega t), the change from solid to fluid is visible in a plot of the stress σ(t)\sigma(t) against the strain γ(t)\gamma(t):

  • For a strain amplitude below the yield strain, γ0<γy=τy/G0≈0.118\gamma_0 < \gamma_y = \tau_y/G_0 \approx 0.118, the material does not yield (Y=0Y = 0). The curve is close to a straight line of slope G0G_0, and the area of the loop is the dissipation of the solvent, ∮σ dγ=πηsωγ02\oint \sigma\,d\gamma = \pi\eta_s\omega\gamma_0^2.

  • For γ0≫γy\gamma_0 \gg \gamma_y the material yields in each half-cycle, and the loop opens into a parallelogram. Its area is the energy dissipated in one cycle per unit volume, by plastic flow and by the solvent.


Demonstration 3: stress-strain loops below and above the yield strain
=====================================================================
gamma_0 = 0.05 (gamma_0/gamma_y = 0.42) | cycle dissipation W_d =    0.02 J/m^3 ( 1.00x solvent baseline)
gamma_0 = 0.20 (gamma_0/gamma_y = 1.69) | cycle dissipation W_d =   16.81 J/m^3 (66.87x solvent baseline)
gamma_0 = 0.70 (gamma_0/gamma_y = 5.91) | cycle dissipation W_d =  166.62 J/m^3 (54.12x solvent baseline)
<Figure size 1122x440 with 2 Axes>

Figure 11.3. Oscillatory shear at three strain amplitudes. (a) Stress against strain divided by its amplitude; the dotted lines are ±τy\pm\tau_y. (b) Energy dissipated per cycle divided by that of the solvent alone; the dashed line is 1.

What Demonstration 3 shows. At γ0=0.05<γy\gamma_0 = 0.05 < \gamma_y, the dissipation in one cycle equals that of the solvent alone (Wplastic=0W_{\mathrm{plastic}} = 0), whereas at γ0=0.70≈6γy\gamma_0 = 0.70 \approx 6\gamma_y the dissipation per cycle is about 54 times that of the solvent alone.


4. Creep and recovery

Consider a stress that drops from σload=80 Pa>τy\sigma_{\mathrm{load}} = 80\text{ Pa} > \tau_y to σ=0\sigma = 0, as in a dispensing nozzle when the pressure is removed. While it flows, the gel carries an elastic stress τxy>τy\tau_{xy} > \tau_y. After the stress is removed, the balance 0=τxy(t)+ηsγ˙(t)0 = \tau_{xy}(t) + \eta_s\dot{\gamma}(t) gives a negative shear rate, γ˙(t)=−τxy(t)/ηs\dot{\gamma}(t) = -\tau_{xy}(t)/\eta_s: the material recoils, and recovers a strain of order τy/G0\tau_y / G_0.


Demonstration 4: recoil after unloading for several moduli
==========================================================
G0 = 190.0 Pa | min post-shutoff rate =  -156.74 s^-1 (< 0) | recovered strain |dgamma_rec| = 0.4098
G0 = 380.0 Pa | min post-shutoff rate =  -157.06 s^-1 (< 0) | recovered strain |dgamma_rec| = 0.2057
G0 = 760.0 Pa | min post-shutoff rate =  -157.16 s^-1 (< 0) | recovered strain |dgamma_rec| = 0.1031
<Figure size 1122x440 with 2 Axes>

Figure 11.4. A stress of 80 Pa removed at t=0.35t = 0.35 s, for three elastic moduli. (a) Strain: part of it is recovered, more for a lower modulus. (b) Shear rate, which is negative just after the stress is removed.

Inside the algorithm

Two details of viscoplastic_admm.solve_saramito_evp_1d deserve attention:

  1. The normal stress. Even in simple shear the upper-convected derivative produces a normal stress, τ˙xx=2γ˙τxy−Yλτxx\dot{\tau}_{xx} = 2\dot{\gamma}\tau_{xy} - \frac{Y}{\lambda}\tau_{xx}, which enters the yield criterion through ∥τd∥=12τxx2+τxy2\lVert\boldsymbol{\tau}_d\rVert = \sqrt{\frac{1}{2}\tau_{xx}^2 + \tau_{xy}^2}.

  2. The time step. With an imposed stress (stress_controlled), substituting γ˙=(σ−τxy)/ηs\dot{\gamma} = (\sigma - \tau_{xy})/\eta_s gives an equation that relaxes at the rate G0/ηsG_0/\eta_s, as in a Kelvin–Voigt solid. The explicit midpoint scheme is stable only for Δt<2 ηs/G0\Delta t < 2\,\eta_s / G_0.

Check against the package

The cell below prints the source of solve_saramito_evp_1d and repeats the calculation with a solver written in NumPy that also returns τxx(t)\tau_{xx}(t) and ∥τd∥(t)\lVert\boldsymbol{\tau}_d\rVert(t). The two agree to rounding error (< 1e-13), and after unloading the stress stays within the yield surface, ∥τd∥≤τy\lVert\boldsymbol{\tau}_d\rVert \leq \tau_y.


Inside the algorithm: a second-order solver of the Saramito model
=================================================================
def solve_saramito_evp_1d(
    t_grid: np.ndarray,
    forcing_fn: Callable[[float], float],
    G0: float = 100.0,
    tau_y: float = 15.0,
    eta_p: float = 5.0,
    eta_s: float = 0.5,
    mode: str = "stress_controlled",
) -> dict:
    """The elastoviscoplastic model of Saramito (2007) in homogeneous shear, with imposed stress or imposed rate."""
    t = np.asarray(t_grid, dtype=float).ravel()
    if t.size < 2 or np.any(np.diff(t) <= 0.0) or G0 <= 0.0 or tau_y < 0.0 or eta_p <= 0.0 or eta_s <= 0.0:
        raise ValueError("Require increasing t_grid and positive G0, eta_p, eta_s (tau_y >= 0).")
    if mode not in ("stress_controlled", "rate_controlled"):
        raise ValueError("mode must be 'stress_controlled' or 'rate_controlled'.")

    lam = eta_p / G0
    tau_xx = 0.0
    tau_xy = 0.0
    strain = 0.0

    stress_tot = np.zeros_like(t)
    tau_p_hist = np.zeros_like(t)
    gdot_hist = np.zeros_like(t)
    strain_hist = np.zeros_like(t)
    yielded = np.zeros(t.size, dtype=bool)

    def _von_mises_2d(txx: float, txy: float) -> float:
        # Deviatoric second invariant norm ||tau_d|| = sqrt(txx^2 / 2 + txy^2) so pure shear txx=0 gives |txy|:
        return math.sqrt(0.5 * txx * txx + txy * txy)

    for k in range(t.size):
        tk = float(t[k])
        f_in = float(forcing_fn(tk))
        gdot_cur = (f_in - tau_xy) / eta_s if mode == "stress_controlled" else f_in
        sig_cur = f_in if mode == "stress_controlled" else tau_xy + eta_s * gdot_cur
        vm = _von_mises_2d(tau_xx, tau_xy)
        stress_tot[k] = sig_cur
        tau_p_hist[k] = tau_xy
        gdot_hist[k] = gdot_cur
        strain_hist[k] = strain
        yielded[k] = vm > tau_y + 1e-12

        if k == t.size - 1:
            break
        dt = float(t[k + 1] - t[k])

        def _rhs(txx: float, txy: float, t_eval: float) -> tuple[float, float, float]:
            fin = float(forcing_fn(t_eval))
            gd = (fin - txy) / eta_s if mode == "stress_controlled" else fin
            tnorm = _von_mises_2d(txx, txy)
            y_fac = max(0.0, (tnorm - tau_y) / max(tnorm, 1e-15))
            d_txx = 2.0 * gd * txy - (y_fac / lam) * txx
            d_txy = G0 * gd - (y_fac / lam) * txy
            return d_txx, d_txy, gd

        k1_xx, k1_xy, g1 = _rhs(tau_xx, tau_xy, tk)
        k2_xx, k2_xy, g2 = _rhs(tau_xx + 0.5 * dt * k1_xx, tau_xy + 0.5 * dt * k1_xy, tk + 0.5 * dt)
        tau_xx += dt * k2_xx
        tau_xy += dt * k2_xy
        strain += dt * g2

    return {
        "t": t,
        "stress": stress_tot,
        "tau_p": tau_p_hist,
        "shear_rate": gdot_hist,
        "strain": strain_hist,
        "yielded_mask": yielded,
    }

Max |this solver - package| strain error = 0.000e+00, stress error = 0.000e+00
Final residual von Mises stress after unloading = 10.346 Pa <= tau_y = 45.0 Pa

Exercises

Worked solutions are in 11_solutions.ipynb. The cell below the list is a short self-check to start from.

  1. Verify a result. Derive the strain γKV(t)\gamma_{\mathrm{KV}}(t) of the Saramito model for a stress of 32 Pa32\text{ Pa}, below the yield stress τy=45 Pa\tau_y = 45\text{ Pa}, applied for 0≤t<0.25 s0 \le t < 0.25\text{ s} and removed for 0.25≤t≤0.55 s0.25 \le t \le 0.55\text{ s} (assumed parameters CARBOPOL_EVP). Below the yield stress the model is a Kelvin–Voigt solid. Compare with the numerical solution, and check that no strain remains after unloading.

  2. Find how it fails. Compare the Saramito model (CARBOPOL_EVP: G0=380 Pa,τy=45 Pa,ηp=12 Pa⋅s,ηs=0.5 Pa⋅sG_0 = 380\text{ Pa}, \tau_y = 45\text{ Pa}, \eta_p = 12\text{ Pa}\cdot\text{s}, \eta_s = 0.5\text{ Pa}\cdot\text{s}) with a Bingham model without elasticity for a pulse of stress of the kind applied in a dispensing nozzle: σ=85 Pa\sigma = 85\text{ Pa} for 0≤t<0.35 s0 \leq t < 0.35\text{ s}, then σ=0\sigma = 0 until 0.70 s0.70\text{ s}. Compute the strain that is recovered after the stress is removed and the most negative shear rate.

  3. Implement it yourself. Write solve_channel_saramito_evp_1d(ny, H_half, dpdz_fn, t_grid, G0, tau_y, eta_p, eta_s) in NumPy for flow without inertia in a plane channel, 0≤y≤H0 \le y \le H, with the shear stress σ(y,t)=G(t) y\sigma(y, t) = G(t)\,y and the velocity u(y,t)=∫yHγ˙(η,t) dηu(y, t) = \int_y^H \dot{\gamma}(\eta, t)\,d\eta. Use the parameters CARBOPOL_EVP with H=0.01 mH = 0.01\text{ m} and G=9000 Pa/mG = 9000\text{ Pa/m} (a wall stress of 90 Pa=2τy90\text{ Pa} = 2\tau_y) for t<0.35 st < 0.35\text{ s} and G=0G = 0 afterwards. Check that the yield surface is at yp=0.5Hy_p = 0.5 H and that the centreline velocity u(0,t)u(0, t) is negative after the pressure gradient is removed.


Self-check for the exercises
============================
All checks passed.