Hostname: page-component-7b7567c8c-kwt9d Total loading time: 0 Render date: 2026-11-14T17:59:07.768Z Has data issue: false hasContentIssue false

Fast Stokesian dynamics

Published online by Cambridge University Press:  17 September 2019

Andrew M. Fiore
Affiliation:
Department of Chemical Engineering, Massachusetts Institute of Technology, Cambridge, MA 02139, USA
James W. Swan*
Affiliation:
Department of Chemical Engineering, Massachusetts Institute of Technology, Cambridge, MA 02139, USA
*
†Email address for correspondence: jswan@mit.edu

Abstract

We present a new method for large scale dynamic simulation of colloidal particles with hydrodynamic interactions and Brownian forces, which we call fast Stokesian dynamics (FSD). The approach for modelling the hydrodynamic interactions between particles is based on the Stokesian dynamics (SD) algorithm (J. Fluid Mech., vol. 448, 2001, pp. 115–146), which decomposes the interactions into near-field (short-ranged, pairwise additive and diverging) and far-field (long-ranged many-body) contributions. In FSD, the standard system of linear equations for SD is reformulated using a single saddle point matrix. We show that this reformulation is generalizable to a host of particular simulation methods enabling the self-consistent inclusion of a wide range of constraints, geometries and physics in the SD simulation scheme. Importantly for fast, large scale simulations, we show that the saddle point equation is solved very efficiently by iterative methods for which novel preconditioners are derived. In contrast to existing approaches to accelerating SD algorithms, the FSD algorithm avoids explicit inversion of ill-conditioned hydrodynamic operators without adequate preconditioning, which drastically reduces computation time. Furthermore, the FSD formulation is combined with advanced sampling techniques in order to rapidly generate the stochastic forces required for Brownian motion. Specifically, we adopt the standard approach of decomposing the stochastic forces into near-field and far-field parts. The near-field Brownian force is readily computed using an iterative Krylov subspace method, for which a novel preconditioner is developed, while the far-field Brownian force is efficiently computed by linearly transforming those forces into a fluctuating velocity field, computed easily using the positively split Ewald approach (J. Chem. Phys., vol. 146, 2017, 124116). The resultant effect of this field on the particle motion is determined through solution of a system of linear equations using the same saddle point matrix used for deterministic calculations. Thus, this calculation is also very efficient. Additionally, application of the saddle point formulation to develop high-resolution hydrodynamic models from constrained collections of particles (similar to the immersed boundary method) is demonstrated and the convergence of such models is discussed in detail. Finally, an optimized graphics processing unit implementation of FSD for mono-disperse spherical particles is used to demonstrated performance and accuracy of dynamic simulations of $O(10^{5})$ particles, and an open source plugin for the HOOMD-blue suite of molecular dynamics software is included in the supplementary material.

Information

Type
JFM Papers
Copyright
© 2019 Cambridge University Press 
Figure 0

Figure 1.Convergence rate of the relative error in the iterative GMRES solution of the saddle point formulation for the hydrodynamic interactions. (a) Convergence rate dependence on the preconditioner cutoff radius (in units of particle radius) $r_{p}=\{2.0,2.01,2.1,2.5\}$ for a random hard sphere dispersion with $N=1000$ and $\unicode[STIX]{x1D719}=0.2$. Although not shown on the plot, the convergence rate with $r_{p}=3.0$ is identical to that for $r_{p}=2.5$. (b) Convergence rate dependence on the volume fraction $\unicode[STIX]{x1D719}=\{0.1,0.2,0.3,0.4\}$ for a random hard sphere dispersion with $N=1000$ and $r_{p}=2.1$. (c) Convergence rate dependence on the system size $N=\{10^{2},10^{3},10^{4},10^{5}\}$ for random hard sphere dispersions with $\unicode[STIX]{x1D719}=0.2$ and $r_{p}=2.1$.

Figure 1

Figure 2.Effectiveness of the preconditioner for iterative Krylov subspace approximation to the square root of the near-field resistance tensor. (a) Eigenspectrum of the near-field lubrication tensor for a random suspension of $N=1000$ hard spheres at $\unicode[STIX]{x1D719}=0.2$ (solid black line), modified eigenspectrum after applying the incomplete Cholesky preconditioner (dashed light grey line, overlaps the black line for much of the range), modified eigenspectrum after applying both the incomplete Cholesky and diagonal preconditioners (dashed-dot medium grey line). The dotted black line denotes a uniform eigenspectrum with $\unicode[STIX]{x1D706}_{i}=1$, which would result from ‘perfect’ preconditioning. (b) Condition number of resistance tensor before and after preconditioning for random hard sphere suspension comprised of $N=1000$ particles at various volume fractions. Same line definitions as in panel (a). (c) Number of iterations required for convergence of the method to a relative step-norm error of $10^{-6}$ for the hard sphere suspensions in panel (b). (d) Number of iterations required for convergence to a relative step-norm error of $10^{-3}$, typical of many simulations, for the fully preconditioned sampling scheme applied to hard sphere dispersions with $\unicode[STIX]{x1D719}=0.2$ at varying system sizes.

Figure 2

Figure 3.Transport coefficients for simple cubic lattices as a function of volume fraction. (a) Spin viscosity, $\unicode[STIX]{x1D701}$, computed using the FSD algorithm (circles) compared to ASD results of Sierou & Brady (2001) (line). (b) Independent components, $\unicode[STIX]{x1D6FC}$ (circles) and $\unicode[STIX]{x1D6FD}$ (squares), of the high-frequency shear viscosity, $\unicode[STIX]{x1D702}^{S}$. The solid and dashed lines are the values of $\unicode[STIX]{x1D6FC}$ and $\unicode[STIX]{x1D6FD}$, respectively, computed by Brady et al. (1988).

Figure 3

Figure 4.Equilibrium and transport characteristics for random hard sphere suspensions. (a) Static structure factor for $N=1000$ particles computed from dynamic simulations using the FSD algorithm (lines) compared to the analytical Percus–Yevick result for hard spheres (Regnaut & Ravey 1989, 1990). (b) Short-time self-diffusion coefficient computed from the constrained stochastic displacements $D_{s}=(\unicode[STIX]{x0394}t/6k_{B}T)\langle \boldsymbol{U}^{B}\boldsymbol{\cdot }\boldsymbol{U}^{B}\rangle$ generated by the FSD algorithm (circles) compared to the analytical results of Ladd (1990). Error bars represent standard deviations of the measurements.

Figure 4

Figure 5.Performance of the PSE algorithm at three levels of hydrodynamic approximation: RPY (light grey circles), RPY plus stresslets (medium grey squares) and FSD (solid black triangles). Performance of the SEASD algorithm of Wang & Brady (2016) is shown in open black triangles. The calculations are performed with a relative error tolerance of $10^{-3}$. The performance is measured in particle time steps per second, which is equal to the total number of particles divided by the time required to computed one time steps worth of calculations. The performance of the RPY and RPY+stresslet algorithms is independent of $\unicode[STIX]{x1D719}$, so only one representative curve is shown. Because the FSD performance is a function of $\unicode[STIX]{x1D719}$, the performance for $\unicode[STIX]{x1D719}=\{0.1,0.2,0.3,0.4\}$ is computed separately and denoted by the solid, dashed, dashed-dot and dotted lines, respectively.

Figure 5

Figure 6.Schematic illustration for various approximations to the hydrodynamic resistance tensor when using composite bead particles. The bottom row indicates the mathematical representation for the resistance tensor describing the HI between the particles. (a) Individual beads whose interactions are described using the RPY or higher-order multipole expansion for the mobility, ${\mathcal{M}}$. (b) Particles represented using the composite bead model, where each bead propagates flows according to RPY or higher-order multipole approximations. (c) Same as in (b), with an additional near-field interaction between pairs of composite particles is constructed from the sum of the bead–bead near-field interactions between beads in different bodies. (d) Same as in (b), with the near-field interaction between pairs of composite particles represented by coating the particles in lubricating sheets, i.e. body–body near-field interactions rather than bead–bead as in (c).

Figure 6

Figure 7.Probability functions (symbols) for the centre-to-centre distance of two particles connected by a linear spring with spring constant $k/k_{B}T=2.5$ and equilibrium separation $r_{0}=3a$ compared to the theoretical Boltzmann distribution (lines). Circles and crosses represent calculations with and without the thermal drift included, respectively. (a) Probability density function. (b) Cumulative distribution function. A short-ranged repulsive interaction is added to prevent particle overlap.

Figure 7

Figure 8.Distribution of eigenvalues of the constrained mobility tensor, $\mathbb{R}_{FU}^{-1}$, computed from the constrained saddle point solution, for composite bead particles with (lines) and without (symbols) particle–particle lubrication interactions. Particles are represented by composite beads comprised of $N_{B}=12,41,162$ beads, denoted by black, dark grey and light grey, respectively. Two types of configurations are used, both comprised of $N=27$ particles at $\unicode[STIX]{x1D719}=0.9\unicode[STIX]{x03C0}/6$: (a) simple cubic crystal and (b) random hard sphere fluid.

Figure 8

Figure 9.Comparison of estimates of the quadrature error associated with the kernels for point particles and particles with finite shape. (a) Error estimates as a function of support size $P$ for various Gaussian width resolutions, $m=\{4,5,6\}$ and grid resolutions $\unicode[STIX]{x1D6FE}=0.5,1.0,2.0$ in circles, squares and triangles, respectively. Dashed lines show the same estimates for the point particle ($\unicode[STIX]{x1D6FE}\rightarrow \infty$) limit. (b) Quadrature error for finite size spreading functions as a function of the specified error tolerance when the error bounds for point particles are used to choose $m$ and $P$. Discrete levels are a result of using the ceiling function to ensure that $P$ is an integer. Curves are shown for $\unicode[STIX]{x1D6FE}=0.5$ (circles), $\unicode[STIX]{x1D6FE}=1.0$ (squares) and $\unicode[STIX]{x1D6FE}=2.0$ (triangles). The solid line denotes parity.

Figure 9

Figure 10.Schematic illustration of the NUFFT algorithm for monodisperse (a) and polydisperse (b) suspensions. In the monodisperse case, the point particle quadrature kernels $\boldsymbol{Q}$ are used so an FFT is applied to each component of the force and couplet, $\boldsymbol{F}_{g}$ and $\boldsymbol{C}_{g}$, and the shape factors are applied in wave space. In the polydisperse case, the shape factors are applied with the quadrature kernels, $\boldsymbol{Q}\boldsymbol{\cdot }\hat{\mathbb{P}}$, so that FFTs are applied to the independent components of the force density, $\boldsymbol{f}_{g}$. The subscript $g$ represents the quantity values on the uniform FFT grids.

Figure 10

Table 1.List of tensors and matrices.

Figure 11

Table 2.List of scalars and vectors.

Figure 12

Table 3.List of abbreviations.

Supplementary material: File

Fiore and Swan supplementary material

Fiore and Swan supplementary material

Download Fiore and Swan supplementary material(File)
File 918.7 KB