Introduction

The phase transition behavior of colloidal suspensions exhibits striking similarities to that of atomic-scale systems, providing insight into systems that are otherwise difficult to observe1,2. Because the colloid particles are macroscopic, their behavior is readily observable via optical video microscopy and small-angle light scattering3. In addition to scientific curiosity, industrial applications of colloidal systems include materials engineering, chemical processing and the manufacturing of pharmaceutical products.

A deeper understanding of the structure and dynamics of colloidal suspensions and gels could also enable self-assembly of new materials4, which are potentially useful in space5. Moreover, their structure and dynamics in a microgravity environment could cause them to acquire new microstructures and physical properties, and thus lead to the manufacturing of new soft materials in low-Earth-orbit. On a scientific level, experiments in space allow for the effects of gravitational forces and buoyancy-driven flows to be suppressed, allowing for other relatively weak driving forces to be probed. The knowledge gained from such experiments could have Earth-bound applications, such as the stabilizing colloidal solutions, gels and foams used by consumers5.

While the extensive literature on crystallization in colloidal suspensions has been reviewed elsewhere6,7, we here give a brief historical introduction to the subject for the sake of completeness. Seminal computer simulations8 demonstrated that a system of hard spheres could exhibit a fluid-to-crystal phase transition. This prediction was confirmed in experiments9, where a progression from colloidal fluid, to fluid and crystal phases in coexistence, to full crystallization was observed as the colloid concentration was increased progressively. The phase transitions are now understood to be driven by entropy alone. Those experiments also suggested that, as the colloid concentration was increased progressively, the crystalline phase transitioned to a glass-like state, wherein the colloidal particles were jammed in a disordered fashion. This tantalizing discovery motivated microgravity experiments conducted on the Space Shuttle (STS-73)10: while a phase transition from liquid to crystal was observed, the glassy state was not, indicating that it may be an artifact of gravitational effects. The crystalline state observed in those experiments has been shown to have the face-centered cubic (fcc) geometry11,12.

While colloidal suspensions are interesting in their own right, the addition of non-adsorbing polymer to a colloidal suspension makes the phase behavior even richer13. This is due to the short-range attractive depletion forces that arise when two solid bodies (e.g., colloids) are immersed in a polymer solution. The substantial literature on colloid-polymer suspensions has been reviewed elsewhere1,14, some of which we highlight in what follows. Gast et al.15 and Lekkerkerker et al.16 built on theories of the depletion interaction17,18 in order to investigate the phase behavior of colloid-polymer suspensions. They found that, for polymers small relative to the colloid, a colloid-polymer mixture admits two equilibrium phases, a fluid and a crystal, analogous to the colloid-only system described in the preceding paragraph. Above a critical polymer size, the system was found to admit three phases: a gas, a crystal, and an intermediate liquid phase. These predictions were confirmed in terrestrial experiments19 on suspensions of polymethylmethacrylate (PMMA) spheres and the polymer polystyrene in the solvent cis-decalin. The phase diagram delineating the dependence of the equilibrium phase on colloid and polymer concentrations has been determined experimentally20,21,22,23. Subsequent experiments investigated the structure of the suspensions near the triple point, a regime in which the gas, liquid, and crystalline phases coexist24. The kinetics of phase separation was also studied experimentally25,26, where it was found that the three phases can emerge via distinct pathways depending on the colloid volume fraction and polymer concentration. Non-equilibrium aggregation of colloids and subsequent gelation can occur for sufficiently strong depletion forces, as generated by increasing the polymer concentration27,28.

Despite the insights provided by the aforementioned experiments, it has been recognized that gravitational forces can qualitatively affect phase separation29 and gel formation30 in colloid-polymer mixtures, as colloids often sediment on a shorter timescale than that required to observe complete phase separation. Indeed, terrestrial experiments are typically dominated by gravitational forces and buoyancy-induced flows; these effects obscure the details of dynamics driven by low interfacial tension, making microgravity experiments valuable platforms for investigating colloidal phase separation and testing theoretical models5. Experiments were thus conducted in microgravity on the International Space Station31, where it was observed that spinodal decomposition at early stages of the experiment eventually gave way to fluid-driven coarsening at long timescales. Other microgravity experiments32 revealed that, in certain parameter regimes, gas-liquid phase separation could be arrested due to the formation of a crystal gel consisting of crystalline strands that run through the entire sample.

A number of prior works have studied colloid-polymer mixtures using simulations that neglect hydrodynamic effects, for example, using Brownian dynamics33,34,35, molecular dynamics36, Monte Carlo simulations37,38,39 and dynamic density functional theory40,41, to name a few. Phenomenological Cahn-Hilliard theories, also without hydrodynamics, have been used to rationalize the kinetic pathways that drive phase separation in colloid-polymer mixtures42, and to understand the role of an intermediate liquid phase in unbinding a gas-solid interface43,44,45. However, a discrepancy between theory and experiment in a recent study of a two-dimensional colloid-polymer mixture was attributed to hydrodynamic screening, the effect of which was neglected in the theory46. Moreover, lattice-Boltzmann simulations of a colloid-polymer mixture showed that, while the final gel structure is not affected by hydrodynamics, the speed of gelation is47. Simulations of colloidal suspensions (without polymer) using the “fluid particle dynamics” method48,49, in which colloids are modeled as high-viscosity fluids, also revealed the crucial role of hydrodynamics in mediating phase separation50.

The goal of this paper is to construct and simulate a phase-field model51,52 that describes phase separation via spinodal decomposition in colloid-polymer mixtures. Our model incorporates hydrodynamic effects relevant to such mixtures, specifically, by accounting for the increase in suspension viscosity with colloid concentration, and incorporating the so-called Korteweg stresses that arise due to gradients in the colloid concentration. While Korteweg stresses have recently been incorporated in volume-of-fluid simulations of colloidal dispersions53,54, to our knowledge they have not been applied to the study of colloid-polymer mixtures. We compare our theoretical predictions with NASA’s Binary Colloid Alloy Test (BCAT) experiments, which were conducted in microgravity on the International Space Station. Previous analysis of spinodal decomposition in these experiments was based primarily on data collected via small-angle light scattering31. This analysis provides a good description of relatively small-scale cluster growth, but is generally less useful for investigating the large-scale structuring that occurs. We thus processed the video microscopy images from the experiments, which are available on NASA’s Physical Sciences Informatics (PSI) database, and used the images to quantitatively characterize the coarsening process.

The paper is organized as follows. We first describe the algorithm we used to process the video microscopy images from the BCAT experiments, and to obtain a quantitative description of the coarsening rate. We then construct the phase-field model and describe the qualitative features observed in the simulations of the phase-field model. We then compare the coarsening rates predicted by our model against those obtained in the BCAT experiments, with and without the consideration of hydrodynamics. Conclusions and future directions are presented in the Discussion. The algorithm used to solve the phase-field model is described in the Methods.

Results

Processing images from BCAT experiments

NASA’s PSI database contains plentiful information about the BCAT experiments55. The four BCAT experiments conducted, BCAT-3, 4, 5, and 6, each consist of ten samples at room temperature, T = 295 K56. In all of these samples, the colloids are polymethyl-methacrylate (PMMA) spheres, the solvent is a mixture of decalin and tetralin, and the polymer is polystyrene56,57 with a radius of gyration δ = 120 nm. Photographs of the colloid-polymer mixtures were taken just after mixing and then approximately every thirty minutes after that. Each sample has different values for the initial (homogenized) colloid volume fraction ϕ0, polymer mass concentration ρ and colloid radius a. Several of the samples were aimed toward studying other phenomena, such as seeded crystal growth, and contained colloids of varying sizes; others had only colloids and no polymer. Those samples are not considered herein, as we are interested in the phase behavior of colloid-polymer suspensions. As stated in the BCAT-6 Final Summary Report, available on the PSI database, no phase separation was observed in the BCAT-6 samples, so we focused on BCAT-3, BCAT-4 and BCAT-5. There were also a few samples that we excluded because the images were of low quality and not amenable to analysis. The relevant samples for the purposes of this paper are Samples 1, 2, 4, and 6 of BCAT-3, Samples 1–3 of BCAT-4, and Samples 4–8 of BCAT-5. The dimensions of the visible volume of the sample cells are 4 × 10 × 20 mm32. The relevant parameter values for each of the samples are given in Table 1. The parameter nR in the last column of the table is related to the polymer concentration and will be defined in the next section. In this paper, we focus on BCAT-5, since for this experiment the ratio of the polymer radius of gyration δ to the colloid radius a is less than unity, ξ = δ/a < 1, which is the regime in which the theory we develop herein is expected to be valid16.

Table 1 Table of the colloid volume fraction ϕ0, colloid radius a and polymer mass concentration ρ, and other derived quantities corresponding to the BCAT experiments

Our first step was to process the raw images from NASA’s PSI database and make them conducive to quantitative characterization. Figure 1 shows a BCAT image before and after processing. We developed an algorithm in MATLAB to first straighten each image and then crop it to eliminate the dark background, the frame of the cell containing the sample, and the sample number label, thus leaving only the sample domain. We then used the software ImageJ to adjust the image’s brightness and contrast, subtract the background, and then enhance the contrast again. Finally, the image was smoothed and despeckled in ImageJ, producing the finished product. Additional implementation details are provided in [ref. 58, Chapter 4.2]. Figures 2, 3, 4, 5 and 6 show time series of the enhanced images corresponding to BCAT-5 Samples 4 through 8. The corresponding images for the BCAT-3 and BCAT-4 experiments are shown in Supplementary Figs. 16.

Fig. 1: Image processing algorithm applied to an image of BCAT-3 Sample 1.
figure 1

The raw and enhanced images are shown in (a, b), respectively. The raw image in (a) was obtained from the NASA PSI database. In (b), light (dark) areas indicate colloid-rich (poor) regions. The height of the sample domain is approximately 10 mm.

Fig. 2: Time evolution of BCAT-5 Sample 4.
figure 2

The parameters are listed in Table 1. The time after mixing (in hours) is labeled at the top of each plot. The height of the sample domains pictured in these images is approximately 10 mm.

Fig. 3: Time evolution of BCAT-5 Sample 5.
figure 3

The parameters are listed in Table 1.

Fig. 4: Time evolution of BCAT-5 Sample 6.
figure 4

The parameters are listed in Table 1.

Fig. 5: Time evolution of BCAT-5 Sample 7.
figure 5

The parameters are listed in Table 1.

Fig. 6: Time evolution of BCAT-5 Sample 8.
figure 6

The parameters are listed in Table 1.

As is evident from Figs. 26 and Supplementary Figs. 16, the samples exhibit similar qualitative behavior: at early times, the initially-homogenized mixture begins to separate into small domains of colloid-poor and colloid-rich phases. Then, these domains grow in size over a timescale of hours. To quantify the growth of the phase domains in time, we computed the characteristic domain length λa for every image. Specifically, we computed the spatial autocorrelation function C(x), then averaged C azimuthally using the trapezoidal rule, which yields the 1D autocorrelation function \(\tilde{C}(r)\). The characteristic length scale λa for a given image is found by selecting the first maximum in the curve \(\tilde{C}(r)\); this value is a measure of the typical distance between colloid-rich (or colloid-poor) domains. Examples of the 1D autocorrelation function are shown in Supplementary Fig. 7. The resulting plots of the time evolution of λa(t) are shown for BCAT-5 in Fig. 7, and for BCAT-3 and BCAT-4 in Supplementary Fig. 8.

Fig. 7
figure 7

Time evolution of the characteristic length scale λa(t) for the samples in the BCAT-5 experiments.

We observe that λa increases more rapidly for BCAT-5 Samples 4 and 5 (blue and red points in Fig. 7) than for any of the BCAT-3 or BCAT-4 samples (Supplementary Fig. 8), despite the fact that the samples have similar colloid volume fractions ϕ0 and polymer concentrations ρ (Table 1). Domain growth proceeds roughly linearly in time in BCAT-5 Samples 4 and 5, similarly to the samples in BCAT-3 and BCAT-4. However, the curves for BCAT-5 Samples 6, 7, and 8 (yellow, purple and green points in Fig. 7) exhibit qualitatively different behavior from any of the others: the curves increase roughly linearly at first but then abruptly flatten out and remain roughly constant, indicating that the phase domain coarsening has stopped. The Sample 7 curve (purple) is the first to begin flattening out after approximately 13 h, followed by Samples 6 (yellow) and 8 (green), which cease to exhibit linear growth at around the same time as each other (t ≈ 20 h) These results are consistent with those of Sabin et al.32, who reported the formation of crystallites having an arresting effect on the phase separation in the same experiments. We note that the values λa(t) for BCAT-5 Samples 6, 7 and 8 agree well with those reported in ref. 32, which serves as a validation of our image processing algorithm.

Model development

We here develop a model for describing phase separation in colloid-polymer mixtures. Our model consists of the Cahn-Hilliard equation, coupled with the incompressible Stokes equation for low-Reynolds number flow59:

$$\left({\partial }_{t}+{\boldsymbol{u}}\cdot {\boldsymbol{\nabla }}\right)\phi ={\boldsymbol{\nabla }}\cdot \left[\Gamma (\phi ){\boldsymbol{\nabla }}\left(\mu (\phi )-{k}_{{\rm{B}}}T{\ell }^{2}\Delta \phi \right)\right],$$
(1a)
$${\boldsymbol{\nabla }}\cdot \left[\eta (\phi )\left(\nabla {\boldsymbol{u}}+{(\nabla {\boldsymbol{u}})}^{{\rm{T}}}\right)\right]={\boldsymbol{\nabla }}p+\kappa \frac{{k}_{{\rm{B}}}T{\ell }^{2}}{{V}_{{\rm{c}}}}{\boldsymbol{\nabla }}\cdot \left({\boldsymbol{\nabla }}\phi {\boldsymbol{\nabla }}\phi \right),$$
(1b)
$${\boldsymbol{\nabla }}\cdot {\boldsymbol{u}}=0.$$
(1c)

The Cahn-Hilliard Eq. (1a) describes the dynamics of the colloid volume fraction ϕ(x, t). Here, Γ(ϕ) is the mobility, μ(ϕ) the colloid chemical potential, kB Boltzmann’s constant, T the temperature and a free parameter characterizing the width of the interface between phases. Equation (1a) is often referred to as “model H” in the literature60, where it is written in the form

$$\begin{array}{lll}\left({\partial }_{t}+{\boldsymbol{u}}\cdot {\boldsymbol{\nabla }}\right)\phi \;\;=\;{\boldsymbol{\nabla }}\cdot \left[\Gamma (\phi ){\boldsymbol{\nabla }}\left(\frac{\delta F}{\delta \phi }\right)\right],\\\qquad {\rm{where}}\quad F\;=\;\int\left[f(\phi )+\frac{1}{2}{k}_{{\rm{B}}}T{l}^{2}| {\boldsymbol{\nabla }}\phi {| }^{2}\right]\,{\rm{d}}{\boldsymbol{x}}\end{array}$$
(2)

is the free energy and \({f}^{{\prime} }(\phi )=\mu (\phi )\). We proceed by describing in turn the forms of Γ(ϕ) and μ(ϕ).

The mobility Γ(ϕ) describes the extent to which the colloid particles are free to move about. We use the expression given by van Megen et al.61, which was also used in a prior numerical study on crystallite growth in a colloidal suspension62:

$${\Gamma }_{+}(\phi )={\Gamma }_{0}{\left(1-\frac{\phi }{0.57}\right)}^{2.6}.$$
(3)

The factor Γ0 is obtained from the Stokes-Einstein relation and has the value Γ0 = 1/(6πη0a), where a is the colloid radius and η0 the viscosity of the solvent in the absence of colloids. The critical value ϕ = 0.57 is the value at which the glass transition occurs, and the colloids are effectively no longer able to move freely61. Although negative values of ϕ are unphysical, Eq. (1) is a phase-field model and so must be well-defined for all values of ϕ. Thus, for the purposes of our simulations, we define Γ as

$$\Gamma (\phi )=\left\{\begin{array}{ll}{\Gamma }_{0}\qquad\;\;\;\, {\rm{if}}\,\phi \le 0,\\ {p}_{\Gamma }(\phi )\quad\;\;\, {\rm{if}}\,0 < \phi \le 0.01,\\ {\Gamma }_{+}(\phi )\quad\;\, {\rm{if}}\,0.01 < \phi < 0.57,\\ 0\qquad\quad\;\; {\rm{if}}\,\phi \ge 0.57,\end{array}\right.$$
(4)

where pΓ(ϕ) is a seventh-order polynomial spline interpolant for 0 < ϕ ≤ 0.01, defined in such a way that Γ has three continuous derivatives. The cutoff value ϕ = 0.01 was chosen so that the polynomial interpolant would have coefficients of moderate size and also have minimal influence on the simulations.

We define the colloid chemical potential μ(ϕ) to be a piecewise-defined function:

$$\mu (\phi )=\left\{\begin{array}{ll}{p}_{\mu ,1}(\phi )\quad\; {\rm{if}}\,\phi \le 0.01,\\ {\mu }_{{\rm{F}}}(\phi )\quad\;\;\, {\rm{if}}\,0.01 < \phi \le 0.495,\\ {p}_{\mu ,2}(\phi )\quad\; {\rm{if}}\,0.495 < \phi < 0.54,\\ {\mu }_{{\rm{S}}}(\phi )\quad\;\;\; {\rm{if}}\,\phi \ge 0.54.\end{array}\right.$$
(5)

Here, we follow Lekkerkerker et al.16 and use the chemical potentials μF(ϕ) of the colloid-fluid phase for ϕ ≤ 0.495 and μS(ϕ) of the colloid-crystal phase for ϕ ≥ 0.54. The values ϕ1 = 0.494 and ϕ2 = 0.545 are the coexistence compositions in the absence of polymer; for values ϕ1 < ϕ < ϕ2, the system is in the fluid-solid coexistence regime63, in which we define μ(ϕ) by a seventh-order polynomial function pμ,2(ϕ) that connects the fluid and crystal chemical potentials so that μ(ϕ) is three-times differentiable. We also use a fourth-order polynomial pμ,1(ϕ) to extend the definition of the chemical potential to ϕ < 0, while maintaining the requirement that μ(ϕ) be three-times differentiable. The chemical potentials μF(ϕ) and μS(ϕ) are defined by the expression

$${\mu }_{{\rm{X}}}(\phi )={k}_{{\rm{B}}}T\left(\int\frac{{Z}_{{\rm{X}}}(\phi )}{\phi }\,{\rm{d}}\phi +{Z}_{{\rm{X}}}(\phi )-{V}_{{\rm{c}}}{n}_{{\rm{R}}}\frac{{\rm{d}}\alpha }{{\rm{d}}\phi }\right)+{\rm{const}},$$
(6)

where Vc = 4πa3/3 is the volume of a colloid particle. The expression for the hard-sphere compressibility ZF(ϕ) for the colloid-fluid phase is taken from Carnahan and Starling64, and ZS(ϕ) for colloid-crystal (hcp) phase is taken from the molecular dynamics simulations of Speedy65:

$$\begin{array}{lll}{Z}_{{\rm{F}}}(\phi )\;=\;\frac{1+\phi +{\phi }^{2}-{\phi }^{3}}{{(1-\phi )}^{3}},\\ {Z}_{{\rm{S}}}(\phi )\;=\;\frac{3}{1-\phi /{\phi }_{\max }}-0.5935\left(\frac{\phi /{\phi }_{\max }-0.7080}{\phi /{\phi }_{\max }-0.601}\right),\end{array}$$
(7)

where \({\phi }_{\max }=\sqrt{2}\pi /6\) is the maximum packing fraction. We note that, while experiments have shown that the colloidal crystals in the fcc phase are more prevalent after a long time66 and in a microgravity environment11,12, simulations have shown the entropies of the fcc and hcp phases to be very similar67,68,69. We thus expect the difference between the two phases to have a negligible influence on results presented herein.

The constant term in Eq. (6) is chosen to equate the fluid and solid chemical potentials at the coexistence compositions in the absence of polymer, μF(ϕ1) = μS(ϕ2). Finally, the function α(ϕ) in Eq. (6) represents the free volume of the polymer coils16, given by

$$\begin{array}{l}\alpha (\phi )=(1-\phi )\exp \left[-A\gamma -B{\gamma }^{2}-C{\gamma }^{3}\right],\,{\rm{where}}\,\gamma =\frac{\phi }{1-\phi },\\ A=\xi ({\xi }^{2}+3\xi +3),\quad B=\frac{9{\xi }^{2}}{2}+3{\xi }^{3},\quad C=3{\xi }^{3}.\end{array}$$
(8)

The parameter nR in Eq. (6) is the ratio of the polymer number density ρNA/Mp to the free volume α(ϕ), where NA is Avogadro’s number and Mp = 13.2 × 106 g/mol is the polymer’s molecular weight. The polymer chemical potential, and thus the parameter nR, is assumed constant because the polymer diffuses quickly relative to the colloid16.

In the Stokes equations (1b), u = u(x, t) is the fluid velocity, p = p(x, t) the pressure and η(ϕ) the dynamic viscosity. We note that the flow Reynolds number \({\rm{Re}}=\rho U\ell /\eta =O(1{0}^{-5})\) using the approximate values ρ ~ 1 g/cm3 for the fluid density, η ~ 10−2 g/(cm s) for the solvent’s dynamic viscosity, ~ 0.1 cm for the characteristic domain size and U ~ 10−6 cm/s for the flow speed, the last two of which are estimated from Fig. 7. The influence of fluid inertia is thus neglected in Eq. (1b). Our model accounts for the fact that the viscosity of a colloidal suspension increases dramatically with ϕ70, in that we adopt the expression71

$$\frac{\eta (\phi )}{{\eta }_{0}}=\exp \left(\frac{{D}_{{\rm{v}}}\phi }{{\phi }_{{\rm{v}}}-\phi }\right)$$
(9)

which, for Dv = 1.15 and ϕv = 0.638, exhibits reasonably good agreement with the low shear viscosities of colloidal suspensions measured in experiments. We note that an alternative form for the mobility Γ(ϕ) in Eq. (3) would be Γ(ϕ)  1/η(ϕ) as follows from the Stokes-Einstein relation; while such a relationship holds for relatively dilute suspensions (low ϕ), it neglects inter-particle caging effects that significantly reduce the colloids’ long-time self-diffusivity in more concentrated suspensions. We thus opt to use Eqs. (3) and (9), which better match the experimental data across a wide range of ϕ values. As discussed in Section 3.1 of ref. 71, experimentally measuring the mobility Γ(ϕ) and viscosity η(ϕ) is quite difficult, particularly as ϕ approaches the glass transition, so there is some uncertainty in the functional forms in Eqs. (3) and (9). However, we do not expect the precise forms of the mobility and viscosity to qualitatively affect the results presented herein.

The right-hand side of the Stokes equations contains the so-called Korteweg stress, which describes the stress exerted by the colloid on the fluid in a phase-field model59. It has been demonstrated that the form of the Korteweg stress is consistent with measurements of the effective surface tension in colloidal suspensions that undergo a fingering instability72. For a homogeneous binary fluid in which each component species has the same molar mass, we would have κ = 173; however, in this work the solvent (typically cis-decalin or tetralin) and solute (colloid particles) have different molar masses, making it difficult to obtain a simple expression for the stress74,75. We thus take κ as a free parameter in our model.

We non-dimensionalize the governing equations (1) according to xx/L, tt/τ, uu/U and ppL/(η0U). The length, time and velocity scales are

$$L=\frac{\ell }{\sqrt{\nu }},\quad \tau =\frac{{\ell }^{2}}{{\nu }^{2}{\Gamma }_{0}{k}_{{\rm{B}}}T}\quad {\rm{and}}\quad U=\frac{\kappa {k}_{{\rm{B}}}T{\ell }^{2}}{{\eta }_{0}{V}_{{\rm{c}}}L},$$
(10)

respectively, where,

$$\nu =\frac{| {\mu }^{{\prime} }({\phi }_{{\rm{s}}})| }{{k}_{{\rm{B}}}T}\quad {\rm{and}}\quad {\phi }_{{\rm{s}}}=\,\text{argmax}\,\{| {\mu }^{{\prime} }(\phi )| :{\mu }^{{\prime} }(\phi ) < 0\}$$
(11)

is the colloid concentration within the spinodal region for which the derivative of the chemical potential is most negative. Defining the Peclet number γ as

$$\gamma =\frac{U\tau }{L}=\frac{9\kappa }{2\nu }{\left(\frac{\ell }{a}\right)}^{2},$$
(12)

and rescaling the mobility, chemical potential and suspension viscosity as

$$\Gamma \to \frac{\Gamma }{{\Gamma }_{0}},\quad \mu \to \frac{\mu }{| {\mu }^{{\prime} }({\phi }_{{\rm{s}}})| }\quad {\rm{and}}\quad \eta \to \frac{\eta }{{\eta }_{0}},$$
(13)

we obtain the dimensionless equations

$$\left({\partial }_{t}+\gamma {\boldsymbol{u}}\cdot {\boldsymbol{\nabla }}\right)\phi ={\boldsymbol{\nabla }}\cdot \left[\Gamma (\phi ){\boldsymbol{\nabla }}\left(\mu (\phi )-\Delta \phi \right)\right],$$
(14a)
$${\boldsymbol{\nabla }}\cdot \left[\eta (\phi )\left(\nabla {\boldsymbol{u}}+{(\nabla {\boldsymbol{u}})}^{{\rm{T}}}\right)\right]={\boldsymbol{\nabla }}p+{\boldsymbol{\nabla }}\cdot \left({\boldsymbol{\nabla }}\phi {\boldsymbol{\nabla }}\phi \right),$$
(14b)
$${\boldsymbol{\nabla }}\cdot {\boldsymbol{u}}=0.$$
(14c)

The dimensionless equations thus depend on the single free parameter γ, as defined in Eq. (12), which describes the relative importance of advective and diffusive transport of the colloids.

Results of the numerical simulations

We proceed by showing the results of numerical simulations of the phase-field model, Eq. (14), as conducted using the procedures described in the Methods. The parameters correspond to the BCAT-5 experiments, as given in Table 1. The parameter nR that determines the polymer chemical potential is taken to be that corresponding to the average colloid volume fraction:

$${n}_{{\rm{R}}}=\frac{\rho {N}_{{\rm{A}}}{M}_{{\rm{p}}}}{\alpha ({\phi }_{0})}.$$
(15)

Supplementary Movie 1 shows a simulation with parameters corresponding to BCAT-5 Sample 7, with hydrodynamics included (γ = 130). Snapshots of the simulation at the four (dimensionless) times t = 0, 100, 500, and 5000 are shown in Fig. 8, with the left column showing the colloid volume fraction ϕ(x, t).

Fig. 8: Simulation results for BCAT-5 Sample 7, with γ = 130.
figure 8

Each row represents a different (dimensionless) time t as labeled, with the three panels in each row corresponding to colloid volume fraction ϕ, fluid speed γu, and fluid vorticity γ × u. In the bottom left panel, the liquid phase is visible as orange regions within the solid (yellow) phase at the final time of the simulation. In dimensional variables, the simulation domain length is roughly 10 mm and the final time of the simulation 295 h. The maximum fluid speed in the color bar is roughly 0.1 μm/s, and the maximum vorticity 2 × 10−3 s−1. A video of this simulation is available in Supplementary Movie 1.

At t = 0, the mixture is nearly homogeneous, ϕ ≈ ϕ0 = 0.29, with only small perturbations present. By t = 100, small domains of low-ϕ “gas” phase (dark blue) have formed; higher-ϕ (lighter green) regions also become visible. The phase domains continue to grow, and the higher-ϕ “liquid” (orange) values take over, forming the background as the low-ϕ “droplets” merge to form larger gas domains. This liquid state, however, is temporary, as it is only a metastable state. Eventually, crystallization sets in, and there is a three-phase coexistence of solid, liquid, and gas. By t = 5000, the solid phase has mostly taken over, though small regions of the liquid phase remain. The gas phase “droplets” continue to merge, and coarsening progresses at a relatively slow pace. The simulation thus exhibits a three-phase coexistence of solid, gas, and a metastable liquid phase, which has been predicted theoretically in prior work42 and observed experimentally19,25. As expected, three-phase coexistence is observed even if hydrodynamic effects are neglected (γ = 0), as shown in Fig. 9.

Fig. 9: Simulation results for BCAT-5 Sample 7, without hydrodynamic effects (γ = 0).
figure 9

Each panel represents the colloid volume fraction ϕ at a different (dimensionless) time t, as labeled. In dimensional variables, the simulation domain length is roughly 10 mm and the final time of the simulation 295 h. The bottom left panel of Supplementary Movie 3 shows a video of this simulation.

We observe that including hydrodynamic interactions between the colloid particles and the surrounding fluid in the model seems to make the phase domains rounder in shape. This effect is most visible in the simulation of BCAT-5 Sample 4, which is shown in Fig. 10 and Supplementary Movie 2 for γ = 93. Especially at late times, the phase domains shown in the left column of Fig. 10 appear more circular than those in Fig. 11, for which hydrodynamic effects were not incorporated (γ = 0). This phenomenon is illustrated in Supplementary Movie 3, where the time-evolution of BCAT-5 Samples 4 and 7 with and without hydrodynamics are compared side-by-side. Our finding is somewhat at odds with the results of ref. 76, who conducted simulations of colloids interacting through a short-range Lennard-Jones potential by modeling colloids as fluid regions of relatively large viscosity. They found that including hydrodynamic interactions resulted in the formation of chainlike aggregates instead of circular clusters. We conjecture that this discrepancy with our results is due to differences in the modeling framework; specifically, the Cahn-Hilliard equation is not solved in ref. 76 so spinodal decomposition is not modeled explicitly, as it is in Eq. (1a). We also note that the simulations including hydrodynamics in ref. 76 exhibit elongated networks of colloid-rich regions instead of the elongated colloid-poor regions observed in our simulations (Fig. 11). This discrepancy may be due to differences in the initial colloid concentrations, which is known to affect the coarsening kinetics and long-time phase morphologies77.

Fig. 10: Simulation results for BCAT-5 Sample 4, with γ = 93.
figure 10

In dimensional variables, the simulation domain length is roughly 14 mm and the final time of the simulation 1100 h. The maximum fluid speed in the color bar is roughly 0.06 μm/s, and the maximum vorticity 3 × 10−4 s−1. A video of this simulation is available in Supplementary Movie 2.

Fig. 11: Simulation results for BCAT-5 Sample 4, without hydrodynamic effects (γ = 0).
figure 11

In dimensional variables, the simulation domain length is roughly 14 mm and the final time of the simulation 1100 h. The top left panel of Supplementary Movie 3 shows a video of this simulation.

The time evolution of the (dimensionless) fluid speed γu is shown in the middle column of Figs. 8 and 10, and Supplementary Movies 1 and 2. The initial gradients in ϕ are small, corresponding to low fluid speeds. The fluid speeds increase quickly thereafter, and are largest for early times (i.e., t = 100), slowing down at later times (i.e., t = 500 and 1000).

Another phenomenon we observed in our simulations with hydrodynamics (γ > 0) is the formation of a quadrupole of vortices whenever two phase domains merge, as illustrated in Fig. 12. Each vortex quadrupole consists of two pairs of vortices: one pair is clockwise (blue) and the other counter-clockwise (yellow), positioned across from each other. Such structures are also visible in Figs. 8 and 10, specifically, at t = 100 when there is a merger between colloid-poor domains. They are also visible in the right columns of Supplementary Movies 1 and 2, which show vortex quadrupoles popping in and out of existence as phase separation progresses. While the fluid is relatively quiescent at late times when the coarsening slows, the vortex quadrupoles continue to appear whenever there is a merger of domains.

Fig. 12: Illustration of the vortex quadrupole that arises when phase domains merge.
figure 12

a Plot of ϕ for a BCAT-5 Sample 7 simulation using γ = 130 and P = 10 at (dimensionless) time t = 527. b Zoom-in of the fluid vorticity γ × u in the region enclosed by the red box in (a).

Comparison between theory and experiment

After carrying out the simulations with parameters corresponding to the BCAT-5 samples, we proceeded to determine the time evolution of the characteristic length scale λa(t) using the algorithm described earlier in order to obtain a quantitative description of the coarsening process. To determine an appropriate value for the free parameter , we experimented by plugging in various values for and plotting the corresponding curves (now in dimensional units) for each on the same axes as the experimental data, as shown in Fig. 13. The dimensional length and time scales were obtained using Eq. (10). We did this for each of the five BCAT-5 samples, selecting the -value that best matched the experimental data. Then, we chose an -value about midway between the highest and lowest values across the five samples, from which we obtained  = 0.27 mm.

Fig. 13: Dominant length scale λa vs. t for BCAT-5 Sample 7, obtained from numerical simulations using γ = 130, plotted with the experimental data (blue points).
figure 13

The different colors correspond to different choices of (in mm) used in computing the length and time scales L and τ defined in Eq. (10).

Fixing  = 0.27 mm, we proceeded to plot the growth curves for the BCAT-5 experiments in Fig. 14, comparing experimental data (triangles) with simulation data (solid curves) both without (Fig. 14a) and with (Fig. 14b) hydrodynamic interactions. We first consider the simulations with hydrodynamics (Fig. 14b). While the experimental and simulation data do not match perfectly, the values of λa predicted by the simulations are the same order of magnitude as those in experiment. Moreover, the dependence of the long-time length scale on sample parameters is mostly consistent between experiment and simulation. Specifically, for the experimental data, the largest λa values are attained by Sample 5 (red); then Sample 4 (blue); then Sample 6 (yellow) and Sample 8 (green), which are nearly the same; and then Sample 7 (purple). Sample 6 attains higher values overall than Sample 8, but its values eventually decrease, presumably due to artifacts arising from noise in the experimental images, and finally settle at a lower value than Sample 8. For the simulation data, the ordering is as follows: Sample 5 (red), Sample 4 (blue), Sample 6 (yellow), Sample 7 (purple), and finally Sample 8 (green), which is mostly consistent with the ordering of the experimental data. We note that we only had the freedom to adjust the single free parameter to obtain fits across all times t and five BCAT-5 samples.

Fig. 14: Comparison between experiment and theory.
figure 14

Dominant length scale λa(t) in BCAT-5 Samples 4, 5, 6, 7 and 8, obtained from experimental data (triangles) and simulations (solid curves) run without accounting for hydrodynamic interactions (γ = 0, a) and with hydrodynamic interactions (b). In the latter, the values of γ are 93 (Sample 4), 91 (Sample 5), 100 (Sample 6), 130 (Sample 7) and 202 (Sample 8). The value  = 0.27 mm is fixed.

In the absence of hydrodynamic effects, γ = 0 (Fig. 14a), the simulation curves for the five samples are clustered closer together than in Fig. 14b; the values of λa for Samples 4, 5 and 6 at the latest time considered are quite similar to each other, while Sample 7 attains significantly lower values and Sample 8 attains the lowest of all. Inclusion of hydrodynamic interactions appears to cause the λa-curves to separate from each other, making the different sample parameters more distinguishable from each other, as is the case in the experiments.

We also note that the early-time growth rates of the simulation curves in Fig. 14b are more similar to the experimental data than those in Fig. 14a, indicating that hydrodynamics affects the early-time behavior of the system. Specifically, the γ > 0 curve (Fig. 14b) for each sample exhibits faster growth than its γ = 0 counterpart (Fig. 14a) at early times. Both curves begin to flatten out as time progresses, indicating a slowing down of the phase separation. This slowing starts earlier with hydrodynamics than without. These results suggest that the inclusion of hydrodynamic effects initially speeds up the phase separation process, but eventually slows it down at later times. Specifically, the increase in suspension viscosity, Eq. (9), and decrease in mobility, Eq. (3), as the colloid volume fraction increases may lead to phase separation being hindered or even arrested in a colloid-polymer suspension. This mechanism would be in addition to the one identified by Sabin et al.32, who analyzed microgravity experiments of colloid-polymer suspensions. They found that phase separation was arrested due to the emergence of a system-spanning crystal gel, an effect that cannot be captured by our model because it does not include gelation. For BCAT-5 Samples 4 and 5 (blue and red curves, respectively, in Fig. 14b), our theory predicts a slowdown in coarsening that does not occur over the timescale probed in the experiment. We conjecture that this discrepancy indicates that our model for the mobility Γ(ϕ) in Eq. (3) overpredicts the degree to which colloidal diffusion is hindered in these samples, which have lower values of colloid volume fraction than the others shown in Fig. 14b.

Discussion

We have constructed and analyzed a phase-field model, Eq. (1), for colloid-polymer mixtures in which hydrodynamic interactions are considered explicitly. The colloid volume fraction ϕ evolves according to the Cahn-Hilliard equation (1a) with a concentration-dependent mobility Γ(ϕ), and the fluid velocity u is governed by the incompressible Stokes equations (1b)-(1c) with a concentration-dependent viscosity η(ϕ). The fluid is forced by gradients in the colloid concentration via the Korteweg stress, which models the interfacial tension between colloidal phases. We have also processed video microscopy images from NASA’s microgravity BCAT experiments, extracted the coarsening rates as a function of time, and quantitatively compared them with the predictions of our model.

Our simulation results provided some insight into the role of hydrodynamic effects on phase separation in colloid-polymer suspensions. Specifically, we observed that the phase domain structures take on a more stringy appearance when hydrodynamic interactions are neglected, as is evident in Supplementary Movie 3 and by comparing Figs. 10 and 11. We also found that the merger of colloid-poor domains is associated with a vortex quadrupole in the fluid (Fig. 12). While the fluid speeds are largest at early times in the simulations (Figs. 8 and 10), corresponding to relatively rapid demixing, the vortex quadrupoles appear throughout the coarsening process even at late times, whenever there is a domain merger (Supplementary Movies 1 and 2). Including hydrodynamic interactions (γ > 0) improves the comparison between theory and experiment, as is evident by comparing Fig. 14a, b; specifically, hydrodynamic effects tend to accelerate coarsening at the intermediate timescale of approximately 20 h for the parameters corresponding to the BCAT-5 experiments. The fact that the experiments were conducted in microgravity made such hydrodynamic effects visible, as sedimentation was avoided and these intermediate timescales could be probed.

Our model makes a number of assumptions for the sake of simplicity. In particular, the phase-field model treats the colloid particles as a continuum field. As a consequence, we cannot treat directly the influence of colloid particles on the fluid, and instead force the fluid motion through the Korteweg stress. Moreover, our simulations are in a periodic domain and thus neglect boundary effects, which are expected to play a role when the colloids approach the walls of the glass cuvettes in the BCAT experiments. We also assume that the polymer chemical potential is constant, and neglect the influence of inhomogeneities in the polymer concentration. Furthermore, our model neglects the viscoelastic character of colloid-polymer suspensions, as arise when the system approaches gel-like states like those seen at the late stages of BCAT-5 Samples 6-8. It is known that viscoelasticity can qualitatively affect the phase separation process by leading to clustering and the formation of slowly-evolving transient networks78,79. In spite of these significant simplifications, our simulation results in Fig. 14 show that the order of magnitude predictions for the coarsening rate are correct.

Experiments have suggested that polymer redistribution is a critical ingredient driving colloidal crystallization80. In the future, we could improve the model by removing our assumption that the polymer chemical potential is constant, and instead evolve the polymer concentration in time. To that end, generalized free-volume theories of the form described in ref. 81 could be used. These theories have the advantage that they can be extended to the regime ξ 1, which is beyond the regime of validity of the theory used in our paper (which is based on ref. 16) but relevant to the BCAT-3 and BCAT-4 experiments (Supplementary Information). More sophisticated models can be developed by going beyond free-volume theories, for instance by using the so-called polymer reference interaction site model (PRISM)82,83, which exhibits better agreement with experiment in certain regimes84. Another approach would be to couple the polymer concentration field to the colloid concentration using Onsager’s variational principle, following the approach in ref. 85. A more detailed treatment of the hydrodynamic interactions between colloids, for instance by accounting for how short-range lubrication forces affect the lifetime of colloidal bonds86, could also improve the agreement between theory and experiment. Moreover, it would be worthwhile to perform the simulations in three dimensions; while the simulations herein were performed in two dimensions for the sake of computational tractability, the spatial dimensionality is known to affect the rate at which coarsening proceeds87.

The simulation platform detailed herein could also be extended to model more complicated colloidal systems such as suspensions of active colloids88, which have attracted recent interest due to their ability to form new materials and mimic living matter89. Much like the colloid-polymer systems described herein, such systems would also benefit from investigations in microgravity environments, as the destructive effects of gravitational forces, buoyancy-driven flows and hydrostatic pressure would be eliminated5. External forces could also be readily added to our model Eq. (1), which would allow us to probe the possibility of assembling and holding colloidal structures in desired configurations. The associated protocols could potentially be realized in microgravity experiments, which could pave the way for building mobile and reconfigurable colloidal machines that manipulate their environment in controlled ways5.

Methods

We solve the governing equations (14) numerically with doubly periodic boundary conditions on a square domain of size 4πP × 4πP, where P = 20 unless otherwise stated. A linear stability analysis of Eq. (14) around the homogeneous state ϕ = ϕ0 in the spinodal region and u = 0 yields the upper bound \(| {\boldsymbol{k}}| =1/\sqrt{2}\) for the wavenumber of maximum growth, which corresponds to a wavevector k = (kx, ky) with components kx = ky = 1/2, for example. Our choice of simulation domain thus admits P such wavelengths along each direction. To mimic the initially homogenized state of the suspension immediately after mixing, we generate a small-amplitude field of Gaussian random perturbations \(\tilde{\phi }({\boldsymbol{x}})\) with zero mean, smooth it, and add to it the homogeneous volume fraction ϕ0, thus obtaining the initial condition \(\phi ({\boldsymbol{x}},0)={\phi }_{0}+\tilde{\phi }({\boldsymbol{x}})\). When ϕ0 is in the spinodal region, \({\mu }^{{\prime} }({\phi }_{0}) < 0\), these small-amplitude perturbations will grow in time and spinodal decomposition will take place.

We employ a pseudospectral method with 512 points in each direction. We proceed by describing, in turn, the time-stepping scheme for solving the Cahn-Hilliard equation (14a) and the method for solving the variable-viscosity Stokes Eqs (14b, c).

Semi-implicit time-stepping scheme

The first-order forward Euler time-stepping method for Eq. (14a), written in Fourier space, is

$$\begin{array}{l}{\hat{\phi }}^{n+1}={\hat{\phi }}^{n}-\gamma \Delta t{\mathcal{F}}\left[{{\boldsymbol{u}}}^{n}\cdot {\boldsymbol{\nabla }}{\phi }^{n}\right]\\ +\Delta t\,{\rm{i}}{\boldsymbol{k}}\cdot {\mathcal{F}}\left[\Gamma ({\phi }^{n}){{\mathcal{F}}}^{-1}\left[{\rm{i}}{\boldsymbol{k}}\left({\mathcal{F}}\left[\mu ({\phi }^{n})\right]+| {\boldsymbol{k}}{| }^{2}{\hat{\phi }}^{n}\right)\right]\right],\end{array}$$
(16)

where the hats are used to denote Fourier-transformed variables, \(\hat{\phi }={\mathcal{F}}[\phi ]\), \({\hat{\phi }}^{n}=\hat{\phi }({\boldsymbol{k}},n\Delta t)\) and Δt is the time step. Equation (16) suffers from a severe time-stepping restriction, Δt ~ O((Δx)4). To avoid this problem, Zhu et al.90 proposed a semi-implicit time-stepping scheme. Specifically, they add and subtract a constant A from the mobility,

$$\Gamma (\phi )=\left(\Gamma (\phi )-A\right)+A,$$
(17)

which results in a linear term − AΔ2ϕ on the right-hand side of Eq. (14a). This numerically stiff term is treated implicitly, while all of the other (nonlinear) terms in the equation are treated explicitly as in Eq. (16). While Zhu et al. suggested \(A=\left(\max (\Gamma (\phi ))+\min (\Gamma (\phi ))\right)/2\), we found by experimenting with the numerical scheme that A = 1 is a suitable choice for the mobility defined in Eq. (4). Rearranging the resulting equation, we obtain the time-stepping scheme

$$\begin{array}{l}{\hat{\phi }}^{n+1}={\hat{\phi }}^{n}+\frac{\Delta t}{1+A\Delta t| {\boldsymbol{k}}{| }^{4}}\left(-\gamma {\mathcal{F}}\left[{{\boldsymbol{u}}}^{n}\cdot {\boldsymbol{\nabla }}{\phi }^{n}\right]\right.\\ +\,\left.{\rm{i}}{\boldsymbol{k}}\cdot {\mathcal{F}}\left[\Gamma ({\phi }^{n}){{\mathcal{F}}}^{-1}\left[{\rm{i}}{\boldsymbol{k}}\left({\mathcal{F}}\left[\mu ({\phi }^{n})\right]+| {\boldsymbol{k}}{| }^{2}{\hat{\phi }}^{n}\right)\right]\right]\right).\end{array}$$
(18)

Solving the variable-viscosity Stokes equations

We adapt the procedure of Tree et al.91 to solve the variable-viscosity Stokes equations (14b, c) at every time step. Dropping the superscripts on ϕ for the sake of clarity, we write

$$\eta (\phi )={\eta }^{* }+\bar{\eta }(\phi ),\quad {\rm{where}}\quad {\eta }^{* }=\max \eta (\phi ),$$
(19)

and define the tensors

$${\boldsymbol{\tau }}={\boldsymbol{\nabla }}{\boldsymbol{u}}+{({\boldsymbol{\nabla }}{\boldsymbol{u}})}^{{\rm{T}}}\quad {\rm{and}}\quad {\boldsymbol{\sigma }}={\boldsymbol{\nabla }}\phi {\boldsymbol{\nabla }}\phi$$
(20)

to rewrite Eq. (14b) in the form

$${\eta }^{* }\Delta {\boldsymbol{u}}={\boldsymbol{\nabla }}p-{\boldsymbol{\nabla }}\cdot \left[\bar{\eta }{\boldsymbol{\tau }}\right]+\nabla \cdot {\boldsymbol{\sigma }}.$$
(21)

Taking the Fourier transform of Eq. (21) and using the incompressibility condition, Eq. (14c), we obtain91

$$\hat{{\boldsymbol{u}}}=-\frac{1}{{\eta }^{* }| {\boldsymbol{k}}{| }^{2}}\left({\boldsymbol{I}}-\frac{{\boldsymbol{k}}{{\boldsymbol{k}}}^{{\rm{T}}}}{| {\boldsymbol{k}}{| }^{2}}\right)\left[{\rm{i}}{\boldsymbol{k}}\cdot \left(-{\mathcal{F}}\left[\bar{\eta }{\boldsymbol{\tau }}\right]+{\mathcal{F}}\left[{\boldsymbol{\sigma }}\right]\right)\right],$$
(22)

where I is the identity matrix. Defining the scalar variable \(\hat{u}\) through the equation

$$\hat{{\boldsymbol{u}}}=\frac{{\rm{i}}{{\boldsymbol{k}}}^{\perp }}{| {\boldsymbol{k}}| }\hat{u}\quad {\rm{where}}\quad {{\boldsymbol{k}}}^{\perp }=({k}_{y},-{k}_{x}),$$
(23)

and using the fact that IkkT/k2 = kkT/k2, we obtain a linear equation for \(\hat{u}\):

$$\hat{u}=\frac{{\rm{i}}}{{\eta }^{* }| {\boldsymbol{k}}{| }^{3}}{{\boldsymbol{k}}}^{\perp }\cdot \left[{\rm{i}}{\boldsymbol{k}}\cdot \left(-{\mathcal{F}}\left[\overline{\eta }{\boldsymbol{\tau }}\right]+{\mathcal{F}}\left[{\boldsymbol{\sigma }}\right]\right)\right].$$
(24)

Our approach differs from that of ref. 91 in that the scalar Eq. (24) is solved, rather than the vector Eq. (22), which reduces the problem’s computational cost.

Note that Eq. (24) can be written as

$$u=H(u),$$
(25)

where \(u={{\mathcal{F}}}^{-1}[\hat{u}]\) and H is a linear operator. It is not feasible to solve Eq. (25) explicitly using Gaussian elimination, for example, due to the fact that u contains 5122 unknowns. For this reason, we solve the linear system using a combination of Picard iteration73 and Anderson mixing91,92,93, iterative methods that allow us to approximate the solution to Eq. (25) with a desired accuracy. We briefly describe how to get from step k to k + 1 of the iteration: suppose for now that k ≥ J, a predetermined number, and that we have the J + 1 approximations (or “iterates”) ukJ, …, uk. The Anderson mixing scheme reads

$$\begin{array}{lll}\qquad\quad\;\;{u}_{k+1}\;=\;H({\bar{u}}_{k+1})\quad {\rm{for}}\quad k\ge J,\\ {\rm{where}}\quad {\bar{u}}_{k+1}\;=\;{u}_{k}+\mathop{\sum }\limits_{j=1}^{J}{c}_{j}^{(k)}\left({u}_{k-j}-{u}_{k}\right).\end{array}$$
(26)

The constants \({{\boldsymbol{c}}}^{(k)}=\left({c}_{1}^{(k)},\ldots ,{c}_{J}^{(k)}\right)\) are obtained by solving the linear system

$${U}^{(k)}{{\boldsymbol{c}}}^{(k)}={{\boldsymbol{v}}}^{(k)},$$
(27)

where \({U}^{(k)}\in {{\mathbb{R}}}^{J\times J}\) and \({{\boldsymbol{v}}}^{(k)}\in {{\mathbb{R}}}^{J}\) have the elements

$$\begin{array}{lll}{U}_{ij}^{(k)}\;=\;\left\langle {d}_{k}^{(k)}-{d}_{k-i}^{(k)},{d}_{k}^{(k)}-{d}_{k-j}^{(k)}\right\rangle ,\\\; {v}_{i}^{(k)}\;=\;\left\langle {d}_{k}^{(k)}-{d}_{k-i}^{(k)},{d}_{k}^{(k)}\right\rangle ,\quad 1\le i,j\le J,\end{array}$$
(28)

and

$${d}_{l}^{(k)}=H({u}_{l})-{u}_{l},\quad k-J\le l\le k,$$
(29)

f, g〉 = ∫ f(x)g(x) dx being the standard inner product. The iteration, Eq. (26), continues until the error residual \(\left\Vert {d}_{k}^{(k)}\right\Vert \equiv \sqrt{\left\langle {d}_{k}^{(k)},{d}_{k}^{(k)}\right\rangle }\) drops below the error tolerance 10−6.

We proceed by describing how we obtain the first J + 1 iterates u0, u1, …, uJ. Starting with u0, for the first time step of the simulation, we use the solution to the constant-viscosity Stokes equations, which have the analytical solution in Fourier space

$${\hat{u}}_{0}=\frac{1}{\eta ({\phi }_{0})| {\boldsymbol{k}}{| }^{3}}{\rm{i}}{{\boldsymbol{k}}}^{\perp }\cdot \left({\rm{i}}{\boldsymbol{k}}\cdot {\mathcal{F}}[{\boldsymbol{\sigma }}]\right),$$
(30)

and let \({u}_{0}={{\mathcal{F}}}^{-1}[{\hat{u}}_{0}]\). For every time step after the first, we let u0 be the solution to the problem Eq. (25) at the previous timestep. Given u0, we obtain the J iterates u1, …, uJ using Picard iteration with relaxation:

$${u}_{k+1}=\omega H({u}_{k})+(1-\omega ){u}_{k},\quad 0\le k < J,$$
(31)

where we choose the relaxation parameter to be ω = 0.1. This completely defines an iterative scheme for solving Eq. (25).

While the iterative scheme, Eq. (26), typically converges faster for larger values of J, the computational cost of performing a single iteration clearly increases with J. To handle this tradeoff in our numerical simulations, we found that J = 2 was sufficient for early times t, when the constant viscosity solution u0 is a good approximation to the actual solution to Eq. (25). As coarsening progresses and η is no longer nearly constant, our algorithm automatically increases J if convergence is not reached within 40 + 10(J − 2) iterations, where we count both Picard iterations, Eq. (31), and Anderson mixing ones, Eq. (26).