## Abstract

Magnetic actuation is widely used in engineering specific forms of controlled motion in microfluidic applications. A challenge, however, is how to extract different desired responses from different components in the system using the same external magnetic drive. Using experiments, simulations, and theoretical arguments, we present emergent rotational patterns in an array of identical magnetic rotors under an uniform, oscillating magnetic field. By changing the relative strength of the external field strength versus the dipolar interactions between the rotors, different collective modes are selected by the rotors. When the dipole interaction is dominant the rotors swing upwards or downwards in alternating stripes, reflecting the spin-ice symmetry of the static configuration. For larger spacings, when the external field dominates over the dipolar interactions, the rotors undergo full rotations, with different quarters of the array turning in different directions. Our work sheds light on how collective behaviour can be engineered in magnetic systems.

### Similar content being viewed by others

## Introduction

Magnetic driving is convenient, and in recent years there have been several suggestions for ways to use magnetic colloids in microfluidic applications. These include swimmers^{1,2,3,4,5,6}, pumps^{7,8,9,10}, cilia^{11,12,13,14,15}, and for particle sorting and segregation^{16,17,18,19}. For reviews see refs. ^{4,16,20,21}. When a uniform rotational magnetic field is applied to a ferromagnetic colloid, the colloid experiences a torque and rotates with the field. However, exploiting this to achieve a net motion or flow is not intuitive because of the low Reynolds number hydrodynamics: a single rotator in an infinite fluid produces a rotlet flow field without any pumping^{22}. One way to achieve a net flow is to place the colloid near a wall, which breaks the symmetry of the rotational flow^{7,8,9}. Another possibility is self-assembled magnetic cilia that can produce fluid flow, if the pathways of the driving and recovery strokes are different^{11,12,23}.

The majority of work so far has concentrated on a single magnetic unit, or a collection of many magnetic entities that move in exactly the same way as the field rotates. To make progress in exploiting magnetic driving at low Reynolds numbers, it is of interest to devise systems where the dynamics of each unit differs, even though they receive the same external driving signal. Ideally, one would like to be able to fabricate a synthetic system that mimics the well-known natural example of ciliary arrays that have evolved to, for example, pump fluids around the body. While cilia are subject to independent individual driving, they can develop metachronal waves—phase lags between neighbours—because of hydrodynamic coupling^{24,25}. Metachronal waves have been observed in magnetically driven, artificial cilia by patterning the magnetization direction^{13} or by modulating the length of the cilia^{14}, and thereby engineering permanent intrinsic differences between neighbouring actuating units.

Here we describe the dynamics of an array of magnetic rotors (Fig. 1a) that are actuated via an oscillatory external magnetic field, using theory and experiment. We demonstrate surprisingly complex dynamics in the rotational patterns depending on the strength of the field as shown in Fig. 1b, and report three distinct collective actuation regimes, namely a stripe pattern in which the rotors swing upwards or downwards in alternating stripes, a quarter pattern in which the rotors undergo full rotations with different quadrants of the array turning in different directions, and a staggered pattern in which the rotors show full rotations with the rotational direction being staggered. We have been able to devise strategies to achieve dynamical states in which identical rotors that are actuated using the same external driving mechanism behave differently. This has been possible because of the geometry of the system, its finite size and the complex nature of magnetic dipolar interactions^{26,27,28}. In particular, we show that the rotor array can drive an extensional flow. Our simulations help to interpret the dynamics, and show that other collective modes are also possible if the rotor array can be fabricated free of imperfections.

## Results

### Rotor array system

The system consists of \(N={N}_{x}{N}_{y}\) magnetic rotors with ring geometries (Fig. 2a) positioned on a square grid, where \({N}_{x}\) and \({N}_{y}\) are the number of rotors in the \(x\)- and \(y\)-directions, respectively. The rotors are fabricated by mixing silicone rubber and NdFeB magnetic particles and they have a magnetic moment of \(m=2.0\times 1{0}^{-4}{\rm{A}}\cdot {{\rm{m}}}^{2}\). As shown in an inset of Fig. 2a, the rotors have a small rectangular protrusion, which shows the magnetization direction. Details of the fabrication process are given in a subsection in Method ‘Fabrication process’.

The rotors are placed on an interface between glycerol (>95% pure; viscosity \(\eta =1.4\ {\rm{Pa}}\cdot {\rm{s}}\)) and air. They are held in place by a square array of 3D printed posts, where \(\ell\) is the spacing between the posts. Hence, because of the posts, the rotors have no translational degree of freedom, but can freely rotate feeling the local magnetic fields. A Helmholtz coil system is used to create a uniform magnetic field along \(x\) oscillating in time as:

where \(B\) is the amplitude and \(f\) is the frequency.

To write down equations of motion describing the system, we make two simplifying assumptions. First, we assume that the rotor is a sphere with radius \(a\) that has no translational degree of freedom, but can freely rotate about the \(z\)-axis. Second, we ignore any effect of the liquid–air interface, and consider rotors located in an infinite fluid with viscosity \(\eta\) and density \(\rho\). Each rotor has a magnetic moment \({\boldsymbol{m}}=(m\cos \theta ,m\sin \theta ,0)\), where \(\theta\) is the angle the moment makes with the \(x\)-axis.

A rotor \(i\) experiences a magnetic torque:

where \({{\boldsymbol{r}}}_{i}\) is its position vector, \({{\boldsymbol{r}}}_{ij}={{\boldsymbol{r}}}_{j}-{{\boldsymbol{r}}}_{i}\), \({r}_{ij}=| {{\boldsymbol{r}}}_{ij}|\), \({{\boldsymbol{n}}}_{ij}={{\boldsymbol{r}}}_{ij}/{r}_{ij}\) and \({\hat{{\bf{e}}}}_{z}\) is the unit vector along the \(z\)-direction. The first term gives the torque from the external magnetic field \({{\boldsymbol{B}}}_{{\rm{ext}}}\), while the second term describes the torque from the dipolar interactions between the rotors.

We assume Stokes flow in this system, and following Eqs. (3) and (4) are only valid for low Reynolds number regimes \({Re}\ll 1\). To the leading order in the hydrodynamic coupling between rotors, the angular velocity of a rotor \(i\) is

The coefficient in the first term \(8\pi \eta {a}^{3}\) is the friction constant for the rotation of a sphere, while the second term is a consequence of the flow field produced by the rotation of the other spheres^{22}. Note that the coefficient in the second term can be derived by applying a rotation operator to the rotlet flow field. Although the hydrodynamic interactions would be expected to play an important role if the rotors are in close proximity, here they only have a minor effect: the second term of Eq. (3) is two orders of magnitude smaller than the first term for the grid size in our experimental set-up, \(\ell /a=5.0\).

Considering the rotors as point torques, the flow velocity \({\boldsymbol{v}}\) at position \({\boldsymbol{x}}\) can be expressed by a summation of rotlets as:

To follow the dynamics of the array of rotors, Eqs. (2) and (3) were solved numerically. The dimensionless parameter \(\tilde{a}=a/\ell =0.2\) was kept constant for all simulations.

The rotors interact with the field, and also with each other through magnetic dipole interactions. The relevant dimensionless parameters are:

\(\alpha\) is the ratio between the external magnetic field and the dipolar field due to a neighbour rotor. The second parameter, \(\beta\), compares the relaxation time of the system to the external field frequency \(f\). The Reynolds number, \({Re}\), is

so inertial effects can be neglected.

We first describe the orientational patterns of the rotors when the magnetic field is static. Fig. 2b shows the configuration in zero field, \(\alpha =0\). The dipole–dipole interactions maximize the angle between neighbours resulting in the frustrated spin-ice structure^{29,30}. At the other limit, \(\alpha \gg 1\), the dipolar forces are negligible and all the rotors align along the external magnetic field direction as shown in Fig. 2d. At an intermediate value of \(\alpha \approx 1\) shown in Fig. 2c, there are small deviations from the uniform state, predominantly tilting at the corners and edges of the array: the rotors at the bottom left and top right tilt towards \(+y\), while those in the other two corners show tilting towards \(-y\). The local alignments are created by the magnetic field of the rotors as shown in Fig. 2c, d, and this is due to the finite size of the system.

### Collective rotational patterns

We now turn to the dynamics in an oscillatory magnetic field. The behaviour of a single rotor is shown in Supplementary Movie 1. The rotor swings backwards and forwards through \(18{0}^{\circ}\) at a frequency \(f\), following the field (see Fig. 1b-(I) where the pattern of rotor movement is shown). The swinging direction can be either ‘upwards’ (i.e. the polar angle \(0\ < \ \theta \ < \ \pi\)) or ‘downwards’ (\(-\pi \ < \ \theta \ < \ 0\)). The direction of swing depends only on the initial angle: if a rotor has a component of its magnetic moment along \(+y\) (\(-y\)), it will swing upwards (downwards). This is a consequence of the small inertia condition, \({Re}\ll 1\); the rotor does not overshoot during the swinging and does not undergo a full rotation for any value of \(\alpha\) or \(\beta\). Despite the simplicity of the single rotor dynamics, rotor arrays have different collective dynamical modes as the control parameters are varied. Fig. 2e and Supplementary Movie 2 show the dynamics of a \(4\times 4\) rotor array when an oscillatory field is applied for \(\alpha =0.4\) and \(\beta =0.3\) (see also Fig. 1b for the pattern of the rotor movement). Whether the spins swing upwards or downwards is controlled by the static configuration, which is the spin-ice structure. Hence, there are alternating stripes along the \(y\)-direction of rotors that swing up (orange arrows) or down (green arrows).

A different dynamical behaviour is observed for larger values of \(\alpha\). Fig. 3a is a schematic representation of the motion of a \(4\times 4\) square rotor array under the 1D alternating field with \(\alpha =6.0\) and \(\beta =0.3\). Supplementary Movie 3 shows the corresponding dynamics of the experimental system. There is a clear contrast to the low \(\alpha\) case because the discs can now show full rotations of \(2\pi\) during the cycle. This can occur because the combination of the dipolar interactions and the external field breaks the time-reversal symmetry in this system. The direction of rotation depends on the rotor position within the array: those located in the top-left and bottom-right quadrants rotate clockwise, while those in the other two corners rotate counter-clockwise. There is, however, a residual overall chiral symmetry, which is broken due to the initial conditions.

In order to characterize the pattern, we count the number of rotations during 25 cycles of the field and introduce the parameter

where \({n}_{+}\) and \({n}_{-}\) are the number of counter-clockwise and clockwise rotations, respectively. Fig. 3b shows the parameter \(R\) for each rotor. The rotors with \(| R| =1\) continuously rotate in the same direction (always clockwise corresponding to \(R=1\) or counter-clockwise corresponding to \(R=-1\)), while they rotate evenly in both directions for \(R=0\). Rotors at the corners almost always rotate in the same direction. The four central rotors, however, do not have a preferred direction and they typically swing during a cycle.

The preference for a particular rotational direction is a consequence of the dipolar forces leading to an initial tilting of the rotors near the edges of the array (see Fig. 2c). After the first half turn the alignment pattern is such that a given rotor will continue in the same sense, as long as it has sufficient time to relax towards its preferred orientation. Hence, the quarter pattern is seen for smaller values of \(\beta\). This is an example showing that identical rotors, driven by the same field, can behave in different ways to each other because of collective effects.

As shown in Supplementary Movie 3 and Fig. 3d, the simulation reproduces the same quarter pattern under a condition \(\alpha =6.0\) and \(\beta =0.03\) (i.e. the same \(\alpha\), but 10 times smaller \(\beta\) than the experiment). The fact that we could only see the quarter pattern for relatively smaller values of \(\beta\) in the simulation is because of the simplifications in our equations; for example, the model is not considering the effects of the liquid–air interface. The simulation result is also different in terms of the rotational patterns: all rotors are showing quarter pattern in the simulation, while the inner layer is not showing full rotation in the experiment. We believe this difference arises because of imperfections in the grid structure in the experiment. Fig. 3f shows a rotational pattern with a grid that has a small Gaussian noise (with standard deviation \(\sigma\), in both the *x*- and *y*-directions) in the rotor position. Increasing the noise level, the inner layer is not showing full rotation similar to what is observed in the experiment.

To investigate how the rotational phase varies across the array we classify the rotors into three categories depending on their position as shown in Figs. 3c, d. Fig. 3e compares the time history of vorticity strength, \(| \omega |\), for each category for a value of \(\beta\) that isolates individual rotations. The figure indicates that the corners start to rotate first, and the phase then propagates towards the centre of the system. This phase propagation is also clearly shown in the simulations and Supplementary Movie 4. This is a finite system size effect: the rotors at the corners start to rotate first because they have the maximum tilting angle from the external magnetic field as shown in Fig. 2e. In other words, the corner rotors flip earlier than the others because they are closer to the opposite direction. This variability in the tilting angles give rise to the phase lag. This metachronal-wave-like phase propagation can be seen clearly in larger systems, such as the \(20\times 20\) array shown in Supplementary Movie 5.

### Fluid mixing and pumping

This collective rotation can be used to mix or pump fluid as shown in Fig. 3c and Supplementary Movie 6. The particle image velocimetry (PIV) method is utilized to visualize the flow field. The instantaneous flow velocities close to the rotors were ~\(100\,{\mathrm{mm}}\, {\mathrm{s}}^{-1}\) (corresponding to dimensionless speed \(v/(\ell f)\approx 20\)). As a result of the symmetry of the quarter pattern, the rotors pull the fluid into the centre from the \(y\)-direction, perpendicular to the external magnetic field, and push it out in \(x\)-direction thus creating a dipolar (or 2D extensional) flow. The dipolar flow field is reproduced by our simulations (Fig. 3d), and the flow magnitude is in the same order as in the experiment (maximum velocity ~\(v/(\ell f)=30\); see also Supplementary Movie 4).

Figure 4a shows rotational patterns for different external magnetic field directions defined via \({{\boldsymbol{B}}}_{{\rm{ext}}}(\phi )=B\cos 2\pi ft(\cos \phi ,\sin \phi ,0)\). When the external field is titled by 45 or 90°, it is observed that the quarter pattern also rotates by 45 and 90°. This method of creating an extensional flow has the advantage that the flow direction can be easily switched by rotating the external magnetic field. If we place this system at an intersection of microfluidic channels^{10}, it can pull fluid from two directions and push it to the other two directions. At intermediate angles (\(\phi =\pi /8\) or \(3\pi /8\)), the rotors are creating \(S\)-shaped vortex patterns and not showing the quarter pattern. As a demonstration, we show in Supplementary Movie 7 that the pumping can be achieved in a microchannel.

Figure 4b shows tracer particle movements after 50 cycles of actuation, whereas Supplementary Movie 8 demonstrates mixing in our experiment (\(\phi =0\)). By changing \(\phi\), the rotors with opposite rotations determine the mixing landscape and produce drastic differences in the mixing modes. Mixing in low Reynolds number flow (or laminar flow) is challenging^{31,32,33}, and has so far been achieved by adding polymer additives^{34} and fixed microfluidic patterning^{35,36,37}. Our method allows us to control the mixing mode dynamically by tuning the external field, and as such introduces a practical approach for mixing fluid in low Reynolds number regimes.

### Phase diagram

We next use the simulations to explore the parameter space in more detail. Figure 4c shows which of the collective rotational patterns are stable for different values of \(\alpha\) and \(\beta\). For large \(\alpha\) the quarter pattern is observed, as long as \(\beta\) is sufficiently small, so that the system can relax to its zero field configuration between oscillations. For smaller values of \(\alpha\) the stripe dynamics is stable. This is in agreement with the experiment, although the agreement is only qualitative because of the simplifications introduced in the model.

The simulations allow us to identify a range of parameters where at least two other states are stable. These, which we shall call staggered patterns, are shown in Figs. 4d, e. The rotors undergo full rotations but the pattern of clockwise and anticlockwise rotations varies. The corresponding flow fields are also shown in Figs. 4d, e. Importantly, these different rotational patterns allow us to access different length scales of fluid mixing. As shown in Fig. 3, we find that by incorporating a very small irregularity in the positions of the rotors, the simulations no longer give the same behaviour, and result in random rotational patterns. Hence, a perfect lattice structure is required to obtain these patterns. We believe this sensitivity can explain why we were unable to observe these staggered patterns experimentally.

For a comprehensive understanding of the phase diagram, we present theoretical arguments that predict the existence and approximate locations of the main phase boundaries. The magnetic dipole–dipole interaction between two rotors decays with their distance \(r\) in the form of \(1/{r}^{3}\); therefore, the interaction can be considered as short-ranged in our 2D system. We can thus approximate the magnetic energy of the \(i\)th rotor as:

keeping only the magnetic dipolar interaction with the neighbouring rotors (hence the notation \(\langle ij\rangle\)). As shown in Figs. 2b, d, the magnetic moments of the rotors will be aligned with the magnetic field if \({{\boldsymbol{B}}}_{{\rm{ext}}}\) is strong, and they form a spin-ice structure if \({{\boldsymbol{B}}}_{{\rm{ext}}}\) is negligible. By comparing the magnetic energies of one rotor in these two configurations, we find \({\alpha }_{{\rm{c}}}=1/\pi\) (shown in Fig. 4c) as the critical value at which the two contributions match. For \(\alpha \ > \ {\alpha }_{{\rm{c}}}\) the rotors will be aligned with \({{\boldsymbol{B}}}_{{\rm{ext}}}\), whereas for \(\alpha \ < \ {\alpha }_{{\rm{c}}}\) the rotors will prefer the spin-ice structure.

In the phase diagram, there is a region of ‘no pattern’, where no specific patterns can be identified in the collective dynamics of the system. This behaviour originates from the fact that the rotation of the rotors in this regime is significantly slower than the oscillations of the magnetic field. This happens for large \(\alpha\), where the magnetic energy due to the external magnetic field dominates the magnetic dipole–dipole interaction. Therefore, to estimate the threshold for this behaviour, we will only consider the contribution due to the external field. Then, the angular velocity of a given rotor can be simplified as:

This equation can be integrated to yield

where \({\theta }_{0}\) is the initial angle. Since the cosine function is bounded, we can recast the above solution into the following form, in terms the maximum and minimum values for the angle \(\theta\) in a given cycle:

If the above ratio remains to be around unity, the orientations of the dipoles do not change appreciably from the initial values that are randomly distributed. If the ratio becomes significantly larger than unity, the angles could deviate substantially from the initial values and merge into a collective pattern of persistent rotations. The threshold for the change in behaviour occurs at some value \({\beta }_{{\rm{s}}}={c}_{0}{\ell }^{3}/(8{\pi }^{2}{a}^{3})\), where \({c}_{0}\) is of order unity. We can also estimate the onset of ‘no pattern’ by incorporating a slipping condition: \(\omega \ < \ 2\pi f\), or in other words, \(\beta \ > \ \sin\,\theta \ {\ell }^{3}/(16{\pi }^{2}{a}^{3})\). We can provide an estimate of \({\beta }_{{\rm{s}}}\) by averaging the right-hand side of Eq. (3), which gives: \({\beta }_{{\rm{s}}}\simeq \frac{1}{\pi }{\int }_{0}^{\pi }\sin\,\theta {\mathrm{d}}\theta \cdot {\ell }^{3}/(16{\pi }^{2}{a}^{3})={\ell }^{3}/(8{\pi }^{3}{a}^{3})\). This estimate is shown in Fig. 4c.

### Rotational patterns for different grid configurations

To investigate how generic our observations are, we examine the effect of the grid configuration on the collective properties of the rotors, as reported in Fig. 5. When we change the local structure from a square lattice (Fig. 5a) to a diagonal square lattice (Fig. 5b), the rotational pattern is not significantly modified. By tilting these structures by 90° (Fig. 5d, e), the position-dependent rotational pattern flips and shows counter-clockwise rotation at the bottom-right and the top-left corners. We also observe several other rotational patterns such as Fig. 5c, f–h, which contain mixed clockwise/counter-clockwise rotation patterns. These observations suggest that the local lattice structure (square or hexagonal) has a weak effect on the rotational patterns, while the overall grid shape has a larger impact.

The differences in these patterns can be traced back to the degree of roundness of the global grid boundary. As shown in the previous sections, the dipolar interactions give rise to the rotational preferences for small tilting angles (Fig. 5i). When the overall shape of the grid is rounded as in Fig. 5j, this tilting angle follows the smooth boundary since the dipole moments tend to align with their neighbours. As a result, the corners exhibit opposite rotations for Fig. 5i, j. When the global shape has both features of Fig. 5i, j, the system exhibits complex patterns as seen in Fig. 5c, f, g.

## Discussion

We have described the collective motion of magnetic rotors that are placed on a square grid. The rotors, and pins that constrain their positions, are fabricated using 3D printing technology and actuated by a uniform, oscillating magnetic field. By changing the magnetic field strength relative to the dipolar interactions between rotors we identified two different collective modes in experiments. When the magnetic dipole interaction is dominant the rotors swing upwards or downwards in alternating stripes, reflecting the spin-ice symmetry of the static configuration. For larger spacing, when the external field dominates over the dipolar interactions, the rotors undergo full rotations, with different quadrants of the array turning in different directions. This is a consequence of the dipolar perturbations to a fully aligned state, which occur because of the finite size of the array.

The motion can be used to drive an extensile flow, even at zero Reynolds number, and hence it gives a new possibility of achieving magnetic mixing or pumping at low Reynolds number. In particular, the flow direction can be easily controlled by rotating the external magnetic field.

In the quarter state different rotors have a different phase, somewhat analogous to a metachronal wave. Metachronal waves are achieved in biological cilia by hydrodynamic interactions or modulated driving. They have been demonstrated in fabricated cilia by designing the magnetic units that are intrinsically different from one another; for example, by imposing a size gradient^{14} or patterning the magnetization direction^{13}. Here, by contrast, all the rotors are identical and the phase lag is an emergent property of the magnetic interactions between the dipoles as well as the geometry of the system.

We have demonstrated surprisingly complex dynamics in an array of magnetic rotors driven by an oscillating field. The results suggest several directions for further research. On the theoretical side, it will be interesting to understand how changes in the size and shape of the array affect the dynamical behaviour. Technological implementations will need to explore ways to miniaturize the devices, and the rotor configurations that will maximize the strength of the flow fields.

## Methods

### Dimensionless form of the governing equations

In this subsection, we describe the dimensionless form of the governing equations and the numerical methods. Defining the dimensionless form of the toque as \({T}^{* }=T{\ell }^{3}/({\mu }_{0}{m}^{2})\), we find the dynamical equation for the angular velocity (Eq. (3)) as:

Also, the flow field given by the rotlets (Eq. (4)) is given by:

where \({r}^{* }=r/\ell\).

In our simulations, the initial orientations \(\theta (t=0)\) of the rotors were random, and the orientations were updated with the 1st-order Euler method with a time step \(f\Delta t=1.0\, \times 1{0}^{-3}\).

### Fabrication process

The mould used to fabricate the rotors was 3D printed (Formlabs Form 2) from a design created on Autodesk AutoCAD. The liquid silicone rubber was mixed with the curing catalyst in a 10:1 ratio by weight. NdFeB powder, with an average grain diameter <10 μm, was added to the rubber mix so that it comprised ~28% of the total volume. The liquid magnetic rubber was then placed in the 3D printed mould and cured at room temperature for 6 h. The cured rotors were then placed in a Vibrating Sample Magnetometer and the magnetizing field was ramped up to 1.8 T over 17 min to saturate the rotors along the major axis of the geometry. The resulting magnetic moment was \(m=2.0\, \times 1{0}^{-4}\,{\mathrm{A}}\cdot {{\mathrm{m}}}^{2}\). The rotor radius is 1.3 mm, the inner radius is 0.6 mm, and the depth is 0.9 mm.

Arrays of posts were 3D printed with different separations (4.0 and 6.3 mm). The arrays of posts were used to fix the rotors at a given position and distance from other rotors. The posts were fabricated with a radius of 0.5 mm so that the rotation of the rotors was unhindered. The system was placed within a Petri dish containing glycerol (\(\eta\) = 1.4 \({\rm{Pa}}\cdot {\rm{s}}\)) so that the rotors were positioned on the glycerol–air interface.

### Experimental set-up

The coil system is powered by a signal generator and power amplifier to generate the sinusoidal field, and the amplitude and frequency of the field can be varied.

The rotor motion was observed and recorded using a high-speed camera at 240 fps. The associated fluid flow field was tracked using open source PIV Software (PIVLab^{38}). The PIV images were created by placing tracer particles on the surface of the fluid, and the velocities of the particles were tracked and averaged over 3000 frames of the recording. The experimental setup was designed and constructed for the project by Platform Kinetcs Ltd (https://www.platformkinetics.com/).

Table 1 shows the experimental values that we use in our experiments.

## Data availability

The data that support the findings of this study are available from the corresponding author upon reasonable request.

## References

Ogrin, F. Y., Petrov, P. G. & Winlove, C. P. Ferromagnetic microswimmers.

*Phys. Rev. Lett.***100**, 218102 (2008).Tierno, P., Golestanian, R., Pagonabarraga, I. & Sagués, F. Controlled swimming in confined fluids of magnetically actuated colloidal rotors.

*Phys. Rev. Lett.***101**, 218304 (2008).Zhang, L., et al. Artificial bacterial flagella: Fabrication and magnetic control.

*Appl. Phys. Lett.***94**, 064107 (2009).Peyer, K. E., Zhang, L. & Nelson, B. J. Bio-inspired magnetic swimming microrobots for biomedical applications.

*Nanoscale***5**, 1259–1272 (2013).Hamilton, J. K. et al. Magnetically controlled ferromagnetic swimmers.

*Sci. Rep.***7**, 44142 EP– (2017).Hamilton, J. K., Gilbert, A. D., Petrov, P. G. & Ogrin, F. Y. Torque driven ferromagnetic swimmers.

*Phys. Fluids***30**, 092001 (2018).Leach, J., Mushfique, H., diLeonardo, R., Padgett, M. & Cooper, J. An optically driven pump for microfluidics.

*Lab Chip***6**, 735–739 (2006).Maruo, S., Takaura, A. & Saito, Y. Optically driven micropump with a twin spiral microrotor.

*Opt. Express***17**, 18525–18532 (2009).van den Beld, W. T. E. et al. Bidirectional microfluidic pumping using an array of magnetic Janus microspheres rotating around magnetic disks.

*Lab Chip***15**, 2872–2878 (2015).Hamilton, J. K., Bryan, M. T., Gilbert, A. D., Ogrin, F. Y. & Myers, T. O. A new class of magnetically actuated pumps and valves for microfluidic applications.

*Sci. Rep.***8**, 933 (2018).Coq, N. et al. Collective beating of artificial microcilia.

*Phys. Rev. Lett.***107**, 014501 (2011).Wang, Y., Gao, Y., Wyss, H., Anderson, P. & denToonder, J. Out of the cleanroom, self-assembled magnetic artificial cilia.

*Lab Chip***13**, 3360–3366 (2013).Tsumori, F. et al. Metachronal wave of artificial cilia array actuated by applied magnetic field.

*Jpn. J. Appl. Phys.***55**, 06GP19 (2016).Hanasoge, S., Hesketh, P. J. & Alexeev, A. Metachronal motion of artificial magnetic cilia.

*Soft Matter***14**, 3689–3693 (2018).Meng, F., Matsunaga, D., Yeomans, J. M. & Golestanian, R. Magnetically-actuated artificial cilium: a simple theoretical model.

*Soft Matter***15**, 3864–3871 (2019).Hejazian, M., Li, W. & Nguyen, N. T. Lab on a chip for continuous-flow magnetic cell separation.

*Lab Chip***15**, 959–970 (2015).Zhou, R., Bai, F. & Wang, C. Magnetic separation of microparticles by shape.

*Lab Chip***17**, 401–406 (2017).Matsunaga, D., Meng, F., Zöttl, A., Golestanian, R. & Yeomans, J. M. Focusing and Sorting of Ellipsoidal Magnetic Particles in Microchannels.

*Phys. Rev. Lett.***119**, 198002 (2017).Matsunaga, D., Zöttl, A., Meng, F., Golestanian, R. & Yeomans, J. M. Focusing and sorting of ellipsoidal magnetic particles in microchannels.

*IMA J. Appl. Math.***83**, 767–782 (2018).Kim, K., Guo, J., Liang, Z. X., Zhu, F. Q. & Fan, D. L. Man-made rotary nanomotors: a review of recent developments.

*Nanoscale***8**, 10471–10490 (2016).Erb, R. M., Martin, J. J., Soheilian, R., Pan, C. & Barber, J. R. Actuating soft matter with magnetic torque.

*Adv. Funct. Mater.***26**, 3859–3880 (2016).Kim, S. & Karrila, J. S.

*Microhydrodynamics—Principles and Selected Applications*(Dover Publications, Inc., 1991).Gauger, E. M., Downton, M. T. & Stark, H. Fluid transport at low Reynolds number with magnetically actuated artificial cilia.

*Eur. Phys. J. E***28**, 231–242 (2009).Uchida, N. & Golestanian, R. Synchronization and collective dynamics in a carpet of microfluidic rotors.

*Phys. Rev. Lett.***104**, 178103 (2010).Golestanian, R., Yeomans, J. M. & Uchida, N. Hydrodynamic synchronization at low Reynolds number.

*Soft Matter***7**, 3074–3082 (2011).Guzmán-Lastra, F., Kaiser, A. & Löwen, H. Fission and fusion scenarios for magnetic microswimmer clusters.

*Nat. Commun.***7**, 13519 (2016).Meng, F., Matsunaga, D. & Golestanian, R. Clustering of magnetic swimmers in a Poiseuille flow.

*Phys. Rev. Lett.***120**, 188101 (2018).Massana-Cid, H., Codina, J., Pagonabarraga, I. & Tierno, P. Active apolar doping determines routes to colloidal clusters and gels.

*Proc. Natl. Acad. Sci. USA***115**, 10618–10623 (2018).Bramwell, S. T. & Gingras, M. J. P. Spin ice state in frustrated magnetic pyrochlore.

*Mater. Sci.***294**, 1495–1501 (2001).Castelnovo, C., Moessner, R. & Sondhi, S. L. Magnetic monopoles in spin ice.

*Nature***451**, 42 EP– (2008).Nguyen, N. T. & Wu, Z. Micromixers—a review.

*J. Micromech. Microeng.***15**, R1–R16 (2004).Lee, C. Y., Chang, C. L., Wang, Y. N. & Fu, L. M. Microfluidic mixing: a review.

*Int. J. Mol. Sci.***12**, 3263–3287 (2011).Aref, H. et al. Frontiers of chaotic advection.

*Rev. Mod. Phys.***89**, 025007 (2017).Groisman, A. & Steinberg, V. Efficient mixing at low Reynolds numbers using polymer additives.

*Nature***410**, 905–908 (2001).Knight, J. B., Vishwanath, A., Brody, J. P. & Austin, R. H. Hydrodynamic focusing on a silicon chip: mixing nanoliters in microseconds.

*Phys. Rev. Lett.***80**, 3863–3866 (1998).Stroock, A. D. et al. Chaotic mixer for microchannels.

*Science***295**, 647–651 (2002).Ianovska, M. A., Mulder, P. P. M. F. A. & Verpoorte, E. Development of small-volume, microfluidic chaotic mixers for future application in two-dimensional liquid chromatography.

*RSC Adv.***7**, 9090–9099 (2017).Thielicke, W. & Stamhuis, E. PIVlab—towards user-friendly, affordable and accurate digital particle image velocimetry in MATLAB.

*J. Open Res. Softw.***2**, 30 (2014).

## Acknowledgements

This work has received funding from the Horizon 2020 research and innovation programme of the EU under Grant Agreement No. 665440. F.M. also acknowledges Alexander von Humboldt Foundation for the partial support.

## Author information

### Authors and Affiliations

### Contributions

D.M. and F.M. conducted the theoretical and computational part of the work (with input from R.G.). J.K.H., N.B., E.L.M. and F.Y.O. performed the experiments. F.Y.O., J.M.Y. and R.G. designed and organized the project. D.M., J.K.H., F.M., F.Y.O., J.M.Y. and R.G. wrote the paper. All authors assisted in manuscript preparation, data interpretation and discussions.

### Corresponding author

## Ethics declarations

### Competing interests

The authors declare no competing interests.

## Additional information

**Peer review information** *Nature Communications* thanks the anonymous reviewer(s) for their contribution to the peer review of this work.

**Publisher’s note** Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

**Open Access** This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.

## About this article

### Cite this article

Matsunaga, D., Hamilton, J.K., Meng, F. *et al.* Controlling collective rotational patterns of magnetic rotors.
*Nat Commun* **10**, 4696 (2019). https://doi.org/10.1038/s41467-019-12665-w

Received:

Accepted:

Published:

DOI: https://doi.org/10.1038/s41467-019-12665-w

## Comments

By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.