This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Optimal Control of Short-Time Attractors in Active Fluid Flows

Carlo Sinigaglia    Francesco Braghin Politecnico di Milano, Department of Mechanical Engineering, 20156, Italy    Mattia Serra mserra@ucsd.edu University of California San Diego, Department of Physics, CA 92093, USA
Abstract

Objective Eulerian Coherent Structures (OECSs) and instantaneous Lyapunov exponents (iLEs) govern short-term material transport in fluid flows as Lagrangian Coherent Structures and the Finite-Time Lyapunov Exponent do over longer times. Attracting OECSs and iLEs reveal short-time attractors and are computable from the Eulerian rate-of-strain tensor. Here we devise an optimal control strategy to create short-time attractors in viscosity-dominated active fluids. By modulating the active stress intensity, our framework achieves a target profile of the minimum eigenvalue of the rate-of-strain tensor, controlling the location and shape of short-time attractors. We use numerical simulations to show that our optimal control strategy effectively achieves desired short-time attractors while rejecting disturbances. Combining optimal control and recent advances on coherent structures, our work offers a new perspective to steer material transport in unsteady flows, with applications in synthetic active nematics and multicellular systems.

preprint: APS/123-QED

Large-scale coherent dynamics where global collective behaviors arise from local interactions, individual anisotropies and activity are ubiquitous. Bird flocks, bacterial swarms or ensembles of cells exhibit macroscopic patterns whose length scale is orders of magnitude larger than the individual size [Toner1995, Vicsek2012, RevModPhys.85.1143, kruse2004asters, ballerini2008interaction, zhang2010collective, bricard2013emergence, dombrowski2004self, copenhagen2021topological, meacock2021bacteria, friedl2009collective, ladoux2017mechanobiology, Doostmohammadi2018, serra2020dynamic]. The macroscopic dynamics of these systems of active individuals –or active matter– exhibit nonstandard physical properties such as self-organization, symmetry breaking and non-reciprocity [ramaswamy2017active, Marchetti2013, toner2005hydrodynamics, Fruchart2021, bowick2022symmetry, shankar2022topological]. There are several descriptions of active matter systems [shaebani2020computational], including agent-based models, coarse-grained continuum models, and data-driven models [joshi2022data]. Here we focus on hydrodynamic models, which predict the macroscopic behavior of the system from a small set of parameters and take the form of Partial Differential Equations (PDEs) describing quantities such as velocity, density and nematic tensor.

Besides studying the emergent properties of active matter, it is natural to ask how one can control such systems to steer their global dynamics. The main possibilities rely on distributed or boundary control techniques [MQS]. Experimentally, [ross2019controlling] generated desired persistent fluid flows by regulating light patterns on a mixture of optogenetically modified motor proteins and microtubule filaments. Also controlling light, [lemma2022spatiotemporal] achieved spatiotemporal patterning of extensile active stresses in microtubule-based active fluids. By controlling an external electric field affecting cellular signaling networks, [cohen2014galvanotactic] steered the collective motion of MDCK-II epithelial cells. From a theoretical perspective, [shankar2022spatiotemporal] propose a new framework to steer topological defects –the localized singularities in the orientation of the active building blocks [RevModPhys.85.1143]– by controlling activity stress patterns. [norton2020optimal] devised an Optimal Control Problem (OCP) to achieve a target nematic director field by controlling either an applied vorticity field in the nematic tensor dynamics or the active stress magnitude in the velocity dynamics. Alternative control strategies use surface anchoring at the boundaries and substrate drag to rectify the coherent flow of an active polar fluid in a 2D channel [boundaryControlGulati2022].

Refer to caption
Figure 1: \textcolorblackExample of short-time attractors in multicellular flows. The chicken embryo’s epiblast contains 60,000\approx 60,000 cells during gastrulation, which occurs over \approx 12 hours. Velocities are reconstructed using particle image velocimetry and Light Sheet Microscopy [Rozbicki2015]. The scale bar is 500μm500\mu m, and t=0t=0 corresponds to the beginning of gastrulation. (a) Velocity field 𝐯(𝐱,520)\mathbf{v}(\mathbf{x},520) (black vectors) and (b) instantaneous Lyapunov Exponent field s1(𝐱,520)s_{1}(\mathbf{x},520) (colormap), consisting of the smallest eigenvalue of the rate-of-strain tensor of 𝐯\mathbf{v}. The left inset in (b) shows the corresponding fluorescence image, and AP denotes the Anterior-Posterior axis of the embryo. Negative values of s1(𝐱,520)s_{1}(\mathbf{x},520) mark short-time attractors, which are undetected by inspection of 𝐯\mathbf{v} (insets in a). To visualize the effect of short-term attractors, green dots in panel b mark the current t=520t=520 position 𝐅475520(𝐱𝟎)=𝐱𝟎+475520𝐯(𝐅475τ,τ)𝑑τ\mathbf{F}_{475}^{520}(\mathbf{x_{0}})=\mathbf{x_{0}}+\int_{475}^{520}\mathbf{v}(\mathbf{F}_{475}^{\tau},\tau)d\tau of short-time trajectories of 𝐯(𝐱,t)\mathbf{v}(\mathbf{x},t), starting at t=475t=475 from a uniform spatial configuration. Within this short time (45min/12h6%45\ min/12h\approx 6\% of gastrulation time), trajectories accumulate on the s1(𝐱,520)s_{1}(\mathbf{x},520) trench. See Fig. S2 for the same analysis at a different time. (c) Examples of asymptotic attracting structures in a steady velocity field 𝐯(𝐱)\mathbf{v}(\mathbf{x}) include a sink fixed point (red circle) and the unstable manifold (red curve) of a saddle fixed point (black circle). These attracting structures are stationary and anchored to a fixed point of 𝐯(𝐱)\mathbf{v}(\mathbf{x}). In unsteady flows 𝐯(𝐱,t)\mathbf{v}(\mathbf{x},t), these notions are unsuitable for predicting material attraction: they produce false positives and false negatives [serra2016objective]. By contrast, short-term attractors (d) provide the correct material attraction locations, which can move and deform: the velocity is nonzero and nonconstant along the short-term attractor (insets in panel a).

Existing theoretical methods target a desired configuration of the nematic director field, topological defects or fluid velocities. While defects’ dynamics drive large-scale chaotic flow [Giomi2015, PhysRevX.9.041047, Tan2019], they may not be enough to predict spatiotemporal material transport. For instance, [serra2021defect] shows in experimental and numerical active nematics that the director field alone cannot predict if different domain regions will mix over a desired time interval or remain separated by a transport barrier, as well as predict where transport barriers are. In fact, even the knowledge of the velocity field and typical streamline or vorticity plots are sub-optimal to studying material transport in unsteady flows, as shown in experimental and simulated velocities [LCSHallerAnnRev2015, serra2016objective, serra2020SR] \textcolorblackand Figure 1.

A natural framework to quantify material transport is the concept of Coherent Structures (CSs), see e.g. [LCSHallerAnnRev2015, SerraHaller2015, hadjighasem2017critical], which serve as the robust frame-invariant skeletons shaping complex trajectory patterns. CSs include Lagrangian Coherent Structures (LCSs)[LCSHallerAnnRev2015] which organize material transport over a finite time interval, and their short-time limits called Objective Eulerian Coherent Structures (OECSs) [SerraHaller2015, nolan2020finite]. Attractors, their domain of attraction and repellers are widespread CSs in embryonic development across species [serra2020dynamic, serra2021mechanochemical, lange2023zebrahub] and active nematics [serra2021defect]. Controlling material transport in active matter enables the modulation of spatial mixing or trapping in synthetic systems but also enhances our understanding and perhaps the ability to influence multicellular flows in embryonic development. any studies have been done regarding the control of liquid crystals and nematic fluids [liu2020optimal], [norton2020optimal], [lasarzik2019approximation]. oreover, several OCPs have been formulated to study living cells behaviour and tackle biological challenges, mainly in the field of tumors detection and treatment [leszczynski2020optimal], [lecca2021control], [schattler2015optimal], and in the scope of drug administration [martin1994optimal], [khalili2021optimal]. owadays, an extensively studied category of fluid control problems is the one related to the control of passive fluids. Some examples are given by De Los Reyes et al. [de2015optimal] and by Manzoni et al. [MQS], which aim at imposing a determined steady-state velocity profile to the fluid. Another largely investigated goal is the control of the vorticity of a fluid, which represents a highly interesting topic in some fields as mixing processes [mathew2007optimal] and vortexes control and attenuation[kim2006vorticity], [abergel1990some]. ore recently, the interest in the study of the control of active fluids raised, leading to an increase in the researches in that field. n this work, the active fluid presented by Serra et al. [serra2021mechanochemical] is considered. In particular, the fluid is a \albDescrizione precisa del tipo di fluido e dell’origine biologica. The aim is to define an optimal control strategy able to generate a short-term attractor in the fluid. To obtain it, a possible option could be to impose a reference target to the velocity field of the fluid and to minimize a cost functional associated with the difference among the actual velocity field and the reference one. Nevertheless, such an option would be the best only in case of stationary flow conditions, which is, in general, not the case. Moreover, also in case of stationary systems the short-term attractors are different from the long-term ones, and this is caused by the fact that the short-term attraction dynamics is not the asymptotic one [serra2016objective] \albqui Mattia aveva fatto una speigazione abbastanza esaustiva di questa differenza utilizzadno questo suo vecchio articolo ma non ho segnato bene/ricordo tutto nel dettaglio. Thus, a much more convenient choice is to control one eigenvalue associated with the rate of strain tensor of the fluid, defined as 𝐒=12(\cvv+\cvv)\mathbf{S}=\frac{1}{2}\Big{(}\nabla\cv{v}+\nabla\cv{v}^{\top}\Big{)}. Indeed, the eigenvalues of the rate of strain tensor, i.e. s1s_{1} and λ2\lambda_{2}, rule the amplitude of the local stress inside the fluid, and the corresponding eigenvectors, \csξ1\cs{\xi}_{1} and \csξ2\cs{\xi}_{2} respectively, determine the directions of the stresses. Thus, minimizing the value of the smaller eigenvalue leads to the generation of a negative stress in a portion of the domain, which forces the attraction of the surrounding material. So, acting on s1s_{1} allows to generate a negative stress field, in which the direction of maximum normal attraction is determined by \csξ2\cs{\xi}_{2}.

As for the fluid, it is necessary to introduce some parameters. The first one is the active stress mm, which is the stress component present inside the fluid. In the work presented by Serra et al. [], this stress is generated by some cables of active myosin inside the fluid. These cables are also characterized by their orientation ϕ\phi, which highly affects the way in which mm acts on the fluid. Then, p1p_{1} is the ratio of the shear to the bulk modulus of the fluid and accounts for its compressibility. Alongside with p1p_{1}, p0p_{0} is the ratio of the isotropic to anisotropic active stress and it is used to account for the effect of the active stress mm on the compressibility: indeed, p0p_{0} is used to introduce additional compressibility to the regions of the domain in which there is a higher concentration of active stress.

Here, we consider the OCP of a simplified version of the compressible active fluid introduced in [serra2021mechanochemical, chuai2023reconstruction] to describe multi-cellular movements in vertebrate gastrulation. In the hydrodynamic approximation, the system’s states are described by PDEs that couple the multicellular fluid velocity \cvv\cv{v}, the orientational dynamics ϕ\phi, which dictates the anisotropy of the active stresses, and mm which describes the active stress intensity. We seek to control the location and shape of short-time attractors marking regions of material accumulation.

1 Material Transport

Refer to caption
Figure 2: Optimal solution of the nonlinear OCP generating short-time attractors. The target minimum eigenvalue z(\bbx)z(\bb{x}) is the indicator function of a rectangle at the center of the domain. The optimal eigenvalue field s1(𝐱)s_{1}^{\star}(\mathbf{x}) is shown by the colormap. Each row (a-b) corresponds to a different initialization time (ti,i=1,2t_{i},\ i=1,2). In each row, we visualize the effect of short-time attractors by initializing a uniform set of fluid tracers (yellow dots) at each tit_{i} and displaying their later positions integrating 𝐯(𝐱,t)\mathbf{v}(\mathbf{x},t) over short times, as in Figs. 1b.

Long-term material transport is a fundamentally Lagrangian phenomenon, originally studied by keeping track of the longer-term redistribution of individual tracers released in the flow. In that setting, the Finite Time Lyapunov Exponent (FTLE) and Lagrangian coherent structures (LCSs) have been efficient predictors of tracer behavior see e.g. [haller2015lagrangian, shadden2005definition, hadjighasem2017critical, serra2017uncovering, serra2020dynamic, serra2021defect]. An alternative to Lagrangian approaches is to find their instantaneous limits purely from Eulerian observations, thereby avoiding the pitfalls of trajectory integration, while predicting short-term material transport. Additionally, LCSs are generally impractical to control – no literature exists – because they are defined as nonlinear functions of fluid trajectories, which are themselves integrals of the Eulerian velocity \cvv\cv{v}.

Short-time attractors – originally defined as Attracting OECSs [serra2016objective] – govern material transport in fluid flows over short-times, revealing critical information in challenging problems such as search and rescue operations at sea [serra2020search] and oil-spill containment [duran2021horizontal]. A simpler, more controllable alternative to attracting OECSs for locating short-time attractors is the instantaneous Lyapunov Exponent (iLE)[Nolan2020], defined as the instantaneous limit of the well known FTLE. The iLE locates short-time attractors as trenches – or negative regions – of the smallest eigenvalue s1s_{1} of the rate-of-strain tensor of the fluid velocity \cvv\cv{v}. \textcolorblackFor example, Figs.1a-b show short-term attractors marked by trenches of s1s_{1} (scalar field) in an experimental velocity field (black vector field) describing the motion of thousands of cells during chick gastrulation [Rozbicki2015]. A strong trench of s1s_{1} marks a short-term attractor along the anterior-posterior (AP) axis corresponding to the forming primitive streak [serra2020dynamic] (panel b), while remaining not identifiable from the inspection of the corresponding velocity field (panel a and its inset). Similar results hold in different flows (see e.g., Fig. 1 of [serra2016objective] and Figs. 4-5 of [serra2020search]). To confirm the effect of short-term attractors, panel b shows that tracers (green dots) released from a uniform grid of initial conditions and advected by 𝐯(𝐱,t)\mathbf{v}(\mathbf{x},t) for a short time accumulate on the s1s_{1} trench.

\textcolor

blackClassical asymptotic attracting structures (Fig. 1c) include sink-type fixed points (red dot) and the unstable manifold (red curve) of saddle-type fixed points of steady velocity fields. These structures, however, cannot move or deform in time and influence material transport only for steady velocity fields. \textcolorblackAs shown in Figs.1a-b, inspection and control of the velocity field 𝐯\mathbf{v} is sub-optimal to create material traps in general unsteady flows. First, because the velocity field and its streamlines are not objective, i.e., they depend on the choice of reference frame used to describe motion (see also SM Section 6 and Figs. S1-S2). By contrast, the location of material accumulation is frame invariant [haller2015lagrangian, serra2016objective], as any quantification of the material response of a deforming continuum must be according to a fundamental axiom of mechanics [gurt]. Second, it might be an unnecessarily strong requirement, or uncompliant with boundary conditions, to prescribe 𝐯(𝐱,t)\mathbf{v}(\mathbf{x},t) directly. \textcolorblackOn the other hand, short-time attractors (Figs. 1b,d) are frame invariant, can move and deform, and apply to general unsteady flows. Here we devise an optimal control framework that uses the active stress intensity mm as the control input to achieve a target short-time attractor, defined by a desired distribution of s1s_{1} or iLE, in active viscous flows.

2 Active Fluid Model

Refer to caption
Figure 3: Optimal control state pair (m,𝐯)(m^{\star},\mathbf{v}^{\star}) and moving disturbance 𝐝\mathbf{d} associated to the OCP described in Fig. 2. 𝐝\mathbf{d} and 𝐯\mathbf{v}^{\star} are vector fields (arrows) with their magnitude also displayed in the colormap. The 𝐯\mathbf{v}^{\star} vectors are normalized to ease visualization. Each row (a-b) corresponds to different initialization times tit_{i} as Fig. 2. The velocity dynamics 𝐯\mathbf{v} are strongly affected by the presence of the disturbance.

We adopt a simplified version of the mechanochemical model developed in [serra2021mechanochemical] consisting of an active stokes flow characterized by the passive viscous stress σv=p𝐈+2μ𝐒d\mathbf{\sigma}_{v}=-p\mathbf{I}+2\mu\mathbf{S}_{d} and active stress σa=m(𝐁𝐈/2)\mathbf{\sigma}_{a}=m(\mathbf{B}-\mathbf{I}/2), where 𝐒d\mathbf{S}_{d} is the deviatoric rate-of-strain tensor, 𝐁=\cve\cve\mathbf{B}=\cv{e}\otimes\cv{e} characterizes the orientation of active elements \cve=(cos(ϕ)sin(ϕ))\cv{e}=(\cos(\phi)\,\sin(\phi))^{\top}, mm denotes the intensity of active stress and 𝐈\mathbf{I} the identity tensor. To account for flow compressibility, we use a simple continuity equation 𝐯=c(2pp0m)\mathbf{\nabla\cdot v}=c(-2p-p_{0}m) where positive isotropic viscous stress (p>0p>0), and isotropic contractile-type (m>0m>0) active stress contribute to negative flow divergence via the bulk viscosity 1/c1/c and a nondimensional parameter p0p_{0}. Biologically, p0p_{0} modulates the cell propensity to ingress into the third dimension given active isotropic apical contraction. The resulting system of PDEs in nondimensional form [serra2021mechanochemical] is

2p1Δ\cvv+[\cvv]+\cvg(m,ϕ)=𝟎,𝐠(m,ϕ)=p1[2(𝐁m+m𝐁)+(p01)m]=(𝐀m),ϕt=𝐟𝟏(\cv𝐯,ϕ);mt=𝐟𝟐(\cvv,m),\begin{array}[]{l}2p_{1}\Delta\cv{v}+\nabla[\nabla\cdot\cv{v}]+\cv{g}(m,\phi)=\mathbf{0},\\ \mathbf{g}(m,\phi)=p_{1}[2(\mathbf{B}\nabla m+m\nabla\cdot\mathbf{B})+(p_{0}-1)\nabla m]=\nabla\cdot(\mathbf{A}m),\\ \phi_{t}=\mathbf{f_{1}(\cv{v},\phi)};\ m_{t}=\mathbf{f_{2}}(\cv{v},m),\\ \end{array}

where p1=μcp_{1}=\mu c is a second nondimensional parameter characterizing the ratio of the shear to bulk viscosity, and \bbA=2p1𝐁+p1(p01)𝐈\bb{A}=2p_{1}\mathbf{B}+p_{1}(p_{0}-1)\mathbf{I}. The first two terms in the force balance describe passive forces due to shear and compressibility, while the active forces 𝐠\mathbf{g} arise from spatial variations of mm and ϕ\phi. To set up our optimal control problem, we consider a simplified dynamics where the orientation of active elements ϕ(\bbx)\phi(\bb{x}) is time-independent and prescribed, while the active stress intensity m(𝐱,t)m(\mathbf{x},t) is the control input.

s a consequence, the state equation has the same structure found in linear elasticity theory i.e. Navier-Cauchy equations which, however, describe the displacement dynamics.

3 Results

To control short-time attractors, the OCP involves steering the minimum eigenvalue of the rate of strain tensor towards a target function while minimizing the overall control effort and its gradient:

{aligned}&minm,\cvvJs=12Ω(s1z)2𝑑Ω+β2Ω(m2+\normm2)𝑑Ω,s.t.2p1Δ\cvv[\cvv]=\cvg(m)+\cvdinΩ\cvv=\cv0onΩ,\aligned&\min_{m,\cv{v}}\,\,J_{s}=\frac{1}{2}\int_{\Omega}(s_{1}-z)^{2}\,d\Omega+\frac{\beta}{2}\int_{\Omega}\Big{(}m^{2}+\norm{\nabla m}^{2}\Big{)}d\Omega,\\ \vspace{0.5cm}\\ s.t.\,\begin{array}[]{ll}\displaystyle-2p_{1}\Delta\cv{v}-\nabla[\nabla\cdot\cv{v}]=\cv{g}(m)+\cv{d}&\textrm{in}\quad\Omega\\ \vspace{-3mm}\\ \cv{v}=\cv{0}&\textrm{on}\quad\partial\Omega,\\ \end{array} (1)

where z(𝐱)z(\mathbf{x}) represents a scalar target for the minimum eigenvalue s1(𝐱)s_{1}(\mathbf{x}) of the rate-of-strain tensor 𝐒\mathbf{S} of \cvv\cv{v}, and \cvd(𝐱,t)\cv{d}(\mathbf{x},t) is a disturbance on the state dynamics.

Following a Lagrangian variational approach, we derive a system of first-order necessary optimality conditions for the OCP problem. We note that JsJ_{s} is nonlinear and nonquadratic due to the relation s1(𝐒(\cvv))s_{1}(\mathbf{S}(\cv{v})). Consequently, sufficiency is not guaranteed, as typical in nonconvex problems. We define the Lagrangian as

=Js+Ω\csλ(\cvg(m)+\cvd+2p1Δ\cvv+[\cvv])𝑑Ω,\displaystyle\mathcal{L}=J_{s}+\int_{\Omega}\cs{\lambda}\cdot\Big{(}\cv{g}(m)+\cv{d}+2p_{1}\Delta\cv{v}+\nabla[\nabla\cdot\cv{v}]\Big{)}\,d\Omega,

where \csλ\cs{\lambda} is the adjoint function, and obtain the strong form of the optimality conditions by imposing the first variations of the Lagrangian to be zero for all allowed variations of the state, adjoint and control functions. We provide the complete derivation in the SM Sections 2-4, and summarize here the necessary conditions as a coupled system of PDEs. The optimal pair for the OCP \eqrefOCP_l (\cvv,m)(\cv{v},\,m) should satisfy the following system of first-order necessary conditions

2p1Δ\cvv[\cvv]=\cvg(m)+\cvdinΩ\cvv=\cv0onΩ2p1Δ\csλ[\csλ]=((s1z)\csξ1\csξ1)inΩ\csλ=\cv0onΩβΔm+βm\csλ:𝐀=0inΩ,\begin{array}[]{ll}-2p_{1}\Delta\cv{v}-\nabla[\nabla\cdot\cv{v}]=\cv{g}(m)+\cv{d}&\textrm{in}\quad\Omega\\ \cv{v}=\cv{0}&\textrm{on}\quad\partial\Omega\\ -2p_{1}\Delta\cs{\lambda}-\nabla[\nabla\cdot\cs{\lambda}]=-\nabla\cdot\Big{(}(s_{1}-z)\,\cs{\xi}_{1}\otimes\cs{\xi}_{1}\Big{)}&\textrm{in}\quad\Omega\\ \cs{\lambda}=\cv{0}&\textrm{on}\quad\partial\Omega\\ -\beta\Delta m+\beta m-\nabla\cs{\lambda}:\mathbf{A}=0&\textrm{in}\quad\Omega,\\ \end{array} (2)

where \csξ1(\bbx)\cs{\xi}_{1}(\bb{x}) is the eigenvector function associated to s1(\bbx)s_{1}(\bb{x}). We note that \eqrefnc requires an iterative method due to the nonlinear relationship between \cvv\cv{v} and the forcing term of the adjoint equation involving s1s_{1} and \csξ1(\bbx)\cs{\xi}_{1}(\bb{x}).

Refer to caption
Figure 4: Controlled and uncontrolled dynamics for a different spatiotemporal disturbance 𝐝\mathbf{d} compared to Figs. 2-3. Each row (a-b) corresponds to a different time (ti,i=1,2t_{i},\ i=1,2). The second column shows the s1(𝐱)s_{1}(\mathbf{x}) field in the case of no control along with fluid tracers (yellow dots) advected for a short time interval of length 0.0250.025 by the uncontrolled 𝐯(𝐱,t)\mathbf{v}(\mathbf{x},t), starting from a uniform initial grid at tit_{i}. The third and fourth columns show the same as the second one in the case of weak (β=0.1\beta=0.1) and strong (β=106\beta=10^{-6}) control. Particles are advected under the optimal controlled velocity, whose corresponding s1(𝐱)s_{1}^{\star}(\mathbf{x}) field is in the colormap. A higher β\beta results in worse control performance due to its increasing relative importance in the cost functional. \textcolorblackHere, \cvd(𝐱,t)=𝐝(\bbxc1(t))𝐝(\bbxc2(t))\cv{d}(\mathbf{x},t)=\mathbf{d}(\bb{x}_{c1}(t))-\mathbf{d}(\bb{x}_{c2}(t)), where \bbxc1(t)=0.5[cos(0.5πt+π),cos(0.5πt+π)],\bbxc2(t)=0.5[cos(0.5πt),cos(0.5πt)]\bb{x}_{c1}(t)=0.5[\cos(0.5\pi t+\pi),\cos(0.5\pi t+\pi)],\ \bb{x}_{c2}(t)=0.5[\cos(0.5\pi t),\cos(0.5\pi t)], and 𝐝(\bbxci(t))=[(yyci(t)),(xxci(t))]500exp(((xxci(t))2+(yyci(t)2))/0.22\mathbf{d}(\bb{x}_{ci}(t))=[-(y-y_{ci}(t)),(x-x_{ci}(t))]500\exp(-((x-x_{ci}(t))^{2}+(y-y_{ci}(t)^{2}))/0.2^{2}.

We numerically solve \eqrefnc using the Finite Element Method (FEM) and a gradient-based algorithm (SM Sec. 5). We consider a circular domain with zero velocity boundary conditions and note that our algorithm applies to arbitrary-shaped domains. We set the target shape zz as a scaled indicator function of a rectangle so that the target value is 10-10 inside the rectangle and zero elsewhere. We set the cable orientation to a constant value ϕ=π4\phi=\frac{\pi}{4} from the x-axis and choose the control weighting parameter β=106\beta=10^{-6} and the nondimensional model parameters p0=10,p1=0.5p_{0}=10,\ p_{1}=0.5. p1p_{1} modulates the overall fluid compressibility while high p0p_{0} induces high negative divergence in regions with higher mm [serra2021mechanochemical]. We select the space-time varying disturbance force as \textcolorblack\cvd(𝐱,t)=de(r(t)σ)2[(yyc(t)),xxc(t)]\cv{d}(\mathbf{x},t)=d\,e^{-(\frac{r(t)}{\sigma})^{2}}\,[-(y-y_{c}(t)),x-x_{c}(t)], where \cvxc(t)=[0.5+t,0.5]\cv{x}_{c}(t)=[-0.5+t,0.5], r(t)=\cvx\cvxc(t)r(t)=||\cv{x}-\cv{x}_{c}(t)||, and set the intensity d=50d=50, and standard deviation σ=0.2\sigma=0.2. Figure 2 shows the resulting optimal s1s_{1} along with a grid of particles advected over short times for two different initialization times. Figura 4:

𝐝(\bbxi(t))={bmatrix}(yyi(t))(xxi(t))500exp(((xx1(t))2+(yy1(t)2))/0.22)\mathbf{d}(\bb{x}_{i}(t))=\bmatrix-(y-y_{i}(t))\\ (x-x_{i}(t))500\exp(-((x-x_{1}(t))^{2}+(y-y_{1}(t)^{2}))/0.2^{2}) (3)
𝐝(t)=𝐝(\bbx1(t))𝐝(\bbx2(t))\mathbf{d}(t)=\mathbf{d}(\bb{x}_{1}(t))-\mathbf{d}(\bb{x}_{2}(t)) (4)
\bbx1(t)=0.5{bmatrix}cos(0.5πt+π)cos(0.5πt+π)\bbx2(t)=0.5{bmatrix}cos(0.5πt)sin(0.5πt)\bb{x}_{1}(t)=0.5\bmatrix\cos(0.5\pi t+\pi)\\ \cos(0.5\pi t+\pi)\quad\bb{x}_{2}(t)=0.5\bmatrix\cos(0.5\pi t)\\ \sin(0.5\pi t) (5)

Figura 3:

𝐝(t)=𝐝0(\bbx0(t))\mathbf{d}(t)=\mathbf{d}_{0}(\bb{x}_{0}(t)) (6)
\bbx0(t){bmatrix}0.5+0.5t0.5\bb{x}_{0}(t)\bmatrix-0.5+0.5t\\ 0.5 (7)

Figure 3 shows the optimal state-control pair and its associated disturbance forcing \cvd\cv{d}. The control mm acts through 𝐠(m)=(𝐀m)\mathbf{g}(m)=\nabla\cdot(\mathbf{A}m), and therefore both mm and m\mathbf{\nabla}m contribute to the state dynamics. This is why the control generates sharp gradients to track the target eigenvalue accurately. Furthermore, the control field rejects the disturbance by generating a vortex-shaped counteracting effect. Overall the disturbance strongly influences the optimal velocity. Figure 4 shows the interplay between the control weight β\beta, the disturbance 𝐝\mathbf{d} and the accuracy of the tracking objective that is key to generating a short-time attractor. As in the earlier figures, each row (a-b) corresponds to a different time (ti,i=1,2t_{i},\ i=1,2).

To present an additional test case, we select a different disturbance compared to Figs. 2-3, generating two vortex-shaped force-field streamlines (Figure 4, first column) using the same functional form in the previous test case. The target eigenvalue zz is the same as in Figs. 2-3. The uncontrolled dynamics (m=0m=0) does not generate attraction, as shown by short-term advected particles (yellow dots) and the s1(𝐱)s_{1}(\mathbf{x}) field in Figure 4, second column. A high β=0.1\beta=0.1 (or weak control) steers the eigenvalue towards the target, but its effect is too mild to generate short-time attraction (Figure 4, third column). Indeed, a higher control weight would result in a lower relevance of the tracking term in the cost function and hence poor tracking performances. Figure 4 fourth column shows the results for a low β=106\beta=10^{-6} (or strong control), as in Figure 2, resulting in the desired short-time attractor that serves as a material trap while rejecting disturbances. Different rows (a-b) show the same results for two different initialization times as in Figs. 2-3.

figure [Uncaptioned image] Optimal fields for ϕ=π4\phi=\frac{\pi}{4}, p0=5p_{0}=5,p1=0.5p_{1}=0.5 and β=103\beta=10^{-3} where the target zz is a combination of radial basis functions with zero mean. The broken symmetry in the top fields is due to the directionality imposed by ϕ\phi.

figure [Uncaptioned image] Optimal state and control norm as a function of the control weighting β\beta and the parameter p0p_{0}. In the β\beta sweep p0=5p_{0}=5 while in the p0p_{0} sweep β\beta is set at 10310^{-3}. \crlCapire il minimo di norma di controllo per p0=4p_{0}=4

4 Conclusion

By combining recent advances in coherent structures from nonlinear dynamics, control theory and active matter, we formulated, analyzed and numerically solved an optimal control problem that generates material short-time attractors at desired locations while rejecting disturbances. We used a simplified version of model [serra2021mechanochemical] describing a compressible, viscosity-dominated, active fluid representing a planar multicellular flow, and used the active stress intensity as the control input. We identify short-time attractors as the smallest instantaneous Lyapunov exponent [Nolan2020], the instantaneous limit of the well-known FTLE, which is computable from the smallest eigenvalue of the rate of strain tensor of the flow velocity.

Short-time attractors are frame invariant and predict the correct location of material attraction, which may be undetected from the inspection of the frame-dependent velocity field (Fig. 1, [serra2016objective, serra2020search]). Using the same framework, one can control the position of material repellers, which, together with attractors, shape complex motion in synthetic active matter [serra2021defect] and embryo morphogenesis across species [serra2020dynamic, lange2023zebrahub]. Controlling attractors and repellers offers a new, robust, and frame-invariant perspective to steer motion in synthetic and natural active matter. It will enable the creation of material traps for medical applications as well as enhance our understanding and the possibility of manipulating multicellular flows in morphogenesis. For example, it will shed light on how myosin activity (active stress intensity) generates the required motion that compartmentalizes the embryo, segregating distinct cell types (repellers) and steering specific cells to precise locations (attractors). In future work, we plan to consider the explicit orientational dynamics of the active stress anisotropy, the effect of inertial forces, and the control of Lagrangian Coherent Structures that shape fluid motion over longer time scales.

Acknowledgements.
We acknowledge Alex Plum for his comments on the manuscript.