Issue 
A&A
Volume 641, September 2020



Article Number  A13  
Number of page(s)  23  
Section  Astrophysical processes  
DOI  https://doi.org/10.1051/00046361/202037828  
Published online  01 September 2020 
Interplay between magnetic fields and differential rotation in a stably stratified stellar radiative zone
Université de Toulouse, CNRS, Institut de Recherche en Astrophysique et Planétologie, 14 Avenue Edouard Belin, 31400 Toulouse, France
email: ljouve@irap.omp.eu
Received:
26
February
2020
Accepted:
11
June
2020
Context. The interactions between magnetic fields and differential rotation in stellar radiative interiors could play a major role in achieving an understanding of the magnetism of intermediatemass and massive stars and of the differential rotation profile observed in redgiant stars.
Aims. The present study is aimed at studying the flow and field produced by a stellar radiative zone which is initially made to rotate differentially in the presence of a largescale poloidal magnetic field threading the whole domain. We focus both on the axisymmetric configurations produced by the initial windingup of the magnetic field lines and on the possible instabilities of those configurations. We investigate in detail the effects of the stable stratification and thermal diffusion and we aim, in particular, to assess the role of the stratification at stabilising the system.
Methods. We performed 2D and 3D global Boussinesq numerical simulations started from an initial radial or cylindrical differential rotation and a largescale poloidal magnetic field. Under the conditions of a large rotation frequency compared to the Alfvén frequency, we built a magnetic configuration strongly dominated by its toroidal component. We then perturbed this configuration to observe the development of nonaxisymmetric instabilities.
Results. The parameters of the simulations were chosen to respect the ordering of time scales of a typical stellar radiative zone. In this framework, the axisymmetric evolution is studied by varying the relative effects of the thermal diffusion, the BruntVäisälä frequency, the rotation, and the initial poloidal field strength. After a transient time and using a suitable adimensionalisation, we find that the axisymmetric state only depends on t_{es}/t_{Ap} the ratio between the Eddington–Sweet circulation time scale and the Alfvén time scale. A scale analysis of the Boussinesq magnetohydrodynamical equations allows us to recover this result. In the cylindrical case, a magnetorotational instability develops when the thermal diffusivity is sufficiently high to enable the favored wavenumbers to be insensitive to the effects of the stable stratification. In the radial case, the magnetorotational instability is driven by the latitudinal shear created by the backreaction of the Lorentz force on the flow. Increasing the level of stratification then leaves the growth rate of the instability mainly unaffected while its horizontal length scale grows.
Conclusions. Nonaxisymmetric instabilities are likely to exist in stellar radiative zones despite the stable stratification. They could be at the origin of the magnetic dichotomy observed in intermediatemass and massive stars. They are also unavoidable candidates for the transport of angular momentum in red giant stars.
Key words: instabilities / magnetohydrodynamics (MHD) / methods: numerical / stars: magnetic field / stars: rotation / stars: interiors
© L. Jouve et al. 2020
Open Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
1. Introduction
Considerable progress has recently been made in the understanding of magnetic fields at the surface of stars, mostly thanks to the groundbased instruments NARVAL at the Pic du Midi observatory in France and ESPaDOnS at the Mauna Kea Observatory in Hawaï. It has been known for more than a century now that the Sun harbors a strong magnetic field which manifests itself as spots poppingup at the solar surface (Hale 1908). Currently, there is also a general consensus on the fact that this magnetic field is produced by dynamo action inside the convective envelope of the Sun and that such a process should be quite general for all solarlike stars (Parker 1955; Moffatt 1978). The magnetism of intermediatemass and massive stars has also been thoroughly investigated. It is however expected to differ strongly from that of cool stars because of the presence of the outer radiative zone. Indeed, if a convective dynamo is at play in the core of hot stars, it might be more difficult for the magnetic field created in the convective core to travel all the way to the surface so that observers from Earth could see it. In intermediatemass and massive stars, the magnetism is indeed quite different from what is observed on cool stars: 5–10% of these stars do exhibit a strong surface magnetic field above 300 G and these stars are also the ones which show chemical peculiarities in their spectra (Ap/Bp stars). Thanks to recent spectropolarimetric observations, detections of a much smaller amplitude field (at the subGauss level) have been obtained on stars like Vega, Sirius A, Alhena, βUma or θLeo (Lignières et al. 2009; Blazère et al. 2016a,b), leading to the idea that two classes of magnetism could exist in intermediatemass and massive stars: the strong dipolar field of Ap/Bp stars and the ultraweak Vegalike magnetic field. A sound explanation for the existence of these two types of magnetism and the absence of stars possessing fields with amplitudes between approximately 1 G and 300 G is still lacking. A possible scenario was proposed by Aurière et al. (2007), relying on the existence of a magnetic instability which could develop only for weak enough dipolar fields and which would lead to the disruption of the axisymmetric magnetic configuration. In that scenario, a crucial role is given to the differential rotation which acts on the dipolar magnetic field to produce a configuration dominated by the toroidal component. This toroidal field is very likely to become unstable to a magnetohydrodynamical (MHD) instability. If such an instability existed, not only would it possibly explain the minimum field of Ap/Bp stars, but it could also be at the origin of dynamo action in the radiative zones of Vegalike stars. Various studies have indeed recently focused on the appealing idea that dynamo action would not require convective motions but, rather, nonaxisymmetric hydro or MHD instabilities which, in conjunction with the differential rotation, would produce the electromotive force needed to close the dynamo loop (Spruit 2002; Braithwaite 2006; Zahn et al. 2007; Guervilly & Cardin 2010; Marcotte & Gissinger 2016). For now, it is still debated whether such a radiative zone dynamo could exist in stars.
The interplay between differential rotation and magnetic fields, which is at the heart of the Aurière et al. (2007) explanation of the magnetism of hot stars, is also invoked to interpret the recent asteroseismic observations of more than 300 red giants provided by the Kepler satellite in the last decade. Indeed, in those stars, the radiative zone contracts below the Hburning shell and expands above, naturally leading to a spinup of the innermost regions and a braking of the layers above. This is indeed what is observed, a differential rotation is established between the inner and outer shells in these stars because of the contraction or expansion phenomena (Deheuvels et al. 2012, 2014). However, simple models assuming conservation of angular momentum considerably overestimate the level of differential rotation produced. More puzzling is the fact that even sophisticated stellar evolution models including the rotationallyinduced transport of angular momentum fail at reproducing the observations (Eggenberger et al. 2012a,b; Ceillier et al. 2013; Marques et al. 2013). In this case, a more efficient transport of angular momentum seems to be at play in those stellar radiative zones and magnetic fields are seriously considered as possible candidates for this role. In particular, the transport by traveling Alfvén waves could strongly modify the level of differential rotation, through, for example, the phasemixing mechanism (Ionson 1978; Spruit 1999). Moreover, the development of magnetohydrodynamical (MHD) instabilities could lead to a turbulent transport which would efficiently redistribute the angular momentum. This possibility has been studied recently (Cantiello et al. 2014; Fuller et al. 2019; Eggenberger et al. 2019) with the conclusions unclear so far.
Instabilities of a differentially rotating stellar radiative zone with or without the presence of a magnetic field have also been widely investigated theoretically, experimentally and numerically. In hydrodynamical situations, differential rotation can be unstable to various types of instabilities, such as centrifugal or shear instabilities. Centrifugal (or inertial) instabilities require strong enough gradient while weak shear instabilities tend to be stabilized by the Coriolis force (e.g., Knobloch & Spruit 1982). In the MHD case, a shear flow which is hydrodynamically stable can become unstable because of the presence of a largescale magnetic field. This has been studied in various configurations and in particular when the differential rotation is forced through the boundaries. This is the case of the Taylor Couette flow in cylindrical geometry (or the equivalent spherical Couette flow in spherical geometry). A detailed review of the various MHD instabilities which can arise in TaylorCouette flows for different rotation rates of the inner and outer cylinders was published recently by Rüdiger et al. (2018). The main instabilities described in that review are the currentdriven Tayler instability (Tayler 1973; Markey & Tayler 1973), which is purely magnetic, and the magnetorotational instability (Velikhov 1959; Chandrasekhar 1960; Acheson 1978; Balbus & Hawley 1992) which necessitates a gradient of rotation and is thus sheardriven. As described in Rüdiger et al. (2018), the MRI exists for various largescale magnetic field geometries: the standard MRI is found for purely axial fields, the socalled azimuthalMRI for purely azimuthal fields and the socalled helicalMRI for a mixed axial or azimuthal configuration. It could be argued that the Tayler instability is the most relevant for stellar interiors since it only requires a magnetic configuration sufficiently dominated by its toroidal or its poloidal component and a rather weak rotation or differential rotation (Spruit 1999). Detailed studies have been conducted using linear stability analysis for purely toroidal fields with various latitudinal dependences in rotating or differentially rotating radiative zones (Kitchatinov & Rüdiger 2008; Rüdiger & Kitchatinov 2010; Rüdiger et al. 2016). These analyses were local in radius but global in the horizontal directions and took into account the effects of stratification, focusing particularly on a realistic stellar regime where the heat conductivity is high. The m = 1 Tayler instability was found to develop even for a large rotation rate compared to the toroidal Alfvén frequency but with very weak growth rates.
In this work, we do not focus on the instability of a purely toroidal field but, rather, we wish to study the global 3D evolution of an initally poloidal field woundup into a toroidal field by an initial differential rotation. The system containing all the physical ingredients of a stellar radiative zone (i.e., stratification, axisymmetric meridional flow, shear, global rotation, a mixed poloidal and toroidal magnetic field configuration, heat conductivity, viscosity, and magnetic diffusivity) is then let free to evolve into potentially unstable equilibria. Our recent numerical studies (Jouve et al. 2015; Meduri et al. 2019) show that it is in fact the MRI which is favored in these specific conditions. In these calculations, the initial poloidal field is woundup by the differential rotation imposed initially for Jouve et al. (2015) and forced trough the boundaries in Meduri et al. (2019) until the Maxwell stresses feed back on the flow. In these situations, the toroidal Alfvén frequency always remains small compared to the rotation frequency and the dynamics associated with the rotation and the shear dominate. The growth rate of the Tayler instability is thus probably strongly reduced by the rotation, as shown by Pitts & Tayler (1985) or Kitchatinov & Rüdiger (2008) but the conditions for the development of the MRI are gathered so that the instability grows on a rotation timescale. However, the important effects of stable stratification are omitted in the 3D numerical calculations cited above. Only a few recent 3D global numerical studies have focused on the effect of stable stratification on MHD instabilities in specific cases, like for example Philidet et al. (2020) for spherical Couette flows, Guerrero et al. (2019) for the Tayler instability in a nonrotating spherical shell or Szklarski & Arlt (2013) for the Tayler instability of a toroidal field produced by the windingup of an initial poloidal field. In this last study, very similarly to what is presented in this paper, the woundup magnetic field is found to be unstable only if the feedback on the differential rotation is inhibited until the ratio of toroidal Alfvén frequency to rotation frequency becomes sufficiently large that the Tayler instability sets in. The MRI has thus probably been stabilized by the stable stratification in these particular calculations. In this paper, we investigate the possibility that high heat conductivities could let the MRI develop again in the same type of numerical setup.
In fact, in most studies dedicated to instabilities of MHD flows with differential rotation, the effect of the stable stratification is often neglected. For the application to stellar interiors, this is a crucial ingredient which may suppress a large number of instabilities, in particular the MRI (Spruit 1999). Indeed, in order to avoid doing work against the stable stratification, the unstable displacements must be nearly horizontal and thus the vertical wavenumber must be high, at which point the diffusive effects will act to make the perturbations decay away. However, in the hydrodynamical case, it has been shown that the largest growth rates of the instability of a horizonthal shear flow would be mostly unaffected by the presence of a large BruntVäisälä frequency N Deloncle et al. (2007) for the inflectional instability, Kloosterziel & Carnevale (2008) for the inertial instability). Moreover, nonadiabatic effects should also be considered: if the thermal diffusivity is large, which is the case for stellar radiative zones, the effect of the stable stratification can be strongly reduced and some instabilities may survive for higher values of N (see Townsend (1958), Zahn (1992) for the case of a vertical shear in a stably stratified atmosphere). The possible effects of a high thermal diffusion on MHD instabilities have been discussed theoretically for example by Acheson (1978) or Spruit (1999) but very few global numerical simulations exist where MHD states containing mixed poloidal/toroidal fields and meridional flows and differential rotation subject to the Lorentz force feedback in a stably stratified environment with a varying thermal diffusivity have been analysed in detail. This is what we present in this article. This work is a followup on Jouve et al. (2015), where the following intial value problem was considered: an initially imposed largescale poloidal field is woundup by an initially imposed differential rotation to produce an axisymmetric toroidal field. After approximately an Alfvén timescale, the magnetic field backreacts on the differential rotation and the dynamics is dominated by Alfvén waves which progressively damp the differential rotation. We focused in this last work on the possible development of nonaxisymmetric instabilities during this whole process. We now study the effects of the stable stratification with various values of the BruntVäisälä frequency, when the thermal diffusivity is also allowed to vary. In particular, we wish to determine the characteristics of the new axisymmetric MHD states and whether the MRI found in Jouve et al. (2015) can survive in a stably stratified environment.
The paper is organized as follows: in Sect. 2 we present the model and the numerical code used to solve the MHD equations. Section 3 then discusses the axisymmetric joint evolution of the magnetic field and the flow. We then investigate the stability of this axisymmetric configuration in Sect. 4 and we present our conclusions in Sect. 5.
2. Numerical model
We wish to explore the interplay between magnetic fields and differential rotation in a 3D spherical shell with stable stratification to mimic the physical processes at play in a differentially rotating stellar radiative zone. To do so, we choose to focus on an initial value problem where a magnetic field and differential rotation will be initially prescribed and then leave it free to evolve with time, according to the MHD equations in the Boussinesq approximation. Indeed, for now, we neglect the effects of a varying density. This will be considered in future works. The details of the equations are given in Sect. 2.1, the initial and boundary conditions are then discussed in Sects. 2.2 and 2.3, and the numerical method is finally briefly described in Sect. 2.4.
2.1. Governing equations
Assuming uniform dynamic viscosity μ, magnetic diffusivity η, thermal conductivity χ, and neglecting the local sources of heat and the centrifugal force, the governing equations under the Boussinesq approximation of a magnetized flow are
where v is the velocity field, B is the magnetic field, Ω_{0} is the rotation rate at the rotation axis, is the temperature field with the temperature of the reference state and T_{1} its fluctuation, ρ is the uniform density of the reference state, p_{1} is the pressure fluctuation, gravity is proportional to 1/r^{2}, α is the coefficient of thermal expansion, ν = μ/ρ is the kinematic viscosity and κ = χ/(ρ c_{p}) is the thermal diffusivity where c_{p} is the heat capacity at constant pressure.
These equations are then nondimensionalised using d = r_{o} − r_{i} (where r_{i} and r_{o} are, respectively, the inner and outer radii of the spherical shell) the thickness of the spherical domain, as the length unit, the poloidal Alfvén time as the time unit where the surface radial magnetic field at the poles B_{0} is the poloidal magnetic field unit, as the toroidal magnetic field unit, V_{Ap} = d/t_{Ap} as the meridional circulation unit, dΩ_{0} as the azimuthal velocity flow unit, ΔT = T_{o} − T_{i} as the temperature unit where T_{o} and T_{i} are respectively the temperature at the outer and at the inner radius of the spherical shell and as the pressure unit. The full set of governing equations of the problem is given in Appendix A, namely the equations for the three components of the velocity field, for the three components of the magnetic field, and for the temperature field.
Five dimensionless numbers appear in the set of equations:
The Lorentz number Lo measures the ratio between the rotation timescale t_{Ω} and the Alfvén timescale based on the poloidal field t_{Ap}, N/Ω_{0} is the ratio between the BruntVäisälä frequency and the rotation frequency, the Lundquist number Lu measures the ratio between the poloidal Alfvén timescale and the magnetic diffusion time t_{η} = d^{2}/η and finally the Prandtl numbers quantify the ratio of diffusivities or the ratio of diffusive timescales where t_{ν} = d^{2}/ν is the viscous timescale and t_{κ} = d^{2}/κ is the thermal diffusive timescale.
We can add to these numbers, the definition of the Ekman number, which will be mentioned in the text, and measures the ratio of rotation to viscous timescales: E_{k} = ν/Ωd^{2} = Lo/(PmLu). We chose in this study to fix the values of two dimensionless numbers, namely the Lundquist number Lu and the magnetic Prandtl number Pm. We then focus on the effects of the three other parameters: the Lorentz number Lo, the ratio N/Ω_{0} and the Prandtl number Pr. We shall see that in the axisymmetric case, the number of relevant dimensionless parameters can in fact be, in some limit cases, reduced to only one.
2.2. Initial and boundary conditions
In this work, we focused on initial conditions which would produce a largescale magnetic field, likely to be unstable to MHD instabilities under certain circumstances. To do so, we started from a poloidal field which was acted upon by an initial differential rotation. The windingup of the initial poloidal field by the differential rotation naturally produced a toroidal magnetic field. We propose to focus on the conditions for stability of such a magnetic configuration embedded in a stably stratified atmosphere.
Initially, we thus choose the magnetic field to be axisymmetric, purely poloidal with a constant current density. The detailed expression of the initial magnetic field then reads:
With this choice of normalization, B_{0} is the value of the radial field on the axis of rotation at the outer shell r = r_{o}. For the boundary conditions, we impose that the magnetic field matches continuously to a potential field at both inner and outer boundaries.
The velocity field is also initially axisymmetric but purely azimuthal,
and two different initial rotation profiles will be used. They are discussed in the following section. The boundary conditions for the velocity field are chosen to be impenetrable and stressfree at both inner and outer shells.
The initial temperature field is a purely radial solution satisfying the thermal equilibrium . Fixed values are imposed for the temperature at both boundaries:
Finally, to ensure that the flow is stable with respect to convection, the BruntVäisälä frequency N must be real which means that ΔT > 0.
2.3. Radial vs. cylindrical differential rotation
The evolution of the toroidal field originating from the windingup of an initial poloidal field by the differential rotation is expected to be strongly dependent on the differential rotation profile and magnetic configuration. Indeed, the term producing the toroidal field, known as the Ωeffect is proportional to B_{p} ⋅ ∇Ω and the angle between the poloial field lines and the isocontours of Ω will thus determine the amount of toroidal field created. The efficiency of this Ωeffect is quite important for our study since the ratio between toroidal and poloidal fields is known to be crucial for the stability of the magnetic configurations. That is why we chose to study two different profiles for the initial differential rotation, namely one dependent on the cylindrical radius only and the other one dependent on the spherical radius only. The expressions of both rotation profiles are given below:
where Ω_{0} is the rotation rate at the equator at r = r_{o} and where c_{1} = 0.980 and c_{2} = 0.214 are chosen such that the contrast in the rotation rate between the inner and outer shells is approximately the same for both profiles, namely (Ω_{i} − Ω_{0})/Ω_{0} ≈ 1. We thus choose to initially impose a strong differential rotation which is then let free to evolve without any forcing. The transport of angular momentum resulting from the system dynamics will then naturally modify this initial profile.
Figure 1 illustrates these two different profiles of differential rotation and enables us to envision the interaction with the initial poloidal field since it is overplotted in black dashed lines. For example, we can tell that the radial differential rotation profile is likely to produce a strong toroidal field in the bulk of our domain since this is where the poloidal magnetic field lines are almost perpendicular to the isocontours of Ω. On the contrary, in the cylindrical case, the orthogonality is more confined to a region close to the top boundary at midlatitudes and the toroidal field will thus be mostly produced in this region. Another consequence of our initial setup is that the resulting toroidal field will be antisymmetric with respect to the equator, positive in the Northern hemisphere, negative in the Southern hemisphere, and vanishing at the equator.
Fig. 1. Initial configurations for the cylindrical rotation profile (left) and radial one (right). Ω is scaled with Ω_{0} and superimposed are the poloidal magnetic field lines. 
2.4. Numerical method
The numerical simulations were computed with the numerical code MagIC (Wicht 2002; Gastine & Wicht 2012). MagIC is a fully documented, publicly available code^{1} which solves the MHD equations in a spherical shell using a poloidal toroidal decomposition for the mass flux and the magnetic fields:
where W (C) and Z (D) are the poloidal and toroidal potentials. The scalar potentials W, Z, C, D and the pressure p are further expanded in spherical harmonic functions up to degree l_{max} in colatitude θ and longitude φ and in Chebyshev polynomials up to degree N_{r} in the radial direction. An exhaustive description of the complete numerical technique can be found in Gilman & Glatzmaier (1981). We also make use of the spherical harmonic transforms contained in the SHTns library (Schaeffer 2013) which greatly decreases the computational time for our calculations. Typical numerical resolutions employed in this study range from (N_{r} = 65, l_{max} = 170) for the more diffusive cases to (N_{r} = 129, l_{max} = 341) for the less diffusive ones. The considered spherical shell extends from longitude φ = 0 to φ = 2π, from colatitude θ = 0 to θ = π and from radius r = r_{i} = η/(1 − η) to r = r_{o} = 1/(1 − η) where η = r_{i}/r_{o} is the aspect ratio of the shell, equal to 0.3 in all our calculations.
3. Axisymmetric evolution
In this section, we consider the axisymmetric configurations resulting from the evolution of a poloidal field in a differentially rotating stably stratified spherical shell. We performed a parametric study to get an overview of the different configurations that can be reached. In analyzing the simulation results, we shall benefit from previous studies by Gaurat et al. (2015) and Jouve et al. (2015) where the same problem has been considered although with simplifying assumptions. In Gaurat et al. (2015) meridional motions were neglected altogether, while they were taken into account in Jouve et al. (2015) but without the effects of a stable stratification.
As shown on Fig. 1, the initial differential rotation is either cylindrical or radial, but has the same maximum contrast ΔΩ/Ω. We vary the nondimensional numbers Lo = t_{Ω}/t_{Ap}, N/Ω_{0} and Pr, while the two others Lu and Pm are fixed to Lu = 50 and Pm = 1. We also restrict ourselves to initial poloidal fields that are weak enough (that is low Lo value) so that the Ωeffect produces magnetic configurations dominated by the toroidal component of the magnetic field. Indeed, the toroidal field will grow linearly with time until the magnetic field backreacts on the differential rotation. The winding timescale for the toroidal field to get to the same amplitude as the poloidal field is defined as t_{w} = 1/qΩ where q = r∇Ω/Ω is the shear parameter, of order 1 in our case, such that for our situation, t_{w} ≈ t_{Ω}. For the Maxwell stresses to backreact on the flow, a timescale equal to t_{Ap} is needed. If t_{Ω} ≪ t_{Ap} and thus Lo ≪ 1, the toroidal field will then have time to grow significantly above the poloidal field value before the differential rotation profile is affected by the magnetic field.
In the following, we first discuss the range of parameters that is relevant to stellar radiative zones and then specify the parameters of the present simulations (Sect. 3.1). The typical magnetic configurations obtained from radial vs cylindrical initial differential rotation are described in Sect. 3.2. The effects of the stable stratification on these configurations are analyzed in Sect. 3.3.
3.1. Physical parameters in stellar radiative zones and the parameter range of our numerical simulations
Parameters such as the BruntVäisälä frequency and the Prandtl number come from stellar evolution models, whereas rotation rates are obtained from observations. For main sequence massive and intermediatemass stars, the ratio N/Ω_{0} is typically much larger than 1, except for stars rotating near breakup velocity for which N/Ω_{0} ∼ 1, meanwhile the Prandtl number Pr is always much smaller than 1. For example, stellar structure models of a 3 M_{⊙} star indicate that, during the main sequence, N ∼ 1 − 2 × 10^{−3} s^{−1} away from the convective core (Talon & Charbonnel 2008) while Pr ≤ 4 × 10^{−6} (Garaud et al. 2015). For rotation periods between 1 and 2.7 days, N/Ω_{0} is then comprised between ∼10 and 75. For comparison, this ratio is much higher, N/Ω_{0} ∼ 300, in the radiative zone of the Sun. As we shall see below, the product Pr(N/Ω_{0})^{2} is also a relevant parameter and its value is typically much smaller than one in main sequence massive and intermediatemass stars. Taking a rotation period of 2.7 days, we find that Pr(N/Ω_{0})^{2} ≤ 0.02 for a 3 M_{⊙} main sequence star. The situation is different in the solar radiative zone where Pr(N/Ω_{0})^{2} is rather of the order of 1 (Garaud & Acevedo Arreguin 2009). Another important parameter is the Ekman number, that compares the rotation and viscous time scales. Its very small value, E_{k} = ν/(R^{2}Ω)∼10^{−14}, is out of reach in direct numerical simulations. We nevertheless intend to consider small enough Ekman numbers to respect the order of the characteristic times involved, if not the actual time scale ratio.
The typical conditions at large length scales d in radiative zones of intermediatemass and massive stars thus read E_{k} ≪ Pr < Pr(N/Ω_{0})^{2} ≪ 1. It corresponds to the following time scale order: t_{ν} ≫ t_{es} > t_{κ} ≫ t_{Ω} > t_{B} where t_{ν} = d^{2}/ν, t_{es} = (d^{2}/κ)(N/Ω_{0})^{2}, t_{κ} = d^{2}/κ, t_{Ω} = 1/Ω_{0} and t_{B} = 1/N. As shown in Table 1, the simulations performed respect that ordering.
Parameters of the simulations.
The timescale associated with the initial poloidal field is , the poloidal Alfvén time. We have no direct constrain on the field intensity within stars, but we can use spectropolarimetric observations to get surface values. In particular, the lower limit of the dipolar field of Ap/Bp magnetic stars is close to 300 Gauss and, for a rotation period of 5 days, this field corresponds to a Lorentz number Lo = t_{Ω}/t_{Ap} close to 1 (Aurière et al. 2007). This number is expected to decrease strongly towards the stellar interior as the variation of the Alfvén speed is dominated by the density increase. For example, at a radius r = R_{⋆}/3, the Lorentz number would be 2.7 × 10^{−3} assuming a density ratio of 10^{8} and a dipolarlike radial increase B_{p} ∝ 1/r^{3}. Even lower Lorentz numbers are expected in Vegalike magnetic stars with 1 Gauss surface field and 1day rotation period. In the radiative interior of intermediatemass and massive stars, the magnetic field could also result from a convective core dynamo. Numerical simulations of A and Btype star convective cores (Brun et al. 2005; Augustson et al. 2016) indicate that, in the low Rossby number regime characterizing these convective motions, the generated fields have low Lorentz numbers. Indeed, in Brun et al. (2005) simulation of a 7days rotating A star, a ratio is found at middepth of the convective core. Finally, the Lundquist number measures the ratio of the magnetic diffusion time scale to the poloidal Alfvén time and is expected to be very large, much larger than the value attainable in numerical simulations.
Table 1 lists the parameters used in our simulations. The cylindrical and radial cases are respectively labelled C and R. The effect of varying the profile of differential rotation is first studied, keeping the other parameters fixed (cases C1 and R1). Both for the cylindrical and radial cases, we vary Pr (cases 2–4), then Pr and N/Ω_{0} while keeping fixed (cases 2, 5, 6 and R9 for the radial case). We also decrease the value of (cases 7 and 8) and finally consider lower Lo (case C9 and R1, to be compared with C2 and R2). In all cases the Lundquist number is maintained equal to 50 and the magnetic Prandtl number to 1.
3.2. Influence of a radial vs cylindrical initial differential rotation
Figure 2 displays the evolution of the ratio of the total (integrated over the whole spherical shell) dimensioned azimuthal magnetic energy E_{mφ} to the total dimensioned poloidal magnetic energy E_{mp} in two axisymmetric simulations in which the cylindrical differential rotation defined by Eq. (13) (top panel) and the radial differential rotation defined by Eq. (14) (bottom panel) are used. The other parameters of these simulations, denoted C1 and R1 in Table 1, are identical. In both simulations, the ratio E_{mφ}/E_{mp} initially increases quadratically before reaching a maximal value in a fraction of t_{Ap}, namely around 0.70t_{Ap} for the cylindrical case and 0.35t_{Ap} in the radial case. The maximal value of the quantity E_{mφ}/E_{mp} is equal to 1600 in the cylindrical case and to 620 in the radial case, showing that the magnetic configurations are dominated by the toroidal component.
Fig. 2. Evolution of the ratio between the toroidal and poloidal magnetic energies for cases C1 (top) and R1 (bottom). E_{φ} seems much stronger in the cylindrical case but it’s because B_{φ} is more extended and located closer to the surface where B_{p} is much smaller. If we look locally, we also find that B_{φ}/B_{p} is stronger in the cylindrical case but mostly because of the location of B_{φ} (where B_{p} is small). 
This evolution of the magnetic field, namely a nearlinear growth of B_{φ} followed by a maximum reached at t ∼ t_{Ap}, is the same as observed in simulations where only the coupled equations for the azimuthal magnetic and velocity fields were solved (e.g. Charbonneau & MacGregor 1992 or Gaurat et al. 2015 for exactly identical initial conditions). This means that the avdection by meridional flows and the diffusive decay of poloidal fields only have a weak effect in this case. The physical explanation is rather simple and wellknown in this context of purely azimuthal dynamics: the toroidal magnetic field B_{φ}, initially set to zero, increases through the windingup of the initial poloidal magnetic field by the initial differential rotation. This growth is linear as long as the differential rotation and the poloidal field are not modified by the backreaction of the Lorentz force on the flow. When the Maxwell stress associated with the magnetic field becomes sufficiently strong to change the differential rotation, the Ωeffect is modified accordingly and the growth of the toroidal field stops. This results in a maximum in the evolution of B_{φ} and of the ratio B_{φ}/B_{p}, that occurs after a time of the order of the poloidal Alfvén time t_{Ap}. Locally, the maximum ratio should then be of the order of (B_{φ}/B_{p})_{max} ∼ ΔΩt_{Ap} where ΔΩ is the initial differential rotation. The exact value depends on the shear along the poloidal field line during the linear growth phase (see a more detailed model in Gaurat et al. 2015) and this explains why the maxima reached for the cylindrical and radial differential rotation are different. On longer timescales after the maximum (not shown in Fig. 2), damped oscillations of the global magnetic energy are observed and are due to torsional Alfvén waves whose damping through the socalled phasemixing mechanism (see e.g. Ionson 1978; Spruit 1999) finally leads to uniform rotation as nothing enforces differential rotation in our setup. We note that we are not interested in the final uniformly rotating state of the axisymmetric evolution as we focus on MHD instabilities that are likely to be triggered before it is reached. The simplified problem considered in Gaurat et al. (2015) is still relevant to describe the global evolution of the present simulations even though we included meridional motions and stable stratification. However the detailed distributions of the differential rotation and the magnetic field, that are crucial for the occurrence and the nature of possible MHD instabilities, will depend on these processes.
Figure 3 shows the distribution of the toroidal field (together with the contours (in black) of the poloidal field) during the linear growth of magnetic field, that is, at 0.25t_{ap} for the cylindrical case (left panel) and at 0.125t_{ap} for the radial case (right panel). The value of B_{φ} is normalized by . We clearly see that the distribution of B_{φ} is quite different in both cases, the field being mostly confined close to the upper boundary in the cylindrical case and to the bottom boundary in the radial case. This is due to the Ωeffect which acts differently because the angle between the isocontours of Ω and the poloidal field lines is maximal at very different locations in the two cases.
Fig. 3. Contours of toroidal magnetic field (colors) for cases C1 (left) and R1 (right). Time is taken in the middle of the linear growth of B_{φ}, that is at 0.125t_{ap} for case R1 and 0.25t_{ap} for case C1. Superimposed are the poloidal magnetic field lines. Units are in Lo_{φ} = ω_{Aφ}/Ω. Here, the strength of B_{φ} compared to the global rotation is similar, we always have Lo_{φ} < 1. 
Beside these spatial distributions, the ratio of the azimuthal Alfvén frequency, to the rotation rate Ω, denoted Lo_{φ} = ω_{Aφ}/Ω, is another relevant quantity as it allows to distinguish between the two types of instabilities likely to be triggered: the Tayler instability (TI) or the azimuthalmagnetorotational instability (AMRI) (Jouve et al. 2015). For sufficiently large values of Lo_{φ} (i.e. when the toroidal field dominates over rotation), the TI should be favoured because the AMRI is suppressed when the magnetic field becomes too strong. On the contrary, the AMRI is favoured for small values of Lo_{φ} (when the rotation is fast compared to the toroidal Alfvén time) since the growth rate of the TI is strongly reduced by a fast rotation (Pitts & Tayler 1985).
With the chosen normalization, the azimuthal field presented in Fig. 3 thus provides the values of the Lorentz number Lo_{φ}, showing that it is everywhere lower than one. More generally, in our simulations, the maximum value of Lo_{φ} reached in the whole computational domain is always of the order of 0.2 − 0.3. Indeed, arbitrarily strong values of Lo_{φ} cannot be reached because only a certain amount of toroidal field can be built before the Lorentz force backreacts on the differential rotation. As a consequence, we can already expect that the AMRI will be the favored instability likely to develop in our simulations. This point will be addressed in Sect. 4.
3.3. Influence of the stable stratification
In the previous subsection, the initial growth of the toroidal field and the subsequent regime of damped oscillations have been explained by the windingup of poloidal field induced by the initial differential rotation followed by the backreaction of the magnetic field through Alfvén waves. While stable stratification does not seem to play a role in this process, we know from simulations performed in uniform density background (Jouve et al. 2015) that its presence is in fact crucial when the initial differential rotation is radial. Indeed, in the absence of stable stratification, radial differential rotation drives a fast meridional circulation (of time scale 1/ΔΩ) that strongly redistributes the initial poloidal field and angular momentum, before any coherent and therefore efficient windingup can happen. As a consequence, the buildup of a magnetic configuration dominated by a toroidal component does not happen. With stable stratification, particularly in a N/Ω_{0} ≫ 1 regime, such a fast adiabiatic meridional circulation is efficiently suppressed. Instead, on a larger thermal diffusion time scale, the latitudinal temperature perturbations generated by the differential rotation (through the socalled thermal wind equation) drive an Eddington–Sweet type circulation of time scale t_{es} = (d^{2}/κ)(N/Ω_{0})^{2} (see e.g. Spiegel & Zahn 1992)^{2}. As long as t_{Ap} is of the same order or smaller than t_{es}, the Eddington–Sweet circulation should not prevent the windingup process to occur. This is indeed what occurs in our numerical simulations as the ratio varies between 8 × 10^{−4} and 1 (according to Table 1). In this regime, the detailed distribution of the angular momentum and of the azimuthal field can nevertheless be affected by the meridional circulation, as we shall see below.
The effect of the stable stratification on the axisymmetric evolution has been analyzed by varying the parameters Pr and N/Ω_{0}. A striking feature is that, after a transient phase, most of our axisymmetric solutions are controlled by the product , rather than by the two parameters Pr and N/Ω_{0} independently. Indeed, as seen in Fig. 4, the evolution of the kinetic and magnetic energies is very similar after about t = 0.2t_{Ap} for three simulations having the same but different Pr and N/Ω_{0}, namely Pr = 10^{−2}, N/Ω_{0} = 5 (blue), Pr = 10^{−3}, N/Ω_{0} = 15.8 (green) and Pr = 10^{−4}, N/Ω_{0} = 50 (red). The two cases Pr = 10^{−3} and Pr = 10^{−4} are even indistinguishable on this plot after about t = 10^{−3}t_{Ap}. Figure 4 also displays the energy evolution of two simulations at , the Pr = 10^{−3} (cyan) and Pr = 10^{−4} (magenta) cases, again showing a very similar behaviour. All the runs of Fig. 4 (R2, R5, R6, R7, R8) have been performed with the initial radial differential rotation but using the initial cylindrical profile (runs C2, C5 and C6) leads to the same conclusion regarding the dependence on .
Fig. 4. Temporal evolution of the kinetic energy (on a long timescale, left and zoomed in, midpanel) and magnetic energy ratio (right) for five different cases: three cases with (blue: R2, green: R5, red: R6 and black: R9) and two cases with (cyan: R7 and magenta: R8). For the magnetic energy plot, the cyan and magenta curves are almost superimposed, as well as the red and green curves. The long term evolution is similar for the cases with the same , as long as Pr is small enough, but different for different values of . In particular, the amount of toroidal field produced is much less in the case where . 
On a short timescale however, flows having the same can evolve differently. This is illustrated in the midpanel of Fig. 4 where a zoom is made between t = 0 and t = 0.2t_{Ap}. Indeed, the initial conditions generate gravity waves that propagate and oscillate until they are damped by thermal diffusion. The oscillations are clearly visible in the Pr = 10^{−2} case (run R2). The thermal damping is so efficient in the case Pr = 10^{−4} (for which thermal diffusivity is 100 times larger than for the case Pr = 10^{−2}) that the oscillations of the kinetic energy are not even visible. The invariance of the solution with is thus relevant only after this initial transient phase. In addition, we observe that run R9 deviates also at late time from the other runs with .
Then, not only the kinetic and magnetic energies evolution are close for identical value of but in fact the whole solutions are very similar. This is illustrated in Fig. 5 where the spatial structures of the flow and the magnetic field are shown at t = 0.1t_{Ap} at (two left panels) and (two right panels), in both cases for 2 different values of Pr, namely 1.6 × 10^{−3} and 1.6 × 10^{−5} for the left panels (cases R7 and R8) and 10^{−2} and 10^{−4} for the right panels (cases R2 and R6). The top panels show the rotation rate in color and the meridional flow contours while the bottom panels present the toroidal magnetic field in color and the poloidal field lines in dashed lines.
Fig. 5. Structure of the flow (top panels: rotation rate in color, meridional flow contours in black lines) and of the magnetic field (bottom panels: toroidal field in color and poloidal field lines in dashed lines) at time t = 0.1t_{ap}, for R7 and R8 (two left panels) and for R2 and R6 (two right panels). 
In Appendix B, we perform a scale analysis of the Boussinesq MHD equations in the parameter regime of the simulations. It shows that for a time scale ordering, t_{ν} ≫ t_{Ap} ≫ t_{κ} ≫ t_{Ω} ≫ t_{B}, the evolution of the system only depends on , Lu and Pm if time is scaled by t_{Ap} and B_{φ} by . The Lorentz number Lo only appears as a scaling factor of the ratio . The simulations that verify the required time ordering do show this dependence. The deviations at small time due to the initially excited gravity waves are expected because gravity waves are filtered out by the scale analysis. The strong deviation observed at late time for run R9 is also expected since is larger than 1 in this case (in Appendix B, the regime t_{κ} ≫ t_{Ap} ≫ t_{Ω} ≫ t_{B} is shown to be dominated by waves with negligible effect of the meridional circulation). Besides the dependence, the expression of B_{φ}/B_{p} is fully compatible with the maximum toroidal to poloidal magnetic energy ratio found in simulations performed for the same but two different Lorentz numbers (runs R1 and R2). The ratio indeed increased by a factor ≈2.5^{2}, as Lo was reduced from 2.5 × 10^{−3} (right panel of Fig. 2) to Lo = 10^{−3} (right panel of Fig. 4). In addition to a simplification in the physical interpretation, the scale analysis allows us to conduct the parametric study of the flow by varying only one nondimensional number instead of the three Lo, N/Ω_{0} and Pr.
We thus consider how the rotation and magnetic configurations depend on the values of . As shown on the right panel of Fig. 4, the maximum ratio of toroidal to poloidal magnetic energy is 1500 for while it is close to 4000 for (and is reached at an earlier time). The stable stratification is thus favorable to the creation of a magnetic field configuration more strongly dominated by its toroidal component. According to Fig. 5, in the most stably stratified case (right panels), the differential rotation remains close to its initial profile and then mostly dependent on radius, contrary to the less stably stratified case (left panels), for which the differential rotation is reduced and tends to become cylindrical. This tendency is expected because when stable stratification is less efficient the system can evolve more freely towards a flow satisfying the Taylor–Proudman constraint, valid for unstratified systems: , with the zdirection parallel to the rotation axis. The reduced level of differential rotation can also be explained by an efficient meridional transport of angular momentum in the less stratified case. The ratio Ω_{i}/Ω_{o} indeed decreases from 2 at t = 0 to 1.6 at t = 0.1t_{Ap} in the less stratified case whereas it remains close its initial value in the more stratified case.
This difference in the level of differential rotation then naturally explains why a weaker toroidal magnetic field is produced in the less stratified case. This is visible on the bottom left panels of Fig. 5 where the maximum value of Lo_{φ} only reaches 0.15 compared to the other cases where it is already close to 0.2. In addition, we observe that the poloidal field configuration has been significantly altered in the less stratified cases compared to the initial condition. The poloidal field tends to align on the cylindrical isocontours of Ω at midlatitudes, again preventing a strong Ωeffect to be at play. This significant change of the poloidal field is due to its advection by the meridional circulation which is more efficient in the less stratified case.
From the axisymmetric numerical simulations performed for different stable stratifications, we conclude that in the regime considered, the effect of the stable stratification is controlled by the product and that stable stratification favors the creation of magnetic field configurations more strongly dominated by their toroidal component.
4. Stability of the magnetic configurations
We now turn to investigate the stability of the axisymmetric magnetic configurations determined in the first part of this work. We perturb the magnetic field by adding a random noise on the axisymmetric poloidal field and then follow the temporal evolution of the various nonaxisymmetric modes m ≠ 0, in the same way as was done in Jouve et al. (2015). We first consider the stability of the system with radial and cylindrical differential rotations and a fixed (cases R2 and C2) and argue that the observed instability is of the MRI type, this is presented in Sect. 4.1. In Sect. 4.2, the effect of varying the thermal diffusivity on the instability is then studied (cases C3, C4 and R3, R4). To help us understand the characteristics of the instabilities, we compare our results with a local stability analysis in Sect. 4.3. While the Lorentz number Lo has been fixed to a small value (namely Lo = 5 × 10^{−3} for the cylindrical case and Lo = 10^{−3} for the radial case) to maximize the possibility for a nonaxisymmetric instability to fully develop (see Jouve et al. 2015), we investigate in Sect. 4.4 the effects of increasing Lo (cases C9 and R1).
4.1. Radial vs. cylindrical differential rotation
We first investigate the typical evolution of an unstable situation and compare the behaviour of the simulations initialized with the cylindrical and radial differential rotation profiles. Figure 6 shows the evolution of the poloidal magnetic energy contained in the first 11 azimuthal wavenumbers, including the axisymmetric m = 0 mode, which is approximately steady during the time considered. In both cases, a nonaxisymmetric instability grows exponentially in a fraction of Alfvén time to quickly reach the level of the axisymmetric energy at about 0.6t_{ap}. The right panels of Fig. 6 enable us to visualize the location and structure of the unstable modes, by showing the amplitude of the fluctuations of the radial component of the magnetic field. In both cases, the instability develops preferentially where the azimuthal magnetic field is maximum (see Fig. 3 for the axisymmetric configuration which was perturbed) and where and when a significant amount of differential rotation exists. In both cases, the growth rate of the most unstable mode is a fraction of the rotation rate. It is approximately equal to 5 × 10^{−2}Ω for the m = 4 mode in the cylindrical case and 2.5 × 10^{−2}Ω for the m = 1 mode in the radial case.
Fig. 6. Instability in case C2 (top) and R2 (bottom). Shown are the temporal evolution of the poloidal magnetic energy in the first 11 azimuthal wavenumbers (averaged in r and θ) (left), the fluctuations of the radial component of the magnetic field at a particular longitude (mid) and the rotation profile (right) when the instability starts to develop, that is at t = 0.15t_{ap} for C2 and t = 0.35t_{ap} for R2. The color bar applies to the rotation rate. 
We now emphasize the differences between the two cases. First, the time at which the instability starts to grow is quite different. Indeed, in the cylindrical case, the axisymmetric equilibrium which is perturbed is already unstable as soon as the perturbation is introduced, leading to the exponential growth of the nonaxisymmetric modes from approximately t = 0.1t_{ap}. At this stage, the axisymmetric evolution is still in its linear growth of azimuthal magnetic field, as shown in Fig. 2. On the contrary, in the radial case, the instability develops only later, at about t = 0.3t_{ap}, approximately when the maximum of axisymmetric B_{φ} is reached and thus when a strong backreaction of the Lorentz force on the differential rotation profile has acted. To illustrate this, the right panels of Fig. 6 show the profiles of differential rotation at the time when the unstable nonaxisymmetric modes start to grow. It is clear that the cylindrical differential rotation is still mostly identical to its initial condition whereas the radial case has been significantly modified by the backreaction of the Lorentz force. In particular, a latitudinal differential rotation appears here, which was not present initially since the rotation rate was dependent on radius only. It is exactly at the location where the latitudinal shear is the strongest that the unstable modes are confined.
Another major difference between cases R2 and C2 lies in the structure of the unstable modes. From the middle panels of Fig. 6, it is clear that the displacement of the perturbations is not in the same direction in both cases. Let us express the perturbation as proportional to:
with k_{r}, k_{θ} and m the radial, latitudinal and azimutal wavenumbers, and σ the complex growth rate. Then in the cylindrical case, the latitudinal wavenumber k_{θ} is large compared to k_{r} and the displacement is thus mainly in the radial direction, parallel to gravity. We argue that the radial extent of the unstable mode is in fact mostly due to the structure of the axisymmetric background and not due to the effect of stable stratification. Indeed, in our previous study where the effects of stable stratification were not included (Jouve et al. 2015), the structure of the unstable modes and the growth rates in the equivalent of case C2 where very close to the ones found here.
On the other hand, in case R2, k_{r} is now dominant compared to k_{θ}, so that the displacement is mainly in the latitudinal direction, perpendicular to gravity. We thus anticipate that in this simulation, the stable stratification, which is much less effective if the displacement is horizontal, only affects the geometry of the unstable mode and not its growth rate. This is investigated in the next section, where the effect of the stable stratification is increased for the two initial differential rotations.
In both cases, we argue that the instability found here is of MRI type. First, we checked that the flow is hydrodynamically stable by perturbing the flow when the magnetic field is set to 0 at the time where the instability develops in the MHD case. The instability could nevertheless be a currentdriven instability of the Tayler type since the magnetic configuration contains current and is strongly dominated by the toroidal component, as we can clearly see on Fig. 7. This figure shows the magnetic field lines of the background axisymmetric magnetic field traced around the location of the instability. This 3D view enables to clearly see the dominance of the toroidal component of the field and also allows us to see that the maximum amplitude of the unstable modes (shown on Fig. 7 by the isosurfaces of the fluctuating axial component of the field) is mainly located where the toroidal field is maximum. The location of the maximum B_{φ} naturally corresponds to the region where the shear is also maximum since the shear is responsible for the generation of toroidal field through the Ωeffect. We thus find here that the instability develops mainly where the shear is concentrated. This would be different if the instability was of the Tayler type, because then the location of the unstable modes would be correlated with the gradients of toroidal field, where the currents are maximal. Moreover, the most unstable mode in the cylindrical case is not the m = 1 as expected for the Tayler instability. It is however the m = 1 mode which is the most unstable in the radial case as seen on the figure but this is not incompatible with an MRI instability in the fast thermal diffusion case. In Acheson (1978), a detailed theoretical description is made of all the various MHD instabilities which can arise in stellar radiative zones. In this seminal paper, the MRI is not explicitly quoted but an instability associated with a shear and which necessitates the presence of a magnetic field is studied, when the thermal diffusivity is high and in the limit where is also high. In this situation, he argues that the most favored unstable mode is precisely the m = 1 mode. The values in our simulations of the parameter when the instability develops in the radial case is of the order of 2 × 10^{3} so that the limit studied by Acheson (1978) does apply here. In both cases started with a cylindrical or a radial differential rotation, we thus observe the presence of a MRI which is driven mostly by the initial radial differential rotation in the cylindrical case and driven by the latitudinal shear that is produced by the backreaction of the Lorentz force in the radial case. The instability is allowed to exist in both cases with a relatively high thermal diffusivity (Prandtl number of 10^{−2}). We now wish to investigate the effect of varying the thermal diffusion on the instability.
Fig. 7. 3D views of the instability in the two cases: Case C2 on top and case R2 below. The magnetic field lines of the background axisymmetric magnetic field are plotted around the location of the instability and colored with the values of the toroidal magnetic field (in the Ydirection in the Cartesian frame shown at the bottom left) and isosurfaces of the axial component of the fluctuating magnetic field are overplotted. 
4.2. Effect of the thermal diffusivity
The stable stratification has the tendency to strongly reduce the development of nonaxisymmetric instabilities, as shown for example in Spruit (1999). In particular, as the stable stratification limits radial displacements, it will strongly affect instabilities that require them to develop. By damping temperature deviations, thermal diffusion diminishes the amplitude of the restoring buoyancy force and thus the effect of the stable stratification. In order to study these effects, we therefore decrease the thermal diffusivity, and thus increase the Prandtl number Pr, keeping the same value for N/Ω_{0}. These correspond to cases C3, C4 and R3, R4. Figure 8 shows the temporal evolution of the poloidal magnetic energy decomposed into the first 11 azimuthal wavenumbers in cases where Pr = 0.1 and Pr = 1. The left panels correspond to cases C3 and C4 and the right panels cases R3 and R4. Compared to the magnetic energy evolution of Fig. 6 where we had Pr = 10^{−2}, it is clear that for the cylindrical case, the instability is largely suppressed by the increase of the stable stratification effect. In particular, for Pr = 1, the axisymmetric solution becomes completely stable to any nonaxisymmetric perturbation. In other words, the preferentially radial displacements that were unstable at Pr = 10^{−2} are inhibited at Pr = 1. The transition between Pr = 10^{−2} and Pr = 1 can be linked to the value of the critical lengthscale above which the effects of the stable stratification are not diminished by thermal diffusion. This critical lengthscale l_{c} is determined by equating the buoyancy and the thermal diffusion time scales:
Fig. 8. Temporal evolution of the poloidal magnetic energy in the first 11 azimuthal wavenumbers for cases C3 (top left), C4 (bottom left), R3 (top right), and R4 (bottom right). 
With the dimensionless parameters used in our calculations, the critical lengthscale reads:
The computation of this quantity gives a value ranging from 4% to 0.4% when Pr goes from 10^{−2} to Pr = 1, for these cases where . The unstable radial lengthscale seen in Fig. 6 being of the order of a few percent of the computational domain, we argue that this case is only marginally affected by the stratification. This is consistent with the fact that, as mentioned above, a very similar unstable mode was found in the corresponding unstratified simulation by Jouve et al. (2015). However, the reduction of the critical lengthscale causes the instability to disappear in the Pr = 1 case. Such a behaviour where increasing the stable stratification removes the instability is reminiscent of the vertical shear instability in a vertically stratified medium (Dudis 1974; Lignières et al. 1999).
The situation is quite different in the radial case (right panels of Fig. 8). Now, the instability survives even with the increase of the effects of stable stratification, and grows on time scales similar as in the Pr = 10^{−2} case. As we show below, this comes with the fact that the unstable displacements become more and more horizontal. In Fig. 9, we show the structure of the unstable mode for cases R3 and R4 at two different longitudes and we plot the profile of the magnetic field and the rotation rate, averaged in longitude. In both cases, the background flow and field are quite similar even if the value of differs. This is also true for the cylindrical case (not shown here), which also confirms that the absence of an instability in cases C3 and C4 is mostly due to the effect of stable stratification on the characteristics of the instability (namely the lengthscale) and not on the background flow and field. We recover the fact that the displacement is indeed mostly horizontal, with a latitudinal lengthscale extremely dominant in comparison to the radial scale in case R4 where . The location of the instability is still mostly where the latitudinal gradient of Ω lie, as seen on the right panels. It is thus clear here that the effect of the strong stratification is to force the unstable modes to become more horizontal and since their origin is the latitudinal gradient of Ω, the instability survives even when the degree of stratification is increased. We note that the most unstable azimuthal wavenumber is still m = 1 so that the strong stratification does not seem to significantly affect the azimuthal scale.
Fig. 9. Fluctuations of the radial component of the magnetic field at a particular longitude, axisymmetric magnetic field (toroidal field in color and poloidal field lines) and rotation rate at approximately time t = 0.5t_{ap} (during the linear phase of the instability) for cases R3 (Pr = 0.1, top) and R4 (Pr = 1, bottom). We clearly see that the perturbation direction is orthogonal to gravity, especially for the most stratified case R4. We note that the background flow and field are very similar in both cases. 
It is quite striking here that the growth rates of the unstable modes do not seem to be strongly affected by the stratification. Indeed, the growth rates of the cases R2, R3 and R4 are similar. Meanwhile, the ratio of the radial to the latitudinal wavenumbers increases with the increased stratification. This can be understood by the fact that the instability here is driven by the latitudinal (or horizontal) gradient of Ω. Indeed, this behaviour is reminiscent of previously studied hydrodynamical instabilities driven by an horizontal shear in a vertically stratified medium. In the case of the centrifugal (or inertial) instability studied by Kloosterziel & Carnevale (2008), the dispersion relation of the unstable modes clearly shows that the growth rate of a mode with given latitudinal and azimuthal wavenumbers can be made invariant to a stratification increase by adapting (that is increasing) the vertical wavenumber accordingly. The possibility to adapt the vertical lengthscale to get the same growth rate also exists when the shear instability is of the inflectional type (Deloncle et al. 2007). The effect of the stable stratification on a vertical shear instability is very different. In an inviscid and adiabatic case there is simply no instability when the Richardson number exceeds 1/4, while a high thermal diffusivity can potentially destabilize predominantly horizontal perturbations but then the growth rates are vanishingly small (Lignières et al. 1999). A simple physical interpretation is that the most unstable modes of a vertical shear necessarily involve vertical motions, such as for example in Kelvin–Helmholtz billows. Thus, by opposing vertical motions, stable stratification either kills the instability or reduces it strongly. On the contrary, for an horizontal shear, the stable stratification may affect the preferred vertical wavelength of the perturbation but this does not prevent the unaffected horizontal motions to efficiently draw energy from the horizontal shear.
While these purely hydrodynamical cases help interpret the effect of the stratification, both the centrifugal and the inflectional instabilities are absent from our simulations since the differential rotation does not fulfill the inviscid and unstratified criteria for these instabilities. We thus expect that the observed instability is a magnetorotational instability due to the latitudinal shear and supported by the magnetic field. In the next section, we check the consistency of our interpretation using a local linear stability analysis in the MHD case.
4.3. Comparison to the Acheson dispersion relation
We now wish to analyze our numerical results at the light of a local linear instability analysis, strongly inspired by the work of Acheson (1978) where various types of MHD instabilities in different regimes were investigated, as already quoted at the end of Sect. 4.1. We are particularly interested in the impact of stable stratification on our instabilities and on the differences found between the cylindrical and radial cases. We recall here the various steps of the establishment of the Acheson dispersion relation of interest in our case (Eq. (3.20) in Acheson 1978) without indicating all the details, which can be found in Appendix C.
First, the MHD equations governing the system with thermal, viscous and magnetic diffusion are linearised around the background axisymmetric state in cylindrical geometry (which is assumed to be purely toroidal both for the magnetic and the velocity fields) and by considering small amplitude harmonic perturbations in space and time of the form
Here k_{s} = 2π/λ_{s} (k_{z} = 2π/λ_{z}) is the radial (axial) wavenumber of the instability and m its azimuthal order which is an O(1) integer. When the imaginary part of σ is positive, the applied perturbation is unstable and grows exponentially at a rate γ = ℑ(σ). Then, we assume here that the thermal diffusivity κ is much higher than the magnetic diffusivity η, which is the case in our setup where Pm = 1 and Pr ≪ 1. In this situation, the dispersion relation of Acheson is reduced to a simpler expression: a polynomial equation of degree 4 in the dimensionless frequency .
We solve numerically that polynomial Eq. (C.4) by choosing as background axisymmetric profiles our numerical solutions Ω(r, θ) and B_{φ}(r, θ) at the time where the instability develops in the simulations. The various parameters defined in Appendix B and which play a role in the calculation of the instability growth rate are the ratio of poloidal wavenumbers β, the azimuthal wavenumber m, the shear parameter q, a parameter b quantifying the gradient of B_{φ}, the azimuthal Lorentz number Lo_{φ}, the stratification parameter and the Reynolds numbers Re, Rm and Rt. For all these parameters, we take the values estimated or calculated from the simulations. With this procedure, we obtain a 2D map of the theoretical growth rate σ(r, θ) at the time where the instability starts to grow in the simulation. The aim is then to compare the location and the value of the maximum theoretical growth rate in the 2D domain with the location of the unstable mode and the growth rate estimated from the simulation.
An example of such a map is given in Fig. 10, where the azimuthal wavenumber was chosen to be m = 1 and the ratio of poloidal wavenumbers such that k_{θ} ≪ k_{r}. This case corresponds to case R2 where the instability was clearly present in the numerical simulation and mostly on the m = 1. On this map of σ/Ω_{0}, we superimpose the isocontours of the fluctuating component of the radial magnetic field coming from the 3D simulation. We find that the location of the unstable mode coincides well with the theoretical location of the maximum growth rate. The value of the maximum growth rate reaches σ/Ω_{0} ≈ 0.1, compared to 2.5 × 10^{−2} in the simulation. We do not expect to recover exactly the same growth rates because of the various assumptions underlying the derivation of the dispersion relation, which might not be entirely fulfilled in our simulations. In particular, the analysis of Acheson (1978) is local and we are comparing it here with global numerical simulations, with possible effects of the boundary conditions, especially for the cylindrical case where the instability develops very close to the top boundary of our computational domain. Then, as already pointed out in a previous work (Meduri et al. 2019), the use of the short wavelength approximation (meridional perturbation wavelength much smaller than the typical scale of variation of the background) could also be questioned here, in particular for the radial direction. Anyhow, we do not try here to understand in detail the discrepancy in the values of the growth rate obtained in the local analysis and in the numerical simulations, we just aim at gaining some insight from the local analysis on the possible causes for instability observed in the simulations.
Fig. 10. Cases R2 (left) and R3 (right): contours of the growth rate σ/Ω_{0} of the m = 1 mode obtained through the Acheson dispersion relation (colors) and superimposed in black lines are the contours of the fluctuating radial magnetic field coming from the 3D simulation. The agreement for the location of the instability is quite satisfactory in both cases. 
In the radial cases, the local dispersion relation helps us to determine that it is mostly the latitudinal gradient of Ω which is responsible for the instability and that the presence of the background magnetic field is needed. Indeed, the local analysis predicts that the background flow is hydrodynamically stable (the growth rate is negative when the magnetic field is set to 0). Moreover, when the latitudinal gradient of Ω is set to 0, the growth rate drops dramatically while it stays around the same maximum value of σ/Ω_{0} ≈ 0.1 when the radial gradient is set to 0. We thus confirm here the argument developed in the previous section: the instability is here driven by the gradient of rotation in the θdirection, that is, orthogonal to the stable stratification. As discussed above, this is also probably the reason for the persistence of the instability when the stability of the stratification is increased. The right panel of Fig. 10 shows the location of the instability when the effect of the stable stratification is increased, namely, with Pr = 10^{−1} instead of Pr = 10^{−2}. The local analysis still predicts a significant growth rate, again located around the maximum latitudinal gradient of rotation. The value of the growth rate itself is reduced by about 20% but the instability still exists and indeed also observed in the 3D simulation at approximately the same location for the m = 1 mode. In fact, in this case where we chose the poloidal wavenumber β such that the displacement is nearly horizontal (k_{θ} ≪ k_{r}), it is expected that the local dispersion relation predicts a small effect of the stable stratification on the growth rate. Indeed, if we look at the coefficients of Eq. (C.4), we see that all the terms involving are multiplied by the quantity sin θ − β cos θ. In the limit case where k_{θ} is 0 and k_{r} is large (but finite), β reduces to tanθ and the term multiplying vanishes. Of course, we are not really at this limit here but there can be a factor of at least ten between the poloidal wavenumbers such that the effect of the stable stratification becomes very weak on the value of the growth rates.
In Fig. 11, we illustrate the fact that the linear analysis also predicts that the geometry of the unstable mode in the radial case should change as the stable stratification increases. The figure shows the maximum growth rate reached in the (r, θ) plane for the background flow and field of case R2 as a function of the poloidal wavenumber ratio when the value of N/Ω_{0} is varied from 5 to 100. We clearly see that when the level of stratification is increased, the most unstable mode adapts its radial to horizontal wavenumber ratio: the most unstable mode becomes more and more horizontal when the stratification is increased, as also seen in the 3D simulation and as observed in the hydrodynamical studies discussed in the previous section. We also note that the maximum growth rate always tends to the same value as the level of stratification is increased, so that, theoretically, all modes with a sufficiently large radial to horizontal wavenumber ratio should be equally unstable. The unstable mode seen in the 3D simulation of course possesses a finite k_{r}/k_{θ}, probably chosen to minimize the stable stratification effects while fitting in the extension of the background field.
Fig. 11. Spatial maximum of the instability growth rate for the m = 1 mode calculated from Eq. (C.4), as a function of the ratio of poloidal wavenumbers, for different values of N/Ω_{0}, keeping Pr = 10^{−2} and for the background azimuthal velocity and magnetic fields of case R2. 
The situation is different in the cylindrical cases C2 and C3 where we chose, on the contrary, to calculate the growth rate as a function of r and θ but using a ratio β such that k_{θ} ≫ k_{r}, as seen in the 3D simulation. And we now choose to focus on the mode m = 4 which is one of the most unstable ones. The results would be similar for the equally unstable m = 2 and m = 3 modes. Figure 12 shows the map of the theoretical growth rate obtained from the dispersion relation for the m = 4 mode, together with the contours of the radial component of the magnetic fluctuations coming from the 3D simulation. Again, the location of the maximum growth rate coincides quite well with the position where the instability is observed in the simulation but the expected growth rate is larger (2.7 × 10^{−1} compared to 5 × 10^{−2} in the simulation). In this case, our procedure enables us to attest that it is now the radial gradient of Ω which is responsible for the instability found here, the growth rates (value and location) being very similar when the is set to 0. When the Prandtl number is now increased to Pr = 0.1, the instability completely vanishes, showing the very strong effect of the stable stratification on the instability in this cylindrical case, as observed in the simulation.
Fig. 12. Same as Fig. 10 but for Case C2 and for the m = 4 mode. Again, the location of the instability in the simulation corresponds quite well with the position of the expected maximum growth rate from the local analysis. Case C3 is not shown since the local analysis does not predict any instability in this case, in agreement with the 3D simulation. 
4.4. Effect of Lo
In this last section, we investigate the effect of varying the Lorentz number, which measures the ratio between the dynamical timescales of interest in this study: the rotation time scale to the poloidal Alfvén time scale. From our previous study (Jouve et al. 2015), we know that this parameter is crucial to the full development of the instability. Indeed, since we identify our instability here of the magnetorotational type with a typical growth rate of the order of the rotation frequency, the Lorentz number quantifies the time it takes for the instability to grow compared to the typical lifetime of the background toroidal magnetic field on which it grows. The optimal case for the full development of the instability is consequently when the Lorentz number is small. To test this argument with the simulations performed in this work, we increased the Lorentz number both in the radial and the cylindrical cases. The growth in time of the magnetic energy contained in the first 11 azimuthal modes for an increased Lorentz number is shown in Fig. 13, both for the cylindrical (left panel) and the radial case (right panel).
Fig. 13. Temporal evolution of the poloidal magnetic energy in the first 11 azimuthal wavenumbers for case C9 (left) and R1 (right): compared to cases C2 and R2, the value of Lo was increased to Lo = 10^{−2} for the cylindrical case and Lo = 2.5 × 10^{−3} for the radial case. 
As expected, the main effect of increasing Lo in both cases is to suppress the instability in the cylindrical case and drastically decrease its impact on the axisymmetric field in the radial case. To be more precise, the Lorentz number was increased here by decreasing the rotation rate and thus increasing the rotation time. The evolution of the axisymmetric magnetic field is then similar to what is shown in Fig. 2 but with a smaller value for the ratio between toroidal and poloidal magnetic energies. In particular, the maximum toroidal field will still peak at approximately t = 0.7t_{Ap} for the cylindrical case and at t = 0.3t_{Ap} for the radial case, but the growth rates are divided by approximately 2 since the Lorentz number was doubled in case C9 and multiplied by 2.5 in case R1 compared to C2 and R2 respectively. As a consequence, the instability does not have time to sufficiently develop to reach the level of the axisymmetric field. The magnetic field after a few Alfvén times will remain mostly unaffected by the presence of nonaxisymmetric components.
The conclusion here is similar to the unstratified case (Jouve et al. 2015) and is still valid for the radial case. This is not surprising since the instability is also of MRI type and thus the ratio between the instability growth time and the background magnetic field lifetime will still control the ability of the nonaxisymmetric unstable modes to reach the energy of the axisymmetric field. We then anticipate that for the mean axisymmetric field to be significantly modified by the development of the instability, the system must be at low Lorentz number, that is, a relatively weak poloidal magnetic field embedded in a fastly rotating environment. To be more quantitative, in the cylindrical case, Lo must be weaker than 5 × 10^{−3} while in the radial case, it must be even weaker, of the order of 10^{−3}. Both values are compatible with the values expected to be found in stellar interiors (see Sect. 3.1), especially for Vegalike stars which possess a weak surface field and a rapid rotation. The difference between the radial and cylindrical cases can be understood by the fact that for the instability to be triggered in the radial case, we first need to wait for the magnetic field to backreact on the flow to produce the latitudinal shear. The instability starts to develop when the toroidal field has already reached its maximum value and begins its decay. The instability thus needs to grow quite fast so that the toroidal field keeps approximately its maximum value during the whole development of the instability. The cylindrical case is different since the instability is able to grow right away on the existing radial shear and consequently while the toroidal field is building up. In the cylindrical case, the instability is thus allowed more time to grow and the range of Lorentz numbers allowing the instability to fully develop is thus extended.
5. Conclusion
In this work, we studied the effects of the stable stratification in the nonadiabatic case on instabilities which can develop when an initial poloidal field is wound up by an initial differential rotation. Two different profiles for the differential rotation were considered, both likely to exist in stellar radiative zones: one, cylindrical, which satisfies the Taylor–Proudman constrain and the other, shellular, which corresponds to what could be expected in a strongly stably stratified layer.
The axisymmetric solutions of this initial value problem were first investigated. We showed that, for fixed Lu and Pm, the axisymmetric evolution depends only on one dimensionless parameter measuring the level of stratification, instead of the three independent parameters Lo, Pr and N/Ω_{0}. This result is found to be consistent with a scale analysis of the Boussinesq MHD equations performed for a time ordering t_{ν} ≫ t_{Ap} ≫ t_{κ} ≫ t_{Ω} ≫ t_{B}. In this simplified form, the gravity waves are filtered out, and the system evolves through Alfvén waves and an Eddington Sweet circulation prescribed by a magnetothermal wind equilibrium and a thermal equilibrium. The parameter Lo = t_{Ω}/t_{Ap} only controls the ratio between toroidal and poloidal field. An interesting feature of the strongly stably stratified cases (with relatively high values of ) is that the toroidal to poloidal field ratio becomes higher since the transport of angular momentum through meridional flows is inhibited. Indeed, in this situation, the initial differential rotation is not modified before the Lorentz force starts to backreact on the flow and the Ωeffect is more efficient at producing a toroidal field component.
In stars, the ordering in timescales given above may not apply since the Alfvén timescale may be small compared to the thermal diffusion timescale. Then, the Eddington–Sweet circulation becomes negligible and the system evolution is dominated by Alfvén waves as in Gaurat et al. (2015) where only the coupled evolution of v_{φ} and B_{φ} was analysed. In our calculations, we considered a situation where t_{Ap} ∼ t_{κ} and found that the gravity waves existing in the transient phase do persist during the whole windingup process and significantly perturb the flow and field. However, this initial gravity wave transient is a direct consequence of our initial condition which is far from an equilibrium and such a transient is not likely to be present in stars.
When axisymmetric solutions strongly dominated by their toroidal component exist, there are expected to be unstable. This is indeed what was found in Jouve et al. (2015) in the nonstratified case. We tested here the effects of the stable stratification on the instability. It turns out that the situations involving two different initial differential rotation profiles respond quite differently to perturbations. When nonadiabatic effects are important, that is when a large thermal diffusivity is considered, both cases are unstable to a magnetorotational instability. However, when the thermal diffusivity is reduced and thus when the effects of the stable stratification are increased, the instability disappears in the cylindrical case while the unstable displacements become more and more horizontal in the radial case, with similar growth rates. We argue that this is due to the fact that the radial shear is responsible for the instability in the cylindrical case while it is driven by the latitudinal shear in the other. This latitudinal shear does not exist initially, it is produced by the backreaction of the magnetic field on the flow. The situation may appear quite specific since it is here the magnetic field itself which creates the conditions for its own instability. However, such phenomena could occur in stellar radiative zones where angular momentum is permanently redistributed by meridonal flows or Aflvén waves. In our case, the level of latitudinal shear which produces the instability does not need to be very high (ΔΩ/Ω < 1) and can be localized in space. If such a gradient appears in a stellar radiative zone and persists for a few hundreds of rotation periods, we predict that an instability could develop and strongly modify the axisymmetric magnetic field despite the stable stratification.
As far as Ap and Bp stars are concerned, we predict here that the instability could appear in stars for which the Lorentz number is less than 10^{−3}, meaning that the Alfvén frequency should be 1000 times smaller than the rotation frequency. As argued in Sect. 3.1, small Lo are indeed expected in stellar interiors especially for Vegalike stars which rotate rapidly and exhibit a small surface magnetic field. The Lorentz number is even smaller when deep layers of the stars are considered, where latitudinal shears could be locally generated and likely to be unstable. The existence of an instability for low Lo stars would then possibly explain why strong fields are observed only for about 10% of intermediatemass and massive stars, these stars having potentially sufficiently high magnetic frequency compared to their rotation frequency so that the instability does not reach the level of the axisymmetric field. The present study also potentially applies to the angular momentum transport in evolved stars. Although the turbulent transport associated with the MRI is not quantified here, various studies (Rüdiger et al. 2014, 2015; Jouve et al. 2015) have shown that the MRI of a toroidal field as seen here could produce a significant transport of angular momentum, which could possibly help to reconcile models and observations of the differential rotation of subgiant and red giant stars observed with Kepler.
Acknowledgments
The authors acknowledge financial support from the Agence Nationale de la Recherche (ANR) through the project IMAGINE (Investigating MAGnetism of INtErmediatemass and massive stars). This work was granted access to the HPC resources of CALMIP supercomputing center under the allocation P1118. LJ acknowledges funding by the Institut Universitaire de France.
References
 Acheson, D. J. 1978, Philos. Trans. R. Soc. London Ser. A, 289, 459 [NASA ADS] [CrossRef] [Google Scholar]
 Augustson, K. C., Brun, A. S., & Toomre, J. 2016, ApJ, 829, 92 [NASA ADS] [CrossRef] [Google Scholar]
 Aurière, M., Wade, G.A., Silvester, J., Lignières, F., et al. 2007, A&A, 475, 1053 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Balbus, S. A., & Hawley, J. F. 1992, ApJ, 400, 610 [CrossRef] [Google Scholar]
 Blazère, A., Neiner, C., & Petit, P. 2016a, MNRAS, 459, L81 [NASA ADS] [CrossRef] [Google Scholar]
 Blazère, A., Petit, P., Lignières, F., et al. 2016b, A&A, 586, A97 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Braithwaite, J. 2006, A&A, 449, 451 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Brun, A. S., Browning, M. K., & Toomre, J. 2005, ApJ, 629, 461 [NASA ADS] [CrossRef] [Google Scholar]
 Cantiello, M., Mankovich, C., Bildsten, L., ChristensenDalsgaard, J., & Paxton, B. 2014, ApJ, 788, 93 [Google Scholar]
 Ceillier, T., Eggenberger, P., García, R. A., & Mathis, S. 2013, A&A, 555, A54 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Chandrasekhar, S. 1960, Proc. Nat. Acad. Sci., 46, 253 [NASA ADS] [CrossRef] [MathSciNet] [Google Scholar]
 Charbonneau, P., & MacGregor, K. B. 1992, ApJ, 387, 639 [NASA ADS] [CrossRef] [Google Scholar]
 Deheuvels, S., García, R. A., Chaplin, W. J., et al. 2012, ApJ, 756, 19 [NASA ADS] [CrossRef] [Google Scholar]
 Deheuvels, S., Doğan, G., Goupil, M. J., et al. 2014, A&A, 564, A27 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Deloncle, A., Chomaz, J.M., & Billant, P. 2007, J. Fluid Mech., 570, 297 [NASA ADS] [CrossRef] [Google Scholar]
 Dudis, J. J. 1974, J. Fluid Mech., 64, 65 [NASA ADS] [CrossRef] [Google Scholar]
 Eggenberger, P., Haemmerlé, L., Meynet, G., & Maeder, A. 2012a, A&A, 539, A70 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Eggenberger, P., Montalbán, J., & Miglio, A. 2012b, A&A, 544, L4 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Eggenberger, P., den Hartogh, J. W., Buldgen, G., et al. 2019, A&A, 631, L6 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Fuller, J., Piro, A. L., & Jermyn, A. S. 2019, MNRAS, 485, 3661 [NASA ADS] [Google Scholar]
 Garaud, P., & Acevedo Arreguin, L. 2009, ApJ, 704, 1 [NASA ADS] [CrossRef] [Google Scholar]
 Garaud, P., Medrano, M., Brown, J. M., Mankovich, C., & Moore, K. 2015, ApJ, 808, 89 [Google Scholar]
 Gastine, T., & Wicht, J. 2012, Icarus, 219, 428 [NASA ADS] [CrossRef] [Google Scholar]
 Gaurat, M., Jouve, L., Lignières, F., & Gastine, T. 2015, A&A, 580, A103 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Gilman, P. A., & Glatzmaier, G. A. 1981, ApJS, 45, 335 [NASA ADS] [CrossRef] [Google Scholar]
 Guerrero, G., Del Sordo, F., Bonanno, A., & Smolarkiewicz, P. K. 2019, MNRAS, 490, 4281 [NASA ADS] [CrossRef] [Google Scholar]
 Guervilly, C., & Cardin, P. 2010, Geophys. Astrophys. Fluid Dyn., 104, 221 [NASA ADS] [CrossRef] [Google Scholar]
 Hale, G. E. 1908, ApJ, 28, 315 [Google Scholar]
 Ionson, J.A. 1978, ApJ, 226, 650 [NASA ADS] [CrossRef] [Google Scholar]
 Jouve, L., Gastine, T., & Lignières, F. 2015, A&A, 575, A106 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Kitchatinov, L., & Rüdiger, G. 2008, A&A, 478, 1 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Kloosterziel, R. C., & Carnevale, G. F. 2008, J. Fluid Mech., 594, 249 [NASA ADS] [CrossRef] [Google Scholar]
 Knobloch, E., & Spruit, H. C. 1982, A&A, 113, 261 [NASA ADS] [Google Scholar]
 Lignières, F., Califano, F., & Mangeney, A. 1999, A&A, 349, 1027 [NASA ADS] [Google Scholar]
 Lignières, F., Petit, P., Böhm, T., & Aurière, M. 2009, A&A, 500, L41 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Marcotte, F., & Gissinger, C. 2016, Phys. Rev. Fluids, 1, 063602 [NASA ADS] [CrossRef] [Google Scholar]
 Markey, P., & Tayler, R. J. 1973, MNRAS, 163, 77 [NASA ADS] [CrossRef] [Google Scholar]
 Marques, J. P., Goupil, M. J., Lebreton, Y., et al. 2013, A&A, 549, A74 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Meduri, D. G., Lignières, F., & Jouve, L. 2019, Phys. Rev. E, 100, 013110 [NASA ADS] [CrossRef] [Google Scholar]
 Moffatt, H. K. 1978, Magnetic Field Generation in Electrically Conducting Fluids (Cambridge: Cambridge University Press) [Google Scholar]
 Parker, E. N. 1955, ApJ, 122, 293 [NASA ADS] [CrossRef] [Google Scholar]
 Philidet, J., Gissinger, C., Lignières, F., & Petitdemange, L. 2020, Geophys. Astrophys. Fluid Dyn., 114, 336 [CrossRef] [Google Scholar]
 Pitts, E., & Tayler, R.J. 1985, MNRAS, 216, 139 [Google Scholar]
 Rüdiger, G., & Kitchatinov, L. L. 2010, Geophys. Astrophys. Fluid Dyn., 104, 273 [CrossRef] [Google Scholar]
 Rüdiger, G., Gellert, M., Schultz, M., Hollerbach, R., & Stefani, F. 2014, MNRAS, 438, 271 [NASA ADS] [CrossRef] [Google Scholar]
 Rüdiger, G., Gellert, M., Spada, F., & Tereshin, I. 2015, A&A, 573, A80 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Rüdiger, G., Schultz, M., & Kitchatinov, L. L. 2016, MNRAS, 456, 3004 [CrossRef] [Google Scholar]
 Rüdiger, G., Gellert, M., Hollerbach, R., Schultz, M., & Stefani, F. 2018, Phys. Rep., 741, 1 [CrossRef] [Google Scholar]
 Schaeffer, N. 2013, Geochem. Geophys. Geosyst., 14, 751 [NASA ADS] [CrossRef] [Google Scholar]
 Spiegel, E. A., & Zahn, J. P. 1992, A&A, 265, 106 [NASA ADS] [Google Scholar]
 Spruit, H.C. 1999, A&A, 349, 189 [Google Scholar]
 Spruit, H.C. 2002, A&A, 381, 923 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Szklarski, J., & Arlt, R. 2013, A&A, 550, A94 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Talon, S., & Charbonnel, C. 2008, A&A, 482, 597 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Tayler, R.J. 1973, MNRAS, 161, 365 [NASA ADS] [CrossRef] [Google Scholar]
 Townsend, A. A. 1958, J. Fluid Mech., 4, 361 [NASA ADS] [CrossRef] [Google Scholar]
 Vallis, G. K. 2006, Atmospheric and Oceanic Fluid Dynamics (Cambridge: Cambridge University Press) [CrossRef] [Google Scholar]
 Velikhov, E. P. 1959, Sov. Phys. JETP, 36, 1398 [Google Scholar]
 Wicht, J. 2002, Phys. Earth Planet. Inter., 132, 281 [NASA ADS] [CrossRef] [Google Scholar]
 Zahn, J.P. 1992, A&A, 265, 115 [NASA ADS] [Google Scholar]
 Zahn, J.P., Brun, A. S., & Mathis, S. 2007, A&A, 474, 145 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
Appendix A: Full set of nonaxisymmetric MHD Boussinesq equations
We give in this appendix the full set of nonaxisymmetric Boussinesq equations solved in this work, using the adimensionalisation detailed in the main text in Sect. 2.
For the three components of the velocity field, separating the toroidal and poloidal dynamics, the equations read:
The equations for the 3 components of the magnetic field then read:
And finally the temperature equation reads:
where v_{m} = v_{r}e_{r} + v_{θ}e_{θ} is the meridional velocity field and B_{p} = B_{r}e_{r} + B_{θ}e_{θ} is the poloidal magnetic field. The tildes indicate the dimensionless quantities. We note that the choice of reference scales in this appendix is slightly different from the one chosen in the next appendix where a scaling analysis of the axisymmetric version of the equations is performed. The variables with a tilde in this appendix are thus different from the tildevariables of Appendix B.
Appendix B: Scaling analysis of the axisymmetric MHD Boussinesq equations
In the following, we present a scale analysis of the axisymmetric MHD equations with the aim of finding a simplified form of these equations that approximates the evolution of our system. We note that the choice of reference scales to make the axisymmetric equations dimensionless will be slightly different in this appendix than the choice given in Sect. 2 which enabled to produce the full nonaxisymmetric set of equations of Appendix A.
The initial conditions provide the characteristic magnitude of some variables: the poloidal field B_{0}, the rotation rate Ω_{0}, the stable stratification , the azimuthal velocity , the domain size and also the lengthscale of the initial gradients d = r_{o} − r_{i}. We restrict our analysis to the regime . The toroidal field has no initially prescribed amplitude and there is no physical reason to choose B_{0}. We anticipate instead that a characteristic amplitude is , the magnetic field resulting from the windingup of the initial poloidal field by the differential rotation ΔΩ over an Alfvén time t_{Ap}. We also need to choose a typical amplitude for the meridional motions U_{m}. Due to the strong stable stratification N ≥ Ω_{0}, we argue that U_{m} should be small because radial motions are efficiently limited and the mass conservation ensures that latitudinal velocities are of the same order as radial velocities, v_{θ} ∼ v_{r}. In practice assuming U_{m} ≪ dΔΩ ≲ dΩ_{0} allows us to simplify the system of equation and to obtain U_{m} as a result of the scale analysis. The consistency of the assumption U_{m} ≪ dΔΩ ≲ dΩ_{0} is verified afterwards. As demonstrated below, such small meridional velocities lead to a thermalwind balance which in turn determines a typical amplitude for the temperature fluctuations, , and the pressure fluctuations P^{*} = ρd^{2}Ω_{0}ΔΩ. Finally, as we are interested in the evolution of the angular momentum, the characteristic time scale is chosen from the equation governing this evolution:
where M = r^{2} sin ^{2}θΩ_{0} + r sin θv_{φ} is the specific angular momentum. The meridional velocity, v_{m} = v_{r}e_{r} + v_{θ}e_{θ}, advects the angular momentum on a time scale t_{c} = (ΔΩ/Ω)(d/U_{m}), where the factor accounts for the effect of the Coriolis force that speedup the transport when Ro < 1. In our simulations, the initial differential rotation is such that Ro ∼ 1 while in the following we consider more generally Ro ≤ 1 regimes. The other time scale that controls the angular momentum evolution is the poloidal Alfvén time t_{Ap} as the time over which the toroidal field produced by the Ωeffect back reacts onto the rotation. The third time scale is the viscous time t_{ν} and it is supposed to be always larger than t_{Ap}. Consequently, the relevant time scale to study the angular momentum evolution should be either t_{c} or t_{Ap}. We don’t have to choose between these two times yet. But as we already assumed that t_{c} ≫ t_{Ω} (as a consequence of U_{m} ≪ dRoΩ_{0}) and t_{Ap} ≫ t_{Ω}, we can safely assume that the characteristic time of the angular momentum evolution, denoted t_{*}, verifies t_{*} ≫ t_{Ω}.
With these choices, the scaled version of the radial and latitudinal components of the MHD Boussinesq equations read:
From these expressions, the inertial terms that do not involve the azimuthal velocity can be neglected because t_{c} ≫ t_{Ω} and t_{*} ≫ t_{Ω}. Moreover, the viscous terms is negligible if t_{ν} ≫ t_{Ω}, and, as long as Ro is finite and nonzero, the term of the Lorentz force that contains the poloidal field is very small because t_{Ap} ≫ t_{Ω}. We thus simplify Eqs. (B.2), (B.3) into:
The pressure terms, including the magnetic pressure, can be eliminated to get a magnetothermal wind equation that relates the temperature fluctuations to the differential rotation and the azimuthal field. This relation has been anticipated to determine the characteristic temperature fluctuation associated with the differential rotation. We now turn to the thermal energy equation that relates temperature fluctuations and meridional velocities:
The advection of the temperature has been split into the advection of temperature fluctuations by meridional motions and the radial advection against the background stratification. This last term is expected to dominate the advection if . Then, depending on the ratio t_{κ}/t_{*}, it can be balanced either by the time derivative of temperature fluctuations or by the thermal diffusion term. The two cases are now considered separately
B.1. Alfvén waves and Eddington–Sweet circulation
If t_{*} ≫ t_{κ} the thermal diffusion term dominates over the temperature time variation in Eq. (B.6). Thus the balance between the thermal diffusion transport and the radial advection against the background stratification determines the circulation time and the characteristic meridional velocity . The scaled thermal energy equation is then:
where the circulation appears driven by the thermal diffusion of the temperature deviations, that were produced by the differential rotation. It is an Eddington–Sweet type circulation of time scale . We can now verify that the meridional circulation satisfies the condition t_{c} ≫ t_{Ω} necessary to simplify Eqs. (B.4), (B.5) if t_{es} ≫ t_{Ω}. This is satisfied in stars because and N ≥ Ω. The system of equation is completed by three prognostic equations for v_{φ}, B_{φ} and the potential A, defined by B_{p} = ∇ × Ae_{φ}.
Their scaled form is:
where we used t_{*} = t_{Ap} (but could also have used t_{*} = t_{es}).
The scale analysis thus led to a simplified system formed by Eqs. (B.4), (B.5) and (B.7)–(B.10), plus the mass conservation equation, . To be consistent the approximations requires together with t_{ν} ≫ t_{Ω} and . It intends to describe axisymmetric motions for time scale of the order of t_{*} = t_{Ap}. In particular, it should fail when solid body rotation is reached because the Lorentz force term involving the poloidal field component in Eqs. (B.4) and (B.5) will no longer be negligible. Also, short time dynamics like gravity waves have been filtered out by the approximation of the scaling analysis.
In this simplified form, the system is fully determined by the azimuthal velocity and the two components of the magnetic field. The meridional velocity components and the temperature fluctuations are intermediate variables determined by the magnetothermal wind equilibrium and the thermal equilibrium. Flows, where such equilibrium equation reduces the number of independent variables, are said to have balanced dynamics (e.g., Vallis 2006). Physically, the flow evolves through Alfvén wave dynamics and an Eddington Sweet circulation prescribed by the instantaneous angular momentum and azimuthal field distributions.
As compared to the full MHD problem that depends on five nondimensional numbers (plus Ro = ΔΩ/Ω_{0}), this simplified system has the advantage to depend only on three nondimensional numbers , and , or equivalently on , Lu and Pm. Consequently, for given initial conditions and thus a given Ro, solutions can be expressed in the general form , , from which we deduce , that is the expression given in Sect. 3.3.
Most of the numerical simulations listed in Table 1 meet the requirement of the scaling analysis as they verify t_{ν} ≫ t_{Ap} ≫ t_{κ} ≫ t_{Ω} ≫ t_{B} together with Ro = (Ω_{i} − Ω_{0})/Ω_{0} ≈ 1. Except for the transient period during which initially excited gravity waves are dissipated, their dependence on and Lo indicate that they are indeed governed by the simplified equations derived from the present scale analysis.
Below, we consider the case t_{Ap} ≤ t_{κ}. It holds in particular for the run R9 of Table 1 for which .
B.2. Alfvén waves
If t_{*} ≪ t_{κ}, the balanced thermal energy equation is:
with or equivalently . Then, the conditions t_{*} ≫ t_{Ω} and t_{c} ≫ t_{Ω} necessary to simplify Eqs. (B.4), (B.5), now read . As N ≥ Ω, we have t_{c} > t_{*} which implies that t_{*} = t_{Ap} is the more relevant choice for the time scale characterizing the angular momentum evolution. The condition t_{*} = t_{Ap} ≫ t_{Ω} is met because t_{Ap} ≫ t_{Ω} and t_{Ω} ≥ t_{B}. The amplitude of the meridional motion is now . The scaled version of the three prognostic equations for v_{φ}, B_{φ} and B_{p} = ∇ × Ae_{φ} simplifies into:
because, as for the thermal energy equation, the advection terms proportional to are neglected with respect to the Lorentz force or the Ωeffect term in the v_{φ} and B_{φ} equations, respectively. Although the advection of the poloidal field is also of the order of , we kept this term in Eq. (B.14) because it may dominate over the magnetic diffusion.
At this stage we can distinguish two subregimes depending on the ratio Ω/N. If , the Coriolis force term in the angular momentum Eq. (B.12) is negligible. As a consequence, the equations for v_{φ} and B_{φ} are decoupled from the other ones. They describe the evolution of the initial differential rotation through Alfvén wave propagation. This regime of the scale analysis requires t_{κ} ≫ t_{Ap} ≫ t_{Ω} ≫ t_{B} with also t_{ν} ≫ t_{Ω} and . Under these conditions, the approach of Gaurat et al. (2015), where only the equations for v_{φ} and B_{φ} were solved, appears to be justified.
A second subregime corresponding to exists. As , it implies Ro ≪ 1 and the terms ∝Ro in the thermal wind balance should then be neglected for consistency. Gathering the time scale conditions, this regime holds when t_{κ} ≫ t_{Ap} ≫ t_{Ω} ∼ t_{B} together with Ro ≪ 1, t_{ν} ≫ t_{Ω} and . As shown by a local analysis, this system supports Alfvén waves with frequencies (slightly) modified by the stratification and the rotation.
Appendix C: Acheson dispersion relation in the limit of high thermal diffusivity
The procedure used by Acheson (1978) to derive his dispersion relation is the following: the MHD equations governing the system with thermal, viscous and magnetic diffusion are linearized around the background axisymmetric state (which is assumed to be purely toroidal both for the magnetic and the velocity fields). Small amplitude harmonic perturbations in space and time of the following form are then considered:
Here k_{s} = 2π/λ_{s} (k_{z} = 2π/λ_{z}) is the radial (axial) wavenumber of the instability and m its azimuthal order which is an O(1) integer. When the imaginary part of σ is positive, the applied perturbation is unstable and grows exponentially at a rate γ = ℑ(σ).
In this appendix, we recall the dispersion relation derived by Acheson (1978) in the case where all the diffusivities are taken into account (thermal, viscous and magnetic) but when the thermal diffusivity is much higher than the magnetic diffusivity. In this situation, the dispersion relation is reduced to a simpler expression, which corresponds to Eq. (3.20) in Acheson (1978):
where ω = σ − mΩ is the Dopplershifted frequency, the Alfvén velocity, , E = ln(P/ρ^{γ}), F = ln(B/(sρ)), G = g_{s} − k_{s}/k_{z}g_{z} and Q = ln(sB_{φ}). We also defined the meridional derivative
When written as a polynomial equation in the dimensionless frequency , (C.2) reads
where
We note here that the terms involving the stable stratification are always proportional to , which for our cases where Pm = 1 reduces to our usual parameter . So again, we clearly see already that the effect of stable stratification also on the instability will be mainly controlled by this product and not by N/Ω_{0} alone.
The dispersion relation coefficients depend on six dimensionless parameters:
The ratio of poloidal wavenumbers (in cylindrical and spherical geometries):
We note that when k_{θ} ≪ kr (mostly horizonthal displacement), β = tan θ and the terms involving the stable stratification in the dispersion relation, all proportional to (sin θ − β cos θ), vanish and the stratification has thus no effect.
The shear parameter
a parameter associated to the field derivatives
the local azimuthal Lorentz number
obtained defining the Alfvén frequency as , and finally the magnetic, kinetic and thermal Reynolds numbers
respectively.
All Tables
All Figures
Fig. 1. Initial configurations for the cylindrical rotation profile (left) and radial one (right). Ω is scaled with Ω_{0} and superimposed are the poloidal magnetic field lines. 

In the text 
Fig. 2. Evolution of the ratio between the toroidal and poloidal magnetic energies for cases C1 (top) and R1 (bottom). E_{φ} seems much stronger in the cylindrical case but it’s because B_{φ} is more extended and located closer to the surface where B_{p} is much smaller. If we look locally, we also find that B_{φ}/B_{p} is stronger in the cylindrical case but mostly because of the location of B_{φ} (where B_{p} is small). 

In the text 
Fig. 3. Contours of toroidal magnetic field (colors) for cases C1 (left) and R1 (right). Time is taken in the middle of the linear growth of B_{φ}, that is at 0.125t_{ap} for case R1 and 0.25t_{ap} for case C1. Superimposed are the poloidal magnetic field lines. Units are in Lo_{φ} = ω_{Aφ}/Ω. Here, the strength of B_{φ} compared to the global rotation is similar, we always have Lo_{φ} < 1. 

In the text 
Fig. 4. Temporal evolution of the kinetic energy (on a long timescale, left and zoomed in, midpanel) and magnetic energy ratio (right) for five different cases: three cases with (blue: R2, green: R5, red: R6 and black: R9) and two cases with (cyan: R7 and magenta: R8). For the magnetic energy plot, the cyan and magenta curves are almost superimposed, as well as the red and green curves. The long term evolution is similar for the cases with the same , as long as Pr is small enough, but different for different values of . In particular, the amount of toroidal field produced is much less in the case where . 

In the text 
Fig. 5. Structure of the flow (top panels: rotation rate in color, meridional flow contours in black lines) and of the magnetic field (bottom panels: toroidal field in color and poloidal field lines in dashed lines) at time t = 0.1t_{ap}, for R7 and R8 (two left panels) and for R2 and R6 (two right panels). 

In the text 
Fig. 6. Instability in case C2 (top) and R2 (bottom). Shown are the temporal evolution of the poloidal magnetic energy in the first 11 azimuthal wavenumbers (averaged in r and θ) (left), the fluctuations of the radial component of the magnetic field at a particular longitude (mid) and the rotation profile (right) when the instability starts to develop, that is at t = 0.15t_{ap} for C2 and t = 0.35t_{ap} for R2. The color bar applies to the rotation rate. 

In the text 
Fig. 7. 3D views of the instability in the two cases: Case C2 on top and case R2 below. The magnetic field lines of the background axisymmetric magnetic field are plotted around the location of the instability and colored with the values of the toroidal magnetic field (in the Ydirection in the Cartesian frame shown at the bottom left) and isosurfaces of the axial component of the fluctuating magnetic field are overplotted. 

In the text 
Fig. 8. Temporal evolution of the poloidal magnetic energy in the first 11 azimuthal wavenumbers for cases C3 (top left), C4 (bottom left), R3 (top right), and R4 (bottom right). 

In the text 
Fig. 9. Fluctuations of the radial component of the magnetic field at a particular longitude, axisymmetric magnetic field (toroidal field in color and poloidal field lines) and rotation rate at approximately time t = 0.5t_{ap} (during the linear phase of the instability) for cases R3 (Pr = 0.1, top) and R4 (Pr = 1, bottom). We clearly see that the perturbation direction is orthogonal to gravity, especially for the most stratified case R4. We note that the background flow and field are very similar in both cases. 

In the text 
Fig. 10. Cases R2 (left) and R3 (right): contours of the growth rate σ/Ω_{0} of the m = 1 mode obtained through the Acheson dispersion relation (colors) and superimposed in black lines are the contours of the fluctuating radial magnetic field coming from the 3D simulation. The agreement for the location of the instability is quite satisfactory in both cases. 

In the text 
Fig. 11. Spatial maximum of the instability growth rate for the m = 1 mode calculated from Eq. (C.4), as a function of the ratio of poloidal wavenumbers, for different values of N/Ω_{0}, keeping Pr = 10^{−2} and for the background azimuthal velocity and magnetic fields of case R2. 

In the text 
Fig. 12. Same as Fig. 10 but for Case C2 and for the m = 4 mode. Again, the location of the instability in the simulation corresponds quite well with the position of the expected maximum growth rate from the local analysis. Case C3 is not shown since the local analysis does not predict any instability in this case, in agreement with the 3D simulation. 

In the text 
Fig. 13. Temporal evolution of the poloidal magnetic energy in the first 11 azimuthal wavenumbers for case C9 (left) and R1 (right): compared to cases C2 and R2, the value of Lo was increased to Lo = 10^{−2} for the cylindrical case and Lo = 2.5 × 10^{−3} for the radial case. 

In the text 
Current usage metrics show cumulative count of Article Views (fulltext article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 4896 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.