<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Control of microswimmers by spiral nematic vortices: Transition from individual to collective motion and contraction, expansion, and stable circulation of bacterial swirls</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>07/01/2020</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10184874</idno>
					<idno type="doi">10.1103/PhysRevResearch.2.033060</idno>
					<title level='j'>Physical Review Research</title>
<idno>2643-1564</idno>
<biblScope unit="volume">2</biblScope>
<biblScope unit="issue">3</biblScope>					

					<author>Runa Koizumi</author><author>Taras Turiv</author><author>Mikhail M. Genkin</author><author>Robert J. Lastowski</author><author>Hao Yu</author><author>Irakli Chaganava</author><author>Qi-Huo Wei</author><author>Igor S. Aranson</author><author>Oleg D. Lavrentovich</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Active systems composed of self-propelled units show fascinating transitions from Brownian-like dynamics to collective coherent motion. Swirling of swimming bacteria is a spectacular example. This study demonstrates that a nematic liquid crystal environment patterned as a spiral vortex controls individual-to-collective transition in bacterial swirls and defines whether they expand or shrink. In dilute dispersions, the bacteria swim along open spiral trajectories, following the preimposed molecular orientation. The trajectories are nonpolar. As their concentration exceeds some threshold, the bacteria condense into unipolar circular swirls resembling stable limit cycles. This collective circular motion is controlled by the spiral angle that defines the splay-to-bend ratio of the background director. Vortices with dominating splay shrink the swirls toward the center, while vortices with dominating bend expand them to the periphery. Spiraling vortices of 45 • with splay-bend parity produce the most stable swirls. All the dynamic scenarios are explained by hydrodynamic interactions of bacteria mediated by the patterned passive nematic environment and by the coupling between the concentration and orientation. The acquired knowledge of how to control individual and collective motion of microswimmers by a nematic environment can help in the development of microscopic mechanical systems.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>I. INTRODUCTION</head><p>Aqueous dispersions of self-propelled microswimmers such as motile flagellated bacteria that convert stored energy into mechanical motion are one of the most studied examples of active matter <ref type="bibr">[1]</ref>. Recent reports demonstrate intriguing examples of collective effects at length scales much larger than the size of an individual swimmer, such as coordinated motion and self-concentration caused by hydrodynamic and steric interactions of bacteria among themselves and with bounding surfaces <ref type="bibr">[2]</ref><ref type="bibr">[3]</ref><ref type="bibr">[4]</ref><ref type="bibr">[5]</ref><ref type="bibr">[6]</ref><ref type="bibr">[7]</ref>. These studies are of importance not only for the fundamental understanding of active matter <ref type="bibr">[1,</ref><ref type="bibr">8]</ref> but also for potential future applications, since the power of collective motion can be harnessed to drive micromachines <ref type="bibr">[9]</ref><ref type="bibr">[10]</ref><ref type="bibr">[11]</ref>. To realize the full potential of the collective motion, one needs to learn how to control it. In an aqueous environment, a natural habitat of most microswimmers, this control can be achieved either by the gradients of nutrients which are usually transient and thus do not allow to support a sustained motion or by physical confinement such as microchambers, solid inclusions, or obstacles <ref type="bibr">[3,</ref><ref type="bibr">9,</ref><ref type="bibr">10,</ref><ref type="bibr">[12]</ref><ref type="bibr">[13]</ref><ref type="bibr">[14]</ref>. Another solution is to replace the isotropic aqueous medium with an anisotropic liquid crystalline environment that can guide the individual <ref type="bibr">[15]</ref><ref type="bibr">[16]</ref><ref type="bibr">[17]</ref> and collective <ref type="bibr">[17,</ref><ref type="bibr">18]</ref> dynamics of bacteria <ref type="bibr">[19]</ref>. Bacterial dispersions in lyotropic chromonic liquid crystals (LCLCs), called "living liquid crystals" or "living nematics," exhibit an intriguing interplay of bacterial activity with the underlying orientational order of the passive nonpolar nematic environment, specified by the director n with the properties n &#8801; -n, n2 = 1. In a uniformly aligned nematic, the rodlike bacteria such as Proteus mirabilis <ref type="bibr">[20]</ref> and Bacillus subtilis <ref type="bibr">[17]</ref> prefer to swim along the director, as dictated by the elastic, surface anchoring, and viscous interactions of their rodlike bodies with the surrounding anisotropic fluid <ref type="bibr">[16]</ref><ref type="bibr">[17]</ref><ref type="bibr">[18]</ref><ref type="bibr">21]</ref>. When the nematic director is predesigned to be spatially nonuniform <ref type="bibr">[17,</ref><ref type="bibr">[22]</ref><ref type="bibr">[23]</ref><ref type="bibr">[24]</ref>, it can trigger unidirectional flows of bacteria and cause their strongly nonuniform spatial distribution <ref type="bibr">[25]</ref>. In particular, Peng et al. <ref type="bibr">[23]</ref> demonstrated that 45 &#8226; spiral vortices attract swimming bacteria and force them to swim along circular trajectories with a well-defined polarity. In contrast, circular vortices cause a qualitatively different bipolar circulation, with bacteria swimming both counterclockwise and clockwise in the same swirl <ref type="bibr">[23]</ref>. This dramatic difference, coupled with the fact that circular swirling is one of the most common examples of coherent spatiotemporal behavior of bacteria <ref type="bibr">[2,</ref><ref type="bibr">3,</ref><ref type="bibr">12,</ref><ref type="bibr">14,</ref><ref type="bibr">26,</ref><ref type="bibr">27]</ref> and other active units <ref type="bibr">[28]</ref><ref type="bibr">[29]</ref><ref type="bibr">[30]</ref> calls for a systematic study.</p><p>In this work, we explore the onset and time development of collective swirling motion by imposing vortex director patterns of a background LCLC on the motile bacteria B. subtilis. B. subtilis is a rod-shaped microorganism that could swim in a nematic LCLC at &#8764;15 &#956;m/s by coordinated rotation of about 10-20 helical filaments, called flagella; the head of the bacterium rotates in an opposite direction with a smaller frequency <ref type="bibr">[17,</ref><ref type="bibr">31]</ref>. B. subtilis swimming in a nematic LCLC generates a "hydrodynamic force dipole" pattern <ref type="bibr">[17,</ref><ref type="bibr">31]</ref>, typical for many flagellated bacteria swimming in water <ref type="bibr">[32]</ref>: the surrounding fluid is pushed away from the bacterium along the axial direction and pulled toward the bacterium along the two perpendicular directions, as schematically shown in Fig. <ref type="figure">1(a)</ref>. In dense isotropic aqueous dispersions, with concentration in excess of 10 15 m -3 , these hydrodynamic dipolar perturbations lead to spectacular collective effects of "bacterial turbulence," with vortices and jets <ref type="bibr">[2,</ref><ref type="bibr">33]</ref>. Theoretical modeling of these dense dispersions <ref type="bibr">[34,</ref><ref type="bibr">35]</ref> reveals that the overlapping hydrodynamic force dipoles destabilize the mutual alignment of neighboring bacteria, making a parallel swimming motion unstable. Our work demonstrates that by replacing the isotropic environment with nematic vortices, which mediates the interactions of the hydrodynamic force dipoles through the underlying director, one can achieve a stable parallel polar swimming of bacteria with controllable scenarios, such as swirl expansion and swirl contraction.</p><p>The predesigned vortices range from radial to circular, with the spiral angle &#966; 0 varying from 0 to 90 &#8226; . We demonstrate that any spiral director vortex with 0 &lt; &#966; 0 &lt; 90 &#8226; congregates bacteria into a unidirectionally circulating swirl when the concentration of bacteria exceeds some threshold (10 13 -10 14 ) m -3 , which is 10-100 times smaller than the critical concentration at which "bacterial turbulence" sets in isotropic systems. This concentration threshold corresponds to the expected range of bacterial interactions in the nematic LCLC, at which the fluid perturbations around the neighboring swimmers start to overlap. Below the threshold, the bacteria show only an individual behavior, as they swim parallel to the director and do not condense into circular swirls. The spiral angle destines the long-term fate of the collective circular swimming above the threshold. In patterns with &#966; 0 &lt; 45 &#8226; , as time goes by, the swirls shrink toward the center, while in &#966; 0 &gt; 45 &#8226; patterns, they expand. Vortices with &#966; 0 = 45 &#8226; produce the most stable unidirectional circular motion of bacteria. The corresponding swirls are capable of self-healing: when the number of bacteria increases above some threshold and the circular trajectories start to undulate, the swirl releases the excess of bacteria to resume steady circulation. The experimental data are qualitatively explained by demonstrating that the hydrodynamic interactions among the bacteria and the ensuing active forces depend on the underlying director field. These interactions are described by an agent-based modeling and by an advection-diffusion model of a living liquid crystal <ref type="bibr">[36]</ref> that incorporates the active forces created by the microswimmers.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. MATERIALS AND METHODS</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Sample preparation</head><p>We use B. subtilis (wild-type strain 1085), which is a rodshaped bacterium with a body length of 5-7 &#956;m. The bacteria are initially grown on a lysogeny broth (LB, purchased from Teknova) agar plate, then transferred to a tube containing 10 mL of liquid medium terrific broth (TB, purchased from Sigma Aldrich). The tube is placed in a shaking incubator at 35&#176;C and extracted after 7-9 h, once the maximum saturation of bacterial concentration is reached. The saturation of the bacterial concentration is measured using a custommade optical density meter. 0.05 mL of the liquid medium containing the bacteria is then extracted from the tube, centrifuged for 2 min at 10 000 rpm. After centrifugation, the liquid medium which does not contain bacteria is removed, and a 0.5 mL 14 wt% solution of disodium cromoglycate (DSCG, purchased from Alfa Aesar) in TB is added to the bacteria and carefully pipetted up and down several times. TB provides nutrients to support motility of the bacteria, keeping the bacteria motile in a sealed cell with no additional oxygen supply for approximately 1-2 h.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Director patterning and experimental design</head><p>The bacterial solutions are confined in flat cells, formed by 1mm thick soda-lime glass sheets cleaned thoroughly in an ultrasonic bath for 30 min at 60&#176;C, rinsed with isopropanol, then placed in an oven to dry for 10 min at 80&#176;C. The glass is UV-ozone cured in a chamber for 10 min, then spin-coated with a solution of an azo-dye in dimethylformamide. We use either 0.5 wt% filtered solution of Brilliant Yellow dye (purchased from Sigma Aldrich) or SD-1 dye in dimethylformamide (purchased from Sigma Aldrich), depending on the humidity <ref type="bibr">[37]</ref>. The glass plates are hard-baked in the oven for 30 min at 100&#176;C to fully evaporate the solvent.</p><p>Photopatterning is used to impose the desired anchoring conditions onto the background LCLCs. The glass substrates with photoalignment dye layers are illuminated with a metalhalide X-Cite 120 lamp. The light beam is passing through a plasmonic photomask with nano-slits that produce a local polarization of light perpendicular to the long axes of slits. Upon irradiation, the spin-coated photosensitive dye molecules align perpendicularly to local polarization. The photoaligned dye coatings align the LCLC director; the director pattern reproduces the pattern on nano-slits in the plasmonic photomask. The glass substrates are carefully blown with a compressed nitrogen air gun and spin-coated with a toluene solution of 6.7 wt% reactive mesogen RM-257 (purchased from Wilshire Tech.), containing also 0.35 wt% photoinitiator Irgacure-651 (purchased from Ciba). Subsequently, the substrates are illuminated with a UV-lamp (365 nm, 6 W) for 30 min for polymerization of RM-257 to form a liquid crystal elastomer coating with the director that follows alignment of the azodye <ref type="bibr">[38]</ref>. The patterned substrates are assembled into cells, being separated by spherical and cylindrical spacers of diameter 20 or 5 &#956;m. The thickness of the cells is measured using a spectrometer. The LCLC containing the bacteria is injected into the cell using capillary forces, and the open sides are sealed using an epoxy to prevent evaporation.</p><p>The sample is heated to 43&#176;C using a hot stage (Linkam model PE94) to melt the LCLC into the isotropic phase, after which it is slowly cooled down to the nematic phase to achieve better alignment of the LCLCs. When the sample is slowly cooled from the isotropic phase, the nematic phase first forms as sublayers at the top and bottom plates, which merge to form a homogenous nematic phase. While the sample is in the biphasic state, the bacteria swim along the imposed nematic director near the two bounding surfaces and continue to swim along the director after complete transition to the nematic phase. The interfaces that are parallel to the plates do not swipe away bacteria. Occasionally, there might be a nematic-isotropic interface that is not parallel to the plates. Such an interface could swipe few bacteria from the field of view. However, the bacteria remain in the pool of the material and once the transition to the nematic is complete, they are free to swim anywhere, as dictated by the processes described in the paper. We verified and confirmed that the initial concentration and distribution of bacteria before and after the phase transition remain the same. The desired alignment of DSCG establishes itself 15-20 s after the sample transitions completely into the nematic phase. Therefore, to assure that there is full alignment, we waited 60 s after the phase transition before starting to acquire any data. Note here that the bacteria show a steady level of activity for only a limited time, about 30 min, after being injected into the cells; we thus could not extend a reliable analysis to time intervals much longer than 10 min.</p><p>The alignment patterns are identical at the top and bottom surfaces. The preimposed director writes in cylindrical coordinates as n0 = (n r , n &#966; , 0) = (cos &#966; 0 , sin &#966; 0 , 0), <ref type="bibr">(1)</ref> where the constant spiral angle &#966; 0 is measured between the radius-vector r and the local director. Nine different patterns were designed, with &#966; 0 = 0, 10  When &#966; 0 = 0, the director deformation is a pure splay, s = n0 &#8711; &#8226; n0 = (1/r, 0, 0). As &#966; 0 increases above 0, the splay s = (cos 2 &#966; 0 /r, sin 2&#966; 0 /2r, 0) is accompanied by bend, b = n0 &#215;&#8711;&#215; n0 = (sin 2 &#966; 0 /r,sin 2&#966; 0 /2r, 0), until the deformation becomes a pure bend at &#966; 0 = 90 &#8226; , b = (1/r, 0, 0). When &#966; 0 = 45 &#8226; , the contributions of splay and bend are equal to each other, |s| = |b| = 1/ &#8730; 2r. Besides the director pattern, another important factor controlling the dynamics of bacteria is their concentration. In addition to the overall concentration c v measured as a number of bacteria per unit volume, which does not depend on the particular director pattern, we introduce a local vortex-specific volume concentration c p measured by counting the bacteria within a box x&#215; y&#215;d centered at the vortex core, where x = y = 0.4 mm. We also calculate the volume fractions v and p corresponding to c v and c p . We treat a bacterium as a cylindrical rod of a length 7 &#956;m and a diameter 0.7 &#956;m <ref type="bibr">[17]</ref>, so that its volume is approximately v B &#8776; 3 &#956;m 3 . v and p are calculated as the total volume of bacteria within the region of interest divided by the volume of that region. For selected patterns, in which a number n B of bacteria form a condensed toroidal swirl of an outer r out and inner r in radii and of the thickness d, we calculate the volume fraction of a condensate as</p><p>]. The boundaries of swirls with the outer r out and inner r in radii are marked by red circles in Fig. <ref type="figure">2</ref>. The v , p , cond quantities are less precise as compared to c v and c p but help to understand the separation distances between the bacteria.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Optical microscopy and PolScope measurements</head><p>For data acquisition and recording, we use a Nikon TE-2000 inverted microscope and a high-resolution camera (Emergent HR-20000C). The bacteria appeared as higherintensity objects on a lower background intensity of the transparent liquid-crystal field. We found the average image over all frames and subtracted it from each frame of the video. With this, the background liquid crystal intensity becomes even more suppressed and we segregated the individual bacteria using an intensity thresholding technique. To obtain the optical retardation map and underlying director field, the samples are observed using an optical polarizing microscope (Nikon E600) mounted with a Cambridge Research Incorporated Abrio LC-PolScope package. The PolScope uses 546 nm monochromatic illumination to map out the optical retardance and orientation of the slow axis of the sample, from which a two-dimensional (2D) director field is reconstructed <ref type="bibr">[39,</ref><ref type="bibr">40]</ref>. The maximum optical retardance that can be measured using the PolScope is 273 nm, but measurements above 240 nm do not yield accurate results <ref type="bibr">[41]</ref>. Therefore, we restricted our retardance measurements to be range 0-240 nm by making thin cells of thickness d = 5 &#956;m.</p><p>To visualize the bacterial dynamics, we use bright-field optical microscopy in which the LCLC and swimming bacteria show different levels of transparency. The background transmitted light intensity is subtracted from the entire frame to make the LCLC environment "black", while the light intensity transmitted through the bacterial bodies is enhanced to the maximum "bright" level. The direction of bacterial motion is deduced by comparing subsequent video frames.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. Description of computational model</head><p>We validated our findings using the advection-diffusion model <ref type="bibr">[36]</ref>. In this model, the nematic dynamics is described by the following equations:</p><p>Here V 0 is the bacterium swimming speed, D c is the diffusion coefficient, and &#964; is the direction reversal time (if a bacterium reverses a direction, it leaves the population c + and becomes c -or vice versa). Our experiments show that the reversal time is typically quite large, of the order of 30-60 s. In Eqs. ( <ref type="formula">2</ref>) and</p><p>(3), n can differ from the prescribed n0 because of the torques and forces imposed by the bacteria. Equation ( <ref type="formula">2</ref>) describes the evolution of the tensorial nematic order parameter Q, where v is the fluid velocity, tensor S accounts for the nematic alignment with the fluid flow, H is the molecular field that accounts for the nematic elasticity. Equation ( <ref type="formula">3</ref>) is the linear momentum balance, where &#963; s and &#963; a are the symmetric and antisymmetric elastic contributions, respectively, &#963; visc is the viscous contribution, &#963; act = -&#955;Qc is the active stress that depends on bacterial concentration c = c + + c -. The active stress generates realigning force F act = &#8711; &#8226; &#963; act . In turn, F ext models nematic relaxation toward the anchoring direction n -2aF ext &#947; s . Here p is fluid pressure, and the term -&#950; v is a viscous friction term. For additional details, see Ref. <ref type="bibr">[25]</ref>. Equations ( <ref type="formula">2</ref>) and ( <ref type="formula">3</ref>) are complemented by two evolution equations for bacterial concentrations c = c + + c -, Eq. ( <ref type="formula">4</ref>). Each of the bacterial populations c &#177; swims in opposite directions parallel to the director. Given the nematic angle &#966;, there is freedom in choosing a c + orientation angle &#952; + (&#952; + = &#966; or &#952; + = &#966; + &#960;). In our previous work <ref type="bibr">[25]</ref>, we defined c + to swim to the right (and correspondingly c -to the left) and relabeled concentrations in the proximity of vertical nematic orientations. In this work, we take advantage of spiral nematic patterns and define c + to always swim clockwise and c -to always swim counterclockwise, which allows us to avoid nonphysical bacterial clustering without c &#177; relabeling. In this case, c -bacteria swim away from the pattern center, while c + bacteria swim toward the center.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>III. RESULTS</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Individual-to-collective transition in swimming patterns</head><p>In dilute dispersions, c V &#8776; 0.8&#215;10 12 m -3 (volume fraction v &#8776; 2.4&#215;10 -6 ), the bacteria simply swim along n0 , as illustrated by six trajectories in the vortex pattern with &#966; 0 = 25 &#8226; in Fig. <ref type="figure">1(b</ref>) and Supplemental Movie S1 <ref type="bibr">[42]</ref>. The bacteria in this dilute regime do not interact with each other and do not distort the surface-imposed director, similarly to the previous studies <ref type="bibr">[17,</ref><ref type="bibr">18,</ref><ref type="bibr">20,</ref><ref type="bibr">21]</ref>. When the number of bacteria increases above ten, the trajectories start to change from spiral to circular, Fig. <ref type="figure">1(c</ref>) and Supplemental Movie S2 <ref type="bibr">[42]</ref>. The circular trajectories form a large angle &#8764;65 &#8226; with the director field n0 preinscribed at the bounding plates, a behavior clearly at odds with steady swimming parallel to n0 at low concentrations.</p><p>The local concentration at the onset of the individualto-collective motion transition, when only some but not all bacteria form circular or arched trajectories, Fig. <ref type="figure">1(c)</ref>, is c min p &#8776; 0.2&#215;10 13 m -3 , p &#8776; 0.6&#215;10 -5 . The intermediate spiral-circular state persists until the concentration reaches a critical value c cr p &#8776; 0.7&#215;10 13 m -3 (25-30 bacteria, cr p &#8776; 2.1&#215;10 -5 ), above which all bacteria condense into the circular swirl, as shown in Fig. <ref type="figure">1(d</ref>) and Supplemental Movie S3 <ref type="bibr">[42]</ref> for a group of &#8764;60 bacteria, c p &#8776; 0.6&#215;10 14 m -3 and volume fraction cond &#8776; 9&#215;10 -3 of bacteria in the condensed swirl. Importantly, in contrast to the individual regime that produces no net flows, the collective circulation is unipolar, namely, clockwise when the sample is viewed "from above", Fig. <ref type="figure">1(d)</ref>. This unipolar circulation settles in all patterns with 0 &lt; &#966; 0 &lt; 90 &#8226; , in which the director spirals counterclockwise from the center, as &#966; 0 &gt; 0 in Eq. ( <ref type="formula">1</ref>), Fig. <ref type="figure">1(a)</ref>. Occasionally, there might be a reversal of an individual bacterial velocity, but these events are rare. The observed unipolar circulation is different from the well-known effect of circular swimming that many bacteria, including B. subtilis, experience in diluted dispersions, while swimming as individuals near solid boundaries: this individual circling is caused by the interactions of the bacterium's clockwise-rotating head with the substrate <ref type="bibr">[43]</ref><ref type="bibr">[44]</ref><ref type="bibr">[45]</ref>. In our cells, the clockwise swimming is driven by the collective interactions between the bacteria mediated by the underlying spiraling director, which overcome any possible effects caused by the head counterrotation.</p><p>When the bacteria swim individually along n0 in diluted samples, their average separation is large, &#8776;60 &#956;m or more. Collective circular swimming, Figs. <ref type="figure">1(c</ref>) and 1(d), occurs when the separation decreases to &#8776;15-20 &#956;m, which corresponds to a significant overlap of the hydrodynamic force dipoles of neighboring bacteria in the LCLC background <ref type="bibr">[31]</ref>. Hydrodynamic interactions of bacteria in proximity to each other, mediated by the patterned director field of the passive nematic environment, produce a net active force F a that first triggers and then drives the collective motion, as illustrated in Fig. <ref type="figure">1</ref>(a) and explained below.</p><p>Because no net force is applied to a self-propelled object, a swimming bacterium represents a moving hydrodynamic force dipole as it produces two outward fluid streams coaxial with the bacterial body <ref type="bibr">[3,</ref><ref type="bibr">5,</ref><ref type="bibr">17]</ref>, as shown for bacteria 1 and 2 in Fig. <ref type="figure">1(a)</ref>. The individual bacteria 1 and 2 are separated by large distances, their streams do not overlap, and they do not interact. These well separated bacteria experience only an alignment action of the passive nematic that orients them parallel to n0 <ref type="bibr">[15]</ref><ref type="bibr">[16]</ref><ref type="bibr">[17]</ref><ref type="bibr">[18]</ref>. This alignment and nonpolar character of n0 explain the spiral open nonpolar trajectories that the individual swimmers follow in Fig. <ref type="figure">1(b)</ref>.</p><p>The situation changes dramatically when the bacterial concentration increases and their force dipoles start to overlap, as illustrated in the top part of Fig. <ref type="figure">1</ref>(a) for bacteria 3, 4, 5, and others nearly. Since each bacterium prefers to be parallel to n0 , and since n0 is predesigned with splay and bend, the force dipoles are titled with respect to each. The tilted force dipoles of closely located bacteria cannot compensate each other and produce a net active force. In the concrete example in Fig. <ref type="figure">1</ref>(a) with the spiral angle &#966; 0 = 25 &#8226; , bend and splay imposed onto the field of force dipoles, produce a net active force F a that is directed clockwise and toward the center of the vortex, as shown by red arrows in Figs. <ref type="figure">1(a</ref>) and 1(d). This net force triggers the transition from the individual to the collective clockwise circulation of the bacterial swarm. As we will see later, the qualitative picture of the bacterial interactions through the patterned director in Figs. <ref type="figure">1(a</ref>) and 1(d) is validated by a rigorous consideration of the active force dependence on the director gradients in Eq. ( <ref type="formula">5</ref>), and by a theory that accounts for variable concentration.</p><p>The hydrodynamic interactions of overlapping dipoles in Fig. <ref type="figure">1</ref>(a), mediated by the underlying passive director, also explain the dynamic phenomena that emerge when the transition to collective motion is complete. Among these are (i) clockwise circulation for any spiral angle in the range 0 &lt; &#966; 0 &lt; 90 &#8226; ; (ii) expansion and shrinkage of the swirls controlled by the spiral angle &#966; 0 . We described these effects below for samples with a higher concentration c v &#8776; 0.8&#215;10 13 m -3 , v &#8776; 2.4&#215;10 -5 , Figs. <ref type="figure">2</ref><ref type="figure">3</ref><ref type="figure">4</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Regime of steady unipolar circulation</head><p>All vortices with 0 &lt; &#966; 0 &lt; 90 &#8226; impose the same unidirectional clockwise steady circulation of bacteria, provided their concentration exceeds some critical value which depends on &#966; 0 and is in the range 0.1&#215;10 14 m -3 c p 0.8&#215;10 14 m -3 (3&#215;10 -5 p 2.4&#215;10 -4 ). The steady circulation persists till the concentration reaches a higher value c max p at which the swirls start to undulate, losing their circular shape; this effect is detailed in the next section. The trajectories of bacteria tracked using TrackMate <ref type="bibr">[46]</ref> are shown in Figs. 2(a)-2(q), using different colors for different bacteria.</p><p>The bacteria circulate within a relatively narrow ring, Fig. <ref type="figure">2</ref>(s) (Supplemental Movie S3, S4 <ref type="bibr">[42]</ref>). The radial dis- tribution of bacteria in each pattern is tracked for 60 s to find the correlation between the radius of maximum concentration r c,max and &#966; 0 , which defines the ratio of bend to splay, Fig. <ref type="figure">2(s</ref>). The data from each pattern are normalized by setting the value of maximum concentration to 1. Each concentration distribution shows a prominent peak at r = r c,max , Fig. <ref type="figure">2(s)</ref>; r c,max increases with &#966; 0 , as the bend deformation overcomes splay.</p><p>A velocity map for each vortex was obtained by tracking each bacterium for 60 s using particle image velocimetry (PIV) MATLAB package <ref type="bibr">[47]</ref>, Fig. <ref type="figure">S4</ref>(a)-S4(h) <ref type="bibr">[42]</ref>. The  distance and &#966; 0 , reaching a maximum v &#966; &#8776; 7.2 &#956;m/s at &#966; 0 = 45 &#8226; , and dropping to v &#966; &#8776; (6.0-6.6) &#956;m/s at &#966; 0 = 70 &#8226; , 80 &#8226; and even to v &#966; &#8776; 5 &#956;m/s at &#966; 0 = 10 &#8226; , 25 &#8226; , Fig. <ref type="figure">3(a)</ref>. As discussed in the next subsection, a plausible reason is that the azimuthal active force reaches a maximum at &#966; 0 = 45 &#8226; . In addition, at &#966; 0 &gt; 45 &#8226; , the swirls are wider and less concentrated than the swirls at &#966; 0 = 45 &#8226; , while the swirls at &#966; 0 &lt; 45 &#8226; cross n0 at a very large angle and thus need to overcome a stronger viscoelastic resistance <ref type="bibr">[18]</ref>.</p><p>This behavior differs from a theoretical prediction [48] that a Taylor swimmer, i.e., a deforming sheet which generates low-amplitude plane waves, placed in a uniform nematic n0 = const, would swim faster if it were perpendicular to n0 than when it were parallel to n0 . In particular, the swimming speed is predicted to increase when the Taylor swimmer makes an angle between 45 &#8226; and 135 &#8226; with n0 <ref type="bibr">[48]</ref>; this regime corresponds to the splay-rich vortices 0 &lt; &#966; 0 &lt; 45 &#8226; , but in our case the speed in splay-rich vortices is actually smaller than that at &#966; 0 = 45 &#8226; . There are many reasons for the discrepancy: (i) surface anchoring at the bacterial body is strong enough to keep the local director parallel to the bacterial body <ref type="bibr">[18]</ref> and thus different from n0 , while in the considered model of Taylor swimmer this anchoring is weaker; (ii) the director in our case is pre-patterned, while in Ref. <ref type="bibr">[48]</ref> it is uniform; (iii) the modes of propulsion are different, etc. The observed speed dependence on the anisotropy direction of environment demonstrates a rich potential of an orientationally ordered media to control active flows.</p><p>The diameter of circular swarms of bacteria increases with the spiral angle &#966; 0 , as clear from Fig. <ref type="figure">3(b)</ref>, in which each velocity dependency v &#966; (r) peaks at a certain radius r = r max that increases with &#966; 0 , for a similar duration of observation (60 s).</p><p>So far, we described short-term dynamics, mostly within the time interval [0, 60 s]. The circular swirls also show longterm dynamics that is dramatically dependent on &#966; 0 , Fig. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Active force induced by director-mediated hydrodynamic interactions</head><p>The salient features of the bacterial dynamics in the predesigned vortex director field, namely, onset of collective swirl dynamics, clockwise swimming, shrinking and expansion of swirls, dependence of the azimuthal velocity on the spiral angle can be qualitatively explained by analyzing the active force that emerges when the bacterial force dipoles, being embedded into the passive director field, start to overlap. Figures <ref type="figure">1(a</ref>) and 1(d) explain the mechanism of the individualto-collective motion transition for the &#966; 0 = 25 &#8226; vortex. In a general case, the active force as a function of the director gradients can be written in the approximation of a spatially independent concentration <ref type="bibr">[23,</ref><ref type="bibr">49]</ref>, c = const, as</p><p>where &#945; = -&#955;c is the activity coefficient defined as the product of bacterial concentration and force dipole &#955; &gt; 0 exerted by each bacterium on the surrounding nematic; &#945; is negative since B. subtilis microswimmers are pushers <ref type="bibr">[50,</ref><ref type="bibr">51]</ref>.</p><p>The limitation c = const is lifted in the next section, which operates with the full description of the active force as a divergence of the active stress. Note that in strongly condensed systems, such as a condensed dispersion of filaments, &#945; is often taken as proportional to c 2 , to stress that the activity arises from pairwise interactions <ref type="bibr">[52]</ref>. In our case, the active force in a relatively dilute subsystem of bacteria is mediated by the passive nematic environment, so that &#945; &#8764; c to reflect its superposition character. For the director field in Eq. ( <ref type="formula">1</ref>), which spirals counterclockwise when 0 &lt; &#966; 0 &lt; 90 &#8226; , the azimuthal component of the active force in Eq. ( <ref type="formula">5</ref>), F a,&#966; = &#945; r sin 2&#966; 0 , is always negative (since &#945; &lt; 0), i.e., directed clockwise, Figs. 1(d), 4(c), 4(f), and 4(i). This negative azimuthal component coerces the bacteria to swim clockwise in swirls for any 0 &lt; &#966; 0 &lt; 90 &#8226; . In contrast, the radial component F a,r = &#945; r cos 2&#966; 0 can be either negative, &#966; 0 &lt; 45 &#8226; , Fig. <ref type="figure">4</ref>(c) [compare to Fig. <ref type="figure">1(a)</ref>], or positive, &#966; 0 &gt; 45 &#8226; , Fig. <ref type="figure">4</ref>(i), thus facilitating shrinking or expansion of the swirls, respectively. The radial component is zero when &#966; 0 = 45 &#8226; , Fig. <ref type="figure">4</ref>(f). These qualitative geometrical arguments explain the experimental scenarios: the swirls circulate clockwise and either shrink to the center when &#966; 0 &lt; 45 &#8226; , or migrate to the periphery when &#966; 0 &gt; 45 &#8226; , Fig. <ref type="figure">4</ref> and Supplemental Material Fig. S3 <ref type="bibr">[42]</ref>. The vortex with &#966; 0 = 45 &#8226; produces the most stable swirls, since the active force is As demonstrated by Zhou et al. <ref type="bibr">[18]</ref> for a different geometry of homeotropic samples, swimming bacteria can realign the director field parallel to their rodlike bodies, even if the surface anchoring at the cell's substrates sets the director orientation different from the orientation of the bacterial body. A similar effect occurs in circular swirls. Realignment of the director from n0 is easier to observe in thin rather than in thick cells since one can use PolScope to map the actual director. We used cells with d 6.5 &#956;m and &#966; 0 = 45 &#8226; . Figures <ref type="figure">5(a</ref> To conclude this section, it is important to stress that the collective unipolar swirling occurs only for the mixed splaybend deformations, 0 &lt; &#966; 0 &lt; 90 &#8226; . Vortices of pure splay and pure bend produce no net flows. In the splay case (&#966; 0 = 0), the bacteria swim in and out of the vortex core along the radial directions, Fig. <ref type="figure">2</ref>(a) and Supplemental Material Fig. <ref type="figure">S2(c</ref>) <ref type="bibr">[42]</ref>, but when the concentration is raised to c v &#8776; 0.16&#215;10 14 m -3 , v &#8776; 0.5&#215;10 -4 , they accumulate in the center <ref type="bibr">[23]</ref>, Supplemental Material Fig. <ref type="figure">S2(d</ref>) <ref type="bibr">[42]</ref>, forming an immobilized dense cluster within a few minutes. In the bend case (&#966; 0 = 90 &#8226; ), the bacteria swim in a bipolar fashion along circular trajectories that gradually displace to the periphery, see Supplemental Material Fig. <ref type="figure">S2(b</ref>) <ref type="bibr">[42]</ref> and Fig. <ref type="figure">2(r)</ref>. The absence of net flows, condensation at the cores, and expansion to the periphery are explained by an argument similar to the scheme in Fig. <ref type="figure">1</ref>(a) and by Eq. ( <ref type="formula">5</ref>). Namely, the active force F a in these cases is purely radial, either centripetal, &#966; 0 = 0, or centrifugal, &#966; 0 = 90 &#8226; , with no azimuthal component. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. Spiral vortices: Regime of undulations and population oscillations</head><p>The circulating swirls deviate from a circle to an undulating shape, Fig. <ref type="figure">6</ref>, when the number of bacteria increases above some threshold c max p that depends on &#966; 0 . To observe the undulations, we use a higher initial concentration c V &#8776; 0.1&#215;10 14 m -3 , v &#8776; 3&#215;10 -5 . The undulations arise from bending instability that is typical of the dynamics of "pushers" <ref type="bibr">[17,</ref><ref type="bibr">36]</ref>. Figure <ref type="figure">6</ref> illustrates the development in a &#966; 0 = 45 &#8226; vortex. Once the local concetration raises above c p &#8776; 0.1&#215;10 14 m -3 , the bacteria form a steady circular swirl with a local condensation volume fraction cond &#8776; 0.6&#215;10 -3 , Fig. <ref type="figure">6(a)</ref>. As time goes by, the swarm attracts more bacteria, Fig. <ref type="figure">6(b)</ref>, their concentration increases to c p max &#8776; 1.0&#215;10 14 m -3 , max cond &#8776; 0.8&#215;10 -3 , at which point the circular shape begins to undulate, Fig. <ref type="figure">6(c</ref>). Once the swirl starts to undulate, the bacteria escape from it, through openings in the most developed protrusions, Figs. <ref type="figure">6(d</ref>) and 6(e). After releasing some bacteria, the swarm becomes less populated, Fig. <ref type="figure">6(f)</ref>, with the concentration dropping down to c p &#8776; 0.3&#215;10 14 m -3 , cond &#8776; 0.6&#215;10 -3 , which is below the undulation threshold c max p , max cond &#8776; 0.8&#215;10 -3 , Fig. <ref type="figure">6(g</ref>). As a result, the swarm restores its circular closed shape, resuming steady swirling, Fig. <ref type="figure">6(h</ref>). The circulation remains steady until the concentration increases to c p &#8776; c p max &#8776; 1.0&#215;10 14 m -3 , max cond &#8776; 0.8&#215;10 -3 again, after which the cycle of undulations and population oscillation repeats itself. The entire cycle can be repeated multiple times.</p><p>Similar undulations and population oscillations can also be observed for other vortices with &#966; 0 &gt; 45 &#8226; , as illustrated for &#966; 0 = 75 &#8226; in Supplemental Material Fig. S5 <ref type="bibr">[42]</ref>. However, after the initial undulation and release of some bacteria, the swarms form circular swirls with a radius larger than the initial one. The reason is that the swirls are expanded by the outward radial component of the active force that is present at any &#966; 0 &gt; 45 &#8226; . For &#966; 0 &lt; 45 &#8226; , condensation toward the center occurs before the undulations could develop.</p><p>It is of interest to compare the undulation threshold max cond &#8776; 0.8&#215;10 -3 with a similar threshold volume fractions that lead to undulations in other geometries of the director field. In uniformly aligned samples, the unulations occur at noticeably lower concentrations v = p = cond = 0.3&#215;10 -3 (c V = c p &#8776; 1.0&#215;10 14 m -3 ), see Supplemental Material Fig. <ref type="figure">S1(b</ref>) <ref type="bibr">[42]</ref>. However, this max cond &#8776; 0.8&#215;10 -3 is much smaller than the threshold concentration p &#8776; cond &#8776; 3.6&#215;10 -3 (c p &#8776; 11.8&#215;10 14 m -3 ) in one-dimensional "C"patterns with alternating splay and bend stripes <ref type="bibr">[25]</ref>. In other words, the vortices of the background passive director help to stabilize the collective unipolar motion as compared to the uniform director environment but not as strongly as the C-patterns of alternating bend and splay. These differences illustrate that the undulation threshod is different in different geometries, a fact that can be used to stabilize or destabilize the dynamics of bacteria by a suitable design of the director field.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>E. Numerical simulations of the individual-to-collective motion:</head><p>Agent-based approach</p><p>The experiment, Fig. <ref type="figure">1</ref>, demonstrates that the transition from an individual bidirectional swimming to a collective unipolar circular swirling occurs at a relatively small number of microorganisms, on the order of 10. The effect of the spiral angle on swirls is also evident for relatively small number of bacteria involved, Figs. <ref type="figure">4</ref> and<ref type="figure">5</ref>. These data suggests that to capture best these striking effects, one should use a model based on discrete active units. These units interact through the underlying passive director pattern n0 (r). The director tends to align the dispersed rodlike bacteria along itself because of the tangential anchoring of the director at the bacteria's bodies <ref type="bibr">[17,</ref><ref type="bibr">18]</ref>. We simulate individual and collective dynamics of a finite number n B of swimming bacteria in the 2D prepatterned passive director field n0 = (cos &#966; 0 , sin &#966; 0 ). The goal is to explore whether the agent-based model could describe a transition from the nonpolar individual to collective unipolar circular swimming in a system with finite number of bacteria that interact through the underlying director pattern. Each bacterium is specified by its position r = (x, y) and velocity pV 0 , where p = (cos &#952;, sin &#952; ) is the unit vector parallel to the long bacterial axis, &#952; is the angle between the x-axis and the vector p. We use a nematic type of interactions between the bacteria and the passive director, so that the evolution of the bacterial orientation &#952; with respect to the director angle &#966; 0 is described by the equation</p><p>, where &#947; B is the relaxation rate that depends on the surface anchoring strength at the bacterial body (&#947; B &#8594; &#8734;) when the bacteria follow the local director at any moment of time); factor 2 reflects the nematic nature of interactions, in which the outcome does not depend on a realignment of &#952; by &#960;. In the vector form, this relaxation dynamics equation for the bacterial orientation writes &#8706; t p = &#947; B n&#215;p( n p). Each individual bacterium exerts an active stress &#963; act = -&#955;Q B f (r) onto the nematic surrounding, where &#955; is the dipolar strength of a bacterium (unit of length is normalized by the length of a bacterium; the unit of velocity is normalized by the bacterial swimming speed; and the unit of force is normalized by the bacterial propulsion force); the "-" sign corresponds to the pusher nature of the swimmers, Q B = pp -I/2 is the tensorial order parameter of the bacteria, I is the identity tensor, and f (r) is anisotropic Gaussian distribution which models the anisotropic shape of a bacterium:</p><p>with the parameters g || = 2.2 l and g &#8869; = 1.0 l that define the width of the distribution along p and perpendicular to p, respectively. The active stress generates a realigning force F act = &#8711; &#8226; &#963; act , where the sum is taken over all bacteria. A relaxation equation in the Landau-Lifshitz-Gilbert form for the director in the bulk writes &#8706; t n = -n&#215; n&#215;(&#947; s n0 -2aF act + K n), where &#947; s is the director relaxation rate dependent on the director anchoring strength at the bounding plates and a is a coefficient dependent on the surface anchoring strength at the bacterial body <ref type="bibr">[18]</ref>, K is the Frank elastic constant of the nematic normalized by rotational friction (for more details, see Supplemental Material <ref type="bibr">[42]</ref>). This form automatically ensures the director normalization condition n n = 1. The Landau-Lifshitz-Gilbert dynamic equation is fully equivalent to the Leslie-Ericksen description of the director realignments but it is easier to use in numerical simulations since it does not encounter the angle discontinuity intrinsic to the nematic angle description; it can be applied as long as the director field does not contain halfinteger disclinations, which is the case under consideration. Note that our model does not include bacterial interactions among themselves nor the effects of random noise, because of the following reasons. The multibody bacterial interactions are important in dense systems in which the microorganisms are in constant contact with each other, see, for example, Li et al. <ref type="bibr">[53]</ref>. Our system is much more dilute, with the volume fractions even in the condensed swirls being less than 0.01. Random reorientations of the bacteria are suppressed by the surrounding passive director field and finite anchoring of the director at the bacterial bodies <ref type="bibr">[17,</ref><ref type="bibr">18,</ref><ref type="bibr">31]</ref>. Numerical simulations reproduce the most salient feature of the bacterial dynamics in vortices, namely, a transition from the individual swimming parallel to the pre-imposed director n0 at small concentrations to a collective circular swirling above some concentration threshold. In the numerical simulations for &#966; 0 = 45 &#8226; vortex, we use &#947; B = 0.2 s -1 , &#947; s = 0.1 s -1 and &#955;a &#8776; 0.5 s -1 . We vary the number of individual bacteria n B from 4 to 256 and find that the collective swirling starts at n B &#8764; 10, Fig. <ref type="figure">7</ref> and Supplemental Movie S5 <ref type="bibr">[42]</ref>, which is practically the same as the experimental one.</p><p>The agent-based model captures remarkably well the underlying physics of the individual-to-collective motion transition in the &#966; 0 = 45 &#8226; vortices. At very low concentrations, n B = 4, 9 in Fig. <ref type="figure">7</ref> and Supplemental Movie S5 <ref type="bibr">[42]</ref>, the surface anchoring and elasticity of the passive nematic environment are sufficient to align and guide the swimming bacteria strictly along n0 , along bipolar trajectories, as in Fig. <ref type="figure">1(b</ref>). Once n B increases above 10 in Fig. <ref type="figure">7</ref> and Supplemental Movie S5 <ref type="bibr">[42]</ref>, the hydrodynamic force dipoles of neighboring bacteria that are aligned by the spiraling n0 at some angle to each other, start to overlap and produce an active azimuthal force that sets a collective polar circular swimming. At this stage, the trajectories are no longer along the director and cut the substrate-imposed n0 (r) at 45 &#8226; .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>F. Numerical simulations of the effect of the spiral angle:</head><p>Agent-based approach</p><p>The agent-based model also describes the effect of the spiral angle in the range 40 &#8226; &#966; 0 &lt; 90 &#8226; on the bacterial swirls, as illustrated for n B = 256 in Fig. <ref type="figure">8</ref> and Supplemental Movie S6 <ref type="bibr">[42]</ref>. In the circular vortices, &#966; 0 = 90 &#8226; , the bacterial swirl expands with time, Fig. experiment and the qualitative active force description, since the radial outward component of the active force is maximum at &#966; 0 = 90 &#8226; . The radii of toroidal swirls, determined at the maximum simulation time T , increase with &#966; 0 , again in agreement with the experiment, Fig. <ref type="figure">3(b)</ref>.</p><p>Despite the successful description of the individual-tocollective transition and dependence of swirls dynamics on &#966; 0 , we also find certain disagreements between the model and the experiments. Swirls around vortices 40 &#8226; &#966; 0 &lt; 90 &#8226; show only a minor change with time at the late stages of simulations, Fig. <ref type="figure">8</ref>(g). Once formed, the swirls remain stable and show no undulations as long as the simulations run. Furthermore, in vortices with &#966; 0 &lt; 40 &#8226; , the simulated microswimmers follow the director n0 and do not form closed circular swirls, even if their number is as high as 900. The most probable reasons for the discrepancy are that the simulations (i) neglect the finite size and steric interactions of the microswimmers and (ii) do not capture fully the length scale of hydrodynamic interactions of bacteria and the complex pattern of surface anchoring at their bodies (which is especially important at &#966; 0 &lt; 45 &#8226; since in this case the rodlike bacterium in a swirl forms a large angle &#960; 2 -&#966; 0 with the pre-patterned director).</p><p>Further insights are obtained in the continuum (mean-field) analytical approximation of the agent-based model, see Sup-plemental Material <ref type="bibr">[42]</ref>. In this approximation, one derives an equation for the concentration of bacteria and the director n; n is generally different from the prescribed n0 because of the torques and forces imposed by bacteria. Neglecting the elastic response of the nematic, one obtains an analytical expression for the director n vs concentration, Eq. (S11). The resulting relation is used to solve the problem analytically. The steady-state distributions of concentration vs the radius r for different values of the prepatterned spiral angle are shown in Supplemental Material Fig. S6 <ref type="bibr">[42]</ref>. In faithful agreement with the agent-based model, one obtains a monotonic increase of the swirl radius with the concentration and the angle &#966; 0 , Fig. <ref type="figure">8(h)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>G. Numerical simulations of the bacterial swirls: Continuum approach</head><p>Despite its simplicity and clear underlying physical mechanisms, the agent-based model fails to capture the behavior of relatively dense swirls that show undulatory instabilities, Fig. <ref type="figure">6</ref>. To explore this part of the rich dynamic spectrum of the bacterial dynamics in living liquid crystals, we employ the advection-diffusion model <ref type="bibr">[25]</ref>, see Eqs. in stable swirls is directed clockwise parallel to the bacterial velocity, thus helping the swirl's circulation. Furthermore, the advection-diffusion model successfully captures the onset of undulations of condensed swirls, Fig. <ref type="figure">6</ref>, as demonstrated below.</p><p>We numerically integrated Eqs. ( <ref type="formula">2</ref>)-( <ref type="formula">4</ref>), on graphical processor units (GPUs), see Ref. <ref type="bibr">[36]</ref> for numerical implementation details. Starting with random initial conditions, the system self-organizes and exhibits behavior similar to that observed in the experiment: when the concertation exceeds some threshold, bacteria form a circular swirl. In the swirls, all bacteria swim unidirectionally and create unidirectional fluid flows, Figs. 9(a) and 9(b). This behavior is consistent within the range &#966; 0 &#8712; [65 &#8226; , 85 &#8226; ], Fig. <ref type="figure">9(c</ref>). Furthermore, we observe a monotonous decrease of the swirl radius while decreasing &#966; 0 toward 45 &#8226; .</p><p>At higher bacterial concentrations, the circular trajectories start to undulate, Fig. <ref type="figure">9</ref>(d) and Supplemental Movie S7 <ref type="bibr">[42]</ref>. In agreement with the experiment, bacterial distribution in undulating swirls is nonuniform along the swirl arclength, Fig. <ref type="figure">9(d)</ref>. As in the agent-based simulations, we do not observe persistent circular collective motion for small &#966; 0 , as in these vortices, the model shows that the bacterial concentration reaches its maximum in the vortex center. This is likely due to the limitations discussed in the previous section on agent-based approach and because of the oversimplified expression for the active stress &#963; act &#8764; Q B . In the last expression, the radial part of the active force changes sign at &#966; 0 = 45 &#8226; , which leads to accumulation of bacteria at the origin for &#966; 0 &lt; 45 &#8226; . Higher-order corrections to &#963; act should improve the agreement.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IV. DISCUSSION AND CONCLUSION</head><p>In this work, we demonstrate the transition between an individual and collective modes of motion of bacteria in a spiral director field of a passive nematic background. In the individual regime, bacteria simply follow the preinscribed director, remaining parallel to it. This regime is observed when the concentration of bacteria is small, i.e., the separation distance between bacteria is considerably larger than the range of hydrodynamic interactions, which is on the order of a few tens of micrometers (the typical length of fluid perturbations in the form of hydrodynamic force dipoles produced by an individual motile bacterium in the LCLC <ref type="bibr">[31]</ref>). Once the concentration exceeds some threshold c cr p &#8776; 0.7&#215;10 13 m -3 , which is still a very dilute regime, cr p &#8776; 2.1&#215;10 -5 , the bacteria placed in the spiral vortices (0 &lt; &#966; 0 &lt; 90 &#8226; ) with the director spiraling counterclockwise, begin to swim collectively, forming swirls that circulate around the vortex center in a clockwise manner. The transition from individual apolar swimming with no net flow to collective unipolar circulation with a net flow is triggered by interactions of bacterial force dipoles in close proximity to each other, mediated by the underlying passive director. The overlap of their hydrodynamic force dipoles, aligned at an angle to each other because of the underlying director pattern, produces an azimuthally and radially resolved active force illustrated schematically in Figs. <ref type="figure">1(a</ref>), 1(d), 4(c), 4(f), and 4(i) and detailed in the proposed models and simulations. For any director that spirals counterclockwise, 0 &lt; &#966; 0 &lt; 90 &#8226; , there is always a nonzero azimuthal component F a,&#966; = &#945; r sin 2&#966; 0 of the active force <ref type="bibr">[49]</ref> in Eq. ( <ref type="formula">5</ref>), that coerces the bacteria to swim clockwise. The unipolar circulation is absent in radial vortices, &#966; 0 = 0, in which the bacteria accumulate at the core, and in circular vortices, &#966; 0 = 90 &#8226; , where the circulation is bipolar. The active force in these two cases is purely radial, F a,r = &#177;&#945;/r, being centripetal (&#966; 0 = 0, F a,r = &#945;/r &lt; 0) or centrifugal (&#966; 0 = 90 &#8226; , F a,r = -&#945;/r &gt; 0), respectively, with no azimuthal component.</p><p>The described outcome of bacterial hydrodynamic interactions mediated by the underlying passive director is dramatically different from the case of an isotropic environment. In an isotropic fluid, such as water, the interactions of hydrodynamic force dipoles prevent stable parallel swimming of bacteria and produce turbulentlike incoherent flows <ref type="bibr">[34,</ref><ref type="bibr">35]</ref>. In contrast, surface anchoring and orientational elasticity of the nematic streamline the interactions of the hydrodynamic force dipoles into coherent dynamic patterns. Although the transition from an individual to collective swimming is associated with realignment of the bacterial bodies from being parallel to n0 to making an angle &#960; 2 -&#966; 0 with n0 , this realignment is steady, as the bacterial swirls maintain their circular shape in a broad range of concentrations and spiral angles.</p><p>Swirls' radii for a given concentration of bacteria and for the same moment of time increase monotonously with the spiral angle &#966; 0 . As a function of &#966; 0 and time, the swirls demonstrate three profoundly different long-term scenarios. In the splay-dominated vortices, &#966; 0 &lt; 45 &#8226; , as time goes by, the swirls shrink toward the center. In the bend-dominated vortices, &#966; 0 &gt; 45 &#8226; , the swirls expand to the periphery. The collective circular swirling is most stable in vortices with &#966; 0 = 45 &#8226; , where it persists unchanged for a steady level of bacterial activity. These vortices also show the highest speed of collective circulation, which we associate with the fact that the azimuthal component of the active force F a,&#966; = &#945; r sin 2&#966; 0 reaches its extremum at &#966; 0 = 45 &#8226; . Formation of swirls in any 0 &lt; &#966; 0 &lt; 90 &#8226; vortex is reminiscent of a stable limit cycle. If one considers the entire set of vortices, with the spiral angle as a parameter, then this set singles the &#966; 0 = 45 &#8226; vortex as an example of an unstable limit cycle: An increase of &#966; 0 expels the bacterial trajectories to the periphery, while a decrease of &#966; 0 moves the trajectories closer to the center, in both cases departing the stable circulation with a constant radius.</p><p>The differences in expansion/contraction is caused by the sign change of the radial component of the active force, F a,r = &#945; r cos 2&#966; 0 . When &#966; 0 &lt; 45 &#8226; , then F a,r &lt; 0, which causes contraction of swirls and condensation of bacteria over time. When &#966; 0 &gt; 45 &#8226; , the radial force is centrifugal, F a,r &gt; 0, causing an expansion of swirls. When &#966; 0 = 45 &#8226; , there is no net radial force, so the radius of the bacterial swirl remains constant.</p><p>The bacterial concentration impacts their collective dynamics very strongly. Steady circulation occurs only within a limited concentration range c cr p &lt; c &lt; c max p (c cr p &#8776; 0.7&#215;10 13 m -3 and c max p &#8776; 10&#215;10 13 m -3 ), when the volume fraction of bacteria is above cr p &#8776; 2.1&#215;10 -5 but below its maximum value calculated within the volume occupied by the swirl, max cond &#8776; 0.8&#215;10 -3 . Below this range, the bacteria swim individually, following apolar trajectories parallel to the passive spiral director and creating no net flow. Above this range, the circular bacterial swirls exhibit undulations. The undulating swirls can heal themselves back to the circular shape by opening up and releasing some bacteria, thus reducing the concentration below c max p . In &#966; 0 = 45 &#8226; vortices, the cycle of population oscillations through steady circulation &#8594; undulation &#8594; bacterial release&#8594;healing&#8594;circulation can repeat itself multiple times.</p><p>The experimental findings for the short-time dynamics of the bacterial swirls are well described by the theoretical models. Some disagreement for long-time behavior and swimming in vortices with a small &#966; 0 can be attributed to the limitations of the theory, such as the omission of steric interactions between the bacteria in condensed swirls and relatively small integration domains. Large angular discrepancies between the alignment of the bacterial bodies and the prepatterned n0 add to the complexity of the problem. The long term behavior is also influenced by the experimental factors that make modeling harder, such as decrease of activity with time due to the depletion of nutrients.</p><p>Our results stipulate new design concepts on how to harness individual and collective motion of microswimmers, both living and synthetic, to extract a useful mechanical work that might power microscopic systems. Several realizations of active matter powered microdevices were proposed recently in Refs. <ref type="bibr">[10,</ref><ref type="bibr">11,</ref><ref type="bibr">54]</ref>. As we have demonstrated, a liquid crystalline environment with patterned surface alignment enables self-concentration of bacteria in predesigned locations, without hindering the space with impenetrable walls, thus facilitating energy transduction. Note that the liquid crystal under consideration is a nontoxic aqueous solution of disodium cromoglycate (used as an inhaled anti-inflammatory agent for the treatment of asthma), in which water occupies about 86% of volume. Such a material can be easily interfaced with other microfluidic elements. Of course, bacteria can be replaced with artificial swimmers, which would expand the spectrum of potential liquid crystalline environments for controlled microdynamics.</p></div></body>
		</text>
</TEI>
