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 · 8. Non-monotonic flow curves and shear banding in wormlike micelles

Worked solutions to the three exercises of Lecture 8. 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. Show that the flow curve of the Johnson–Segalman model is non-monotonic below βcrit=1/8\beta_{\mathrm{crit}} = 1/8 for every slip parameter ξ\xi between 0 and 2, and that at βs=1/8\beta_s = 1/8 the inflection is at the shear rate γ˙∗(ξ)=3/[λξ(2−ξ)]\dot{\gamma}_*(\xi) = \sqrt{3}/\bigl[\lambda\sqrt{\xi(2-\xi)}\bigr]. Check both results with steady_johnson_segalman_curve for ξ∈{0.1,0.3,0.6,1.0}\xi \in \{0.1, 0.3, 0.6, 1.0\}.


Exercise 1: the limit beta_s = 1/8 and the inflection rate
==========================================================
xi = 0.1 | min(dSigma/dgdot) at beta=1/8 = 5.86e-08 | gdot* = 3.9725 (exact = 3.9736)
xi = 0.3 | min(dSigma/dgdot) at beta=1/8 = 1.06e-07 | gdot* = 2.4250 (exact = 2.4254)
xi = 0.6 | min(dSigma/dgdot) at beta=1/8 = 1.66e-07 | gdot* = 1.8900 (exact = 1.8898)
xi = 1.0 | min(dSigma/dgdot) at beta=1/8 = 2.14e-07 | gdot* = 1.7325 (exact = 1.7321)
<Figure size 1078x418 with 2 Axes>

Figure S8.1. (a) At βs=1/8\beta_s = 1/8 the flow curve has a horizontal inflection point for every ξ\xi (circles). (b) The rate at that point against ξ\xi, with 3/[ξ(2−ξ)]\sqrt{3/[\xi(2-\xi)]}.

Explanation. With w2=ξ(2−ξ)(λγ˙)2w^2 = \xi(2-\xi)(\lambda\dot{\gamma})^2 the slope of the polymer contribution to the shear stress is proportional to 1−w2(1+w2)2\frac{1 - w^2}{(1 + w^2)^2}. With u=1+w2u = 1 + w^2 this is 2−uu2\frac{2 - u}{u^2}, whose derivative u−4u3\frac{u - 4}{u^3} vanishes at u=4u = 4, that is w2=3w^2 = 3, where the value is −18-\frac{1}{8}. The slope of the total stress is therefore non-negative everywhere when βs≥1/8\beta_s \ge 1/8, whatever the value of ξ\xi; the slip parameter enters the position of the inflection through ww alone. The computed minimum slope at βs=1/8\beta_s = 1/8 is between 6×10−86\times10^{-8} and 2×10−72\times10^{-7}, and the inflection rates agree with the formula to 0.03 %.


Exercise 2

Problem. Run solve_1d_diffusive_johnson_segalman at Wi=3.0\mathrm{Wi} = 3.0, βs=0.05\beta_s = 0.05 and ξ=0.2\xi = 0.2 without stress diffusion (ℓd=0\ell_d = 0) and with ℓd=0.025\ell_d = 0.025, for amplitudes of the initial perturbation (init_perturbation) between 0.01 and 0.18. Compare the spread of the steady total stress in the two cases.


Exercise 2: the selected stress with and without stress diffusion
=================================================================
init_pert = 0.01 | l_d = 0.000 plateau = 0.80848294 | l_d = 0.025 plateau = 0.80872453
init_pert = 0.18 | l_d = 0.000 plateau = 0.77590236 | l_d = 0.025 plateau = 0.80872453
Plateau spread across initial perturbations: l_d = 0 -> 3.2581e-02 against l_d = 0.025 -> 1.5465e-13
<Figure size 1100x429 with 2 Axes>

Figure S8.2. Shear-rate profiles from two initial perturbations. (a) Without stress diffusion the position of the interface and the stress depend on the perturbation. (b) With stress diffusion the two runs coincide.

Explanation. Without the term ℓd2∂y2τp\ell_d^2 \partial_y^2\boldsymbol{\tau}_p the layers of fluid are coupled through the total stress Σ(t)\Sigma(t) alone, and any stress within the range of coexistence gives a steady state. The stress then depends on the initial perturbation (0.808 for an amplitude of 0.01 and 0.776 for 0.18, a spread of 0.033) and also on the grid. With ℓd=0.025\ell_d = 0.025 all runs give 0.80872453, with a spread of 1.5×10−131.5\times10^{-13}. A calculation of shear banding without stress diffusion does not predict the stress.


Exercise 3

Problem. Write measure_djs_interface_width(l_diff, ny=96) in NumPy: a solver of the diffusive Johnson–Segalman model in one dimension that returns the width of the interface between the bands, δint=(γ˙max⁡−γ˙min⁡)/max⁡∣∂yγ˙∣\delta_{\mathrm{int}} = (\dot{\gamma}_{\max} - \dot{\gamma}_{\min}) / \max\lvert\partial_y\dot{\gamma}\rvert. Evaluate it for ℓd∈{0.025,0.040,0.065}\ell_d \in \{0.025, 0.040, 0.065\}, and check that the width is proportional to ℓd\ell_d and that the total stress does not depend on it.


Exercise 3: width of the interface between shear bands
======================================================
l_d = 0.025 | interface width delta_int = 0.0544 (ratio delta/l_d = 2.17) | Sigma = 0.80492
l_d = 0.040 | interface width delta_int = 0.0853 (ratio delta/l_d = 2.13) | Sigma = 0.80485
l_d = 0.065 | interface width delta_int = 0.1360 (ratio delta/l_d = 2.09) | Sigma = 0.80481
<Figure size 1100x429 with 2 Axes>

Figure S8.3. (a) Shear-rate profiles for three diffusion lengths. (b) Interface width against ℓd\ell_d, with a proportional fit of slope 2.13.

Explanation. The width of the interface is 0.054, 0.085 and 0.136, that is 2.17, 2.13 and 2.09 times ℓd\ell_d, while the total stress changes by 0.01 % (from 0.80492 to 0.80481). The stress selected by diffusion therefore has a limit as ℓd→0\ell_d \to 0, although a calculation with ℓd=0\ell_d = 0 selects no stress (Exercise 2). A grid has to resolve the interface: with a width of about 2ℓd2\ell_d, the spacing should be no larger than about ℓd/2\ell_d/2.