An efficient mass-preserving interface-correction level set/ghost fluid method for droplet suspensions under depletion forces
Zhouyang Ge, Jean-Christophe Loiseau, Outi Tammisola, Luca Brandt

TL;DR
This paper introduces a novel, efficient numerical method for simulating colloidal droplet suspensions in microfluidic devices, incorporating mass conservation, accurate interface curvature, and depletion force interactions.
Contribution
It presents a new interface-correction level set method combined with ghost fluid and pressure-correction techniques for improved two-phase flow simulation.
Findings
Achieved global mass conservation with an interface correction technique.
Developed a second-order accurate curvature estimation method.
Enabled fast, accurate simulations of droplet interactions under depletion forces.
Abstract
Aiming for the simulation of colloidal droplets in microfluidic devices, we present here a numerical method for two-fluid systems subject to surface tension and depletion forces among the suspended droplets. The algorithm is based on an efficient solver for the incompressible two-phase Navier-Stokes equations, and uses a mass-conserving level set method to capture the fluid interface. The four novel ingredients proposed here are, firstly, an interface-correction level set (ICLS) method; global mass conservation is achieved by performing an additional advection near the interface, with a correction velocity obtained by locally solving an algebraic equation, which is easy to implement in both 2D and 3D. Secondly, we report a second-order accurate geometric estimation of the curvature at the interface and, thirdly, the combination of the ghost fluid method with the fast pressure-correction…
| Grid points per diameter | 16 | 32 | 48 | 64 |
|---|---|---|---|---|
| 2D | 1.144 | 2.904 | 1.285 | 7.227 |
| 3D | 1.527 | 3.888 | 1.732 | 9.753 |
| La | 12 | 120 | 1,200 | 12,000 | 120,000 | 1,200,000 |
|---|---|---|---|---|---|---|
| Ca | 2.85 | 3.14 | 3.63 | 3.87 | 3.41 | 5.79 |
| Ca from [37] | 4.54 | 3.67 | 3.62 | 4.15 | 3.75 | 8.19 |
| Rate | Rate | |||||
|---|---|---|---|---|---|---|
| 2.46 | 1.03 | 1.19 | 2.16 | 5.95 | 1.82 | |
| 1.13 | 3.85 | 1.46 | 3.25 | 6.11 | 2.67 |
| Case | Bubble regime | Mass loss (%) | ||||
|---|---|---|---|---|---|---|
| (a) | Spherical | 1 | 1 | 1.7 | 1.73 | 9.86 |
| (b) | Ellipsoidal | 0.1 | 10 | 4.6 | 4.57 | 3.32 |
| (c) | Skirted | 1 | 100 | 20.0 | 19.21 | 1.64 |
| (d) | Dimpled | 1000 | 100 | 1.5 | 1.71 | 3.28 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
An efficient mass-preserving interface-correction level set/ghost fluid method for droplet suspensions under depletion forces
Zhouyang Ge
Jean-Christophe Loiseau111Present address: Laboratoire DynFluid, Arts et Métiers ParisTech, 151 boulevard de l’hôpital, 75013 Paris, France
Outi Tammisola
Luca Brandt
Linné Flow Centre and SeRC (Swedish e-Science Research Centre), KTH Mechanics,
S-100 44 Stockholm, Sweden
Abstract
Aiming for the simulation of colloidal droplets in microfluidic devices, we present here a numerical method for two-fluid systems subject to surface tension and depletion forces among the suspended droplets. The algorithm is based on an efficient solver for the incompressible two-phase Navier-Stokes equations, and uses a mass-conserving level set method to capture the fluid interface. The four novel ingredients proposed here are, firstly, an interface-correction level set (ICLS) method; global mass conservation is achieved by performing an additional advection near the interface, with a correction velocity obtained by locally solving an algebraic equation, which is easy to implement in both 2D and 3D. Secondly, we report a second-order accurate geometric estimation of the curvature at the interface and, thirdly, the combination of the ghost fluid method with the fast pressure-correction approach enabling an accurate and fast computation even for large density contrasts. Finally, we derive a hydrodynamic model for the interaction forces induced by depletion of surfactant micelles and combine it with a multiple level set approach to study short-range interactions among droplets in the presence of attracting forces.
keywords:
Multiphase flow , Level set method , Ghost fluid method , Colloidal droplet
††journal: Journal of Computational Physics
1 Introduction
In the field of colloidal science, much progress has been made on the synthesis of elementary building blocks (Fig. 1) mimicking molecular structures to elaborate innovative materials, *e.g. *materials with complete three dimensional band gaps [1, 2, 3, 4]. The basic elements of such colloidal molecules are particles or droplets less than one millimeter in size, and their self-assembly relies on either lengthy brownian motion or careful microfludic designs, on top of typical colloidal interactions, *e.g. *depletion attraction and electrostatic repulsion [5, 6, 7]. Regardless of the approach, however, questions remain why the colloidal particles/droplets undergo certain path to organize themselves and how such process can be controlled and optimized. Since full data are not yet accurately accessible from experiments in such miniature systems, computer simulations will be useful to provide supplemental information.
Scaling down to microscale appears first to be a convenience for the numerical simulations of multicomponent and multiphase systems as the non-linear Navier-Stokes (NS) equations can be reduced to the linear Stokes equations. This allows the use of boundary integral methods (BIM) [8], *e.g. *most recently the GGEM-based BIM [9, 10] solving the Stokes equations in general geometries. However, it is also possible to use the conventional unsteady, fractional-step/projection-method NS solver at low Reynolds number, combined with an interface description method [11, 12]. The latter approach is more versatile, probably less difficult to implement, and enjoys a rich literature of standard numerical techniques. Here, in view of a rich range of possible applications and considering also the rapid development of inertial microfluidics (where inertial effects are used to better control the flow behavior) we take the approach of simulating the incompressible, two-fluid NS as outlined in [13]. The splitting procedure proposed in [13] enables the use of fast solvers for the pressure Poisson equation also for large density and viscosity contrasts. The remaining choice then is to be made among the available interface-description methods.
Generally, there are two categories of methods to resolve an interface in a NS solver, *i.e. *front-tracking methods and front-capturing methods. An example of the front-tracking method is the immersed boundary method (IBM) [14, 15]. Using Lagrangian points in a moving frame, IBM can offer a high interface resolution without the need to deform the underlying mesh in the fixed frame. However, the coupling of the two meshes relies on a regularized delta function, which introduces certain degrees of smearing. Moreover, large interface deformation requires frequent mesh rearrangement; and topology changes may have to be handled manually. These constraints make IBM typically more expensive and less appealing for droplet simulations.
Front-capturing methods, on the other hand, are Eulerian and handle topology changes automatically; they are therefore easier to parallelize to achieve higher efficiency. One of such methods is the volume-of-fluid (VOF) method [16], which defines different fluids with a discontinuous color function. The main advantage of VOF is its intrinsic mass conservation. It suffers however from inaccurate computations of the interface properties, *e.g. *normals and curvatures. This makes it less favorable for simulations of microfluidic systems where surface tension is the dominant effect and requires accurate modelling.
Another popular front-capturing method is the level set (LS) method [17, 18]. Contrary to VOF, LS prescribes the interface through a (Lipschitz-)continuous function which usually takes the form of the signed distance to the interface. Under this definition, normals and curvatures of the interface can be readily and accurately computed. However, the problem when simulating incompressible flows is that mass loss/gain may occur and accumulate because the LS function embeds no volume information. In addition, errors can also arise from solving the LS advection equation and/or the reinitialization equation, a procedure commonly required to reshape the LS into a distance function. Therefore, additional measures have to be taken to ensure mass conservation.
Many different approaches have been proposed to make LS mass-conserving, which can be classified into the following four methodologies. The first approach is to improve the LS discretization and reinitialization so that numerical errors are reduced. In practice, one can increase the order of LS fluxes [19], minimize the displacement of the zero LS during reinitialization [20, 19], or employ local mesh refinement [21, 22, 23]. By doing so, mass loss can be greatly reduced, although the LS function is still inherently non-conservative. The second remedy couples the LS with a conservative description (*e.g. *VOF) or Lagrangian particles. For example, the hybrid particle level set method [24], the coupled level set volume-of-fluid (CLSVOF) method [25], the mass-conserving level set (MCLS) method [26], or the recent curvature-based mass-redistribution method [27]. With varying level of coupling, these methods can usually preserve mass really well; the drawback is that the complexity and some inaccuracy (due to interpolation, reconstruction, etc) of the other method will be imported. The third approach improves mass conservation by adding a volume-constraint in the LS or NS formulation. Examples of this kind include the interface-preserving LS redistancing algorithm [28] and the mass-preserving NS projection method [29]. Finally, one can also smartly modify the definition of the LS, such as the hyperbolic-tangent level set [30], to reduce the overall mass loss.
With the physical application of colloidal droplets in mind, and using ideas from some of the above-mentioned methods, we heuristically propose an interface-correction level set (ICLS) method. The essential idea of ICLS is to construct a normal velocity supported on the droplet interface and use it in an additional LS advection to compensate for mass loss, in a way similar to inflating a balloon. Because no coupling with VOF or Lagrangian particles is required, the simplicity and high accuracy of the original LS method is preserved, yet the extra computational cost of this procedure is negligible.
Provided a mass-preserving level set method, the coupled flow solver must also accurately compute the surface tension, a singular effect of the normal stress on the interface. This is particularly important for microfluidic systems; as surface tension scales linearly with the dimension, it decays slower than volumetric forces (*e.g. *gravity) when the size of the system reduces. To handle such discontinuities, one approach is the continuum surface force (CSF) [31], originally developed for the VOF method, later extended to the LS [18]. Although easy to implement, CSF effectively introduces an artificial spreading of the interface by regularizing the pressure difference, and it can become erroneous when two interfaces are within its smoothing width. A second, non-smearing approach is the ghost fluid method (GFM). Proposed initially for solving compressible Euler equations [32], GFM provides a finite-difference discretization of the gradient operator even if the stencil includes shocks. It has been proven to converge [33] and was soon applied for treating the pressure jump in multiphase flows [34]. We note that although the GFM can be reformulated in a similar way to the CSF [35, 36], its treatment for discontinuous quantities is sharp in the finite difference limit.
Several implementation options of the GFM were suggested in [34, 35, 37]. Here, we follow the methodology of [37], *i.e. using the GFM for the pressure jump due to surface tension while neglecting the viscous contribution. As will be discussed later, this choice is especially suitable for microfluidic applications where the capillary effect is strong. To efficiently solve for the pressure, we further combine the GFM with a fast pressure-correction method (FastP) [13]. Such a combination enables a direct solve of the pressure Poisson equation using the Gauss elimination in the Fourier space; it is the most efficient when the computational domain is periodic, but it also applies to a range of homogeneous Dirichlet/Neumann boundary conditions via fast sine/cosine transforms [38], see *e.g. *a recent open-source distribution [39]. Using a second-order accurate, grid-converging interface curvature estimation, we will show that the coupled ICLS/NS solver can handle large density/viscosity contrasts and converges between first and second order in both space and time.
Finally, a unique challenge to the simulation of colloidal droplets is the modeling of near-field interactions. It is known that two or more colloids can interact via dispersion, surface, depletion, and hydrodynamic forces [5]. Apart from the hydrodynamic forces which is determined directly from the NS, and the dispersion forces which arise from quantum mechanical effects, the depletion and surface forces must be modelled. These forces can be either attraction or repulsion and are typically calculated from the gradient of a potential. Based on colloidal theory, we propose a novel hydrodynamic model for the depletion force in the framework of the ICLS/NS solver. Our method relies on two extensions: i) extending the single level set (SLS) function to multiple level set (MLS) functions; and ii) extending the GFM for computation of the gradient of depletion potential. MLS has the benefits that each droplet within a colloidal cluster can be treated individually, is allowed to interact with the other droplets, and is guarded from its own mass loss. MLS also prevents numerical coalescence of droplets when they get too close. The computational complexity, proportional to the number of MLS functions () and the number of cells in each dimension (), is higher than SLS. However, we note that many techniques exist to reduce the CPU cost and/or memory consumption if ( 2 or 3) is large. For detailed implementations of such optimized algorithms we refer to [40, 41, 42]. In the present paper, we will demonstrate the self-assembly of colloidal droplets using one droplet per MLS function.
The paper is organized as follows. In Sec. 2, the governing equations for the incompressible, two-phase flow are briefly presented. In Sec. 3, the classical signed-distance LS methodology together with some commonly used numerical schemes is discussed. We then introduce the ICLS method in Sec. 4, starting from the derivation ending with a demonstration. We further provide a geometric estimation of the interface curvature tailored to the GFM in Sec. 5. The complete ICLS/NS solver is outlined in Sec. 6, including a detailed description of the implementation and three examples of validation. In Sec. 7, we propose a MLS/GFM-based method for the modeling of near-field depletion potential. Finally, we summarize the overall methodology in Sec. 8.
2 Governing equations for interfacial two-phase flow
The dynamics of the incompressible flow of two immiscible fluids is governed by the Navier-Stokes equations, written in the non-dimensional form
[TABLE]
[TABLE]
where is the velocity field, is the pressure field, and is a unit vector aligned with gravity or buoyancy. and are the density and dynamic viscosity ratios of fluid ( or ) and the reference fluid. These properties are constant in each phase and subject to a jump across the interface, which we denote as for density and for viscosity. For viscous flows, the velocity and its tangential derivatives are continuous on the interface [43]. However, the pressure is discontinuous due to the surface tension and the viscosity jump, i.e.
[TABLE]
where is the interface curvature, and is the normal to the interface. If the surface tension coefficient, , varies on the interface the tangential stress is also discontinuous. In this paper, we assume constant and uniform . In Eqs. (1b) and (2), Re, We, and Fr are, respectively, the Reynolds, Weber, and Froude numbers, defined as
[TABLE]
where , , , , and denote the reference dimensional velocity, length, density, dynamic viscosity, and gravitational acceleration. Note that and (i.e. we define fluid 1 as the reference fluid).
3 Classical level set methodology
In the level set framework, the interface is defined implicitly as the zero value of a scalar function , i.e. . Mathematically, can be any smooth or non-smooth function; but it is classically shaped as the signed Euclidean distance to the interface [44, 18], viz.
[TABLE]
where denotes the closest point on the interface from nodal point , and is a sign function equal to or depending on which side of the interface it lies. For two-phase problems with single level set, provides a natural “color function” for phase indication. Furthermore, with this definition, geometric properties such as the unit normal vector, , and the local mean curvature, , can be conveniently computed as
[TABLE]
[TABLE]
3.1 Advection
The motion of a fluid interface is governed by the following PDE
[TABLE]
where is the flow velocity field. Despite of its simple form, obtaining an accurate and robust solution to Eq. (7) is challenging. For two-fluid problems, state-of-the-art level set transport schemes include the high-order upstream-central (HOUC) scheme [19], the weighted essentially non-oscillatory (WENO) scheme [43], the semi-Lagrangian scheme [45], or the semi-jet scheme [46]. Quantitative comparisons of these schemes in various test cases can be found in [19, 46]. We note that the choice of the scheme is case-dependent, *i.e. *depending on the smoothness of the overall level set field or the stiffness of Eq. (7). For flows involving moderate deformations, HOUC is usually sufficient and most efficient. For more complex flows, WENO or semi-Lagragian/jet schemes combined with grid refinement might be pursed. In the present study, we use either HOUC5 or WENO5 (5 denotes fifth-order accuracy) to evaluate .
For the temporal discretization of Eq. (7), we use a three-stage total-variation-diminishing (TVD) third-order Runge-Kutta scheme [47]. Denoting , it updates from time level to in three sub-steps
[TABLE]
Finally, we note that Eq. (7) does not need to be solved in the entire computational domain, as only the near-zero values are used to identify the interface and compute its curvature. This motivated the so-called narrow band approach [48, 40], which localizes the level set to the interface using index arrays. Combined with optimal data structures [41, 42], fast computation and low memory footprint may be achieved at the same time. In our implementation, we store all the level set values while only update those in a narrow band, *i.e. *solving with the cut-off function given as
[TABLE]
where as additional distance information is required to model droplet interactions (Sec. 7). This is equivalent to [40] with a simplified .
Zalesak’s disk
The Zalesak’s disk [49], i.e. a slotted disc undergoing solid body rotation, is a standard benchmark to validate level set solvers. The difficulty of this test lies in the transport of the sharp corners and the thin slot, especially in under-resolved cases. The initial shape should not deform under solid body rotation. Hence, by comparing the initial level set field and that after one full rotation one can characterise the degree of accuracy of a numerical solver. Here, the parameters are chosen so that a disk of radius , slot width of is centered at of a box. The constant velocity field is given as
[TABLE]
Three different mesh resolutions have been considered, namely , and . Fig. 2 depicts the shape of the interface after one full rotation of the disk, solving Eq. (7) only. Along with the results of the HOUC5 scheme (red dashed line), the shape of the interface obtained using the WENO5 scheme (green dash-dotted line) is also reported in this figure. Both schemes yield good results on fine grids, but HOUC5 clearly outperforms WENO5 on the coarsest mesh considered here.
3.2 Reinitialization
Although the level set function is initialized to be a signed-distance, it may lose this property as time evolves, causing numerical issues particularly in the evaluation of the normal and the curvature [18]. In order to circumvent these problems, an additional treatment is required to constantly reshape into a distance function, i.e. . This can be done either with a direct, fast marching method (FMM) [17], or by converting it into a time-dependent Hamilton-Jacobi equation [18]
[TABLE]
where is a pseudo-time, and is a mollified sign function of the original level set, usually defined as
[TABLE]
Comparing with FMM, the second approach allows the use of higher order schemes (*e.g. *WENO5) and is easy to parallelize; hence, it has been a much more popular choice. However, as pointed out by Russo and Smereka [20], using regular upwinding schemes for near the interface does not preserve the original location of the zero level set. This can lead to mass loss, especially if the level set is far from a distance function and Eq. (11) needs to be evolved for long time. A simple solution is to introduce a “subcell fix” [20], which pins the interface in the reinitialization by modifying the stencil. Beautifully as it works in redistancing the level set, this method is however only second order accurate and thus not well-suited for evaluating curvature. Its fourth order extension [50] suffers from stability issues and may require a very small pseudo-time step [22]. Based on these observations, in this paper we solve Eq. (11) using the classical WENO5 [43] and the same SSP-RK3 [47]. The reinitialization is not performed at every physical time step, but depends on the advection velocity. In our applications, it typically requires one to two iterations of Eq. (11) per ten to a hundred time steps.
Distorted elliptic field
In order to illustrate the redistancing procedure, a test case similar to the one in [20] is considered. Define the initial level set as
[TABLE]
with a distortion function that leaves only the location of the interface (an ellipse) unchanged. The initial condition is displayed in Fig. 3(a), where the shape of the ellipse is depicted as the thick blue line; the red dashed lines depict iso-contours of ranging from -1 to 1. Clearly, this initial condition is far from being equidistant. However, as is evolved under Eq. (11), it eventually converges towards a signed-distance function as seen in Fig. 3(b) and (c).
4 Interface-correction level set (ICLS) method
It is known that classical level set methods lead to mass loss when applied to multiphase flows, partially because there is no underlying mass conservation in the level set formalism, partially because of the reinitialization procedure. Such mass loss can sometimes be reduced or even removed by using the various approaches listed in Sec. 1, *e.g. *the CLSVOF method [25] or the hybrid particle level set method [24]. However, doing so often makes the level set schemes complicated to implement and less efficient. To maintain the simplicity of the original level set method, we propose an alternative approach to conserve mass by performing small corrections near the interface. Because such corrections are done by directly solving a PDE (same as Eq. (7)), the proposed method is straightforward to implement in both 2D and 3D. Meanwhile, because the correction does not need to be performed at every time step, the additional cost is also negligible. Below, we first present the derivation of the correction-velocity, then we demonstrate the mass conservation with an example.
Let divide a domain into two disjoint subsets (*e.g. *a droplet) and (*e.g. *the ambient fluid), and denote the volume of (Fig. 4). Without loss of generality, we let in , and in . The rate of change of can be written as the integral of a normal velocity defined on [29], i.e.
[TABLE]
where is the outward-pointing normal from the interface . If corresponds to the mass loss over an arbitrary period of time (it does not have to be the time step of the level set advection), then can be thought as a surface velocity that corrects the volume by an amount , hence compensating the mass loss. In other words, if is known, then the following PDE can be solved,
[TABLE]
after which the mass loss accumulated over is removed.
To obtain such a surface correction-velocity , we introduce a speed function , an auxiliary pressure , and express the rate of change of as
[TABLE]
Here, can be imagined as a non-dimensional correction-pressure in . If , the physical interpretation of Eq. (15) is analogous to the inflation of a balloon by under pressure over time . It is more evident rewriting in the form of the impulse-momentum theorem (per unit “mass” of the interface)
[TABLE]
in which the correction-velocity is zero at , and we require a unit speed function. In general, substituting Eq. (16) into Eq. (13) results in
[TABLE]
In order for to be compatible with , has to be differentiated at the interface. Using a 1D regularized Heaviside function of , such as
[TABLE]
with the half smoothing width, the correction-pressure and its gradient in Eq. (17) can be conveniently written as
[TABLE]
and
[TABLE]
where is the derivative of , and is a constant. Note that , we can denote and express the constant pressure algebraically
[TABLE]
by substituting Eq. (20) into (17), and approximating the time integration to first order, i.e. . Finally, Eqs. (15) (20) and (21) can be combined to give
[TABLE]
or
[TABLE]
Once is found, Eq. (14) can be solved for one time step to correct the mass loss. Here, we have required a bounded support for , i.e. for (see Fig. 4). There are two benefits of spreading the surface velocity. First, it allows an easy handling of the interface location, as only depends on a 1D Dirac delta function of the level set. The choice of can also be different from the trigonometric form implied from Eq. (18); however, we prove in A that the discretization error of is always zero, independent of . The important point here is we spread the correction-velocity rather than the interface. The interface remains sharp, as it is implicitly represented by the level set function. The second benefit of spreading is that it greatly reduces the risk of numerical instability. As is supported on a band around the interface, the maximal nodal value of scales with . In our tests, we have never found its non-dimensional value to exceed 1. Therefore, the CFL conditions imposed by Eq. (14) is satisfied as long as we use the same temporal scheme (*e.g. *RK3) for solving Eq. (7) and Eq. (14). Lastly, we remind the reader that our correction-velocity differs conceptually from the extension-velocity proposed for solving Stefan problems [51, 52]. The extension-velocity by design will keep the level set a distance function; while the design principle here is to preserve the global mass. This distinction is clear comparing the construction procedures of the two velocities.
A final question is the choice of the speed function , acting as a pre-factor for in Eq. (22) or (23). To the best of the authors knowledge, there is no simple, universally-valid criteria for such corrections. Two possible ways are
[TABLE]
The uniform speed will obviously result in a fixed strength for the velocity distribution. In the case of a static spherical droplet, this is the ideal choice for , since the droplet should remain a sphere. In more general cases, when a fluid interface is subject to deformations or topological changes, a curvature-dependent speed may be more appropriate. This is based on the assumption that local structures of higher curvature or regions where the flow characteristics merge tend to be under-resolved [24]; hence, they are more prone to mass losses. Indeed, a linear curvature weight has been adopted by many and demonstrated to produce accurate results in different contexts [27, 53]. Furthermore, reduces to when the curvature is uniform. Therefore, we can rewrite Eq. (23) using a curvature-dependent speed
[TABLE]
Clearly, this correction-velocity is larger in highly curved parts, and smaller in flatter parts. It thus includes “local” information while maintaining “global” mass conservation. Standard central-difference discretization applies, where the components of can be obtained at either the cell faces or cell centers. The computation of is crucial and will be presented in the next section. We stress that such a curvature-dependence is not unique. In principle, one can choose different weight-functions, and validate the choice based on the specific applications. Practically, the difference is expected to be negligible since the mass loss remains small (typically around ) at each correction step.
After correcting the level set on a band around the interface, a reinitialization step is required to redistance the values within the entire narrow band (). The two procedures can be readily combined, since it is not necessary to perform mass correction at every time step. Also, because the formalism is cast in a level set frame, generalization from 2D to 3D is trivial. Comparing with other mass-preserving methods, the additional computational cost of ICLS is small. This is due to the simple algebraic expression of (Eq. (25)), and only one solve of Eq. (14) is required; whereas a typical VOF-coupling method involves solving another set of transport equations [25], or reconstructing the interface by an iterative procedure [27].
In summary, the ICLS method proceeds by performing the following steps:
Advect from time to with Eq. (7), using the flow velocity . 2. 2.
If reinitialization will be executed (otherwise, go to step 3):
- (a)
Perform mass correction with Eq. (14), using from Eq. (25). 2. (b)
Reinitialize with Eq. (11). 3. 3.
Exit the level set solver.
Deforming circle
To assess the performance of ICLS on mass conservation, we test the standard benchmark of a circle deformed by a single vortex. Here, the circle of radius is initially centered at of a box. The velocity is imposed directly and can be obtained from the stream function
[TABLE]
where is traditionally set to 8. Under this flow, the circle will be stretched to maximum at and rewound to its initial condition at . Although formulated simply, accurately transporting the interface without mass loss is a difficult task.
We perform this test on three different meshes using the complete level set solver: HOUC5 is used for the level set advection, WENO5 is used for reinitialization every 5 to 20 time steps, the mass correction is performed every 5 to 10 time steps; and the time step is chosen such that . Fig. 5 shows the shapes of the filament/circle at and at various resolutions. From the upper panel, it is clearly seen that the filament has a longer tail and head due to mass correction; as we increase the resolution, the difference becomes smaller. The lower panel of Fig. 5 depicts the final shapes, ideally the initial circle if the motion is totally passive. Some artifacts are visible due to the fact that the filament is always under-resolved at the maximum stretching and the level set will automatically merge the characteristics to yield an entropy solution [17]. We note that the final outcome can be tuned by modifying the frequency of the reinitialization/mass correction, a trade-off between the appearance and the mass loss. However, the objective here is to demonstrate the mass conservation enforced by ICLS, which is clearly illustrated in Fig. 6. For passive transport involving large deformations, we recommend particle-based methods [24]. Examples of droplets/bubbles in physical conditions using ICLS will be shown in the validations (Sec. 6.5) and applications (Sec. 7) below.
5 Curvature computation
Curvature computation is crucial to interfacial flows in the presence of surface tension, as inaccurate curvature can result in unphysical spurious currents [23, 37], and even more so in our case when we apply curvature-dependent interface corrections. In this section, we first briefly describe the calculation of cell-center curvatures; i.e., the curvature evaluated at the same nodal position as the level set function. Then, we introduce a geometric approach for the estimation of interface curvatures corresponding to the zero level set. The second step is specially tailored to the ghost fluid method that will be presented in Sec. 6.2.
5.1 Cell-center curvature
From Eq. (6), the curvature can be evaluated as
[TABLE]
and as
[TABLE]
in 2D and 3D Cartesian coordinates, respectively, where the subscript denotes the mean curvature [17]. The curvature can be determined from these expressions using simple central finite-differences. It has to be noted, however, that such evaluation of involves second derivatives of the level set field . As a consequence, if the calculation of is only second-order accurate, the resulting will be of order zero. To nonetheless retain a grid converging , one can use the compact least-squares scheme proposed by Marchandise et al [54]. Their approach provides a second-order, grid converging evaluation of the cell-center curvature. It moreover smears out undesired high frequency oscillations possibly introduced by the velocity field. A similar procedure has also been adopted in other works [37, 27].
The principle of the least squares approach is to solve an over-determined linear system, , where is a matrix built from the local coordinates, is a unknown array containing the reconstructed level set values and its spatial derivatives, and is the original level set field. The detailed descriptions can be found in [54]. Here, we only note that the level set function remains unmodified after this step. From a practical point of view, provided the mesh considered is uniform in all directions, the pseudo-inverse of the matrix only needs to be evaluated once and applied close to the interface. Therefore, the computational cost of this least-squares calculation is negligible.
5.2 Interface curvature
The least-squares approach described in the previous section only allows one to compute the nodal curvature of the level set field . For computations using the GFM (Sec. 6.2), one might however require an accurate evaluation of the curvature at the exact location of the interface. Provided a grid-converging cell-center curvature, the actual curvature at the interface can be interpolated from its neighboring cells weighted by the level set [55, 56]. Here we present a slightly different but robust algorithm to estimate the interface curvature, with a straight-forward geometrical interpretation.
2D estimation
Suppose the interface cuts through two adjacent cells, and , where the cell-center curvatures and are known. In 2D, we can determine the radius of curvature at each cell directly from
[TABLE]
as illustrated in Fig. 7. Since the level set is defined as the signed distance to the interface, must be tangent to a circle of radius centered at , and parallel to the contour line of (otherwise they will not remain equidistant). We also know lies between and , then it must pass through (see Fig. 7). Since and are parallel and there is only one line normal to both curves passing through P, and must originate from the same point, . Then we get
[TABLE]
where is a sign function equal to if the interface wrapping the negative level set is convex, and equal to if concave.
The same argument holds for cell , which yields . We can therefore write the radius of the interface curvature between and as
[TABLE]
so that the interface curvature becomes
[TABLE]
The above derivation provides a relation between the interface curvature and that at the adjacent cell-centers in the direction. Similar results can be obtained in the direction (*e.g. *between and ). The assumptions we have made here are 1) the cell-center curvatures are accurate and 2) the interface curvatures at and are the same, so that and are co-centered (or, ). The second assumption is essentially a sub-cell approximation, and we expect it to be valid as long as the interface is well-resolved. One exception we have found is when two interfaces are closer than about , the local level set field will develop “corners”. In that case, the cell-center curvatures are erroneous and the underlying assumptions we require here are not fulfilled. We do not discuss that case in the present paper. However, we demonstrate in the next section that a second-order convergence is achieved when the interface is resolved.
3D estimation
In three dimensions, the mean curvature of a surface can be written as
[TABLE]
where and are the two principal radii corresponding to the maximal and minimal planar radius of curvature. Note that we do not need to approximate the interface as a sphere since there is always a plane where the previous picture (Fig. 7) holds. Under the same assumption as for the 2D case, that the interface at and have the same principal radii (hence the same curvature), one can again relate the nodal curvatures to their nearby interface as
[TABLE]
where is the same sign function defined for the 2D case. Comparing equations (32) and (33), it is natural to expand Eq. (33) into a Taylor series and to approximate the interface curvature directly as
[TABLE]
where
[TABLE]
Since the level set must change sign across the interface, Eq. (34) is always defined and it reduces to the exact value if the cell center happens to be on the interface. Similarly, the whole procedure is repeated in the and directions.
Finally, in order to ensure a robust estimation, we perform an additional quadratic least squares approximation on the curvature field near the interface, similar to [54]. This procedure takes place before the 3D estimation (Eq. (34)), and essentially improves the accuracy of cell-center curvatures by removing possible high-frequency noise. We note that the second averaging is optional, and different methods can be found in literature to evaluate the cell-center curvatures [50]. In the present paper, the least squares approach mentioned in Sec. 5.1 is used for all the cases.
To assess the accuracy of our interface curvature estimation, we calculate the norm of a circle/sphere of radius centered in a unit square/cube. Table 1 summarizes the error after one step of the calculations on different resolutions, which are also plotted in Fig. 8. Clearly, second-order convergence is achieved in both 2D and 3D cases.
6 Solution of the Navier-Stokes equations
In this section, we outline the flow solver developed from that of Breugem [57] for particle-laden flows. After advancing the level set from to , the density and viscosity fields are updated by
[TABLE]
where
[TABLE]
is a simple step function.
Next, a prediction velocity is computed by defining as
[TABLE]
which is the right-hand side of the momentum equation (1b) excluding the pressure gradient term. Integrating in time with the second-order Adams-Bashforth scheme (AB2) yields
[TABLE]
To enforce a divergence-free velocity field (Eq. (1a)), we proceed by solving the Poisson equation for the pressure as in the standard projection method [58], i.e.
[TABLE]
The surface tension between two fluids is also computed during this step, using the ghost fluid method [32] (Sec. 6.2). This allows for an accurate and sharp evaluation of the pressure jump even at large density contrasts [37]. Finally, the velocity at the next time level is updated as
[TABLE]
6.1 Fast pressure-correction method
In the above outline, a Poisson equation for the pressure (Eq. (40)) must be solved at each time step. This operation takes most of the computational time in the projection method, as it is usually solved iteratively. In addition, the operation count of iterative methods depends on the problem parameters (*e.g. *density ratio) and the convergence tolerance [13]. On the other hand, Dong and Shen [59] recently developed a velocity-correction method that transforms the variable-coefficient Poisson equation into a constant-coefficient one. The essential idea is to split the pressure gradient term in Eq. (40) in two parts, one with constant coefficients, the other with variable coefficients, i.e.
[TABLE]
where and is the approximate pressure at time level . This splitting reduces to the exact form of Eq. (40) within the lower-density phase, while its validity in the higher-density phase and at the interface depends on the choice of . Later, Dodd and Ferrante [13] showed that by explicitly estimating from two previous time levels as
[TABLE]
the resulting velocity field in Eq. (41) will be second-order accurate in both space and time, independent of the interface advection method. Furthermore, if the computational domain includes periodic boundaries or can be represented by certain combination of homogeneous Dirichlet/Neumann conditions [38], the constant-coefficient part of Eq. (42) can be solved directly using Gauss elimination in the Fourier space. Such a FFT-based solver can lead to a speed-up of times, thus the name fast pressure-correction method (FastP*). Following this approach, Eqs. (40) and (41) are modified as
[TABLE]
and
[TABLE]
6.2 Ghost fluid method
As discussed before, surface tension is commonly computed using the continuum surface force (CSF) model [31], in which the pressure jump across an interface is represented as a forcing term on the right-hand side of Eq. (1b). Despite its simplicity, CSF introduces an unfavorable smearing in the density and pressure profiles, resulting in an artificial spreading of the interface (typically over a thickness of ). An alternative approach is the so-called ghost fluid method (GFM), originally developed by Fedkiw et al [32] to capture the boundary conditions in the inviscid compressible Euler equations. Unlike CSF, GFM enables a numerical discretization of the gradient operator while preserving the discontinuity of the differentiated quantity. It was extended to viscous flows by Kang et al [34] and has been successfully utilized in multiphase flow simulations, see e.g. [37, 60, 61].
Recall from Eq. (2) that the pressure jump has two components, one arising from the surface tension, the other from the viscosity difference of the two fluids. In [34], a complete algorithm is provided to compute the two contributions, making the density, viscosity, and pressure all sharp. However, having a sharp viscosity profile requires an extra step to evaluate the divergence of the deformation tensor (see Eq. (38)). That is, for cells adjacent to the interface, the second derivatives of the velocity must be evaluated using the techniques developed in [62, 34]. However, rewriting Eq. (2) as
[TABLE]
reveals that surface tension is the dominant term when the Capillary number, , is small. For the applications we are interested in, *e.g. *colloidal droplets in microfluidic channels, is of the order of . Therefore, in the present implementation, we regularize the viscosity profile (*i.e. *replacing in Eq. (36b) with in Eq. (18)) and use GFM only for the pressure jump.
6.2.1 Spatial discretization
Eqs. (38), (44), and (45) are discretized on a standard staggered grid using a second-order conservative finite volume method. It is equivalent to central differences in all three directions if the mesh is uniform. A detailed description of the discretization of the individual terms can be found in [13], Sec. 2.2.1. For brevity, we show here only the 2D evaluations of and due to GFM.
As sketched in Fig. 9, computing at node requires three entries of in each direction. If CSF is used, all gradient terms can be evaluated with the straightforward central-difference, i.e.
[TABLE]
However, the pressure at the cells adjacent to the interface will have to be smeared out; hence we denote them with . In order for the pressure to be sharp, GFM creates an artificial fluid (the “ghost” fluid) and assumes that the discontinuity can be extended beyond the physical interface. That is, if we know the corresponding jumps of pressure, then its derivatives can be evaluated without smearing by removing such jumps. For the particular case depicted in Fig. 9, Eq. (47) can be re-written as (see [62] for the intermediate steps)
[TABLE]
where we recall denotes the discontinuity from fluid 1 to fluid 2 at cell (same for , etc).
To determine the jump terms in Eq. (48), we first note that the velocity and its material derivatives across the interface of viscous flows are continuous [34, 37], resulting in
[TABLE]
Furthermore, owing to the splitting that allows us to solve only for a constant-coefficient Poisson equation (Eq. (44)), Eqs. (42) and (49) lead to
[TABLE]
which also implies that the pressure gradient terms are continuous everywhere (*e.g. *the subscript can be ), along any direction.
Denoting the right-hand side of Eq. (44) as , it is discretized as
[TABLE]
again using GFM [62]. Comparing Eqs. (48) and (51), we note that the jump of the first derivatives cancels out recognizing Eq. (50). With a modified right-hand side, , defined as
[TABLE]
the discrete form of Eq. (44) reduces to
[TABLE]
Eq. (53) is still not ready to solve, since the pressure jumps for the first point away from the interface (e.g. ) are not known. Following [37], we perform a Taylor series expansion around ,
[TABLE]
where , and is estimated from Eq. (31) in 2D and from Eq. (34) in 3D, along the direction using and . The jump of the pressure gradient at the interface can be similarly expanded at
[TABLE]
resulting in
[TABLE]
Using Eq. (50), we can re-write Eq. (56) as
[TABLE]
where the jump term on the right-hand side can be explicitly calculated using the family of identities of the form [34]
[TABLE]
Although Eqs. (57) and (58) lead to a second-order pressure jump, it is much simpler to keep only the leading-order term, i.e.
[TABLE]
This way, the pressure jump varies only with the local curvature, remains invariant across the interface, and is second-order accurate when the density is uniform. For the test cases shown below, Eq. (59) is used. Thus, the complete discretization of Eq. (44) reads
[TABLE]
with defined in Eq. (52) corresponding to Fig. 9.
Clearly, the resulting linear system (Eq. (60)) has a standard positive definite, symmetric coefficient matrix, and it can be solved directly using the FFT-based fast Poisson solver (Sec. 6.1). Care should be exercised when a nodal point crosses the interface in more than one direction. In those cases, the interface curvature of each crossing direction may be different and it shall not be averaged. Otherwise, the projection (Eq. (44)) and correction (Eq. (45)) steps can become inconsistent, making the velocity not divergence-free. Additionally, when taking the gradient of the pressure-correction term; *e.g. *its derivative along the direction, the correct discretization should be
[TABLE]
After removing the jump, the divergence of the bracket term in Eq. (44) is evaluated in the same way as in [13].
Finally, we can re-write Eqs. (44) and (45) compactly as
[TABLE]
[TABLE]
where and denote, respectively, the gradient operator considering the jump and the extra jump terms from the laplacian operator due to GFM.
6.3 Time integration
In the current work, a second-order accurate Adams-Bashforth scheme is used for the time integration. The time step is restricted by convection, diffusion, surface tension, and gravity, due to our explicit treatment of these terms. As suggested in [34], the overall time step restriction is
[TABLE]
where , , , and are the “speeds” due to convection, viscosity, gravity, and surface tension, respectively. Specifically, they are given as
[TABLE]
[TABLE]
[TABLE]
[TABLE]
where in (68) can be approximated by in 2D and in 3D, assuming is the smallest grid spacing.
The reasons we choose an explicit temporal scheme rather than an implicit one are twofold. First, for applications involving a large density and viscosity contrast, the stability restriction imposed by surface tension is usually greater than that imposed by diffusion. Second, an implicit formulation of GFM has been admitted to be challenging to develop [37], and it was shown in a recent study [63] that a capillary time-step constraint exists, irrespective of the type of implementation, due to the temporal sampling of surface capillary waves. Fortunately, the fast pressure-correction method enables the use of FFT for the constant-coefficient Poisson equation and hence an accurate and fast solution of the two-fluid Navier-Stokes equation can be obtained.
6.4 Full solution procedure
We summarize the full solution procedure as follows:
Advance the interface explicitly from to using the ICLS, and update the density and the viscosity . 2. 2.
Advance the velocity field explicitly from to with Eqs. (38) and (39). 3. 3.
Project the velocity field by solving the constant-coefficient Poisson Eq. (62) making use of the FastP* and the GFM. 4. 4.
Update the velocity from to explicitly with Eq. (63), again using the FastP* and the GFM.
6.5 Validations
In this section, we validate the coupled ICLS/NS solver using three benchmark examples with increasing complexities. Specifically, the first example verifies the discrete momentum balance for fluids of the same density and viscosity. This concerns the surface tension computed by the GFM using interface curvatures. Then, the density and viscosity ratios are significantly increased (up to ) to test the combined FastP* and GFM. Using the same test, we also provide a convergence check of the complete flow solver. Finally, the overall accuracy is assessed by simulating a 3D bubble in comparison with experiments.
6.5.1 Spurious currents
A common problem in multiphase-flow simulations is the artificial velocity generated at the fluid interface due to errors in the curvature computation. To access the significance of such spurious currents, we test a stationary droplet of diameter placed at the center of a unit box. The surface tension between the inner and outer fluid is , the viscosity is uniformly , and the density ratio is 1. By changing the density of both fluids, the Laplace number can be varied. The spurious currents are thus determined from the resulting capillary number at a non-dimensional time . Here, we compare the results on a mesh with the GFM implementation by Desjardins et al [37]. As listed in Table LABEL:tab:_spurious, the capillary numbers from both tests remain very small for all the Laplace numbers, with the present results being one-order smaller.
We also note that the spurious currents reported in Table LABEL:tab:_spurious are obtained by performing the level set reinitialization at about every 100 time steps. However, if we turn off the reinitialization, such spurious velocity will eventually go to machine zero, as shown in Fig. 10, where time is non-dimensionalized with the viscous time scale, . The nearly exponential decay of and the collapsing of the three curves are the result of the viscous damping of the spurious velocity, as the shape of droplet relaxes to its numerical equilibrium. Similar results are obtained and explained in greater detail in [64] using a balanced-force continuum-surface-force surface-tension formulation and the VOF. The result in Fig. 10 therefore validates the computation of the surface tension with the GFM.
6.5.2 Capillary wave
To verify the solver at large density and (dynamic) viscosity contrasts, we simulate a small-amplitude capillary wave for which there exists an analytical solution derived by Prosperetti [65]. Specifically, an initially sinusoidal interface is imposed between two immiscible, viscous fluids of infinite depth and lateral extent. When the lower fluid is heavier, the balance between inertia, viscosity, and surface tension results in a decaying free-surface wave. By requiring matching kinematic viscosity ( for upper, for lower), the solution of the wave amplitude in terms of Laplace transforms can be inverted analytically and compared with the simulation results.
We set up our simulation in the same way as suggested in [13]. Here, two fluids of equal depth are placed in a ( grid points) domain, where the streamwise direction () is periodic and the vertical direction () wall-bounded. The interface has an initial wavelength of and an amplitude of . With varying density ratios , the non-dimensional parameters for the test are
[TABLE]
The CFL number is for and , and it is reduced to for and for .
Fig. 11 shows the temporal evolution of the wave amplitude up to . The excellent agreement with Prosperetti’s analytical solution [65] confirms the normal stress balance computed using the GFM. And accurate results at very large density contrasts are realized by combining the FastP* with GFM. Note that the dynamic viscosity ratio also varies from to . However, neglecting its contribution to the pressure jump by regularizing the viscosity profile yields accurate results since the Capillary number is small (), as discussed in conjunction with Eq. (46).
6.5.3 Convergence
We continue to check the temporal and spatial convergence rates of the coupled ICLS/NS solver. Here, the same test problem as in Sec. 6.5.2 is used, with the non-dimensional parameters given as
[TABLE]
again following [13]. Placing the fluids in a box, the flow is simulated under different time steps or on different meshes so that the errors can be computed between successive solutions.
Table 3 shows the convergence rates for the velocity component and the pressure in the norm. Here, the temporal convergence is evaluated at on a grid, by increasing the time step from to and . Two iterations of reinitialization are performed every time steps. The observed convergence rates for both velocity and pressure is between first and second order. Considering that we use RK3 for LS and AB2 for NS, the reduced convergence is probably due to the reinitialization that perturbs the interface. Changing the frequency of the reinitialization, we indeed observe different convergence rates (they can also exceed second order if the density ratio is 1, not shown). Next, the spatial convergence is obtained by successively refining the grid from to to . Using the same time step and interpolating the solution to the coarse grid after one solve, the results display nearly second order convergence for the velocity and a super-convergence for the pressure. We note that the GFM has been proven convergent (but without a rate) for variable-coefficient Poisson equations [33]. Our results thus show improved accuracy in two fluid problems, when a constant-coefficient Poisson equation is obtained by combining the GFM with the FastP*.
6.5.4 Rising bubble
Finally, we compute four cases of a rising bubble to access the overall accuracy of the current ICLS/NS solver in 3D in the presence of moderate deformations. Originally documented by Grace [66], it was observed that a single gas bubble rising in quiescent liquid has four characteristic shapes: spherical, ellipsoidal, skirted, or dimpled. The governing non-dimensional numbers are the Morton number , Eotvos number (sometimes referred to as the Bond number), and the terminal Reynolds number , defined as
[TABLE]
where is the bubble diameter, is the density difference, is the terminal velocity of the bubble, and the subscripts and denote, in order, the liquid and gas phase. The Morton and Eotvos number are defined purely by the material properties of the chosen fluids, while the terminal Reynolds number provides a measure of the steady-state bubble velocity.
Table LABEL:tab:_bubble lists the four representative cases we select for the simulations. A spherical bubble of diameter is centered in a domain of size . A grid of points is used, giving the bubble an initial resolution of 32 points per diameter. Periodic boundary conditions are imposed in the (spanwise) and (rising) directions whereas no friction, no penetration is enforced in the direction. As suggested by Annaland et al [67], a ratio of 100 between the density and viscosity of liquid and gas is sufficiently high to approximate such gas-liquid systems, leading to . and in Eq. (3) can thus be obtained from and as
[TABLE]
The CFL number, , is for cases (a), (b), and (d), and for case (c). The simulation is integrated in time up to to ensure the bubble reaches nearly steady state.
The results of the bubble terminal velocities are presented in Table LABEL:tab:_bubble. The difference between the computed Reynolds, , and the terminal Reynolds, , measured by Grace [66] remains small for all four cases. The bubble mass is conserved, with a maximal mass loss of about found in the skirted case, where the bubble undergoes a large and rapid deformation. The corresponding bubble shapes are illustrated in Fig. 12, which clearly displays spherical, ellipsoidal, skirted, and dimpled shapes. We can therefore conclude that the dynamics of a single rising bubble is well-captured.
7 Droplet interactions
A unique feature of colloidal suspensions is the interaction between neighboring droplets, displaying fascinating behaviors such as self-assembly, self-replication, etc. The reason for such interactions is rather complex; it often arises from a combination of fluid mechanical effects and physicochemical properties of the substance. To study the droplet interactions in the present ICLS/NS framework, we provide in this section a hydrodynamic model for the depletion forces. The method is a natural extension of the LS and GFM, and we demonstrate the clustering of droplets in various structures from a dumbbell to a face-centered cubic crystal.
7.1 Extension to multiple level set
The level set method discussed so far involves one marker function; we call it single level set (SLS) method. Thanks to its Eulerian nature, SLS can describe many droplets at the same time, provided that they do not need to be distinguished from each other. On the other hand, SLS can also be extended to multiple level set (MLS), so that each droplet has its own color function. This has several benefits including distinction and tracking of each droplet, independent curvature computation, and ability to prevent numerical coalescence, etc. Furthermore, with the narrow band approach [48, 40] and the various other techniques introduced in Sec. 1 [41, 42], the additional computational and memory cost as the number of the level set functions increases is limited.
The extension from SLS to MLS is straightforward. Assuming no droplets will overlap, each level set function is simply advected successively. When two droplets get close (typically within two grid cells, see Fig. 13), the pressure jump across each interface needs to be considered and superimposed. That is, Eq. (48) (corresponding to Fig. 9) should be modified as
[TABLE]
Similarly, all the jumps should be removed consistently when computing the pressure gradient in the subsequent step. The above modification applies to both SLS and MLS, as the compact formulas (Eqs. (62) and (63)) remain the same; although MLS is clearly more accurate in resolving the near field structure.
7.2 Near-field interactions
As introduced earlier, colloidal droplets transported in microfluidic devices are subject to various forces, a typical of which is the depletion force. The depletion force arises from the exclusion of the surfactant micelles in the colloidal suspension. It is often characterized as a near-field attracting potential [68, 5], and plays a key role in the droplet dynamics [7, 69]. Below, we first provide a brief background on the colloidal theory of the depletion potential, then present a numerical model to enforce the depletion force using MLS and GFM.
7.2.1 The colloidal theory of the depletion potential
The original depletion potential model proposed by Asakura and Oosawa [68] assumes the surfactant micelles as non-interacting hard-spheres. As sketched in Fig. 14, a suspension of such small spheres around the large colloidal droplets creates an osmotic pressure on the droplet surface. When the distance between two droplets is less than the diameter of the surfactant micelles, there will be a pressure defect due to the exclusion of the micelles, thus creating an attracting force. Integrating this force with respect to the inter-droplet distance leads to a potential energy
[TABLE]
where is the excluded volume and is the osmotic pressure. For spherical droplets, can be calculated analytically
[TABLE]
where and are, respectively, the radii of the big and small spheres. The osmotic pressure is given as
[TABLE]
where is the number density of the small spheres, is the Boltzmann constant, and is the temperature. The negative sign in Eq. (74) corresponds to the tendency of the system to reduce its potential energy as the overlap increases. This is equivalent to increasing the total entropy of the small spheres [70], and it provides a physical description of the depletion force even when the droplets are deformable, or when cannot be expressed by the van’t Hoff’s formula (Eq. (76)) [68].
7.2.2 A hydrodynamic model for the depletion force
Based on the above theory, the depletion force acting on a droplet is simply the derivative of the depletion potential, i.e. . However, is not always straightforward to evaluate for non-spherical droplets; and unlike rigid-body dynamics, cannot be applied directly to the motion of a liquid drop. In order to induce locally an aggregation, we take a closer look at the overlap region. As illustrated in Fig. 14, when the surface distance between two colloidal droplets is less than , there is a small area in which the osmotic pressure is subject to a jump. Assuming the concentration of the surfactant micelles changes abruptly, it resembles the jump of the Laplace pressure; however, it will not generate any flow if the pressure is uniform in the depleted region. On the contrary, if the osmotic pressure varies continuously within the overlap, i.e. , then we can write it as a Taylor-series expansion from
[TABLE]
where the distance to the droplet surface is normalized by the surfactant micelle radius. An expansion of the osmotic pressure with the distance corresponds to a gradient of the micelle concentration near the gap. And if the micelle is much smaller than the droplet, as it is in many microfluidic devices [7], the gradient will be very sharp. Conversely, when the distance to the surface varies slowly, such as in the gap of a droplet and a flat wall, a uniform pressure will be recovered. Furthermore, a favorable pressure gradient from the overlap center will generate an outflow, pulling the droplets towards each other. Hence, Eq. (77) provides a hydrodynamic model for the depletion force.
In Eq. (77), the gradient of the osmotic pressure is not known a priori. It can be obtained by equating the depletion force acting on one droplet, i.e.
[TABLE]
where is the effective area of the overlap . Assuming a constant , the above yields a linear dependence of the osmotic pressure on . Note that this is not the same as varying linearly with the distance to the overlap center (see Fig. 14). A description of the implementation and verification will be shown in the next section.
7.2.3 A MLS/GFM-based method for computing the depletion force
Provided a hydrodynamic model for the depletion force between two droplets, we can easily generalize it to multiple droplets using the MLS. Thanks to the distance information embedded in the level set functions, it is straightforward to identify the overlap region of arbitrary geometries. Furthermore, as the jump of the osmotic pressure occurs only across the overlap shell, we can define
[TABLE]
similar to the Laplace pressure jump implemented by the GFM. Based on these observations, we propose a numerical method to compute the depletion force as laid out in Algorithm 1.
The overall idea of Algorithm 1 is to enforce the depletion attraction in the projection step through the use of MLS and GFM. Specifically, we first locate the overlap region of a pair of droplets with its own level set function, and define as the average of the two distances. Then, Eq. (78) can be integrated numerically to obtain , which together with Eqs. (77) and (79) gives . This variable pressure jump manifests itself as a modification term on the right-hand side of Eq. (62), allowing us to use GFM to impose it across a sharp overlap shell. The resulting flow is divergence-free provided that all the jump terms are removed consistently in the correction step. Therefore, Eqs. (62) and (63) are re-formulated as 111Eqs. (63) and (81) are identical in form; however, has to be removed when evaluating and in Eq. (81), as it is done in Eq. (61)
[TABLE]
and
[TABLE]
Approaching drops
We verify the depletion force model and its numerical implementation by simulating 2 to 14 approaching droplets in a quiescent fluid environment. Specifically, we set the droplet radius , the computational domain , and the resolution . The radius of the surfactant micelle is set to be , corresponding to . The viscosity and density ratios of the droplet to the ambient fluid are both 1. The non-dimensional parameters are and , leading to a reference Laplace pressure jump and neglected gravity. The uniform osmotic pressure is either or .
The temporal evolutions of the minimal surface distances in the case of two and three droplets are shown in Fig. 15. Here, time is scaled by a factor . The droplets, originally separated by a distance of , get closer to the limit of the grid spacing at . For the present study, we let the droplets aggregate without applying any repulsion models, except that the magnitude of the osmotic pressure is reduced when . The smooth approaching in all cases and the collapse of the distance curve clearly evidence an attracting depletion force. To assess the robustness of the method, we further tested clustering of droplets into shapes from a 2D diamond to a face-centered cubic (FCC) composed of 14 drops, illustrated here in Fig. 16. FCC represents the unit structure of one of the most compact sphere packings. Therefore, we can conclude that the hydrodynamic model implemented by the MLS/GFM-based method is accurate and robust in computing the depletion forces.
8 Conclusion
A numerical method mainly intended for the hydrodynamic simulations of colloidal droplets in microfluidic devices has been developed and validated. The code is based on an efficient and sharp solver of the incompressible, two-fluid Navier-Stokes equations, and uses a mass-conserving level set method to capture the fluid interface. This combination provides a general framework for any multiphase flow problems (see *e.g. *our recent study on jet instabilities [71]), and allows us to develop specific methods for the simulations of droplets in saturated surfactant suspensions with depletion forces as in the recent experiment in [7]. Particularly, we have developed or extended four numerical techniques to improve the general accuracy:
A mass-conserving, interface-correction level set method (ICLS) is proposed. As a standalone level set module, it is efficient, accurate, guarantees global mass conservation, and is simple to implement. It also enables corrections that can depend on the local curvature or any other parameter of interest. 2. 2.
A geometric estimation of the interface curvature based on nodal curvatures is introduced. As an important ingredient both for the mass correction (ICLS) and the surface tension computation, we show that the calculation converges in second-order both in 2D and 3D, and can lead to machine-zero spurious currents for a stationary 2D droplet. 3. 3.
The ghost fluid method (GFM) for the computation of surface tension is combined with the FastP* method [13]. This enables the use of FFT-based solvers for a direct pressure solve, and can accurately account for surface tension at large density ratios. 4. 4.
A ghost fluid/multiple level set (GFM/MLS-based) method is also proposed to compute the interaction force caused by depletion potentials between multiple droplets or between droplets and a nearby wall. The approach can possibly be extended to account for surfactant diffusion at the interface and in the liquid.
The last technique applies specifically to the simulation of colloidal droplets in microfluidic devices. This will enable us to further explore the effects of the near-field interactions as those observed experimentally in [7], and potentially improve the design of microfluidic devices. In addition, the combination of the GFM for sharp interfaces and the FastP* method [13] can be exploited for the simulations of droplet in turbulent flows as in [72], adding an accurate representation of evaporation thanks to the ICLS approach proposed here.
Acknowledgments
The work is supported by the Microflusa project. This effort receives funding from the European Union Horizon 2020 research and innovation programme under Grant Agreement No. 664823. O.T. acknowledges support from Swedish Research Council (VR) through the Grant Nr. 2013-5789. L.B. and J.-C.L. also acknowledge financial support by the European Research Council grant, no. ERC-2013-CoG-616186, TRITOS. The computer time was provided by SNIC (Swedish National Infrastructure for Computing). Last but not least, Z.G. thanks Mehdi Niazi, Michael Dodd, Walter Fornari, Dr. Olivier Desjardins, Dr. Sébastien Tanguy, Dr. Marcus Herrmann, and Dr. David Salac for interesting and helpful discussions.
Appendix A Discretization error of
Similar to [73], we define the discretization error
[TABLE]
where is a Dirac delta function of variable strength supported on the surface , and . Following the derivations in Sec. 4, the extension of to is provided by Eq. (22), allowing one to write
[TABLE]
Here, is a one dimensional regularized delta function depending on the level set , and the expression is simplified noting that (it does not have to be a distance function). By definition, , discretely reducing Eq. (83) to
[TABLE]
Comparing with Eq. (13), it is obvious that . That is, the discretization error of used in the mass correction is identically zero, independent of the choice of the regularized delta function.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Y. Xia, B. Gates, Y. Yin, and Y. Lu. Monodispersed colloidal spheres: old materials with new applications. Adv. Mater. , 12:693–713, 2000.
- 2[2] O.D. Velev and S. Gupta. Materials fabricated by micro- and nanoparticle assembly - the challenging path from science to engineering. Adv. Mater. , 21:1897–1905, 2009.
- 3[3] F. Li, D.P. Josephson, and A. Stein. Colloidal assembly: the road from particles to colloidal molecules and crystals. Angew. Chem. Int. Ed. , 50:360–388, 2011.
- 4[4] S. Sacanna and D.J. Pine. Shape-anisotropic colloids: building blocks for complex assemblies. Curr. Opin. Colloid Interface Sci. , 16:96–105, 2011.
- 5[5] J. Mewis and N.J. Wagner. Colloidal suspension rheology . Cambridge University Press, New York, USA, 2012.
- 6[6] Gi-Ra Yi, D.J. Pine, and S. Sacanna. Recent progress on patchy colloids and their self-assembly. J. Phys.: Condens. Matter , 25:193101, 2013.
- 7[7] B. Shen, J. Ricourvier, F. Malloggi, and P. Tabeling. Designing colloidal molecules with microfluidics. Adv. Sci. , 1600012:1–7, 2016.
- 8[8] C. Pozrikidis. Boundary integral and singularity methods for linearized viscous flow . Cambridge University Press, New York, USA, 1992.
