1 Introduction

Mixing in microscale is limited to the diffusion of fluids, and this makes it difficult to achieve fast and effective mixing in continuous flow microfluidics. Utilizing sinusoidal or meandering microchannel geometry to mix multiple substances is one of the most common techniques in microreactors (Dogana et al. 2009; Fries et al. 2008; Wu and Tsai 2013). Another method to improve mixing in continuous flow is chaotic mixing. In a steady chaotic flow, fluid form changes exponentially as it moves in the axial direction, which increases the mixing effect (Stroock 2002; Song et al. 2003). On the other hand, droplet-based microfluidic systems have several advantages over continuous flow systems due to the circulating flow profile inside the droplets as opposed to parabolic flow profile, which increases the diffusion and therefore the speed of mixing (Song et al. 2003; Huebner et al. 2011; Erdem et al. 2014).

Experimental investigation of mixing performance of multiple reagents inside droplets using dyes proved that it is a rapid method for mixing without dispersion (Tice et al. 2009). Another study on mixing includes chaotic advection introduced by a variety of winding geometries for folding, stretching, and reorienting bulk fluid which accelerates mixing rate of the high Péclet number systems (Bringer et al. 2004). Moreover, some studies are conducted for real-time monitoring of droplet-based mixing in microchannels using Fluorescence Lifetime Imaging (Srisa-Art et al. 2008; Song et al. 2003).

Even though it was shown experimentally that the mixing in droplets is faster compared to continuous flow, it is necessary to understand how each parameter (channel dimensions, size of droplets, position-based dispersion length, etc.) affects the mixing performance. Some of the previous numerical work on mixing includes a study on chaotic mixing inside rotating droplets (Chabreyrie et al. 2010), mixing performance in droplets with induced steady and unsteady flow inside (Chabreyrie et al. 2009). Additionally, droplet motion over obstacles and spacing of droplets and generation algorithms were studied by different research groups to understand physics of droplet motion in the computational manner (Lee and Son 2013; Maddala and Rengaswamy 2014). Previous computational fluid dynamics (CFD) simulations were based on either lattice Boltzmann method (Wu et al. 2008), boundary element method (Wanga et al. 2014), or finite elements with level set method (Chung et al. 2009; Yan et al. 2012; Bashir et al. 2011). Finite element method combined with level set method was used more frequently among the other numerical approaches.

This study was conducted to understand the effect of geometry of the channel on the mixing performance in a droplet-based system using numerical techniques. Utilizing finite element analysis, droplet formation was simulated, and flow profile inside droplets was visualized via particle tracking. To understand the mixing performance, different parameters such as dispersion length, particle trajectories in vertical direction, and particle velocities inside the droplets were calculated. This study was iterated for different channel cross sections and mixing zone profiles.

2 Theory and modeling

Among the various droplet formation methods, one of the most common methods of forming droplets in microchannels is to use a T-junction. In a T-junction, droplets are generated by shear stress applied by the immiscible carrier fluid. In order to increase the efficiency of mixing, sinusoidal channel profile is used so that distortion on the droplet surface will provide additional reduction in dispersion length inside the droplet, eventually reducing the time required for mixing.

In this study, in order to simulate droplet motion, level set method, which is an iterative, numerical technique to track interfaces and shapes, was used. By combining governing equations, momentum transport equation, and level set method, one can simulate multiphase fluid motion considering fluid interface by using finite elements. The following Eqs. (1), (2), and (3) (Sussman and Puckett 2000) represent Reynolds momentum transport, continuity, and level set equations, respectively.

$$\rho \frac{\partial u}{\partial t} +\rho (u \cdot \bigtriangledown )u = \bigtriangledown \cdot \left( -pI + \mu \left( \bigtriangledown u + (\bigtriangledown u)^{\text {T}}\right) \right) + F_{{\text {st}}}$$
(1)
$$\bigtriangledown \cdot u = 0$$
(2)
$$\frac{\partial \phi }{\partial t} + u \cdot \bigtriangledown \phi = \gamma \bigtriangledown \cdot \left( -\phi (1-\phi )\frac{\bigtriangledown \phi }{|\bigtriangledown \phi |} \right) + \epsilon \bigtriangledown \phi$$
(3)

where \(\rho\) is density, u is velocity, t is time, \(\mu\) is dynamic viscosity, P is pressure, \({F}_{{\text {st}}}\) is the surface tension force, \(\phi\) is level set function, \(\gamma,\) and \(\epsilon\) are numerical stabilization parameters. Level set function determines the density and viscosity at the interface between the droplet and the carrier fluid by using Eqs. 4 and 5 below.

$$\rho = \rho _1(1-\phi )+\rho _2 \phi$$
(4)
$$\mu = \mu _1(1-\phi )+\mu _2 \phi$$
(5)

Equations given above were implemented in Comsol Multiphysics® to simulate droplet generation and particle motion. To test mixing in microchannels, 17 identical 90° arcs were added after droplet formation zone to form the sinusoidal mixing channel. For all simulations, number of arcs was kept constant. The schematic of the computational domain of the simulation is shown in Fig. 1.

Fig. 1
figure 1

Schematic of the computational domain of the simulation

As shown in Fig. 1, our domain has two separate sections that are the mixing zone and the formation zone. In the formation zone, droplets were generated at the T-junction. In the mixing zone, the mixing performance of sinusoidal channels according to different parameters was analyzed. Boundary conditions were chosen as “wetted wall boundary condition” at the channel walls and “zero pressure boundary condition” at the exit. Flow rates were defined at the inlets. In order to reduce the computational expense of the simulation, only one half of the domain was solved since the problem is symmetric in the y-direction. As a result, formation and circulation of half droplet was simulated. Once the simulation was completed, results were mirrored in y-direction to visualize the whole domain. Flow parameters of the simulations are given in Table 1.

Table 1 Simulation parameters

In order to analyze motion within the droplet, we introduced multiple spherical nanoparticles in flow so that tracing their motion would give an idea about the efficiency of the mixing. Particle movement inside droplets represents the mixing rate in the flow. Motion of a spherical particle in fluid medium with low Reynolds number flow is formulated as (Zaidi et al. 2012);

$${{F}}_{\text {drag}} = 6 \pi \mu r u_{\text {rel}}$$
(6)

Additionally, to determine the mixing performance in microchannels, different parameters were used. First one was the dispersion length which is denoted in the following equation (Bruss 2008):

$${l}_{{\text {diff,3D}}}^{2} = \left\langle x^2 + y^2 +z^2 \right\rangle$$
(7)

Dispersion length, or in other words mixing length, is defined as the representative of the Péclet number of a numerical scheme, where dispersion of a bulk fluid is taken into consideration. Different from other mixing terms such as diffusivity, dispersion length, which is representative of diffusion and convection of the fluid, is measured in terms of the characteristic geometric length (Zimmerman and Homsy 1991; Bruss 1992). This equation was used to determine the particle dispersion length with respect to its initial release position in Cartesian coordinates (xyz). In each case, particles were released from the same initial position. For higher mixing performance, wider difference between two dispersion lengths of different particles was expected. Oppositely, if there were no hydraulic mixing inside the droplet, dispersion length difference between two particles would be expected not to change through the simulation.

Particle velocity and displacement in vertical direction are the other parameters that determine mixing performance. Simulations were repeated for different dimensions of the microchannel in the mixing zone. Those geometrical variations, inner \(({r}_{{\text {i}}})\), central \(({r}_{{\text {c}}}),\) and outer \(({r}_{{{\text {o}}}})\) radius of mixing zone for different cross section, are shown in Table 2, and representation of these parameters on computational domain is given in Fig. 2.

Fig. 2
figure 2

Geometric definitions of mixing zone

Table 2 Mixing zone dimensions for different cases

3 Results and discussion

To determine the fluid flow and particle movement, Comsol Multiphysics®, which is a finite element analysis software, was used. Since fluid flow equation is independent of particle movement in the flow field, first level set, Reynolds momentum transport, and governing equations were solved, and later, particle movement was solved. Fluid was assumed to be incompressible and Newtonian.

In order to check the accuracy of the model, effective droplet diameter and volume were compared with numerical and experimental studies in the literature (van der Graaf et al. 2006). Results of this comparison are shown in Table 3.

Table 3 Comparison of model accuracy using effective droplet diameter with the literature

As it is shown in Table 3, our model result matches with the experimental and other simulation results from the literature. Reason of this error difference between literature and our simulations is due to the difference in the applied numerical methods. However, showing only droplet diameter is not sufficient for validating the reliability of the results. Phase leakage is also an issue in level set method, where mass of fluids is not conserved due to the leakage from one liquid to the other. Moreover, high contrast in density and viscosity increases the possibility of this leakage. On the other hand, in the literature, it was denoted that for two liquid phases, phase leakage is a minor problem (Zimmerman 2006; Deshpande and Zimmerman 2006, 2006). Nevertheless, we calculated the phase leakage as well as the effective droplet volume change in every time step to show that phase leakage is not very significant in our model.

From Fig. 3, we can see that the effective volume of the droplet increased in the first 0.035 s, which was the time during which the droplet was formed. After the droplet was formed, it entered the mixing zone, and it can be seen that the volume of the droplet was steady and therefore phase leakage did not affect the volume of the droplets significantly. For a similar leakage case discussed in (Zimmerman 2006), this was considered as a minor leakage. Therefore, in our simulations, phase re-injection was not implemented, and we can state that the simulation results are consistent and reliable.

Fig. 3
figure 3

Volume of the droplet and phase leakage calculation in formation and leakage zones. Volume of the droplet was calculated by \({V} = h4\pi /3(d_{{\text {effective}}}/2)^2\). Phase leakage was calculated by Comsol Multiphysics®. The mesh domain consists of 222,817 domain elements, 29,665 boundary elements, 2209 edge elements, and number of degrees of freedom is 1,349,253

In this study, six different cases with varying channel dimensions were tested. These cases are listed in Table 2. In each case, two particles were released from the same location in the droplet. Mixing performance in different channel dimensions was analyzed. Droplet motion and differentiation of one fluid from the other was done by using isosurface and volume fraction along with constant density in the volume space. Visualization of droplet motion is shown in Figs. 4 and 5.

Fig. 4
figure 4

Droplet formation in microchannels using isosurface

Fig. 5
figure 5

Volume fractions of the fluids

As shown in Fig. 4, droplets, indicated in blue color, were successfully formed, carried in the carrier fluid, and circulated in the sinusoidal channel without any dissipation from droplet to the carrier fluid. Moreover, green lines in the microchannel indicate streamlines of the flow. Volume fractions of fluids 1 and 2 are shown in Fig. 5. Green contour around the droplet indicates the interface around the droplet.

The results of the first set of simulations, particle displacement, velocity profile, and dispersion length of first three cases are represented in Figs. 6, 7, and 8. According to the results in Fig. 6, each particle circulates in the sinusoidal channel as expected. Due to the channel’s geometric difference in each case, the highest and lowest particle displacements in vertical direction vary. The irregularities in the formation zone are due to the initial formation of the droplet. This is effective in distinguishing two different particles which were released very close to each other. At \(t=0.03\) s, formation ends and droplet begins to cycle in the straight part of the channel. At \(t=0.45\), it enters the mixing channel with sinusoidal shape. According to these results, we observed that the vertical displacement between each particle varied with time. Furthermore, in channels with larger central radius, vertical displacement of two different particles had similar trajectories which is not desired for mixing. As the channels scale down, trajectory variation between two particles released at the same location increased, which validates the experimental results in the literature that show faster mixing in sinusoidal channels with smaller central radius (Naher et al. 2011). In straight channels, particle path in droplets did not change significantly in vertical direction which proves the necessity of the sinusoidal shape to increase the mixing rate.

Fig. 6
figure 6

Displacement of particles at \(100\,\upmu {\text {m}}\times 100\,\upmu {\text {m}}\) channel cross section and comparison with straight channel profile

Fig. 7
figure 7

Velocity of particles at \(100\,\upmu {\text {m}}\times 100\,\upmu {\text {m}}\) channel cross section and comparison with straight channel profile

Fig. 8
figure 8

Dispersion lengths of particles at \(100\,\upmu {\text {m}} \times 100\,\upmu {\text {m}}\) channel cross section and comparison with straight channel profile

When we check the velocity profiles in Fig. 7, we can see that the velocity of particles in straight channels does not change much since there was no collusion of droplet to side walls or meandering parts of the microchannel. However, in sinusoidal channel profiles, there is a significant velocity variation between particles. Especially in channels with smaller central radius, velocity variation is larger compared to the ones with larger radius. This variation has an important role on hydrodynamic mixing since velocity variation inside the droplet certifies velocity profile variation inside the droplet as indicated in Jiang et al. (2012). That is to say, having more fluctuation in the magnitude of the velocity improves the mixing performance. Therefore, having greater variance between particle velocities inside droplets is more likely in channels with smaller central radius, providing better mixing rates compared to the channels with larger central radius.

Dispersion length variation is the other crucial parameter for determining the mixing performance. As it is explained in the theory part of this article, distance between particles inside the same droplet indicates the mixing rate. Greater dispersion length variation between particles results in better mixing performance. Figure 8 shows that the dispersion lengths between two particles does not change significantly in channels with \(100\,\upmu {\text {m}}\times 100\,\upmu {\text {m}}\) cross section. Likewise, in Fig. 6, dispersion length of particles moving in the straight microchannel does not change. Therefore, change in dispersion length in straight microchannel is only due to the regular motion of the droplet which is not sufficient for fast mixing rates. On the other hand, in sinusoidal channels, dispersion length variation increases in each time step since wave-like motion of droplets provides a non-uniform velocity profile inside droplets. So that, location of each particle changes significantly in each time step. Moreover, variation between dispersion length between two particles increases as the curvature radius of meandering channel decreases, which rapids up the mixing inside the droplet. This is also due to the higher non-uniformity of the velocity profile inside the droplets in channels with smaller central radius.

By looking at the results, it can be concluded that channels with smaller central radius show better performance compared to channels with larger central radius based on the following three findings; (1) change in vertical displacement of particles in channels with smaller radius is more frequent compared to channels with larger radius; (2) there are more velocity peaks and variations through mixing process in channels with smaller radius; (3) dispersion length difference between two particles is larger compared to the channels with larger radius. In the next section, same parameters were used to simulate mixing performance where cross-sectional area of microchannel was increased from \(100\,\upmu {\text {m}}\times 100\,\upmu {\text {m}}\) to \(120\,\upmu {\text {m}} \times 120\,\upmu {\text {m}}\). Figures 9, 10, and 11 represent particle displacements in vertical direction, velocity variation, and dispersion length of particles in this channel profile, respectively.

Fig. 9
figure 9

Displacement of particles at \(120\,\upmu {\text {m}} \times 120\,\upmu {\text {m}}\) channel profiles

Fig. 10
figure 10

Velocity of particles at \(120\,\upmu {\text {m}} \times 120\,\upmu {\text {m}}\) channel profiles

Fig. 11
figure 11

Dispersion length of particles at \(120\,\upmu {\text {m}} \times 120\,\upmu {\text {m}}\) channel profiles

According to the results in Fig. 9, particle motion shows similarities as in the case of \(100\,\upmu {\text {m}} \times 100\,\upmu {\text {m}}\) channel profile (Fig. 6). Similarly, particle displacements in vertical direction differ faster compared to channels with wider central radius. In fact, in \(100\,\upmu {\text {m}} \times 100\,\upmu {\text {m}}\) channel profiles, particles reach mixed conditions in a shorter time. If we compare Figs. 6 and 9, \(100\,\upmu {\text {m}} \times 100\,\upmu {\text {m}}\) channel profile particles of case 1 reaches to opposite locations in t = 0.08 s. In fact, in \(120\,\upmu {\text {m}} \times 120\,\upmu {\text {m}}\) channels of case 4, particle positions do not change frequently during the simulation time which is undesired for mixing inside the droplets.

As shown in Fig. 10, variation in particle velocities is different for different dimensions of channels. In channels with a larger cross-sectional area, velocity values of particles are larger compared to channels with a smaller cross-sectional area.

Dispersion length variation between two particles (P1, P2) for different cases is shown in Fig. 11. As it is expected, smaller central radius channel profile provides more dispersion length variation between two particles. Additionally, for channels with larger radius, dispersion length variation decreases. However, cases 5 and 6 do not have much of a difference. Unlike Fig. 8, dispersion length variation in cases 2 and 3 is visually more different than the cases in wider channel geometry. Due to that reason, we can understand that in channels with larger radius, increase in cross-sectional area decreases the mixing performance inside droplets. Furthermore, dispersion length difference between cases 1 and 4 shows a significant variance. If we check the dispersion length difference at t = 0.08 s, for smaller cross-sectional geometry, dispersion length difference is larger than the case for larger cross-sectional area. Therefore, it can be concluded that smaller cross-sectional geometries are more suitable for faster mixing rates. Overall, maximum dispersion length percent and corresponding time for each case is given in Table 4 as a summary of these results.

Table 4 Maximum dispersion length difference percentage for each case

According to Table 4, case 1 reaches to maximum dispersion length toward the end of the simulation, whereas for cases 4, 5, and 6, maximum dispersion length is not reached at the end of the simulation. This means mixing was not very efficient. Moreover, case 1 provides five times greater dispersion length difference between particles than straight microchannels, which proves that sinusoidal channels are better for mixing.

4 Conclusion and future works

In conclusion, we have modeled a sinusoidal microchannel and conducted multiple numerical simulations for droplet formation and spherical particle movement inside the droplets to predict the performance of hydrodynamic mixing inside droplets. Simulations were conducted for six different channel geometries, including change in channel curvature and cross-sectional area, and results were compared within each other as well as with droplet motion in a straight channel. Based on the movement of multiple particles inside a droplet, mixing in the microchannels with smaller cross-sectional area and smaller radius provides faster hydraulic mixing. It was concluded that this result is due to the fact that smaller microchannels provide wider dispersion length differences, more frequent velocity change, and vertical trajectory variation between particles. As a future work, a set of simulations can be conducted to understand the effect of droplet size, density, and viscosity on mixing.