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 · 9. Yield-stress fluids: exact Bingham solutions and the error of regularization

Worked solutions to the three exercises of Lecture 9. 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 the Buckingham–Reiner flow rate in a pipe, Qpipe=πGR48ηp(1−43ξ+13ξ4)Q_{\mathrm{pipe}} = \frac{\pi G R^4}{8\eta_p}(1 - \frac{4}{3}\xi + \frac{1}{3}\xi^4) with ξ\xi the ratio of the yield stress to the wall stress, by numerical integration of 2π∫0Rr u(r) dr2\pi\int_0^R r\,u(r)\,dr for ξ∈{0.0,0.25,0.5,0.8,1.05}\xi \in \{0.0, 0.25, 0.5, 0.8, 1.05\}. Compare the fraction of the cross-section occupied by the plug in a pipe and in a plane channel at the same ξ\xi.


Exercise 1: the Buckingham-Reiner flow rate by quadrature
=========================================================
xi = 0.00 | Buckingham-Reiner Q =  1.57080 | 2*pi*int(r*u dr) =  1.57080 | plug area frac = 0.000
xi = 0.25 | Buckingham-Reiner Q =  1.04924 | 2*pi*int(r*u dr) =  1.04924 | plug area frac = 0.062
xi = 0.50 | Buckingham-Reiner Q =  0.55632 | 2*pi*int(r*u dr) =  0.55632 | plug area frac = 0.250
xi = 0.80 | Buckingham-Reiner Q =  0.10975 | 2*pi*int(r*u dr) =  0.10975 | plug area frac = 0.640
xi = 1.05 | Buckingham-Reiner Q =  0.00000 | 2*pi*int(r*u dr) =  0.00000 | plug area frac = 1.000
<Figure size 1078x418 with 2 Axes>

Figure S9.1. (a) Bingham velocity profiles in a pipe for three values of ξ=τy/τw\xi = \tau_y/\tau_w. (b) Fraction of the cross-section occupied by the plug: ξ\xi in a plane channel, ξ2\xi^2 in a pipe.

Explanation. Integration by parts gives 2π∫0Rr u(r) dr=π∫ξRRr2(−dudr)dr=πηp∫ξRRr2(12Gr−τy)dr2\pi\int_0^R r\,u(r)\,dr = \pi\int_{\xi R}^R r^2\bigl(-\frac{du}{dr}\bigr)dr = \frac{\pi}{\eta_p}\int_{\xi R}^R r^2\bigl(\frac{1}{2}G r - \tau_y\bigr)dr. Evaluating 18Gr4−13τyr3\frac{1}{8}G r^4 - \frac{1}{3}\tau_y r^3 at the two limits with τy=12GξR\tau_y = \frac{1}{2}G\xi R gives GR48(1−43ξ+13ξ4)\frac{G R^4}{8}(1 - \frac{4}{3}\xi + \frac{1}{3}\xi^4). The quadrature reproduces the formula to the five digits printed, and the flow rate is zero for ξ≥1\xi \ge 1. The plug occupies the fraction ξ2\xi^2 of the cross-section of a pipe (0.25 at ξ=0.5\xi = 0.5) and the fraction ξ\xi of a plane channel.


Exercise 2

Problem. A layer of gel between vertical walls (H=0.01 mH = 0.01\text{ m}, τy=45 Pa\tau_y = 45\text{ Pa}, ηp=12 Pa⋅s\eta_p = 12\text{ Pa}\cdot\text{s}) is loaded by its own weight, ρg=3600 N/m3\rho g = 3600\text{ N/m}^3, so that the wall stress is τw=36 Pa=0.8 τy\tau_w = 36\text{ Pa} = 0.8\,\tau_y. A Bingham fluid does not move under this load. Compute the displacement of the centreline after 2 h=7200 s2\text{ h} = 7200\text{ s} that the Papanastasiou regularization predicts for m∈{10,50,250} sm \in \{10, 50, 250\}\text{ s}.


Exercise 2: creep of the regularized model below the yield stress
=================================================================
Papanastasiou m =  10.0 s | 2-hour centreline slump = 4026.86 mm (true Bingham = 0.00 mm)
Papanastasiou m =  50.0 s | 2-hour centreline slump =  848.49 mm (true Bingham = 0.00 mm)
Papanastasiou m = 250.0 s | 2-hour centreline slump =  171.63 mm (true Bingham = 0.00 mm)
<Figure size 1078x418 with 2 Axes>

Figure S9.2. A gel layer held for 2 h at a wall stress of 0.8 τy0.8\,\tau_y. (a) Displacement profiles of the Papanastasiou model for three values of mm; the Bingham material does not move. (b) Centreline displacement: 4.0 m, 0.85 m and 0.17 m.

Explanation. The regularized model has a finite viscosity of about ηp+mτy\eta_p + m\tau_y at small shear rates and flows under any stress. In 2 h the centreline moves 4.0 m, 0.85 m and 0.17 m for the three values of mm: the displacement is roughly inversely proportional to mm and does not vanish. For a question in which the fluid has to stay at rest for a long time (storage, a pipeline that has been stopped, a printed layer before it sets), the regularized model gives a qualitatively wrong answer, and a method without regularization (Lecture 10) or an elastoviscoplastic model (Lecture 11) is needed.


Exercise 3

Problem. Write herschel_bulkley_planar_exact(y_grid, dpdz_neg, H_half, tau_y, K_hb, n_hb) in NumPy from the exact velocity profile of a Herschel–Bulkley fluid, ∣τ∣=τy+Kγ˙n\lvert\tau\rvert = \tau_y + K\dot{\gamma}^n, in a plane channel. Check that (1) it agrees with buckingham_reiner_exact_1d for n=1n = 1, (2) the velocity is zero when GH≤τyG H \leq \tau_y, and (3) for the assumed parameters CARBOPOL_EVP (τy=45 Pa,K=12 Pa⋅sn,n=0.42\tau_y = 45\text{ Pa}, K = 12\text{ Pa}\cdot\text{s}^n, n = 0.42) the plug has the expected width.


Exercise 3: exact Herschel-Bulkley flow in a plane channel
==========================================================
n_hb = 0.42 | plug half-width y_p = 5.00 mm | exact flux Q = 6.0964e-04 m^2/s
n_hb = 0.70 | plug half-width y_p = 5.00 mm | exact flux Q = 2.3240e-04 m^2/s
n_hb = 1.00 | plug half-width y_p = 5.00 mm | exact flux Q = 1.5625e-04 m^2/s
n_hb = 1.30 | plug half-width y_p = 5.00 mm | exact flux Q = 1.2803e-04 m^2/s
<Figure size 814x451 with 1 Axes>

Figure S9.3. Exact velocity profiles of the Herschel–Bulkley model in a plane channel, divided by their maxima, for four power-law indices; n=0.42n = 0.42 is the assumed value of CARBOPOL_EVP. The plug (shaded) has the same width for all.

Explanation. The edge of the plug is where the shear stress G∣y∣G\lvert y\rvert equals the yield stress, yp=τy/G=5.00y_p = \tau_y / G = 5.00 mm here; it does not depend on KK or on nn. The index nn changes the flow outside the plug: at the same pressure gradient the flow rate per unit width is 6.1×10−4 m2/s6.1\times10^{-4}\ \mathrm{m^2/s} for n=0.42n = 0.42 and 1.3×10−4 m2/s1.3\times10^{-4}\ \mathrm{m^2/s} for n=1.3n = 1.3.