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.

5. Rouse and Zimm chains with Rotne–Prager–Yamakawa hydrodynamic interactions

A polymer molecule has many relaxation times. Rouse (1953) modelled it as beads joined by springs, each bead with its own friction; the longest relaxation time then grows as N2N^2 with the number of beads. In a dilute solution the motion of one bead also moves the solvent around the other beads (hydrodynamic interaction). Zimm (1956) included this effect in a pre-averaged form and found a longest relaxation time that grows as N3/2N^{3/2}.

A simulation with hydrodynamic interaction needs a square root of the mobility matrix of the beads. With the Oseen tensor, which treats the beads as points, this matrix is not positive definite when two beads are closer than 1.5 radii, and the square root does not exist. The Rotne–Prager–Yamakawa tensor is positive definite at all distances. This lecture computes the Rouse and Zimm relaxation times, builds the mobility matrix, and simulates chains in shear.

Learning objectives

  1. Derive the Rouse relaxation times τp=[8sin⁡2(pπ/2N)]−1\tau_p = [8\sin^2(p\pi / 2N)]^{-1} and compare their dependence on NN with that of the Zimm relaxation times (brownian_chains.simulate_rouse_zimm_chain_bd).

  2. Assemble the 3N×3N3N \times 3N Rotne–Prager–Yamakawa mobility with brownian_chains.rpy_mobility_tensor, and check its continuity at r=2ar = 2a and its positive eigenvalues.

  3. Show where the Oseen mobility (oseen_unsafe=True) loses positive definiteness.

  4. Compute G′(ω)G'(\omega) and G′′(ω)G''(\omega) of Rouse and Zimm chains and compare their slopes with the limits 1/21/2 and 2/32/3.

Time: about 60 min

1. Relaxation times of Rouse and Zimm chains

A linear polymer is modelled as NN beads at the positions R1,…,RN\mathbf{R}_1, \dots, \mathbf{R}_N, joined by N−1N - 1 Hookean springs, in units in which H=1H = 1, kBT=1k_B T = 1 and ζ=1\zeta = 1. In the model of Rouse (1953) each bead has its own friction and the beads do not interact through the solvent (Dij=δijI\mathbf{D}_{ij} = \delta_{ij}\mathbf{I}). The motion of the chain then separates into the modes of the N×NN \times N connectivity matrix ARouse\mathbf{A}_{\mathrm{Rouse}}, whose non-zero eigenvalues (p=1,…,N−1p = 1, \dots, N - 1) are known in closed form:

μp=4sin⁡2 ⁣(pπ2N),τpRouse=12μp=18sin⁡2 ⁣(pπ2N)≈p≪NN22π2p2.\mu_p = 4\sin^2\!\left(\frac{p\pi}{2N}\right), \qquad \tau_p^{\mathrm{Rouse}} = \frac{1}{2\mu_p} = \frac{1}{8\sin^2\!\left(\frac{p\pi}{2N}\right)} \underset{p \ll N}{\approx} \frac{N^2}{2\pi^2 p^2}.

In a dilute solution the motion of one bead moves the solvent at the positions of the others. Zimm (1956) introduced the hydrodynamic interaction parameter h∗=ζηs36π3kBT/H=aπkBT/Hh^* = \frac{\zeta}{\eta_s\sqrt{36\pi^3 k_B T / H}} = \frac{a}{\sqrt{\pi k_B T / H}}, which is at most about 0.25, and replaced the hydrodynamic interaction tensor by its average at equilibrium. For a Gaussian chain ⟨1/rij⟩∝∣i−j∣−1/2\langle 1/r_{ij}\rangle \propto \lvert i - j\rvert^{-1/2}, which gives the matrix

Hij=δij+(1−δij) 2 h∗∣i−j∣,τpZimm=12ap,H_{ij} = \delta_{ij} + (1 - \delta_{ij})\,\frac{\sqrt{2}\,h^*}{\sqrt{\lvert i - j\rvert}}, \qquad \tau_p^{\mathrm{Zimm}} = \frac{1}{2 a_p},

where apa_p are the non-zero eigenvalues of HARouse\mathbf{H}\mathbf{A}_{\mathrm{Rouse}}. The function simulate_rouse_zimm_chain_bd returns these relaxation times. For long chains the longest one grows as τ1∝N3/2\tau_1 \propto N^{3/2}, against τ1∝N2\tau_1 \propto N^2 for the Rouse chain. For short chains the difference is small, and the fast modes of the Zimm chain are slower than those of the Rouse chain at the same bead friction.


Demonstration 1: relaxation times of Rouse and Zimm chains
==========================================================
8-bead Laplacian against package Rouse modes max diff: 1.332e-15
Exponent of tau_1 ~ N^nu fitted over N = 16, 24, 36 -> Rouse: 1.997 (limit 2), Zimm: 1.503 (limit 3/2)
<Figure size 1155x418 with 2 Axes>

Figure 5.1. (a) Relaxation times of the modes of an 8-bead chain: Rouse, and Zimm with pre-averaged hydrodynamic interaction (h∗=0.25h^* = 0.25). (b) Longest relaxation time against the number of beads; the exponents fitted over N=16N = 16 to 36 are 2.00 and 1.50.

2. The Rotne–Prager–Yamakawa mobility and the Oseen mobility

In a simulation with hydrodynamic interaction (Ermak and McCammon, 1978) the random displacements of the beads are correlated: they are 2kBTΔt B ΔW\sqrt{2 k_B T \Delta t}\,\mathbf{B}\,\Delta\mathbf{W}, where the matrix B\mathbf{B} satisfies D=BB⊤\mathbf{D} = \mathbf{B}\mathbf{B}^\top and D\mathbf{D} is the 3N×3N3N \times 3N mobility matrix. A real matrix B\mathbf{B} exists only if D\mathbf{D} is positive semi-definite.

The Oseen tensor, DijOseen=18πηsrij(I+r^ijr^ij)\mathbf{D}_{ij}^{\mathrm{Oseen}} = \frac{1}{8\pi\eta_s r_{ij}}(\mathbf{I} + \hat{\mathbf{r}}_{ij}\hat{\mathbf{r}}_{ij}), treats beads of radius aa as points. When two beads are closer than rij=1.5ar_{ij} = 1.5a, the coupling between them exceeds the mobility (6πηsa)−1(6\pi\eta_s a)^{-1} of a single bead, and the mobility matrix has a negative eigenvalue. Rotne and Prager (1969) and Yamakawa (1970) derived the mobility of two spheres of finite radius aa:

DijRPY=16πηsa{3a4rij ⁣[(1+2a23rij2)I+(1−2a2rij2)r^ijr^ij],rij≥2a,(1−9rij32a)I+3rij32ar^ijr^ij,rij<2a,\mathbf{D}_{ij}^{\mathrm{RPY}} = \frac{1}{6\pi\eta_s a}\begin{cases} \frac{3a}{4r_{ij}}\!\left[\left(1 + \frac{2a^2}{3r_{ij}^2}\right)\mathbf{I} + \left(1 - \frac{2a^2}{r_{ij}^2}\right)\hat{\mathbf{r}}_{ij}\hat{\mathbf{r}}_{ij}\right], & r_{ij} \geq 2a, \\ \left(1 - \frac{9r_{ij}}{32a}\right)\mathbf{I} + \frac{3r_{ij}}{32a}\hat{\mathbf{r}}_{ij}\hat{\mathbf{r}}_{ij}, & r_{ij} < 2a, \end{cases}

This mobility is positive definite at all distances, and it is continuous with a continuous first derivative at rij=2ar_{ij} = 2a.


Demonstration 2: the Rotne-Prager-Yamakawa and Oseen mobilities of two beads
============================================================================
Continuity jump across r = 2a: 5.625e-07
Minimum normalized eigenvalue across r/a in [0.08, 4.0] -> RPY: 0.0150 (> 0), Oseen: -17.75 (< 0)
<Figure size 1155x418 with 2 Axes>

Figure 5.2. Two beads at separation rr. (a) Longitudinal pair mobility: the Oseen form exceeds the self-mobility for r<1.5ar < 1.5a (clipped at 3 in the plot), the Rotne–Prager–Yamakawa form is continuous at r=2ar = 2a and bounded. (b) Smallest eigenvalue of the mobility matrix: negative for the Oseen form below r=1.5ar = 1.5a, positive for Rotne–Prager–Yamakawa.

3. Brownian dynamics of chains in shear, without and with hydrodynamic interaction

The demonstration simulates 60 chains of six beads in shear at the rates 0, 0.5, 1.0 and 1.5, without hydrodynamic interaction (use_hi=False) and with the Rotne–Prager–Yamakawa mobility (use_hi=True, h_star=0.25). At equilibrium the mean-square radius of gyration and end-to-end distance are the same in both cases: hydrodynamic interaction changes the dynamics and leaves the equilibrium distribution, which depends on the spring potential alone, unchanged. In shear the chains with hydrodynamic interaction stretch less and carry a lower shear stress. The runs last 8 time units (about four times the longest Rouse relaxation time of a 6-bead chain, 1.87) and the averages are taken over the second half.


Demonstration 3: 6-bead Rouse chains and chains with hydrodynamic interaction in shear
======================================================================================
Equilibrium <Rg^2> (rate=0): Rouse=3.037, Zimm=2.865 (analytical Gaussian = 2.9167)
Shear rate = 0.5 stress_xy -> Rouse BD: 1.47 (exact steady value 1.46), RPY BD: 1.39
Shear rate = 1.5 stress_xy -> Rouse BD: 4.08 (exact steady value 4.38), RPY BD: 3.61
Shear rate = 1.5 <Rg^2>    -> Rouse BD: 12.10, RPY BD: 8.65
<Figure size 1155x418 with 2 Axes>

Figure 5.3. Brownian dynamics of 60 six-bead chains, averaged over the second half of runs of 8 time units. (a) Shear stress without and with hydrodynamic interaction; the dotted line is the exact steady value for the Rouse chain. (b) Mean-square radius of gyration; the dotted line is the equilibrium value 2.92.

4. Dynamic moduli: the slopes 1/2 and 2/3

Each mode contributes a Maxwell element to the moduli, G′(ω)=nckBT∑p=1N−1(ωτp)21+(ωτp)2G'(\omega) = n_c k_B T \sum_{p=1}^{N-1} \frac{(\omega\tau_p)^2}{1 + (\omega\tau_p)^2} and G′′(ω)=nckBT∑p=1N−1ωτp1+(ωτp)2G''(\omega) = n_c k_B T \sum_{p=1}^{N-1} \frac{\omega\tau_p}{1 + (\omega\tau_p)^2}. At frequencies between the inverse of the longest and of the shortest relaxation time (τN−1≪ω−1≪τ1\tau_{N-1} \ll \omega^{-1} \ll \tau_1) the sums give power laws in the limit of long chains:

  • Rouse (h* = 0): τp∝p−2\tau_p \propto p^{-2} gives G′(ω)≈G′′(ω)∝ω1/2G'(\omega) \approx G''(\omega) \propto \omega^{1/2}, with a phase angle of 45∘45^\circ.

  • Zimm (h* > 0): τp∝p−3/2\tau_p \propto p^{-3/2} gives G′(ω)G'(\omega) and G′′(ω)∝ω2/3G''(\omega) \propto \omega^{2/3}, with a phase angle of 60∘60^\circ.

A chain of 100 beads is still some way from this limit: the fitted slopes of G′G' and G′′G'' lie on either side of the limiting value, so the demonstration fits the slope of ∣G∗∣=G′2+G′′2|G^*| = \sqrt{G'^2 + G''^2}.


Demonstration 4: dynamic moduli of 100-bead Rouse and Zimm chains
=================================================================
Exponent of tau_p ~ p^(-nu), modes 1 to 24 -> Rouse: 1.985 (limit 2), Zimm: 1.524 (limit 3/2)
Slope of |G*|(omega) in the intermediate range -> Rouse: 0.516 (limit 1/2), Zimm: 0.627 (limit 2/3)
<Figure size 1155x418 with 2 Axes>

Figure 5.4. Storage and loss moduli from the relaxation times of 100-bead chains. (a) Rouse. (b) Zimm with h∗=0.25h^* = 0.25. The dotted segments have the limiting slopes 1/2 and 2/3; the fitted slopes of ∣G∗∣|G^*| are 0.52 and 0.63.

Inside the algorithm

The cell below prints the source of brownian_chains.rpy_mobility_tensor. When the mobility D(R)\mathbf{D}(\mathbf{R}) depends on the configuration, the stochastic differential equation in the Itô form needs the additional drift kBT(∇R⋅D) dtk_B T (\nabla_{\mathbf{R}}\cdot\mathbf{D})\,dt for the simulation to sample the Boltzmann distribution. The function simulate_rouse_zimm_chain_bd contains no such term, for the reason given below.

Check against the package

The velocity field of Stokes flow is divergence free, and as a consequence ∑j=1N∂Dij,αβRPY∂Rj,β=0\sum_{j=1}^N \frac{\partial D_{ij,\alpha\beta}^{\mathrm{RPY}}}{\partial R_{j,\beta}} = 0, both for r≥2ar \geq 2a and for overlapping beads, r<2ar < 2a. The check below verifies this by central differences for a cluster of four beads that contains overlapping and non-overlapping pairs: the divergence of the mobility is zero to 10-10.


Inside the algorithm: the mobility matrix and its divergence
============================================================
def rpy_mobility_tensor(
    positions: np.ndarray, bead_radius_a: float, eta_s: float = 1.0, oseen_unsafe: bool = False
) -> np.ndarray:
    """Assemble the 3N x 3N Rotne-Prager-Yamakawa mobility, which is positive definite at all distances."""
    pos = np.asarray(positions, dtype=float)
    if pos.ndim != 2 or pos.shape[1] != 3 or bead_radius_a <= 0.0 or eta_s <= 0.0:
        raise ValueError("Require (N, 3) positions, bead_radius_a > 0, and eta_s > 0.")

    n_b = pos.shape[0]
    a = float(bead_radius_a)
    zeta_inv = 1.0 / (6.0 * math.pi * float(eta_s) * a)
    D_mob = np.zeros((3 * n_b, 3 * n_b), dtype=float)
    I3 = np.eye(3, dtype=float)

    for i in range(n_b):
        D_mob[3 * i : 3 * i + 3, 3 * i : 3 * i + 3] = zeta_inv * I3
        for j in range(i + 1, n_b):
            rij = pos[i] - pos[j]
            r = float(np.linalg.norm(rij))
            if r < 1e-14:
                block = zeta_inv * I3
            else:
                uhat = rij / r
                uu = np.outer(uhat, uhat)
                if oseen_unsafe:
                    block = (1.0 / (8.0 * math.pi * float(eta_s) * r)) * (I3 + uu)
                elif r >= 2.0 * a:
                    c1 = (3.0 * a) / (4.0 * r)
                    a2_r2 = (a * a) / (r * r)
                    block = zeta_inv * c1 * ((1.0 + (2.0 / 3.0) * a2_r2) * I3 + (1.0 - 2.0 * a2_r2) * uu)
                else:
                    # Yamakawa (1970) exact overlap branch guaranteeing positive-definiteness for r < 2a:
                    s = r / (2.0 * a)
                    block = zeta_inv * ((1.0 - (9.0 / 16.0) * s) * I3 + (3.0 / 16.0) * s * uu)
            D_mob[3 * i : 3 * i + 3, 3 * j : 3 * j + 3] = block
            D_mob[3 * j : 3 * j + 3, 3 * i : 3 * i + 3] = block

    return 0.5 * (D_mob + D_mob.T)

4-bead mixed-overlap RPY min eigenvalue: 7.42506e-03 > 0 (positive definite)
Max thermal drift |div_R(D_RPY)|       : 6.830e-12 == 0

Exercises

Worked solutions are in 05_solutions.ipynb. The cell below the list is a short self-check to start from.

  1. Verify a result. Check by sampling Gaussian chains (35 000 chains for each NN) with N∈{4,8,16,32,64}N \in \{4, 8, 16, 32, 64\} beads that ⟨Ree2⟩eq=3(N−1)\langle R_{ee}^2\rangle_{\mathrm{eq}} = 3(N - 1), ⟨Rg2⟩eq=N2−12N\langle R_g^2\rangle_{\mathrm{eq}} = \frac{N^2 - 1}{2N} and ⟨Ree2⟩/⟨Rg2⟩=6NN+1\langle R_{ee}^2\rangle / \langle R_g^2\rangle = \frac{6N}{N + 1}, which tends to 6 for long chains.

  2. Find how it fails. Compare the Oseen mobility (oseen_unsafe=True) with the Rotne–Prager–Yamakawa mobility (oseen_unsafe=False) for three beads of radius a=1.0a = 1.0 at the corners of an equilateral triangle of side ss, R(s)=s×[(0,0,0), (1,0,0), (0.5,0.866,0)]\mathbf{R}(s) = s \times [(0,0,0),\,(1,0,0),\,(0.5, 0.866, 0)], for ss between 0.20 and 2.50. Count the failures of the Cholesky factorization and plot the smallest eigenvalue against s/as/a.

  3. Implement it yourself. Write a Brownian dynamics integrator in NumPy for chains with Rotne–Prager–Yamakawa hydrodynamic interaction that generates the correlated random displacements with a Cholesky factor of the diffusion matrix (np.linalg.cholesky). Use 6-bead chains with h∗=0.24h^* = 0.24, γ˙=1.0\dot{\gamma} = 1.0 and Δt=0.01\Delta t = 0.01, and compare ⟨Rg2⟩\langle R_g^2\rangle and the shear stress τxy\tau_{xy} with brownian_chains.simulate_rouse_zimm_chain_bd.


Self-check for the exercises
============================
All checks passed.