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 · 12. Start-up of viscoelastic channel flow: the Waters–King solution and Brownian configuration fields

Worked solutions to the three exercises of Lecture 12. 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. The lowest mode of the Waters–King solution, with wavenumber k0=π/(2H)k_0 = \pi/(2H), oscillates when Δ0(El,βs)=(1+βsκ0El)2−4κ0El\Delta_0(\mathrm{El}, \beta_s) = (1 + \beta_s \kappa_0 \mathrm{El})^2 - 4\kappa_0 \mathrm{El} is negative, where κ0=π2/4\kappa_0 = \pi^2/4. Find the two roots El±∗(βs)\mathrm{El}_\pm^*(\beta_s) of Δ0=0\Delta_0 = 0 and plot them for 0.02<βs<0.980.02 < \beta_s < 0.98. Check with waters_king_startup_poiseuille at βs=0.20\beta_s = 0.20 that the centreline velocity is monotonic for an elasticity number below El−∗\mathrm{El}_-^* and exceeds its steady value U∞U_\infty for one between the two roots.


Exercise 1: the range of elasticity numbers with velocity overshoot
===================================================================
At beta_s = 0.20: El_-* = 0.1129, El_+* = 36.36
Subcritical El = 0.0791 -> max u(0,t)/U_inf = 1.00000 (overdamped)
Underdamped El = 0.3953 -> max u(0,t)/U_inf = 1.19233 (shear wave overshoot)
<Figure size 1166x440 with 2 Axes>

Figure S12.1. (a) Elasticity numbers between which the first mode of the start-up is underdamped (shaded), against βs\beta_s; the two symbols are the cases of panel (b). (b) Centreline velocity below and inside the range.

Explanation. For 0<βs<10 < \beta_s < 1 the equation Δ0=0\Delta_0 = 0 has two positive roots, and the lowest mode oscillates only between them. Below El−∗\mathrm{El}_-^* the fluid responds almost as a Newtonian fluid; above El+∗\mathrm{El}_+^* the solvent brings the velocity to its steady profile before the polymer stress has changed. At βs=0.20\beta_s = 0.20 the roots are 0.113 and 36.4. The centreline velocity does not exceed its steady value at El=0.079\mathrm{El} = 0.079 and exceeds it by 19 % at El=0.395\mathrm{El} = 0.395. Without solvent (βs→0\beta_s \to 0) the lower root tends to 1/π2≈0.10131/\pi^2 \approx 0.1013 and the upper root to infinity.


Exercise 2

Problem. Compare independent ensembles in each cell (the CONNFFESSIT approach) with Brownian configuration fields at a fixed ensemble size Nf=180N_f = 180 on grids of Ny∈{16,28,44}N_y \in \{16, 28, 44\} cells (t_end=2.2, dt=0.006). Compute the roughness of the stress profile (spatial_stress_roughness, the norm of ∂yyτxy\partial_{yy}\tau_{xy}) and the root-mean-square error of ∂yτxy\partial_y\tau_{xy}, the force that enters the momentum equation, relative to the solution of the Oldroyd-B equation.


Exercise 2: independent ensembles against configuration fields on finer grids
=============================================================================
Ny = 16 | roughness: BCF =  0.025, CONNFFESSIT =     6.71 | RMSE(dtau/dy): BCF = 0.2243, CONNFFESSIT = 0.6009
Ny = 28 | roughness: BCF =  0.036, CONNFFESSIT =    21.96 | RMSE(dtau/dy): BCF = 0.2214, CONNFFESSIT = 1.0359
Ny = 44 | roughness: BCF =  0.041, CONNFFESSIT =    54.49 | RMSE(dtau/dy): BCF = 0.2200, CONNFFESSIT = 1.4018
<Figure size 1166x440 with 2 Axes>

Figure S12.2. Refinement of the grid at 180 dumbbells per cell. (a) Norm of the second difference of the polymer shear stress. (b) Root-mean-square error of ∂yτxy\partial_y\tau_{xy} against the Oldroyd-B solver. Both grow with the number of cells for independent ensembles and not for configuration fields.

Explanation. The momentum equation contains the derivative of the stress. With independent random numbers in each cell, the statistical error of the stress differs from cell to cell, and its derivative grows as the grid is refined: the error of ∂yτxy\partial_y\tau_{xy} rises from 0.60 to 1.40 between 16 and 44 cells, and the roughness from 6.7 to 54. To keep the error constant, the ensemble would have to grow in proportion to Δy−2\Delta y^{-2}. With configuration fields every cell receives the same random numbers, the statistical error is a smooth function of position, and the error of the derivative stays at 0.22 on all three grids.


Exercise 3

Problem. Write a solver in NumPy for start-up of channel flow with Hookean configuration fields: assemble the tridiagonal matrix of the implicit solvent term, and advance Nf=400N_f = 400 fields in antithetic pairs with random increments dWkd\mathbf{W}_k that are uniform in space. Compare with solve_1d_channel_viscoelastic_startup, with which it should agree to rounding error, and with waters_king_startup_poiseuille.


Exercise 3: a configuration-field solver for start-up of channel flow
=====================================================================
This solver against Waters-King solution, relative L2 error : 0.0522
This solver against the package relative L2 error  : 1.0793e-14
<Figure size 792x429 with 1 Axes>

Figure S12.3. A separate implementation of configuration fields (circles) coincides with the package (squares) and follows the exact solution to within the statistical error.

Explanation. Two choices make the method work. The fields are generated in pairs (Qk,−Qk)(\mathbf{Q}_k, -\mathbf{Q}_k), which removes the odd moments of the ensemble exactly, and each field receives one random increment dWk(t)d\mathbf{W}_k(t) for all cells, so that the noise has no spatial derivative. The solver reproduces the result of the package to 1.1×10−141.1\times10^{-14}, and with 400 fields it differs from the Waters–King solution by 5.2 % in the L2L_2 norm. No constitutive equation is used.