<?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'>Safety First: Stability and Dissipation of Line-tied Force-free Flux Tubes in Magnetized Coronae</title></titleStmt>
			<publicationStmt>
				<publisher>ApJ</publisher>
				<date>05/01/2024</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10542828</idno>
					<idno type="doi">10.3847/1538-4357/ad3206</idno>
					<title level='j'>The Astrophysical Journal</title>
<idno>0004-637X</idno>
<biblScope unit="volume">966</biblScope>
<biblScope unit="issue">2</biblScope>					

					<author>N Rugg</author><author>J F Mahlmann</author><author>A Spitkovsky</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[<title>Abstract</title> <p>Magnetized plasma columns and extended magnetic structures with both footpoints anchored to a surface layer are an important building block of astrophysical dissipation models. Current loops shining in X-rays during the growth of plasma instabilities are observed in the corona of the Sun and are expected to exist in highly magnetized neutron star magnetospheres and accretion disk coronae. For varying twist and system sizes, we investigate the stability of line-tied force-free flux tubes and the dissipation of twist energy during instabilities using linear analysis and time-dependent force-free electrodynamics simulations. Kink modes (<italic>m</italic>= 1) and efficient magnetic energy dissipation develop for plasma safety factors<italic>q</italic>≲ 1, where<italic>q</italic>is the inverse of the number of magnetic field line windings per column length. Higher-order fluting modes (<italic>m</italic>> 1) can distort equilibrium flux tubes for<italic>q</italic>> 1 but induce significantly less dissipation. In our analysis, the characteristic pitch<inline-formula><tex-math><CDATA/></tex-math><math overflow='scroll'><msub><mrow><mover accent='true'><mrow><mi>μ</mi></mrow><mrow><mo>˜</mo></mrow></mover></mrow><mrow><mn>0</mn></mrow></msub></math><inline-graphic href='apjad3206ieqn1.gif' type='simple'/></inline-formula>of flux-tube field lines determines the growth rate (<inline-formula><tex-math><CDATA/></tex-math><math overflow='scroll'><mo>∝</mo><msubsup><mrow><mover accent='true'><mrow><mi>μ</mi></mrow><mrow><mo>˜</mo></mrow></mover></mrow><mrow><mn>0</mn></mrow><mrow><mn>3</mn></mrow></msubsup></math><inline-graphic href='apjad3206ieqn2.gif' type='simple'/></inline-formula>) and minimum wavelength of the kink instability (<inline-formula><tex-math><CDATA/></tex-math><math overflow='scroll'><mo>∝</mo><msubsup><mrow><mover accent='true'><mrow><mi>μ</mi></mrow><mrow><mo>˜</mo></mrow></mover></mrow><mrow><mn>0</mn></mrow><mrow><mo>−</mo><mn>1</mn></mrow></msubsup></math><inline-graphic href='apjad3206ieqn3.gif' type='simple'/></inline-formula>). We use these scalings to determine a minimum flux tube length for the growth of the kink instability for any given<inline-formula><tex-math><CDATA/></tex-math><math overflow='scroll'><msub><mrow><mover accent='true'><mrow><mi>μ</mi></mrow><mrow><mo>˜</mo></mrow></mover></mrow><mrow><mn>0</mn></mrow></msub></math><inline-graphic href='apjad3206ieqn4.gif' type='simple'/></inline-formula>. By drawing analogies to idealized magnetar magnetospheres with varying regimes of boundary shearing rates, we discuss the expected impact of the pitch-dependent growth rates for magnetospheric dissipation in magnetar conditions.</p>]]></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 n="1.">Introduction</head><p>Magnetospheric dissipation likely drives at least some of the abundant X-ray activity observed from compact object magnetospheres with active coronae, such as magnetars (e.g., <ref type="bibr">G&#246;&#287;&#252;&#351; et al. 1999</ref><ref type="bibr">G&#246;&#287;&#252;&#351; et al. , 2000</ref><ref type="bibr">G&#246;&#287;&#252;&#351; et al. , 2001;;</ref><ref type="bibr">Rea et al. 2009;</ref><ref type="bibr">Rea &amp; Esposito 2011;</ref><ref type="bibr">Kaspi &amp; Beloborodov 2017;</ref><ref type="bibr">Esposito et al. 2020</ref>) and magnetized black hole accretion disks (e.g., <ref type="bibr">Haardt et al. 1994;</ref><ref type="bibr">Di Matteo et al. 1999;</ref><ref type="bibr">Chartas et al. 2009;</ref><ref type="bibr">Uttley et al. 2014;</ref><ref type="bibr">Wilkins &amp; Gallo 2015)</ref>. The stability and dynamics of flux bundles in (highly) magnetized environments are well studied and observed, including for applications to astrophysical jets (e.g., <ref type="bibr">Lyubarskii 1999;</ref><ref type="bibr">Giannios &amp; Spruit 2006;</ref><ref type="bibr">Lapenta et al. 2006;</ref><ref type="bibr">Narayan et al. 2009;</ref><ref type="bibr">Alves et al. 2018;</ref><ref type="bibr">Bromberg et al. 2019;</ref><ref type="bibr">Davelaar et al. 2020</ref>) and the solar corona (e.g., <ref type="bibr">Raadu 1972;</ref><ref type="bibr">Hood &amp; Priest 1979</ref><ref type="bibr">, 1981;</ref><ref type="bibr">Linton et al. 1998;</ref><ref type="bibr">Lapenta et al. 2006;</ref><ref type="bibr">Kumar &amp; Cho 2014;</ref><ref type="bibr">Florido-Llinas et al. 2020;</ref><ref type="bibr">Xu et al. 2020;</ref><ref type="bibr">Quinn &amp; Simitev 2022</ref>). Yet, insights from the considered systems, often periodic or highly constrained by the specific astrophysical scenario, cannot answer the most fundamental questions for highly magnetized flux tubes with field line footpoints frozen (line-tied) to a stellar or disk surface boundary at both ends: If, when, and how does a flux tube become unstable, and what is the amount of dissipated magnetic energy during its instability?</p><p>This work combines insights from different fields of plasma astrophysics. First, we exploit the vast literature on magnetic flux rope dynamics in the solar corona (e.g., <ref type="bibr">Galsgaard &amp; Nordlund 1997;</ref><ref type="bibr">Amari et al. 2003;</ref><ref type="bibr">Gerrard et al. 2004;</ref><ref type="bibr">T&#246;r&#246;k &amp; Kliem 2005;</ref><ref type="bibr">T&#246;r&#246;k et al. 2010;</ref><ref type="bibr">Gordovskyy &amp; Browning 2011;</ref><ref type="bibr">Gordovskyy et al. 2014;</ref><ref type="bibr">Pinto et al. 2016;</ref><ref type="bibr">Ripperda et al. 2017a</ref><ref type="bibr">Ripperda et al. , 2017b;;</ref><ref type="bibr">Sauppe &amp; Daughton 2018)</ref>, where the injection of twist and helicity from surface motion produces a variety of dissipative events. Second, we use well-established constraints from laboratory plasma physics (e.g., <ref type="bibr">Hazeltine &amp; Meiss 2003;</ref><ref type="bibr">Bergerson et al. 2006;</ref><ref type="bibr">Longaretti 2008)</ref>. The so-called safety factor denotes the inverse of the ratio of field line windings per column length and indicates the susceptibility of a flux tube to plasma instabilities (e.g., <ref type="bibr">Goedbloed &amp; Hagebeuk 1972;</ref><ref type="bibr">Goedbloed et al. 2019)</ref>. Third, we repurpose numerical methods from the study of relativistic jets. Growth rates of perturbations to rotating equilibrium flux tubes of infinite length were derived numerically by <ref type="bibr">Sobacchi et al. (2017)</ref>, and we closely follow their implementation and analysis. Finally, we use the results from three-dimensional numerical models of a global magnetar magnetosphere to evaluate the astrophysical implications of our findings. <ref type="bibr">Carrasco et al. (2019)</ref> and then with broader parameter ranges, <ref type="bibr">Mahlmann et al. (2023)</ref> find eruption scenarios that range in onset time and dissipation for flux tubes twisted at one end by surface motions. However, their work does not explore a reliable instability criterion on the eruption of three-dimensional twisted flux tubes. We analyze the plasma safety factor as an instability criterion for coronal loops around compact astrophysical objects by drawing analogies to well-established theories. For example, <ref type="bibr">Raadu (1972)</ref> and <ref type="bibr">Hood &amp; Priest (1979</ref><ref type="bibr">, 1981)</ref> studied the stabilizing effect of line-tying for magnetic columns with critical safety factors to explain the energy release of coronal mass ejections (CMEs). Solar flux tubes pinch regions of weak magnetic fields with shallow gradients at their edges. In contrast, magnetar current loops can have sharp edges on a strong background field, with negligible contributions by plasma pressure gradients. Their magnetic field lines are tied to a perfectly conducting stellar surface, while the ends of a solar flux tube extend through the photosphere and chromosphere.</p><p>Force-free electrodynamics (FFE), the vanishing-inertia limit of ideal magnetohydrodynamics (MHD), is a good approximation for modeling the global dynamics of highly magnetized magnetospheric plasma (see, e.g., <ref type="bibr">Gruzinov 1999;</ref><ref type="bibr">Blandford 2002;</ref><ref type="bibr">Komissarov 2004;</ref><ref type="bibr">Spitkovsky 2006;</ref><ref type="bibr">Parfrey et al. 2012;</ref><ref type="bibr">Carrasco &amp; Reula 2017;</ref><ref type="bibr">Most &amp; Philippov 2020;</ref><ref type="bibr">Yuan et al. 2020;</ref><ref type="bibr">Ripperda et al. 2021)</ref>. FFE methods gain efficiency by disregarding the exact physics of nonideal dissipation, namely the screening of electric fields E &#8741; along the magnetic field or in electrically dominated regions (E &gt; B). However, especially with high-order numerical techniques, one can capture with good accuracy the evolution of magnetic pressure and tension as well as (non)linear interactions of plasma modes. In this work, we use FFE to model the growth of instabilities in perturbed flux-tube equilibria with static linetied boundaries. We probe an instability criterion for the onset of the kink mode and give limits on the dissipated magnetic energy for different evolution scenarios.</p><p>This paper is organized as follows. Section 2 semianalytically studies the linear growth of perturbations to force-free equilibrium flux tubes. Section 3 validates the expected instability growth (Section 3.1) and analyzes the dissipation of twist energy for various flux tube parameters (Section 3.2). Our discussion in Section 4 provides scalings and limits of the instability growth (Section 4.1), applies our findings to magnetized astrophysical coronae (Sections 4.2 and 4.3), and discusses limitations (Section 4.4). We state conclusions in Section 5 and give additional details on the instability evolution in the Appendix.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Force-free Flux-tube Equilibria</head><p>Formed by twisted magnetic field lines arched with footpoints frozen into a surface layer, coronal flux ropes are expected in several astrophysical systems, such as stars and magnetized accretion disks (see references in Section 1). Surface motions can drag along the line-tied magnetic field lines and disrupt the magnetized flux-tube equilibria. To study the stability of highly magnetized twisted magnetic fields, we analyze simplified flux-tube geometries embedded in uniform background magnetic fields (see Figure <ref type="figure">1</ref>). We evaluate Maxwell's equations,</p><p>for ideal electric fields with frozen-in magnetic flux</p><p>, 5</p><p>and for a vanishing Lorentz force</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="0.">6</head><p>For stationary electromagnetic fields, Equation (6) becomes the equilibrium condition:</p><p>For cylindrical coordinates (r, f, z), magnetic field lines can move around the symmetry axis with a velocity v Ff = r&#937; F , where &#937; F is the field line angular velocity. In stationary and axisymmetric configurations, the only nonvanishing component of the electric field is E r = -r&#937; F B z /c (Equation ( <ref type="formula">5</ref>)). The angular velocity and corresponding electric field are conserved along flux surfaces. In this geometry, the radial component of Equation ( <ref type="formula">7</ref>) yields the generalized force-free Grad-Shafranov equation of a flux tube:<ref type="foot">foot_0</ref> </p><p>We express the magnetic field B f in the orthonormal basis. This work studies line-tied force-free equilibria with footpoints anchored to perfectly conducting boundaries and a vanishing field line angular velocity &#937; F . In this limit, Equation (8) becomes</p><p>We can define the inverse pitch parameter m = f B B z and write Equation (9) as</p><p>This equation determines the equilibrium magnetic fields of a static flux tube without field line rotation for radial profiles of the pitch &#732;( ) m r . It is well studied throughout the literature in Newtonian ideal MHD (e.g., <ref type="bibr">Goedbloed et al. 2019;</ref><ref type="bibr">Goldston 2020)</ref> and has exact solutions in some cases like uniform twists <ref type="bibr">(Gold &amp; Hoyle 1960)</ref> or certain oscillating magnetic fields <ref type="bibr">(Lundquist 1950)</ref>. In this work, we study field line columns similar to those twisted by footpoints moving on a stellar surface or an accretion disk. We choose simple pitch profiles to capture two main properties: the rapid decay of twist at flux-tube boundaries and a twist profile compatible with certain surface motions. In the following, we evaluate the stability of flux tubes with</p><p>where &#957; 1. For a characteristic length scale r 0 , we choose</p><p>r r a b 0.5 tanh 0 with a &#8776; 1.11 and b = 0.1. This choice induces a pitch profile with a maximum at r/r 0 = 1, vanishing for r?r 0 . For the following instability analysis, we use { } n &#206; 1, 2 to probe different pitch profiles in the flux tube. By integrating Equation (10), we generate equilibrium magnetic fields for boundary conditions B z (r ? r 0 ) = B bg , where = B z B bg bg . We then use solutions to Equation (10) as background fields in an instability analysis of helical force-free MHD equilibria <ref type="bibr">(Solov'ev 1967;</ref><ref type="bibr">Lyubarskii 1999;</ref><ref type="bibr">Sobacchi et al. 2017)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.">Instability Analysis</head><p>We use the numerical method introduced by Sobacchi et al.</p><p>(2017) to find growth rates for linear instabilities of flux tubes with inverse pitch profiles given by Equation (11). We numerically derive growth rates of linear perturbations &#958; of the form</p><p>t m kz i Here, &#958;(r) is the complex-valued perturbation along the fluxtube radius with frequency &#969; and wavenumbers (m, k) along the f and z-directions, respectively. The vertical wavelength associated with such a perturbation is given by &#955; = 2&#960;/k and its growth rate by the imaginary contribution ( ) w Im . In practice, we follow <ref type="bibr">Sobacchi et al. (2017)</ref> and discretize a complex-valued balance equation for perturbations &#958; to helical force-free equilibria <ref type="bibr">(Lyubarskii 1999, Equation (20)</ref>) on a onedimensional mesh along the radial direction of the flux tube. <ref type="foot">6</ref>We impose radial boundary conditions ( )  x&#162;= 0 0 with an arbitrary normalization &#958;(0) = 1, as well as &#958;(r ? r 0 ) = 0 (see Section 2.2 in <ref type="bibr">Sobacchi et al. 2017</ref>). We neglect line-tying boundaries of the perturbation &#958; along the z-direction (see limitation in Section 4.4). For freely chosen wavenumbers (m, k), an initially estimated complex frequency &#969; is then driven to a solution of the balance equation by minimizing the residual error of the shooting method (e.g., <ref type="bibr">Vetterling &amp; Press 1992)</ref>.</p><p>We first quantify the dynamics of the fastest-growing nonaxisymmetric instability of the flux tubes, that is, the kink mode. A commonly employed measure of the susceptibility of magnetic columns to kink instability is the so-called safety factor q. This parameter represents the inverse of the number of magnetic field line windings distributed along the tube length L:</p><p>In the setup given by Equation (11), the safety factor is minimal at r/r 0 = 1. An instability is expected for q &#61576; 1, and for each radial pitch profile we define the critical length corresponding to this threshold as pm = L r 2 0 0 0 . In Figure <ref type="figure">2</ref>, we display the growth rates for the kink mode in configurations given by Equation (11) as a function of wavelength &#955; m=1 = 2&#960;/k m=1 for varying pitch profiles. We indicate the critical length L 0 for which q = 1 in Equation ( <ref type="formula">13</ref>) by vertical lines. The actual system length then determines the instability growth. For wavelengths L &lt; L 0 , no unstable m = 1 modes can be found. Therefore, the safety factor threshold of q = 1 is a valid criterion for the onset of the kink instability. With flux tubes long enough to allow for unstable wavelengths to fit into the system, the fastest-growing mode with L 0 &lt; &#955; m=1 &lt; L will dominate. The growth of the kink mode becomes faster for increasing pitch factor m0 . These basic features hold for the different radial profiles of the inverse pitch with { } n &#206; 1, 2 . However, the overall growth rates are significantly lower for larger &#957; (as a consequence of the nonlinear profile of the pitch parameter).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.2.">The m = 2 (Fluting) Mode</head><p>We extend the instability analysis to the m = 2 mode in Figure <ref type="figure">3</ref>. Modes with m &gt; 1 grow with wavelengths shorter than the critical length L 0 , below which the m = 1 (kink) mode is suppressed. Again, their maximum growth rates increase for larger values of m0 . As in the case of the m = 1 (kink) mode, growth rates are significantly reduced for paraboloidal (&#957; = 2) pitch profiles when compared to linear (&#957; = 1) pitch profiles. Comparing the growth rates between the m = 1 mode (Figure <ref type="figure">2</ref>) and the m = 2 mode (Figure <ref type="figure">3</ref>), one finds ratios of (</p><p>for &#957; = 2. Although these measurements confirm the m = 1 mode as the fastest-growing instability, the growth rate of the m = 2 mode can become comparable. We evaluate the possibility of mode mixing in the following sections on simulated instability dynamics.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Simulations</head><p>We use FFE simulations to examine the instability growth in flux tubes described by <ref type="bibr">Equation (11)</ref>. For this, we employ a high-order FFE method with optimized hyperbolic/ parabolic cleaning parameters <ref type="bibr">(Mahlmann et al. 2021a</ref><ref type="bibr">(Mahlmann et al. , 2021b;;</ref><ref type="bibr">Mahlmann &amp; Aloy 2022)</ref> that benefits from the CARPET driver <ref type="bibr">(Goodale et al. 2003;</ref><ref type="bibr">Schnetter et al. 2004</ref>) and the EINSTEIN TOOLKIT <ref type="bibr">(L&#246;ffler et al. 2012;</ref><ref type="bibr">Zlochower et al. 2022</ref>).<ref type="foot">foot_3</ref> FFE simulations integrate Maxwell's Equations (1)-( <ref type="formula">4</ref>) with currents set by the force-free condition (Equation ( <ref type="formula">6</ref>)) and the constraints</p><p>There are notable differences between FFE and the nonrelativistic limit of MHD commonly used in laboratory and solar plasma physics. Only the drift velocity of frozen-in field lines is available in FFE; the plasma pressure and flow velocity are ordered out. Variations of the electric field can create local charge densities. Violations of the force-free constraints (Equations ( <ref type="formula">14</ref>)-( <ref type="formula">15</ref>)) rapidly dissipate nonideal electric fields.</p><p>In FFE, the plasma modes reduce to Alfv&#233;nic and fast waves, both propagating with the speed of light and their characteristic polarizations (see, e.g., <ref type="bibr">Komissarov 2002)</ref>. In this section, we track the displacement of magnetic field lines during various instabilities and quantify the induced dissipation.</p><p>The simulations fill a rectangular domain of size &#180;&#180;=</p><p>with resolution &#916;x = &#916;y = &#916;z = r 0 /N. We choose N = 20 as the number of grid points resolving the flux-tube radius. The boundaries in the xy-directions are periodic. In the z-direction we use perfectly conducting surfaces with frozen-in field lines (see <ref type="bibr">Munz et al. 2000;</ref><ref type="bibr">Mahlmann et al. 2023)</ref>. Simulations are initialized with background magnetic fields B z and B f as solutions to Equation (10) determined by specifying the pitch profile in Equation (11). The employed high-order FFE method suppresses discretization noises required to seed the instability growth. Therefore, we initialize the drift-velocity perturbation</p><p>where v 0 /c = 0.01, k z = 2&#960;/L, and m = 1. In practice, this drift perturbation is set up by initializing electric fields according to Equation (5).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">Instability Dynamics</head><p>We first isolate the instability dynamics of force-free flux tubes for the m = 1 (kink) and m = 2 (fluting) modes. To this end, we follow the evolution of a setup with &#957; = 1 and m = 0.75 0 for two different flux-tube lengths a 0 &#8801; L/r 0 = 8 and L/r 0 = 14. As shown in Figure <ref type="figure">2</ref>, the kink mode of this configuration does not grow below L/r 0 &#8776; 8.4, and the maximum growth rate of the m = 1 mode is captured for L/r 0 &#61577; 9.2. Both configurations allow for the m = 2 (fluting) mode to grow, as shown in Figure <ref type="figure">3</ref>. We use the projection &#923; of the conserved force-free current along the magnetic field to visualize flux tubes in arbitrary field line geometries. This component of the current can be written in the form j &#8741; = &#955;B, with &#8711;&#923; &#8226; B = 0; hence, &#923; is constant along magnetic field lines.</p><p>Figure <ref type="figure">4</ref> shows the field line configuration and currents after the onset of instability for L/r 0 = 14 (accompanied by significant dissipation of twist energy; see Section 3.2). The setup develops clear features of the m = 1 (kink) mode, namely asymmetric variations of currents along the toroidal direction. The flux-tube current cross section in panel (c) of Figure <ref type="figure">4</ref> exhibits typical structures of the kink instability (as discussed by <ref type="bibr">Davelaar et al. 2020</ref><ref type="bibr">, Mahlmann et al. 2023)</ref>.</p><p>The development of the kink mode is suppressed for the L/r 0 = 8 setup shown in Figure <ref type="figure">5</ref>. The instability develops differently from the longer flux tube discussed above. Strong currents develop with an m = 2 symmetry along the toroidal direction. The characteristic fluting manifests as a thinning of the flux tube in the y-direction with bulging along the x-direction. We note that both setups evaluated in this section (L = 8 and L = 14) become unstable at similar times. As established in Section 2.1, the maximum growth rates of the m = 1 and m = 2 modes are comparable. We find</p><p>(see Figures <ref type="figure">2</ref> and <ref type="figure">3</ref>). We study the dependence of twist dissipation on the flux-tube length and simultaneous growth of the kink and higher m modes in the following section. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Dissipation of Twist Energy</head><p>We scan the parameter space of pitch profiles by varying &#957; and m0 and measuring the dissipated magnetic energy e diss . We define the dissipated energy as the difference between twist energy before and after the development of instability, where the twist energy is</p><p>. 17</p><p>twist bg 2</p><p>We evolve perturbed equilibrium states in time for a duration of ct/r 0 = 300-500, making sure that the dynamical phase of the instability is fully captured and dissipation has returned to the low level of numerical diffusion. During the instability, twist energy is lost in steep gradients via numerical diffusion or by removing nonideal field components violating conditions in Equations ( <ref type="formula">14</ref>)-( <ref type="formula">15</ref>). The total amount of dissipated energy is e diss . Figure <ref type="figure">6</ref> displays the twist energy dissipation as a function of the safety factor q for a set of 58 different flux tubes. For large safety factors q ? 1, no notable instability occurs, and dissipation is limited to numerical diffusion regardless of the pitch profile &#957; (empty circles). Sufficiently low safety factors q &#61577; 1 allow for the growth of fluting (m = 2) or higher-order modes. However, the dissipation in this region of the parameter space remains low with e diss /e twist &#61576; 0.2. For q &#61576; 1 the m = 1 (kink) mode can grow, as was shown in Section 2.1. The dissipation of twist energy jumps to larger values at q &#8776; 1, ranging between e diss /e twist &#8776; 0.6 for &#957; = 1 and e diss /e twist &#8776; 0.4  for &#957; = 2. For very low safety factors q = 1 the fraction of dissipated energy e diss /e twist increases further to e diss /e twist &#8776; 0.8.</p><p>Configurations with q &#61576; 1 develop both m = 1 (kink) and m = 2 (fluting) or higher-order modes. If the scale of the maximum growth rate of the kink instability is captured, the m = 1 mode dominates in these cases. The growth of the instabilities quickly drives the system to an event with rapid dissipation and a rearrangement into a relaxed state of lower energy. Once the fluting instability develops for q &gt; 1, the system rearranges and dissipates energy equally fast. For q &#8776; 1, when the system size allows for the development of the m = 1 mode but does not yet capture its maximum growth rate, the instability dynamics is more complex. First, m = 2 or higherorder modes develop, driving the fluting of the flux tube and mild dissipation of twist energy. At later times, the m = 1 (kink) instability significantly reduces the twist energy. Such events at the threshold of the critical safety factor with the subsequent development of modes of lower order can last 3 to 5 times longer than the cases of q &lt; 1 and q &gt; 1.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Discussion</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.">Scales and Limits of the Instability Growth</head><p>We confirm in Section 2.1 that the m = 1 (kink) mode is the fastest-growing instability of the system that also dissipates twist energy most efficiently (Section 3.2). Figure <ref type="figure">7</ref> (bottom panel) extends the growth rate analysis shown in Section 2.1 for the m = 1 (kink) mode to</p><p>. All probed configurations, even with a small initial twist, have unstable solutions with a maximum growth rate</p><p>Here, &#951; is a parameter that depends on the radial pitch profile; it is obtained empirically as &#951; &#8776; 0.15 for &#957; = 1 and &#951; &#8776; 0.03 for &#957; = 2. We can estimate the timescale for the growth of instabilities as</p><p>r c r 0.33 10 Im 1km s. 19 i 5 max 0 0 By combining Equations (18) and (19), we can estimate the growth rate of the kink instability close to the critical safety factor q &#8776; 1, where the flux-tube aspect ratio is pm &#186;&#187; a L r 2 0 0 0 0 We display measurements of the dissipated energy e diss /e twist a moving average (shaded gray area). Filled circles denote setups that develop instability; empty circles represent configurations that did not show any dissipation above the numerical diffusivity. The dashed vertical lines indicate the critical safety factor (q = 1). The kink (m = 1) mode will grow for setups located to the left of this line. . In other words, flux tubes have to be long and "skinny" to become unstable for small values of m0 .</p><p>The instability analysis and simulations presented in this work have magnetic equilibria (Equation ( <ref type="formula">8</ref>)) as a starting point. However, the timescale of instability growth has to be compared to other characteristic timescales of the system. In realistic scenarios, one relevant scale is the rate at which a flux tube is twisted by footpoint motions in the line-tied boundaries. We denote the twisting timescale as t twist and identify two relevant regimes: the slow-twisting regime with t i = t twist and the fast-twisting regime with t twist &#61576; t i . In the slow-twisting limit, the pitch parameter m0 of a flux bundle of fixed length L will gradually increase until the system is disrupted by an m = 1 or higher-order instability. As the configuration slowly approaches q &#61577; 1, the dissipation during instability in this regime is likely low (see Section 3.2 and Figure <ref type="figure">6</ref>). In the fasttwisting regime, the inverse pitch m0 can increase beyond the critical value for a fixed system size L. The safety factor can, thus, reach q &#61576; 1 and significant dissipation of twist energy will likely occur (see Figure <ref type="figure">6</ref>). Regardless of the safety factor, currents remain in the domain after instability and relaxation to a steady state. As we discuss in the Appendix, the total currents of disrupted flux tubes drop less than their total twist magnetic fields. We interpret our findings in the context of different astrophysical environments in the following sections.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2.">Kink (m = 1) Instability in the Magnetar Corona</head><p>Twisted magnetic fields likely play a key role in the region of active plasma processes in the relativistic magnetar magnetosphere, the so-called magnetar corona (see, e.g., <ref type="bibr">Beloborodov &amp; Thompson 2007;</ref><ref type="bibr">Beloborodov 2013;</ref><ref type="bibr">Chen &amp; Beloborodov 2017</ref>). If their twist grows beyond a critical angle, the sheared dipole magnetosphere can erupt in flaring events with large-scale reconnection regions and energy dissipation <ref type="bibr">(Parfrey et al. 2013;</ref><ref type="bibr">Mahlmann et al. 2019;</ref><ref type="bibr">Yuan et al. 2020;</ref><ref type="bibr">Sharma et al. 2023)</ref>. Three-dimensional flux tubes with twisting footpoints in a disk-like patch on the magnetar surface allow for rich eruption dynamics with lateral (torus-like) and helical (kink-like) instabilities <ref type="bibr">(Carrasco et al. 2019;</ref><ref type="bibr">Mahlmann et al. 2023)</ref>. Figure <ref type="figure">8</ref> adapts a visualization of the threshold between large-scale global eruptions of the magnetosphere and confined eruptions by <ref type="bibr">(Mahlmann et al. 2023, red dashed line)</ref>. To connect the global context of the magnetar magnetosphere to the findings of this work, we display the magnetic pitch m0 for critical flux tubes (q = 1) of different aspect ratios. The aspect ratio a 0 = L 0 /r 0 is inferred from the length of the center field line in a dipolar flux tube as well as the radius r 0 of the twisting disk that induces footpoint motion on the stellar surface (see Figure <ref type="figure">1</ref> in <ref type="bibr">Mahlmann et al. 2023)</ref>. Flux tubes with low levels of inverse pitch require small diameters with large aspect ratios to become critical, pm == a L r 2 0 0 0 0 for q = 1. Shorter dipolar flux tubes located farther away from the poles need larger diameters and pitch parameters to become critical. For the simulation parameters scanned in <ref type="bibr">Mahlmann et al. (2023, gray dots</ref> in Figure <ref type="figure">8</ref>), instabilities occur after ct/L &#8776; 25 for flux tubes closer to the poles (&#952; c = 30&#176;) and ct/L &#8776; 100 for those closer to the equator (&#952; c = 60&#176;). In combination with the angular dependence of the radial magnetic field in the dipole magnetosphere, mq = B r 2 cos r 3 , this difference in time before eruption suggests a scaling in critical pitch that is consistent 8 with the contours displayed in Figure <ref type="figure">8</ref>. Timescales of field line displacement on the magnetar surface are not yet well constrained. They range from slow, quasisteady shearing with t twist on the order of years (&#969; s &gt; 1 rad yr -1 ; see <ref type="bibr">Parfrey et al. 2012)</ref> to rapid crust deformations with millisecond creep times during flares <ref type="bibr">(Thompson et al. 2017;</ref><ref type="bibr">Thompson 2023)</ref>. The slow shearing is clearly separated from the instability growth time t i . However, for aspect ratios of a 0 &#61577; 6.3, Equation (20) projects growth times above millisecond duration (also depending on the parameters &#951; and r 0 ). Thus, rapid crust deformations can reach the fast-twisting regime with t twist &#61576; t i . In this limit, the safety factor can reach q &lt; 1 due to the rapidly driven growth of pitch m0 . As a consequence, a significant part of the magnetospheric twist energy can dissipate (see Figure <ref type="figure">6</ref>). We note that the simulations in <ref type="bibr">Mahlmann et al. (2023)</ref> use</p><p>. For large aspect ratios or low pitch parameters m0 , this choice of twist timescale allows for t twist &#61576; t i and possibly enhances magnetospheric dissipation. We acknowledge the limitation of such direct comparison between the straight flux tubes discussed in this work and the dipolar magnetosphere in Section 4.4.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.">Mixed Instabilities in Magnetized Coronae</head><p>In the case of flux bundles twisting in the slow limit of t i = t twist or if the twist injection ceases while q &gt; 1, m = 2 (fluting) and higher-order modes can develop. As we demonstrate in Section 2.1, the m = 2 mode grows slower than the m = 1 mode though their growth rates are in general comparable. In the dynamic phase of the instability, this coincidence of growth rates manifests by mixing of the symmetric, shortwavelength fluting and the asymmetric, long-wavelength kinking patterns (see the Appendix). We find systems that are only susceptible to the m = 2 mode to dissipate a comparably small fraction of the twist energy (Figure <ref type="figure">6</ref>) and maintain significant currents after relaxation (see the Appendix). However, the fluting develops with its short wavelengths and can potentially drive turbulence even when the kink mode is present. While the m = 1 (kink) mode develops predominantly around the center of the flux tube, the m = 2 (fluting) mode drives the dynamics at resonant surfaces in the outer layers.</p><p>The possibility of mode mixing in flux tubes was discussed, though not observed, in the context of the solar corona by <ref type="bibr">Quinn &amp; Simitev (2022)</ref>. Instead of perturbing an equilibrium configuration with a specific profile that seeds the growth of an m = 1 (kink) mode, <ref type="bibr">Quinn &amp; Simitev (2022)</ref> rely on noise introduced by the continuous twisting of a flux tube to drive the instability. With this strategy, which is somewhat closer to the realistic flux-tube evolution, they allow for the development of m &gt; 1 modes that are usually not addressed in the literature. 9  Quinn &amp; Simitev (2022) consider the role of nonideal effects for the flux-tube dynamics in MHD and find that the cumulative ohmic heating is mainly driven by the kink</p><p>, roughly according to the difference in contours enclosing the gray dots in Figure <ref type="figure">8</ref>. 9 We note that the numerical work conducted for this paper initially followed a similar approach. We especially considered the late-stage evolution of flux tubes where the continuous motion of footpoints was turned off after an initial twisting episode. In such setups, we found kink-like and fluting-like dynamics, seeded purely by the boundary and developing different levels of dissipation. The long evolution times until instability onset made the systematic study of such setups prohibitive for a large parameter space.</p><p>instability. The analysis we present in Figure <ref type="figure">6</ref> equally suggests that most dissipation occurs during the development of the m = 1 (kink) mode.</p><p>In contrast to <ref type="bibr">Quinn &amp; Simitev (2022)</ref> we do not find a significantly delayed onset of the kink mode due to the growth of m = 2 (fluting) patterns. This may be due to the absence of resistive/viscous effects in FFE, which effectively propagates all perturbations at the fastest velocity, the speed of light. Still, for configurations erupting at q &#8776; 1 we find a notable interaction between the m = 1 and m = 2 modes (see Section 2.1). With the growth of the kink mode suppressed initially, such systems exclusively develop m = 2 (fluting) dynamics. Once the configuration is no longer in equilibrium, the flux tube changes its properties, and the m = 1 (kink) mode can grow regardless of its suppression in the initial state. Thus, for line-tied relativistic flux tubes of critical length with q &#61577; 1, the m = 2 mode can drive the system to rapid dissipation by the kink instability. Some of the configurations studied in this work develop higher-order, vortex-like structures in the nonlinear phase of the instability (see, e.g., Appendix Figures <ref type="figure">10</ref> and <ref type="figure">11</ref>). Such "fingers" also appear in other studies of the relativistic kink instability (e.g., <ref type="bibr">Bromberg et al. 2019;</ref><ref type="bibr">Davelaar et al. 2020)</ref>; their dispersion and role for dissipation in the nonlinear phase should be evaluated further.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.4.">Limitations</head><p>The presented simulations of flux-tube dynamics use the force-free limit of ideal MHD. Such FFE models are not suitable to capture the conversion of magnetic energy consistently due to the absence of information about plasma inertial properties like particle number densities or nonideal electric fields (see <ref type="bibr">Mahlmann et al. 2021b;</ref><ref type="bibr">Mahlmann &amp; Aloy 2022)</ref>. The measurements of dissipation shown in Section 3.2, especially its timescales, should therefore be understood as the energy loss in the limit of rapid cooling of nonideal fields. How a magnetosphere with line-tied shear fills with plasma and how active plasma processes can dissipate the injected twist even without the onset of large-scale instabilities were previously studied in reduced dimensionality (e.g., <ref type="bibr">Beloborodov &amp; Thompson 2007)</ref>. Its consistent plasma dynamics for realistic coronal geometries have to be further evaluated by particle-in-cell methods.</p><p>After a disruption by an instability, especially those occurring close to the critical value of q &#8776; 1, some twist energy and currents remain in the system (see Figure <ref type="figure">6</ref> and the Appendix). A continuing twist of the flux-tube footpoints could drive further eruptions of configurations with larger and larger twist energies (as modeled by <ref type="bibr">Mahlmann et al. 2023)</ref>. However, in such secondary and later events, the flux tubes are no longer in an axisymmetric equilibrium as considered in this work. Calculating the safety factor and corresponding instability criteria in nonaxisymmetric states is less straightforward. It will require careful consideration of the flux-tube geometry, as in <ref type="bibr">Stefanou et al. (2023)</ref> who derive generalized force-free Grad-Shafranov equilibria of magnetospheres with nontrivial twisted flux ropes. We defer studying the dynamic (in)stability of such configurations to future work.</p><p>The instability analysis presented in Section 2.1 can be improved, particularly regarding the neglect of line-tying on the perturbation &#958;. Contrary to typical flux-tube analyses in the solar corona, we do not impose any z-dependent boundary conditions on &#958;. Line-tying with &#958; vanishing smoothly at field line footpoints (e.g., <ref type="bibr">Hood &amp; Priest 1979</ref><ref type="bibr">, 1981</ref>, for the photosphere) could change the derived instability threshold and its dependence on the system size (see <ref type="bibr">Goedbloed &amp; Halberstadt 1994)</ref>. Specifically, an eigenvalue analysis including z-dependent boundaries may yield different outcomes than the purely radial one-dimensional balance equation discussed in Section 2.1. The effects of z-dependent boundaries on the stability of specific flux-tube geometries will be explored in future work. The full 3D simulations discussed in Section 3 use perfect conductor boundaries, an instantaneous line-tying. We find that the dynamics in these simulations are in good agreement with the predictions of unstable wavelengths derived by the instability analysis (Section 2.1). For small line-tying scale heights, the system length is well defined, and the one-dimensional analysis in Section 2.1 provides good insights, for example, estimates of the minimum system length or the maximum instability growth rate for a given pitch factor. To produce more complete dispersion relations, future instability analyses in FFE could adopt innovative frameworks like Legolas <ref type="bibr">(Claes et al. 2020</ref>). Such solvers systematically analyze the eigensystem of linearized MHD and can be extended to capture nonideal effects <ref type="bibr">(De Jonghe et al. 2022;</ref><ref type="bibr">Jonghe &amp; Kuczy&#324;ski 2023)</ref>.</p><p>Finally, this work focuses on cylindrical flux tubes and disregards any curvature effects experienced by bent structures commonly observed in the solar corona and expected, for instance, around magnetars and magnetized accretion flows. We only use the presented findings to qualitatively supplement models that take into account coronal geometries. MHD modes were analyzed in geometries relevant to laboratory plasmas early on, most notably in extensions to toroidal geometries <ref type="bibr">(Goedbloed 1975)</ref>. In parallel to the vast progress in tokamak applications, MHD models with coronal geometries built up a track record in the solar physics community (e.g., <ref type="bibr">Amari et al. 2003;</ref><ref type="bibr">Gerrard et al. 2004;</ref><ref type="bibr">T&#246;r&#246;k &amp; Kliem 2005;</ref><ref type="bibr"/> 8. Estimate of a possible pitch parameter ( m0 ) distribution for critical flux tubes (q = 1) in a dipolar magnetar magnetosphere (adapted from <ref type="bibr">Mahlmann et al. 2023</ref>, with gray dots denoting the parameter space explored by their global magnetospheric simulations). In a dipole field, flux tubes are parametrized by the center footpoint colatitude on the stellar surface &#952; c and the angular extent of the twisting region 2&#952; T . During the instability, the dipole magnetosphere can either open up in a large-scale eruption, or energy is dissipated locally (transition roughly at the dashed red line; see <ref type="bibr">Mahlmann et al. 2023)</ref>. Critical flux tubes with &#61501; m 1 0 require small r 0 and larger length L and thus, footpoints closer to the poles. <ref type="bibr">T&#246;r&#246;k et al. 2010;</ref><ref type="bibr">Gordovskyy &amp; Browning 2011;</ref><ref type="bibr">Gordovskyy et al. 2014;</ref><ref type="bibr">Pinto et al. 2016;</ref><ref type="bibr">Ripperda et al. 2017a</ref><ref type="bibr">Ripperda et al. , 2017b;;</ref><ref type="bibr">Sauppe &amp; Daughton 2018)</ref>. There are only a few comparable works for global magnetospheric instabilities around compact objects (e.g., <ref type="bibr">Carrasco et al. 2019;</ref><ref type="bibr">Mahlmann et al. 2023;</ref><ref type="bibr">Most &amp; Quataert 2023</ref>) that have to be studied in greater detail in the future.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Conclusion</head><p>This paper examines the behavior of line-tied flux tubes with an axial twist of m = f B B z in the force-free regime. We examine perturbations of force-free flux-tube equilibria both analytically (Section 2.1) and in FFE simulations (Section 3.1). Depending on the flux-tube parameters, our analysis predicts and shows the development of the kink (m = 1) and/or fluting (m = 2) instabilities. To test the flux tubes' susceptibility to the m = 1 mode, we apply a stability indicator called the safety factor pm = q r L 2 0</p><p>, which represents the inverse of the number of azimuthal windings of the magnetic field along the flux-tube length. Resulting analyses of growth timescale and energy dissipation are then applied to astrophysical systems such as magnetars and the lower solar corona.</p><p>The safety factor is the key criterion to determine if line-tied FFE flux tubes without initial field line motion become kink unstable (see Figure <ref type="figure">2</ref>). We find rapid growth of the kink instability for q &lt; 1. For q &gt; 1, fluting (m = 2) and higher m modes may develop when the flux tube is long enough to accommodate these modes. For q &#61577; 1, an initial deformation of the flux tube by fluting modes can catalyze the development of the kink instability (Section 3.1).</p><p>We tested two flux-tube pitch profiles &#732;( ) m m &#181; n r r 0 in this work, where &#957; &#228; {1, 2}. Theoretically, we find the &#957; = 1 case generates larger growth rates for both the kink and fluting instabilities. The maximum growth rate of the fluting mode is within 60%-90% of the kink mode (Figures <ref type="figure">2</ref> and <ref type="figure">3</ref>), resulting in instabilities that evolve on similar timescales. However, the fluting mode dissipates only about 20% of the initial twist energy, while the kink mode dissipates between 40% and 80% (Figure <ref type="figure">6</ref>). The maximum growth rate of the kink mode, ( ) w r c Im max 0 , scales as hm 0 3 , where &#951; is found experimentally to be 0.03-0.15 depending on the pitch profile (Figure <ref type="figure">7</ref>). The wavelength corresponding to this fastest-growing m = 1 (kink) mode, l r max 0 , is proportional to m - 0 1 . The explosive release of magnetic energy in magnetospheres, including around magnetized compact objects like magnetars and black hole accretion systems, can be driven by the instability of twisted magnetic flux bundles. Similar to CMEs of the Sun, twisted flux tubes anchored to a neutron star or accretion disk can erupt and dissipate magnetic energy when their twist exceeds a critical value. In nature, the twist in a flux tube is likely established by footpoint motions of magnetic field lines in the line-tied boundary. In this paper, we develop an intuition for the onset of instabilities in line-tied force-free flux tubes and the dissipation associated with such events. We suggest that fast footpoint shearing at the line-tied boundary can tap the regime of efficient dissipation during m = 1 (kink) instabilities (q &lt; 1). However, if the shear builds up slowly compared to the growth of the kink mode, it is likely that higher-order instabilities distort the flux tube with only little magnetospheric dissipation. This by itself can drive flux tubes to states with localized q &#61576; 1 regions though the safety factor is not straightforwardly obtained in nonaxisymmetric configurations. Our simulations and growth rate analysis confirm that flux tubes of any pitch value B z /B f can become kink unstable given sufficient length such that q &#61576; 1 (see Section 4). The idealized analysis and simulation of isolated line-tied magnetic flux bundles presented in this paper provide an intuition for the dynamics of flux tubes and the corresponding dissipation limits that can be used in the complex modeling of radiative plasma processes around magnetars and magnetized accretion disks. instability end up with lower levels of current that extend further than the initial flux-tube boundary with patches of stronger currents (Figures <ref type="figure">10</ref> and <ref type="figure">11</ref>). We quantify the loss of current during the instability by measuring the change in total current &#955; tot = &#8747;&#955; dV in the domain. Figure <ref type="figure">12</ref> shows the relative difference of initial and final currents &#916;&#955; tot /&#955; tot,0 as a function of dissipated twist energy e diss /e twist for all models in Section 3.2. These measurements demonstrate that currents persist for all configurations in the final state of evolution. The change in total current is below the change of total twist magnetic fields, with ll D &lt; e e tot tot,0 diss twist . Figure 10. Currents during the evolution of a selected flux tube (&#957; = 1, m = 0.75 0 (An animation of this figure is available.)</p><p>Figure <ref type="figure">12</ref>. Change in total current &#916;&#955; tot /&#955; tot,0 against dissipated energy e diss /e twist for the models described in Section 3.2.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="5" xml:id="foot_0"><p>The Grad-Shafranov equation balances magnetic tension and pressure with the plasma pressure gradient in toroidal MHD equilibria(Goedbloed et al. 2019  and references therein). This work studies the force-free limit of such equilibria, absent of inertial properties like plasma density, velocity, and pressure. It also generalizes them to cylindrical coordinates.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="6" xml:id="foot_1"><p>The technique of linearizing balance laws like Equation (8) is common in the Newtonian MHD literature (e.g.,<ref type="bibr">Hain &amp; Lust 1958;</ref><ref type="bibr">Frieman &amp; Rotenberg 1960;</ref><ref type="bibr">Goedbloed 1971)</ref>. For certain background fields, growth rates of the kink mode (like Figure2) were derived early on (e.g.,<ref type="bibr">Goedbloed &amp; Hagebeuk 1972)</ref>. The strategy adopted by<ref type="bibr">Lyubarskii (1999)</ref> and<ref type="bibr">Sobacchi et al. (2017)</ref> and employed in this work follows the analysis of nonrelativistic MHD equations for helical stationary flows by<ref type="bibr">Solov'ev (1967)</ref>. We refer the reader to these works for a vast background of the earlier theoretical development.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_2"><p>The Astrophysical Journal, 966:173 (12pp), 2024 May 10 Rugg, Mahlmann, &amp; Spitkovsky</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="7" xml:id="foot_3"><p>http://www.einsteintoolkit.org</p></note>
		</body>
		</text>
</TEI>
