---
abstract: 'Using novel micro-printing techniques, we develop a versatile experimental setup that allows us to study how lateral confinement tames the active flows and defect properties of the microtubule/kinesin active nematic system. We demonstrate that the active length scale that determines the self-organization of this system in unconstrained geometries loses its relevance under strong lateral confinement. Dramatic transitions are observed from chaotic to vortex lattices and defect-free unidirectional flows. Defects, which determine the active flow behavior, are created and annihilated on the channel walls rather than in the bulk, and acquire a strong orientational order in narrow channels. Their nucleation is governed by an instability whose wavelength is effectively screened by the channel width. All these results are recovered in simulations, and the comparison highlights the role of boundary conditions.'
author:
- Jérôme Hardoüin
- Rian Hughes
- Amin Doostmohammadi
- Justine Laurent
- 'Teresa Lopez-Leon'
- Julia M Yeomans
- 'Jordi Ignés-Mullol'
- Francesc Sagués
title: Reconfigurable Flows and Defect Landscape of Confined Active Nematics
---

Introduction {#introduction .unnumbered}
============

Active matter refers to systems composed of self-driven units, such as tissues, bacterial suspensions, or mixtures of biofilaments and motor proteins, that organise their textures and flows autonomously by consuming either stored or ambient free energy  @Ramaswamy10 [@Marchetti13]. This distinctive hallmark sometimes conceals another significant, and often unappreciated, feature of active systems: their capability to adapt to the environments where they reside. For example, human cancer cells switch between distinct invasion modes when they encounter constrictions in the crowded environment of stroma @Friedl12, and the growth of bacterial biofilms can be directed by their surroundings @Conrad18. Moreover, geometrical confinement tends to control active flows, replacing the bulk chaotic flow state often termed active turbulence, by more regular flow configurations. Understanding the subtleties of how this occurs will have relevance to possible future applications of active materials in microfluidics and self assembly, and in assessing the relevance of the concepts of active matter in the description of biological systems.

Recent contributions dealing with confinement in bacterial suspensions and cell layers have demonstrated a rich range of behaviour. Competition between wall orientation, hydrodynamic interactions, topology and activity lead to a wide variety of flow patterns: spiral vortices @Wioland13 [@Lushi14], synchronised vortex lattices @Wioland16, unidirectional flows @Wioland16NJP [@Deforet14; @Xi17], shear flows @Silberzan18 and freezing @Duclos14 [@Duclos17]. Work on confining active mixtures of microtubules and motor proteins to circular domains @Guillamat17 [@Guillamat17a; @Guillamat17c], in vesicles @Keber14 or droplets @Suzuki17PNAS [@Guillamat18] and to more complex geometries such as tori @Ellis17 [@Wu17], have already probed the specific effects of interfacial viscosity, curvature and 3D confinement. These experimental results have prompted parallel simulations @Miha2013 [@Whitfield14; @Giomi14; @Sknepnek15; @Zhang16; @Alaimo17].

Here we concentrate on active nematics confined to two-dimensional channels. The system is composed of self-propelling elongated units formed by bundled microtubules powered by ATP-consuming kinesin @Sanchez12. Early theoretical work predicted that laterally-confined active nematics undergo an instability to spontaneous laminar flow when the channel width reaches a typical length scale that depends on the strength of the activity @Voituriez05. This prediction has been recently confirmed in experiments with spindle-shaped cells @Silberzan18. On the other hand, simulations have predicted that, at higher activities or in wider channels, a structured 'dancing' state can be stable in active nematics @Shendruk17. Our aim here is to assess, in a well-controlled and tunable experimental system, and with the support of numerical simulations, the role of confinement in the patterns and dynamics of an active nematic. In particular, we explore the emergence of a new length scale different from the active length that characterizes the unconfined systems.

![image](1_Phase_Diagram_3.pdf){width="\textwidth"}

We find a rich dynamical behaviour, summarised in Fig. \[fig:phase\_diagram\] and witness the emergence of regimes that have not been previously reported, nor predicted by theories or simulations of active liquid crystals in confinement. More specifically, we uncover a defect-free regime of shear flow in narrow channels. This regime is unstable with respect to the nucleation of short-lived defects at the walls. By increasing the channel width, defect lifetime increases, developing a spatio-temporal organization that corresponds to the predicted state of dancing vortical flows  @Shendruk17, before full disorganization into the active turbulence regime for still wider channels, as is typical of the unconfined active nematic. We stress the close interplay between the velocity field and the defect dynamics, and highlight the emergence of a new length scale that, contrary to the classical active length scale, does not depend on the activity level but merely on geometrical parameters.

The paper is organised as follows: we first present the experimental system and the corresponding computational setup. We then describe the different dynamical flow states, and the interplay between flow and the formation of topological defects. A summary concludes the paper.

Experimental and computational setup {#experimental-and-computational-setup .unnumbered}
====================================

The active system we use comprises microtubules powered by ATP-consuming, two headed kinesin molecular motors @Sanchez12. Addition of the depleting agent polyethylene glycol (PEG) concentrates the microtubules into bundles, hundreds of microns long. Within each bundle the kinesin motors bridge neighbouring microtubules and walk towards their positive ends leading to internal sliding of filaments of opposite polarity. The active nematic was prepared using an open-cell design  @Guillamat16PRE, in which $2 \mathrm{\mu L}$ of the active aqueous microtubule-mixture was placed inside a custom-made pool of $5\mathrm{mm}$ diameter and was covered with $60 \mathrm{\mu L}$ of $100 \mathrm{cS}$ silicon oil (see Materials and Methods). Within $30$ minutes, an active nematic layer extends over the whole surface of the pool. Driven by the motors, the microtubule bundles at the interface continuously extend and buckle. This gives rise to a dynamical steady state, termed active turbulence, characterised by high vorticity and by the creation, translation and destruction of topological defects.

The layer of active nematic is confined in rectangular enclosures by means of micro-printed polymer grids of $100\mu$m thickness that are placed in contact with the oil/aqueous interface (see Fig. \[fig:phase\_diagram\]). The active nematic is in contact with the active bulk solution underneath, thus ensuring activity and material parameters are equal in all channels. A detailed sketch of the experimental protocol is available in Fig. \[fig:setup\].

Computational Setup {#computational-setup .unnumbered}
===================

To model the dynamics of the confined microtubule-motor system we use a continuum description of a two-dimensional, active gel @Ramaswamy10 [@Marchetti13; @Prost15; @Doost18]. The fields that describe the system are the total density $\rho$, the velocity ${\boldsymbol{u}}$, and the nematic tensor $\mathbf{Q} = 2q (\mathbf{nn} - \mathbf{I}/2)$, that describes both the orientation ($\mathbf{n}$) and the magnitude ($q$) of alignment of the nematogens.

The nematic tensor is evolved according to the Beris-Edwards equation @BerisBook $$\begin{aligned}
\left(\partial_t + {\boldsymbol{u}}\cdot{{\boldsymbol{\nabla}}}\right) \mathbf{Q} - \mathbf{S} &= \Gamma_{Q} \mathbf{H},
\label{eqn:lc}\end{aligned}$$ where $\mathbf{S}=\xi \mathbf{E}-(\mathbf{\Omega}\cdot\mathbf{Q}-\mathbf{Q}\cdot\mathbf{\Omega})$ is a generalised advection term, characterising the response of the nematic tensor to velocity gradients. Here, $\mathbf{E}=({{\boldsymbol{\nabla}}}{\boldsymbol{u}}+{{\boldsymbol{\nabla}}}{\boldsymbol{u}}^{T})/2$ is the strain rate tensor, $\mathbf{\Omega} = ({{\boldsymbol{\nabla}}}{\boldsymbol{u}}^{T}-{{\boldsymbol{\nabla}}}{\boldsymbol{u}})/2$ the vorticity tensor, and $\xi$ is the alignment parameter representing the collective response of the microtubules to velocity gradients. $\Gamma_{Q}$ is a rotational diffusivity and the molecular field $\mathbf{H} = -\frac{\delta \mathcal{F}}{\delta \mathbf{Q}} + \frac{\mathbf{I}}{2} {\rm Tr} \left(\frac{\delta \mathcal{F}}{\delta \mathbf{Q}}\right)$, models the relaxation of the orientational order to minimise a free energy $\mathcal{F}$.

The free energy includes two terms. The first is an elastic free energy density, $\frac{1}{2}K({{\boldsymbol{\nabla}}}\mathbf{Q})^{2}$, which penalises any deformations in the orientation field of the nematogens and where we assume a single elastic constant $K$. We note that the free energy functional does not include any Landau-de Gennes bulk free energy terms: all the ordering in the simulations arises from the activity @Thampi15. This is motivated by the fact that there is no equilibrium nematic order in the experimental system without ATP (i.e.  in the absence of active driving). The second contribution to the free energy is a surface anchoring, $\frac{1}{2}\mathcal{W}\text{Tr}(\mathbf{Q}-\mathbf{Q}_{D})^2$. To correspond to the experiments $\mathbf{Q}_{D}$ is chosen so that the director prefers to align parallel to the boundary walls. The strength of anchoring at the boundaries, $\mathcal{W}$, is set to values corresponding to weak anchoring so that the nematogens can re-orientate at the walls to allow defects to form there.

The total density $\rho$ satisfies the continuity equation and the velocity $\bf {u}$ evolves according to $$\begin{aligned}
 \rho (\partial_t + {\boldsymbol{u}}\cdot{{\boldsymbol{\nabla}}}){\boldsymbol{u}} &= {{\boldsymbol{\nabla}}}\cdot\mathbf{\Pi},
\label{eqn:ns}
 \end{aligned}$$ where $\boldsymbol{\Pi}$ is the stress tensor. The stress contributions comprise the active stress $\mathbf{\Pi}^{\text{active}} =  -\zeta\mathbf{Q} $ where $\zeta$ is the activity coefficient, viscous stress $\mathbf{\Pi}^{\text{viscous}} = 2 \eta\mathbf{E}$, where $\eta$ is the viscosity, and the elastic stresses $\mathbf{\Pi}^{\text{elastic}}=-P\mathbf{I} -2\xi q_{}\mathbf{H}+ \mathbf{Q}\cdot\mathbf{H} - \mathbf{H}\cdot\mathbf{Q}-{{\boldsymbol{\nabla}}}\mathbf{Q} \frac{\delta \mathcal{F}}{\delta {{\boldsymbol{\nabla}}}\mathbf{Q}}$, where $P=p-\frac{K}{2}({{\boldsymbol{\nabla}}}\mathbf{Q})^2$ is the modified pressure. Eqs. (\[eqn:lc\])–(\[eqn:ns\]) were solved numerically using a hybrid lattice-Boltzmann method @Davide07 [@Thampi14c]. In the experiments the microtubules slide over the walls and therefore free-slip boundary condition were imposed on the velocity field. See Materials and Methods for simulation parameters.

![image](3_Flow_Patterns_Combined_c.pdf){width="\textwidth"}

![**Defect Spacing.** Experimental mean defect spacing, $\lambda$, rescaled by the channel width, $w$, as a function of $w$. Different colors correspond to different activities. The error bars correspond to the standard deviation for measurements at 10 random times for each experiment. The continuous lines correspond to $\lambda/w=l_a/w$ for each experiment, with $l_a$ being the active length scale corresponding to the value of $\lambda$ in the unconfined case. \[fig:SI\_spacing\]](SI1_Defect_Spacing_2_c.pdf){width="\columnwidth"}

![image](SI3_Wavelength_3_c.pdf){width="\textwidth"}

Results and Discussion {#results-and-discussion .unnumbered}
======================

The main experimental control parameters of our system are the channel width, $w$, and the concentration of ATP, which determines the activity. In this section, we describe experiments and simulations showing how both the defect landscape and flow patterns evolve as $w$ is increased. We identify two well defined regimes: a shear flow regime, observed for $w <80~\mathrm{\mu m}$, which is transiently defect-free (Fig. \[fig:patterns\] (a-b) and **Videos S1-2**), and the dancing defects regime, for $w >90~\mathrm{\mu m}$ (Fig. \[fig:patterns\] (c) and **Videos S3A-B**). The transition between these two regimes is not sharp. For values of $w$ in the range $80-90~\mathrm{\mu m}$, the direction of the shear is not uniform along the channel, but rather composed of patchy domains where shear flow spontaneously arises with a random direction, and is then quickly disrupted by instabilities (see **Videos S4A-B**).

We find that the relevant parameter setting the dynamic state in the system is $\lambda/w$, where $\lambda$ is the mean defect separation. The latter is defined as $\lambda=({Lw}/{N})^{1/2}$, where $L$ is the length of a given channel, $w$ its width, and $N$ the number of defects averaged in time. For unconfined active nematics, this length scale coincides with $l_a=\sqrt{K/\zeta}$, often referred to as the active length-scale, which determines the vortex size distribution and corresponds to the mean defect separation @Thampi14c [@Giomi15; @Guillamat17]. However, we find that, in confined active nematics, $\lambda$ is no longer equal to $l_a$. Instead, it significantly decreases with the channel width (see Fig. \[fig:SI\_spacing\]).

A defect-free state: shear flow disrupted by instabilities {#a-defect-free-state-shear-flow-disrupted-by-instabilities .unnumbered}
----------------------------------------------------------

The *shear flow regime* is a defect free state that appears for $\lambda/w > 1$ (Fig. \[fig:SI\_spacing\]), which is experimentally realized for $w < 80~\mathrm{\mu m}$. The active material is primarily aligned parallel to the walls over distances that can persist along the whole channel as shown in Fig. \[fig:patterns\] (a). A global shear deformation is observed, with flows along the channel (Fig. \[fig:SI\_profile\]). The maximum velocities are measured at the walls, with opposite signs, and the velocity perpendicular to the walls is negligible. The shear rate, characterised by the slope of the velocity profile, is approximately constant over a relatively large range of channel widths. This is as expected because the activity, and hence the energy input per unit area, which must be balanced by the viscous dissipation due to the shear, is the same for all channels.

Extensile, aligned active nematics are intrinsically unstable to bend deformations @Simha02 [@Voituriez05; @Rao07; @Guillamat16]. As a consequence, the sheared state eventually leads to local bend instabilities as shown in Fig. \[fig:patterns\] (b). As a result, the velocity field repeatedly switches between two different states: longitudinal shear flow and a transversal instability regime (see <span>**Videos S1A-B**</span>). The instability takes the form of a sinusoidal deformation of the aligned nematic field, with a well defined length-scale along the channel. As the perturbation progresses, defects are rapidly nucleated from the walls, at regularly-spaced positions coinciding with the maxima of the sinusoidal perturbation. We measured the wavelength of the instability and found that it scales with the channel width (Fig. \[fig:SI\_wavelength\]). This is strong evidence that the hydrodynamics is screened, and that the channel width is important in controlling the flows.

Upon their nucleation at the boundaries, the orientation of the $+1/2$ defects is strongly anisotropic (see Fig. \[fig:wall\_effects\](a)). They preferentially align perpendicular to the walls and, due to their active self-propulsion @Sanchez12 [@Pismen13; @Giomi14], they move away from the walls into the bulk. On the contrary, because of their three-fold symmetric configuration, $-1/2$ defects have no self-propulsion and remain in the vicinity of the walls @Shendruk17. Eventually, the $+1/2$ defects reach the opposite wall and annihilate with negative defects residing close to it. In this way, the defect-free phase is periodically restored (see **Video S2**). Remarkably, even though no chirality is observed in the sheared state, as we repeat the experiments, the handedness of the shear flow initially selected is preserved through successive instability cycles. This memory can be explained by observing that the instability is triggered locally and that it is entrained by the neighboring sheared regions.

The dynamics of the switching behavior and the coexistence of the shear and the instability states can be best illustrated in a space-time diagram of the averaged velocity components in the channel, as shown in Fig. \[fig:patterns\] (d-e). In the shear state, the velocity perpendicular to the boundaries and averaged across the channel width, $\langle V_y(x)\rangle_y$, vanishes, while the velocity component parallel to the channel walls and averaged along the channel length, $\langle V_x(y)\rangle_x$, is maximum at the walls. Once bend instabilities are triggered, defect pairs form and $+1/2$ defects propagate across the channel and dismantle the shear state, which leads to the emergence of non-zero values of $\langle V_y(x)\rangle_y$ with a well-defined length scale along the channel. The defects eventually reach the opposing wall and annihilate, such that the shear state is reestablished. As is apparent from Fig. \[fig:patterns\] (d-e), over time the active system alternates between the two regimes. Simulations allowed to test channel widths well below the experimental capabilities, allowing to explore the $\lambda \gg w $ regime. For these conditions, we observed stable shear flow, as any pairs of defects that were generated at the channel walls immediately self-annihilated (see **Video S5**).\

![**Defect nucleation.** (a) Statistical distribution of positive defect orientations as a function of the distance from the wall. The angle $\psi$ corresponds to the orientation of the defect with respect to the wall. $\psi=\pi/2$ (resp. $\psi=3\pi/2$) corresponds to a defect perpendicularly colliding with (resp. moving away from) the wall. (b) Experimental (left) and simulated (right) probability distributions of defect position across a channel. Green (blue) distribution refers to positive (negative) defects. \[fig:wall\_effects\] ](5_Wall_Effects_3.pdf){width="\columnwidth"}

The dancing state: a one-dimensional line of flow vortices {#the-dancing-state-a-one-dimensional-line-of-flow-vortices .unnumbered}
----------------------------------------------------------

Increasing the channel width to values between 90$\mu m$ and 120$\mu m$, one-dimensional arrays of vortices are observed as shown in Fig. \[fig:patterns\] (c). A close look at the defect distribution reveals that the transition to the flow state with organised vorticity arrays corresponds to the point when the channel can accommodate more than one defect in its cross-section, <span>*i.e.*</span>, $\lambda/w < 1$ (Fig. \[fig:SI\_spacing\]). One could expect that this criterion is reached when the channel width becomes comparable to the active length-scale. However as shown in Fig. \[fig:SI\_spacing\], $l_a/w$ is still much larger than $1$ in the range of the dancing state, *i.e.*, $\lambda\ll l_a$. Futhermore, contrary to the $l_a/w$ curves, $\lambda/w$ does not seem to depend on activity, supporting the idea that $\lambda$ is indeed a pure geometrical feature. Dynamically, the system behaves as if two distinct populations of positive defects are travelling along the channel in opposite directions, passing around each other in a sinusoidal-like motion. A similar state had been predicted by simulations and was referred to as the <span>dancing state</span> @Shendruk17. However, contrary to the published simulations, the dancing state observed in our experiments is quite fragile, and vortex lattices are always transient and localised in space. Defects may annihilate with their negative counterparts, or even switch their direction of motion, thus perturbing the flow pattern (see **Videos S3A-B**). The difference between the spatial organisation of oppositely charged defects in the confined active nematic is manifest in their arrangement across the width of the channel (Fig. \[fig:wall\_effects\] (b)). The distribution of the $+1/2$ defects has a single peak at the centre of the channel (Fig. \[fig:wall\_effects\] (b), green). On the other hand, the $-1/2$ defect distribution has two peaks, one at each of the boundary walls (Fig. \[fig:wall\_effects\](b), blue) and the profiles do not rescale with the channel width. Instead, the wall-peak distance is approximately constant at a separation $\sim 18 \mathrm{\mu m}$ from the wall, as shown in Fig. \[fig:SI\_distribution\_exp\](d). This can be attributed to $-1/2$ defects having no self-propulsion and thus interacting elastically with the channel walls @Denniston96. The distance of the $-1/2$ defect from the walls is therefore expected to be controlled by the intrinsic anchoring penetration length of the nematic $l_{\text{n}}=K/\mathcal{W}$, which is set by the competition between the orientational elastic constant $K$ and the strength of the anchoring at the wall $\mathcal{W}$, and is independent of the channel width and activity of the particles. As expected, for wider channels, $w > 120\mu$m, the difference between the +$1/2$ and $-1/2$ defect distributions diminishes as active turbulence is established (see Fig. \[fig:SI\_distribution\_exp\](c)). We observed a similar behaviour in the simulations, but the -1/2 defects were more strongly localised near the walls, and the +1/2 defects consequently tended to lie towards the centre of the channel (Fig. \[fig:wall\_effects\](b)). Simulations have also allowed us to pinpoint the necessary boundary conditions at the channel walls to trigger defect nucleation. We find that such a localised defect formation at the walls is obtained only for free-slip boundary conditions for the velocity, and weak planar anchoring boundary conditions for the nematic director field. This is because the free-slip velocity, together with the parallel anchoring of the director, allows for strong tangential active flows, and hence strong tangential nematic order, to develop along the boundaries. This results in bend instabilities that grow perpendicular to the walls with the weak strength of the anchoring allowing the director to deviate from a planar configuration at the positions where the bend instability is developed. Previous simulations that assumed no-slip velocity and strong alignment conditions on the confinement did not observe defect nucleation at the boundaries @Shendruk17 [@Norton17], and showed insensitivity of the active nematic patterns to the boundary conditions @Norton17. This is because the strong anchoring used in these works prevented defects forming at the walls.

It is, however, interesting to note that a recent computational study, based on a kinetic approach, has reported a special case of defect nucleation at the boundaries of an active nematic confined within a circular geometry with no-slip velocity boundary condition and free anchoring @Gao17. However, here the wall-bound defect nucleation was observed only for confining disks of small sizes and had a very different dynamics than that reported here: the +1 defect imposed by the circular geometry was first dissociated into two $+1/2$ defects and then, for sufficiently small confinement one of the $+1/2$ defects kept moving into and out of the boundary. This is in contrast to our results that show regularly-spaced defect pair nucleation sites at the boundaries for a range of channel widths. Moreover, the corresponding defect spacing is governed by an instability wavelength that is no longer given by the conventional active length scale.

SUMMARY {#summary .unnumbered}
=======

We have presented experimental results, supported by continuum simulations, investigating the flow and defect configurations of an active nematic confined to rectangular channels of varying width. Our experiments have identified a new dynamical state, where well-defined shear flow alternates in a regular way with bursts of instability characterised by $+1/2$ topological defects moving across the channel. We have also shown that, for wider channels, it is possible to identify the dancing state @Shendruk17, although the particular boundary conditions considered in the present work make it less stable. Our work highlights the importance of topological defects in controlling the confined flows. Because the microtubules have weak planar anchoring and can freely slide along the channel walls, pairs of $\pm 1/2$ defects form at the walls of the channel. The $+1/2$ defects are self-propelled and move away from the walls whereas the $-1/2$ defects remain close to the boundaries. The distance to the boundaries is set by the anchoring penetration length. In bulk active nematics the defect spacing is set by the active length scale and, although there is some evidence of long-range ordering @DeCamp15 [@Vromans16; @Srivastava16], defect motion is primarily chaotic. In confinement, however, the defect spacing and the wavelength of the instability are set by the channel width and the defect trajectories are more structured.

Together, experiments and simulations demonstrate a surprisingly rich topological defect dynamics in active nematics under channel confinement, and a sensitive dependence on both channel width and boundary conditions. Therefore, confinement provides a way of controlling active turbulence and defect trajectories, a pre-requisite for using active systems in microfluidic devices.

Materials and Methods {#materials-and-methods .unnumbered}
=====================

Complementary information about the preparation of active samples and grid manufacturing is given in Supporting Information, together with additional comments on image acquisition and data analysis. Details pertaining to the simulations including a table with all parameter values and a discussion on boundary conditions are also provided.

Acknowledgments {#acknowledgments .unnumbered}
===============

We are indebted to the Brandeis University Materials Research Science and Engineering Centers (MRSEC) Biosynthesis facility for providing the tubulin. We thank M. Pons, A. LeRoux, and G. Iruela (University of Barcelona) for assistance in the expression of motor proteins. J.H., J.I.-M and F.S. acknowledge funding from Ministerio de Economia, Industria y Competitividad, Spain (project FIS2016-78507-C2-1-P, Agencia Estatal de Investigación/European Regional Development Fund) J.H. acknowledges funding from the European Union's Horizon 2020 research and innovation program under grant agreement no. 674979- NANOTRANS. S. Brandeis University MRSEC Biosynthesis facility is supported by NSF MRSEC DMR-1420382. T.L-L. acknowledges funding from the French Agence Nationale de la Recherche (Ref. ANR-13-JS08-006-01). Gulliver institute acknowledges funding from $2015$ Grant SESAME MILAMIFAB (Ref. 15013105) for the acquisiton of a Nanoscribe GT Photonic Professional device. R.H. acknowledges that this research was supported/partially supported by the European Union's Horizon 2020 research and innovation programme under the Marie Sklodowska-Curie grant agreement No 722497 - LubISS.

Author Contributions {#author-contributions .unnumbered}
====================

J.H, J.L, F.S, and J.I.-M. conceived the experiments and R. H., A.D, and J.M.Y. designed the simulations. J.H. performed the experiments in collaboration with T.L.-L., and analyzed the experimental data. R.H conducted the numerical simulations. J.H, R.H and J.M.Y. wrote the manuscript with contribution from all the authors.

Competing Interests {#competing-interests .unnumbered}
===================

The authors declare that they have no competing interests.

Materials and Methods {#materials-and-methods-1 .unnumbered}
=====================

**Protein preparation** {#protein-preparation .unnumbered}
-----------------------

Microtubules (MTs) were polymerized from heterodimeric ($\zeta,\beta$)-tubulin from bovine brain \[a gift from Z. Dogic's group at Brandeis University (Waltham, MA)\], incubated at $37 \degree \mathrm{C}$ for 30 min in aqueous M2B buffer (80 mM Pipes, 1 mM EGTA, 2 mM MgCl2) prepared with Milli-Q water. The mixture was supplemented with the reducing agent dithiothrethiol (DTT) (Sigma; 43815) and with guanosine-5-\[($\zeta,\beta$)-methyleno\]triphosphate (GMPCPP) (Jena Biosciences; NU-405), a slowly hydrolysable analog of the biological nucleotide guanosine-5'-triphosphate (GTP) that completely suppresses the dynamic instability of the polymerized tubulin. GMPCPP enhances spontaneous nucleation of MTs, obtaining high-density suspensions of short MTs ($1$–$2~\mathrm{\mu m}$). For fluorescence microscopy, 3% of the tubulin was labeled with Alexa 647. Drosophila melanogaster heavy-chain kinesin-1 K401-BCCP-6His (truncated at residue 401, fused to biotin carboxyl carrier protein (BCCP), and labeled with six histidine tags) was expressed in Escherichia coli using the plasmid WC2 from the Gelles Laboratory (Brandeis University) and purified with a nickel column. After dialysis against 500 mM imidazole aqueous buffer, kinesin concentration was estimated by means of absorption spectroscopy. The protein was stored in a $60\%$ (wt/vol) aqueous sucrose solution at $-80 \degree \mathrm{C}$ for future use.

**Imaging** {#imaging .unnumbered}
-----------

Images were acquired using a laser scanning confocal microscope Leica TCS SP2 AOBS with a $10\times$ objective at typical frame rate of 1 image per second. For each experiment and at each time, a frame is acquired in both fluorescence and reflection mode. Fluorescence is used to visualize the nematic field, and reflection images are used for Particle Image Velocimetry (PIV) measurements as explained in the data analysis section.

**Grid Manufacturing** {#grid-manufacturing .unnumbered}
----------------------

The grids are printed using a two-photon polymerization printer, a Nanoscribe GT Photonic Professional device, with a negative-tone photoresist IP-S (Nanoscribe GmbH, Germany) and a $25\times$ objective. The grids were directly printed on silicon substrates without any preparation to avoid adhesion of the resist to the substrate (plasma cleaner of the substrate, for example, would increase the adhesion). After developping 30 minutes in Propylene Glycol Monomethyl Ether Acetate (PGMEA 99,5%, Sigma Aldrich) and 5 minutes in isopropanol (Technical, VWR), a batch polymerization is performed with UV-exposure (5 min at 80% of light power). After printing onto a silicon wafer, the grids are bound to a vertical glass capillary with a UV-curable glue. The capillary is then delicately manipulated to detach the grids from the printing support. The grids are washed in three steps (iso-propanol, DI water, ethanol) and dried with a nitrogen stream before each experiment. The thickness of the grids is $100 \mathrm{\mu m}$, to ensure good mechanical resistance. We have used grids with rectangular openings 1.5 mm long and widths ranging from 30 to 300$\mu$m. Each grid contains different channel widths to ensure that simultaneous experiments can be performed with the same active nematic preparation, thus ensuring that material parameters remain unchanged when comparing different confinement conditions.

**Active Gel preparation** {#active-gel-preparation .unnumbered}
--------------------------

Biotinylated kinesin motor protein and tetrameric streptavidin (Invitrogen; 43-4301) aqueous suspensions were incubated on ice for 30 min at the specific stoichiometric ratio 2:1 to obtain kinesin–streptavidin motor clusters. MTs were mixed with the motor clusters that acted as cross-linkers, and with ATP (Sigma; A2383) that drove the activity of the gel. The aqueous dispersion contained a nonadsorbing polymeric agent (PEG, 20 kDa; Sigma; 95172) that promoted the formation of filament bundles through depletion. To maintain a constant concentration of ATP during the experiments, an enzymatic ATP-regenerator system was used, consisting on phosphoenolpyruvate (PEP) (Sigma; P7127) that fueled pyruvate kinase/lactate dehydrogenase (PK/LDH) (Invitrogen; 434301) to convert ADP back into ATP. Several antioxidant components were also included in the solution to avoid protein denaturation, and to minimize photobleaching during characterization by means of fluorescence microscopy. Anti-oxydant solution 1 (AO1) contained $15~\mathrm{mg/mL}$ glucose and $2.5\mathrm{M}$ DTT. Anti-oxidant solution 2 contained $10~\mathrm{mg/mL}$ glucose oxydase (Sigma G2133) and $1.75~\mathrm{mg/mL}$ catalase (Sigma, C40). Trolox (Sigma, 238813) was used as an additional anti-oxidant. A high-salt M2B solution was used to raise the $\mathrm{MgCl_2}$ concentration. The PEG-based triblock copolymer surfactant Pluronic F-127 (Sigma; P-2443) was added to procure a biocompatible water/oil interface in subsequent steps. Buffer for stock solutions of PEP, DTT, ATP, PEG and Streptavidin was M2B, and we added $20~\mathrm{mM}$ of $\mathrm{K_2HPO_4}$ to the buffer of Catalase, Glucose, Glucose Oxydase and Trolox. A typical recipe is summarized in Table \[table:Conc\].

  **Compound**      **Stock solution**                  $\mathbf{v/V_{total}}$
  ----------------- ----------------------------------- ------------------------
  PEG               $12~\mathrm{\%~w/vol}$              $0.139$
  PEP               $200~\mathrm{mM}$                   $0.139$
  High-salt M2B     $69~\mathrm{mM~MgCl_2}$             $0.05$
  Trolox            $20~\mathrm{mM}$                    $0.104$
  ATP               $50~\mathrm{mM}$                    $0.03$
  Catalase          $3.5~\mathrm{mg.ml}^{-1}$           $0.012$
  Glucose           $300~\mathrm{mg.ml}^{-1}$           $0.012$
  Glucose Oxydase   $20~\mathrm{mg.ml}^{-1}$            $0.012$
  PK/LDH            $600-1000~\mathrm{units.ml}^{-1}$   $0.03$
  DTT               $0.5~\mathrm{M}$                    $0.012$
  Streptavidin      $0.352~\mathrm{mg.ml}^{-1}$         $0.023$
  Kinesin           $0.07~\mathrm{mg.ml}^{-1}$          $0.234$
  Microtubules      $6~\mathrm{mg.ml}^{-1}$             $0.167$
  Pluronic          $17~\mathrm{\%}$                    $0.027$

  : Composition of all stock solutions, and their volume fraction in the final mixture.<span data-label="table:Conc"></span>

**Data analysis** {#data-analysis .unnumbered}
-----------------

Statistical information on defect unbinding and defect orientation (Fig. \[fig:wall\_effects\]) were obtained using the defect detection and tracking Matlab codes developed by Ellis et al. @Ellis17 [@Wu17], coupled with a custom-made direction detection Matlab code derived from Vromans and Giomi's method @Vromans16. PIV measurements in Fig. \[fig:patterns\] (a-c) were obtained using confocal images in reflection mode. In this mode, the active nematic layer exhibits textures that can quite efficiently act as tracers for PIV softwares. The images were treated with ImageJ *PIV* plugin @tseng2012spatial. The data was then processed with custom Matlab codes. Flow profiles were computed using a custom ImageJ plugin. PIV measurements failed to give reliable measurements close to the walls for narrow channels because of a substantial drop of resolution that we attribute to artefacts in the reflection mode. Because of this, for a system in the *shear flow* state, the longitudinal velocity $V_x(y)$ was determined as follows. For each $y$ position, a kymograph is built by assembling the image profile along the channel ($x$ coordinate) at different times. The inhomogeneous reflected-light intensity results in traces in the $x-t$ plane of the kymograph, whose slope gives $V_x(y)$. The average value of this slope is obtained by computing the FFT of the kymograph image and finding at which angle the FFT has the highest intensity. We repeat the same process for each $y$ coordinate, resulting in the desired flow profile. The kymograph in Fig. \[fig:patterns\] (d) was obtained with a custom Matlab code using PIV data from imageJ as an input. Defect spacing in Fig. \[fig:SI\_spacing\] was obtained by manually counting the number of defects in a given channel, for at least 10 random frames. Velocities were computed using imageJ plugin *Manual Tracking*, averaging the velocities of 10 defects per experiment over their lifetime, typically 15 seconds.

**Simulations** {#simulations .unnumbered}
---------------

The equations (\[eqn:lc\]-\[eqn:ns\]) of the manuscript are solved using a hybrid lattice-Boltzmann (LB) method. A finite difference scheme was used to solve equation (\[eqn:ns\]) on a five-point stencil to discretize the derivatives on a square grid. These are coupled to Navier-Stokes equations, that are solved using lattice-Boltzmann method with the Bhatnagar-Gross-Krook (BGK) approximation and a single relaxation time for the collision operator @LB_Book. The time integration is performed using PECE predictor-corrector method. The discrete space and time steps are chosen as unity for the LB method. The algorithm is implemented using the C++ programming language.

All simulations were performed on a $1800\times w$ rectangular grid, where $w$ varied from 30 to 160 lattice sites. The boundary conditions for the velocity field along all walls and corners are free-slip. The boundary conditions for the director field are weak planar along the channel walls, which is implemented via the free energy term $\frac{1}{2}\mathcal{W}\text{Tr}(\mathbf{Q}-\mathbf{Q}_{D})^2$. The corners have $\mathbf{Q}_{D}$ such that the director field aligns at an angle of 45 degrees to the length of the channel, on the front-right and back-left corners, and at an angle of 135 degrees on the front-left and back-right corners. The left and right walls have no free energy term applied, and have Neumann boundary conditions.

The parameters used in the simulations are given in Table \[table:Params\]. Initially, we chose parameters in a range that has previously been successful in reproducing the dynamics of experiments in microtubule bundles @Melaugh [@Lloyd], and then further refined the parameters via a search in phase space. All simulations were run for up to 300,000 simulation time steps. Some simulations were performed up to 1,000,000 time steps to further test the stability of the simulations.

The initial velocity field was set to zero everywhere in the domain. The orientation of the director field was initialised at an angle of either 0, 35 or 90 degrees to the length of the channel, up to some noise. The noise was implemented using the uniform$\_$real$\_$distribution() function in the standard C++ library. In all simulations, the parameters were set to lattice units.

The figures of the simulations in Fig. \[fig:phase\_diagram\] and Fig. \[fig:patterns\] (a-c) were created using the programme Paraview. In Fig. \[fig:phase\_diagram\], the director field was overlaid on the order parameter field q. In Fig. \[fig:patterns\] (a-c), the director field was overlaid on the vorticity field. The kymograph of the velocity components $V_{x}$ and $V_{y}$ in Fig. \[fig:patterns\] (d-e) was created using Matlab, by calculating the mean value of the velocity components in a subsection of the channel at any given time. The distributions of the defect positions across the channel width in simulations shown in Fig. \[fig:wall\_effects\] and \[fig:SI\_distribution\_exp\] were created using Matlab. Each bar represents the normalised number of defects along a strip of lattice sites parallel to the channel length, of width one lattice site. The supplementary videos of the simulations were created using Paraview, and any defect tracking was created by overlaying the Paraview images with markers from Matlab.

In the simulations, $\lambda_{i}$ was calculated as follows. At any given channel width and time-step, the distance between each +1/2 defect and its nearest neighbour was calculated. The mean of this quantity was then taken, to give the mean defect-defect distance at a fixed time. Then an average over time was taken to give $\lambda_{i}$ for a single simulation. This process was repeated for three different simulations with different initial conditions. The initial conditions were distinguished by the initialisation angle of the director field, which was selected to be 0, 45 and 90 degrees to the length of the channel. The mean value of these $\lambda_{i}$'s was then taken to give the value plotted in Fig. \[fig:SI\_wavelength\]. The standard deviation of these values were used to get the error bars.

  **Parameter**            **Symbol**   **Value**
  ------------------------ ------------ ---------------
  Alignment parameter      $\xi$        0.9
  Anchoring srength        W            0.002
  Total density            $\rho$       40
  Rotational diffusivity   $\Gamma_Q$   0.4
  Elastic constant         K            0.015
  Viscosity                $\eta$       1/6
  Channel length           $L_{X}$      1800
  Channel width            $L_{Y}$      30 - 160
  Activity                 $\zeta$      0.0072 - 0.01

  : Parameters used in the simulations. The values for $\zeta$ are 0.0072, 0.0075, 0.0082, 0.0092 and 0.01. All values are in LB units.<span data-label="table:Params"></span>

<span>10</span>

S. Ramaswamy. The mechanics and statistics of active matter. , 1:323–345, 2010.

M. C. Marchetti, J. F. Joanny, S. Ramaswamy, T. B. Liverpool, J. Prost, Madan Rao, and R. Aditi Simha. Hydrodynamics of soft active matter. , 85:1143–1189, 2013.

P. Friedl, J. Locker, E. Sahai, and J. E. Segall. Classifying collective cancer cell invasion. , 14:777, 2012.

J. C. Conrad and R. Poling-Skutvik. Confined flow: Consequences and implications for bacteria and biofilms. , 9:175–200, 2018.

H. Wioland, F. G. Woodhouse, J. Dunkel, J. O. Kessler, and R. E. Goldstein. Confinement stabilizes a bacterial suspension into a spiral vortex. , 110:268102, 2013.

E. Lushi, H. Wioland, and R. E. Goldstein. Fluid flows created by swimming bacteria drive self-organization in confined suspensions. , 111:9733, 2014.

H. Wioland, F. G. Woodhouse, J. Dunkel, and R. E. Goldstein. Ferromagnetic and antiferromagnetic order in bacterial vortex lattices. , 12:341–345, 2016.

H. Wioland, E. Lushi, and R. E. Goldstein. Directed collective motion of bacteria under channel confinement. , 18:075002, 2016.

M. Deforet, V. Hakim, H.G. Yevick, G. Duclos, and P. Silberzan. Emergence of collective modes and tri-dimensional structures from epithelial confinement. , 5:3747, 2014.

W. Xi, S. Sonam, T. <span>Beng Saw</span>, B. Ladoux, and C. <span>Teck Lim</span>. . , 8:1517, 2017.

G. Duclos, C. Blanch-Mercader, V. Yashunsky, G. Salbreux, J. F. Joanny, J. Prost, and P. Silberzan. Spontaneous shear flow in confined cellular nematics. , 14:728, 2018.

G. Duclos, S. Garcia, H. G. Yevick, and P. Silberzan. Perfect nematic order in confined monolayers of spindle-shaped cells. , 10:2346–2353, 2014.

G. Duclos, C. Erlenkämper, J. F. Joanny, and P. Silberzan. Topological defects in confined populations of spindle-shaped cells. , 13:58–62, 2017.

P. Guillamat, J. Ignés-Mullol, and F. Sagués. Taming active turbulence with patterned soft interfaces. , 8, 2017.

P. Guillamat, J. Ign<span>é</span>s-Mullol, and F. Sagu<span>é</span>s. Control of active nematics with passive liquid crystals. , 646:226, 2017.

P. Guillamat, J. Hardo<span>ü</span>in, B. M. Prat, J. Ign<span>é</span>s-Mullol, and F. Sagu<span>é</span>s. Control of active turbulence through addressable soft interfaces. , 29:504003, 2017.

F. C. Keber, E. Loiseau, T. Sanchez, S. J. DeCamp, L. Giomi, M. J. Bowick, M. C. Marchetti, Z. Dogic, and A. R. Bausch. Topology and dynamics of active nematic vesicles. , 345:1135–9, 2014.

K. Suzuki, M. Miyazaki, J. Takagi, T. Itabashi, and S. Ishiwata. Spatial confinement of active microtubule networks induces large-scale rotational cytoplasmic flow. , 114:2922–2927, 2017.

P. Guillamat, <span>Ž</span>. Kos, J. Hardo<span>ü</span>in, J. Ign<span>é</span>s-Mullol, M. Ravnik, and F. Sagu<span>é</span>s. Active nematic emulsions. , 4:eaao1470, 2018.

P. W. Ellis, D. J. G. Pearce, Y.-W. Chang, G. Goldsztein, L. Giomi, and A. Fern<span>á</span>ndez-Nieves. Curvature-induced defect unbinding and dynamics in active nematic toroids. , 14:85, 2018.

K. T. Wu, J. B. Hishamunda, D. T. N. Chen, S. J. DeCamp, Y. W. Chang, A. Fern<span>á</span>ndez-Nieves, S. Fraden, and Z. Dogic. Transition from turbulent to coherent flows in confined three-dimensional active fluids. , 355, 2017.

M. Ravnik and J. M. Yeomans. Confined active nematic flow in cylindrical capillaries. , 110:026001, 2013.

C. A. Whitfield, D. Marenduzzo, R. Voituriez, and R. J. Hawkins. Active polar fluid flow in finite droplets. , 37:8, 2014.

L. Giomi and A. DeSimone. Spontaneous division and motility in active nematic droplets. , 112:147802, Apr 2014.

R. Sknepnek and S. Henkes. Active swarms on a sphere. , 91:022306, 2015.

Rui Zhang, Ye Zhou, Mohammad Rahimi, and Juan J De Pablo. Dynamic structure of active nematic shells. , 7:13483, 2016.

F. Alaimo, C. K<span>ö</span>hler, and A. Voigt. Curvature controlled defect dynamics in topological active nematics. , 7:5211, 2017.

T. Sanchez, D. T. Chen, S. J. DeCamp, M. Heymann, and Z. Dogic. Spontaneous motion in hierarchically assembled active matter. , 491:431–434, 2012.

R. Voituriez, J. F. Joanny, and J. Prost. Spontaneous flow transition in active polar gels. , 70:404, 2005.

T. N. Shendruk, A. Doostmohammadi, K. Thijssen, and J. M. Yeomans. Dancing disclinations in confined active nematics. , 13:3853, 2017.

Burlen Loring, Homa Karimabadi, and Vadim Rortershteyn. A screen space gpgpu surface lic algorithm for distributed memory data parallel sort last rendering infrastructures. Technical report, Lawrence Berkeley National Lab.(LBNL), Berkeley, CA (United States), 2014.

P. Guillamat, J. Ignés-Mullol, S. Shankar, M. C. Marchetti, and F. Sagués. Probing the shear viscosity of an active nematic film. , 94:060602, 2016.

J. Prost, F. J<span>ü</span>licher, and J. F. Joanny. Active gel physics. , 11:111–117, 2015.

A. Doostmohammadi, J. Ign<span>é</span>s-Mullol, J. M. Yeomans, and F. Sagu<span>é</span>s. . , 9(1):3246, 2018.

A. N. Beris and B. J. Edwards. . Oxford University Press, 1994.

S. P. Thampi, A. Doostmohammadi, R. Golestanian, and J. M. Yeomans. Intrinsic free energy in active nematics. , 112:28004, 2015.

D. Marenduzzo, E. Orlandini, M. E. Cates, and J. M. Yeomans. Steady-state hydrodynamic instabilities of active liquid crystals: Hybrid lattice <span>B</span>oltzmann simulations. , 76:031921, 2007.

S. P. Thampi, R. Golestanian, and J. M. Yeomans. Vorticity, defects and correlations in active turbulence. , 372:0366, 2014.

L. Giomi. Geometry and topology of turbulence in active nematics. , 5:031003, 2015.

R. A. Simha and S. Ramaswamy. Hydrodynamic fluctuations and instabilities in ordered suspensions of self-propelled particles. , 89:058101, 2002.

S. Ramaswamy and M. Rao. Active-filament hydrodynamics: instabilities, boundary conditions and rheology. , 9:423, 2007.

P. Guillamat, J. Ignés-Mullol, and F. Sagués. Control of active liquid crystals with a magnetic field. , 113:5498–502, 2016.

L. M. Pismen. Dynamics of defects in an active nematic layer. , 88:050502, 2013.

C. Denniston. Disclination dynamics in nematic liquid crystals. , 54(9):6272, 1996.

M. M. Norton, A. Baskaran, A. Opathalage, B. Langeslay, S. Fraden, A. Baskaran, and M. F. Hagan. . , 97:012702, 2018.

T. Gao and Z. Li. Self-driven droplet powered by active nematics. , 119:108002, Sep 2017.

S. J. DeCamp, G. S. Redner, A. Baskaran, M. F. Hagan, and Z. Dogic. Orientational order of motile defects in active nematics. , 14:1110–1115, 2015.

A. J. Vromans and L. Giomi. Orientational properties of nematic disclinations. , 12:6490–6495, 2016.

P. Srivastava, P. Mishra, and M. C. Marchetti. Negative stiffness and modulated states in active nematics. , 12:8214–8225, 2016.

Qingzong Tseng, Eve Duchemin-Pelletier, Alexandre Deshiere, Martial Balland, Herv<span>é</span> Guillou, Odile Filhol, and Manuel Th<span>é</span>ry. Spatial organization of the extracellular matrix regulates cell–cell junction positioning. , 109(5):1506–1511, 2012.

Timm Kr<span>ü</span>ger, Halim Kusumaatmaja, Alexandr Kuzmin, Orest Shardt, Goncalo Silva, and Erlend Magnus Viggen. The lattice <span>B</span>oltzmann method. , 10:978–3, 2017.

Gavin Melaugh, Jaime Hutchison, Kasper N<span>ø</span>rskov Kragh, Yasuhiko Irie, Aled Roberts, Thomas Bjarnsholt, Stephen P Diggle, Vernita D Gordon, and Rosalind J Allen. Shaping the growth behaviour of biofilms initiated from bacterial aggregates. , 11(3):e0149683, 2016.

Diarmuid P Lloyd and Rosalind J Allen. Competition for space during bacterial colonization of a surface. , 12(110):20150608, 2015.

Supplementary Material {#supplementary-material .unnumbered}
======================

\[b\] ![image](2_Setup_c.pdf){width="\textwidth"}

![image](SI2_Flow_Profile_c.pdf){width="50.00000%"}

![image](SI4_Defect_Distributions_Exp_2_c.pdf){width="70.00000%"}

![image](VS1A.pdf){width="70.00000%"}

![image](VS1B.pdf){width="70.00000%"}

![image](VS2.pdf){width="70.00000%"}

![image](VS3A.pdf){width="70.00000%"}

![image](VS3B.pdf){width="70.00000%"}

![image](VS4A.pdf){width="70.00000%"}

![image](VS4B.pdf){width="70.00000%"}

![image](VS5.pdf){width="70.00000%"}

{'source': 'arXiv_out/1903'}