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.

Solutions · 0. Frame indifference, convected derivatives and finite strain

Worked solutions to the three exercises of Lecture 0. Each solution is computed here and checked with assert statements against an exact identity or an independent calculation. The first code cell sets up the notebook and runs Demonstration 1 of the lecture without showing its output, because some of the solutions use its variables.

Exercise 1

Problem. Check numerically, for ξ\xi between 0 and 2 and Wi\mathrm{Wi} between 0.1 and 6, that (1) the Gordon–Schowalter derivative is the weighted mean A□(ξ)=(1−ξ2)A∇+ξ2A△\stackrel{\square}{\mathbf{A}}(\xi) = (1 - \frac{\xi}{2})\stackrel{\nabla}{\mathbf{A}} + \frac{\xi}{2}\stackrel{\triangle}{\mathbf{A}} of the upper- and lower-convected derivatives, and (2) the steady shear solution of the Johnson–Segalman model satisfies η(Wi)/ηp=[1+ξ(2−ξ)Wi2]−1\eta(\mathrm{Wi})/\eta_p = [1 + \xi(2 - \xi)\mathrm{Wi}^2]^{-1} and N2/N1=−ξ/2N_2 / N_1 = -\xi / 2.


Exercise 1: the Gordon-Schowalter derivative and the viscometric functions
==========================================================================
Max convex-combination error across xi in [0, 2]: 3.134e-15
<Figure size 1122x407 with 2 Axes>

Figure S0.1. Steady shear of the Johnson–Segalman model for four values of ξ\xi. (a) Polymer viscosity divided by ηp\eta_p. (b) The ratio N2/N1N_2/N_1, which does not depend on the shear rate.

Explanation. Writing L−ξD=(1−ξ2)L−ξ2L⊤\mathbf{L} - \xi\mathbf{D} = (1 - \frac{\xi}{2})\mathbf{L} - \frac{\xi}{2}\mathbf{L}^\top shows that the Gordon–Schowalter derivative interpolates linearly between the upper-convected derivative (ξ=0\xi = 0) and the lower-convected derivative (ξ=2\xi = 2); the computed difference between the two sides is 3×10−153\times10^{-15}. The viscosity depends on ξ\xi through the product ξ(2−ξ)\xi(2 - \xi) alone: it is constant for ξ=0\xi = 0 and for ξ=2\xi = 2, and decreases with shear rate for every value in between. When the solvent viscosity is small, the total shear stress then has a maximum, which is the subject of Lecture 8.


Exercise 2

Problem. A sample with the initial stress τp(0)=diag⁡(20,−10,−10) Pa\boldsymbol{\tau}_p(0) = \operatorname{diag}(20, -10, -10)\ \mathrm{Pa} and the relaxation time λ=1.0 s\lambda = 1.0\ \mathrm{s} rests without deformation (D=0\mathbf{D} = \mathbf{0}) on a turntable that rotates at Ω=4.0 rad/s\Omega = 4.0\ \mathrm{rad/s}. Integrate in the laboratory frame (a) the equation with a partial time derivative, λ∂tτp+τp=0\lambda\partial_t\boldsymbol{\tau}_p + \boldsymbol{\tau}_p = \mathbf{0}, and (b) the upper-convected Maxwell equation λτ∇p+τp=0\lambda\stackrel{\nabla}{\boldsymbol{\tau}}_p + \boldsymbol{\tau}_p = \mathbf{0}. For each, compute the shear stress τxybody(t)\tau_{xy}^{\mathrm{body}}(t) in axes that rotate with the sample.


Exercise 2: a sample at rest on a turntable
===========================================
Largest body-frame |tau_xy|      (partial d/dt)       : 12.422 Pa
Max body-frame |tau_xy| (UCM)               : 8.177e-07 Pa
Max |tau_xx_body(UCM) - 20*exp(-t/lam)|               : 5.457e-07 Pa
<Figure size 1122x407 with 2 Axes>

Figure S0.2. A pre-stressed sample at rest on a turntable. (a) Shear stress in the frame of the sample: zero for the upper-convected Maxwell equation, oscillating with an amplitude above 12 Pa for the equation written with the partial time derivative. (b) Normal stress τxx\tau_{xx} in the same frame, against the exact relaxation 20 e−t/λ20\,e^{-t/\lambda} Pa.

Explanation. The sample does not deform, so a gauge fixed to it must record τp(0)e−t/λ\boldsymbol{\tau}_p(0)e^{-t/\lambda}, with no shear stress. The upper-convected Maxwell equation gives this result to 8×10−78\times10^{-7} Pa. The equation with the partial time derivative keeps the principal axes of the stress fixed in the laboratory while the sample rotates under them, and the gauge records a shear stress of up to 12.4 Pa. The terms −Wτp+τpW-\mathbf{W}\boldsymbol{\tau}_p + \boldsymbol{\tau}_p\mathbf{W}, which every convected derivative contains, rotate the principal axes of the stress with the material.


Exercise 3

Problem. Write a NumPy solver of the Lodge integral for a shear rate that is piecewise constant: +3.0 s−1+3.0\ \mathrm{s}^{-1} for 0≤t≤1.0 s0 \le t \le 1.0\ \mathrm{s} and −2.0 s−1-2.0\ \mathrm{s}^{-1} for 1.0<t≤2.5 s1.0 < t \le 2.5\ \mathrm{s}, with G0=5.0 PaG_0 = 5.0\ \mathrm{Pa} and λ=0.8 s\lambda = 0.8\ \mathrm{s}. Use the accumulated strain γ(t,t′)=∫t′tγ˙(s) ds\gamma(t, t') = \int_{t'}^t \dot{\gamma}(s)\,ds in the relative deformation gradient Ft′→t\mathbf{F}_{t'\to t}, and compare the stresses with tensors_kinematics.integrate_homogeneous_constitutive.


Exercise 3: the Lodge integral for a shear rate that reverses
=============================================================
Step-reversal max |tau_xy(Lodge) - tau_xy(UCM)|: 8.004e-04 Pa
Step-reversal max |N1(Lodge) - N1(UCM)|        : 3.384e-03 Pa
<Figure size 1122x407 with 2 Axes>

Figure S0.3. Shear at +3 s−1+3\,\mathrm{s^{-1}} for 1 s followed by −2 s−1-2\,\mathrm{s^{-1}}: the Lodge integral with the accumulated strain (symbols) against the differential equation (lines). (a) Shear stress. (b) First normal stress difference, which passes through a minimum after the reversal.

Explanation. The integral and the differential equation agree to 8×10−48\times10^{-4} Pa in the shear stress and to 3×10−33\times10^{-3} Pa in N1N_1. After the reversal at t=1 st = 1\ \mathrm{s} the strain accumulated since an earlier time decreases, and N1N_1, which depends on the square of that strain, falls before it grows again. The comparison shows that the upper-convected Maxwell equation contains the whole history of the deformation, weighted by e−(t−t′)/λe^{-(t-t')/\lambda}, without storing it.