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 · 6. Closure approximations: FENE-P, FENE-CR and coil–stretch hysteresis

Worked solutions to the three exercises of Lecture 6. 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. Derive the cubic equation f3−f2=2 Wi2/bf^3 - f^2 = 2\,\mathrm{Wi}^2/b for f=(b−3)/(b−tr⁡C)f = (b - 3)/(b - \operatorname{tr}\mathbf{C}) in steady shear of the FENE-P model, compare solve_fenep_fenecr with its root for b=60b = 60, and check the power laws at high Weissenberg number, ηp≈ηp,0(b/2)1/3Wi−2/3\eta_p \approx \eta_{p,0}(b/2)^{1/3}\mathrm{Wi}^{-2/3} and N1≈2 G0(b/2)1/3Wi2/3N_1 \approx 2\,G_0(b/2)^{1/3}\mathrm{Wi}^{2/3}.


Exercise 1: the cubic equation of steady shear and the power laws at high Wi
============================================================================
Asymptotic log-log slope of eta_p(Wi): -0.6655 (exact theory = -0.6667)
Asymptotic log-log slope of N1(Wi)   : +0.6689 (exact theory = +0.6667)
<Figure size 1078x418 with 2 Axes>

Figure S6.1. FENE-P in steady shear up to very high Wi\mathrm{Wi}: the root of the cubic (line), steady states of the integration (symbols) and the power laws Wi−2/3\mathrm{Wi}^{-2/3} and Wi2/3\mathrm{Wi}^{2/3} (dashed). (a) Viscosity. (b) First normal stress difference.

Explanation. In steady shear the FENE-P model gives Cyy=Czz=1/fC_{yy} = C_{zz} = 1/f, Cxy=Wi/f2C_{xy} = \mathrm{Wi}/f^2 and Cxx=(1+2 Wi2/f2)/fC_{xx} = (1 + 2\,\mathrm{Wi}^2/f^2)/f, so that tr⁡C=3f+2 Wi2f3\operatorname{tr}\mathbf{C} = \frac{3}{f} + \frac{2\,\mathrm{Wi}^2}{f^3}. The definition of ff gives tr⁡C=b−b−3f\operatorname{tr}\mathbf{C} = b - \frac{b-3}{f}. Equating the two and multiplying by f3/bf^3/b leaves f3−f2=2 Wi2bf^3 - f^2 = \frac{2\,\mathrm{Wi}^2}{b}. At high Weissenberg number f≈(2 Wi2/b)1/3f \approx (2\,\mathrm{Wi}^2/b)^{1/3}; the fitted slopes are -0.666 for the viscosity and +0.669 for N1N_1, against −2/3-2/3 and +2/3+2/3.


Exercise 2

Problem. Reproduce two errors of implementation of the FENE-P model and correct them. (1) The function f(C)=(1−tr⁡C/b)−1f(\mathbf{C}) = (1 - \operatorname{tr}\mathbf{C}/b)^{-1} is used with the stress τp=G0(fC−I)\boldsymbol{\tau}_p = G_0(f\mathbf{C} - \mathbf{I}) and the initial state C=I\mathbf{C} = \mathbf{I}, without flow (b=30b = 30, G0=100 PaG_0 = 100\text{ Pa}): compute the stress at rest, which should be zero, and follow tr⁡C(t)\operatorname{tr}\mathbf{C}(t). (2) The dependence of the drag on the conformation is left out of fenep_planar_extension_hysteresis: compare the area of the hysteresis loop with and without it.


Exercise 2: stress at rest with the wrong FENE-P function, and hysteresis without variable drag
===============================================================================================
Stress at rest with f(I) != 1       : 11.1111 Pa (exact 3*G0/(b-3) = 11.1111 Pa)
Trace with f(I) != 1                : tr(C) changed from 3.0000 to 2.7293 (3*b/(b+3) = 2.7273)
With f(I) = 1, max |stress at rest| : 0.000e+00 Pa
Hysteresis area with constant drag  : 0.1883 against, with conformation-dependent drag, 18.6369
<Figure size 1078x418 with 2 Axes>

Figure S6.2. (a) With a spring factor that is not 1 at C=I\mathbf{C} = \mathbf{I} the trace drifts from 3 to 2.73 with no flow; with the normalized factor it stays at 3. (b) Area between the up and down sweeps of planar extension with constant drag and with drag that grows with extension.

Explanation. The function (1−tr⁡C/b)−1(1 - \operatorname{tr}\mathbf{C}/b)^{-1} belongs to the convention in which the equilibrium conformation is bb+3I\frac{b}{b+3}\mathbf{I}. Used with Ceq=I\mathbf{C}_{\mathrm{eq}} = \mathbf{I} it gives an isotropic stress of 3G0b−3=11.1\frac{3G_0}{b-3} = 11.1 Pa at rest, and the trace relaxes from 3 to 2.73, the value 3b/(b+3)3b/(b+3) of the other convention. With f=(b−3)/(b−tr⁡C)f = (b-3)/(b - \operatorname{tr}\mathbf{C}) the stress at rest is zero. A constitutive function should be tested for zero stress at equilibrium before it is used in a flow. In the second case the hysteresis loop has an area of 18.6 with the conformation-dependent drag and 0.19 without it: with a constant drag the stretch is a single-valued function of the extension rate.


Exercise 3

Problem. Write solve_scurve_all_branches(b_ext=120.0, kappa_drag=4.5) in NumPy to compute all steady states of the model with conformation-dependent drag as the curve (Wiext(x), b x2)\bigl(\mathrm{Wi}_{\mathrm{ext}}(x),\, b\,x^2\bigr), with the fractional extension xx between 0 and 1. Find the turning points, where dWiext/dx=0d\mathrm{Wi}_{\mathrm{ext}}/dx = 0, determine which states are stable, and plot the unstable branch together with the result of fenep_planar_extension_hysteresis.


Exercise 3: all steady states of the coil-stretch curve
=======================================================
Analytical lower stretch->coil fold Wi_min = 0.29752 (exact 2k/(1+k)^2 = 0.29752)
Upper coil->stretch threshold Wi_crit      = 0.50000
<Figure size 792x462 with 1 Axes>

Figure S6.3. The three branches of steady states with drag that grows with extension, from the closed form, with the turning point at Wimin⁡=0.298\mathrm{Wi}_{\min} = 0.298 and the states reached by sweeping the rate up and down.

Explanation. With the fractional extension as the parameter, the steady states are given by one explicit function, Wiext(x)=[2(1−x2)(1+κx2)]−1\mathrm{Wi}_{\mathrm{ext}}(x) = \bigl[2(1 - x^2)(1 + \kappa x^2)\bigr]^{-1}, and no root finding is needed. The coiled branch ends at Wiext=1/2\mathrm{Wi}_{\mathrm{ext}} = 1/2, and the stretched branch ends at the minimum of this function, Wimin⁡=2κ(1+κ)2=0.2975\mathrm{Wi}_{\min} = \frac{2\kappa}{(1 + \kappa)^2} = 0.2975 for κ=4.5\kappa = 4.5. The states between the two turning points, where Wiext\mathrm{Wi}_{\mathrm{ext}} decreases with xx, are unstable. Between 0.2975 and 0.5 a coiled state and a stretched state are both stable, and the one that is reached depends on the history of the flow.