1. Introduction
Fluids that are convectively stable due to a bottom-heavy compositional gradient, but with a destabilising thermal gradient (i.e. stable according to the Ledoux criterion, but unstable by the Schwarzschild criterion), may undergo an instability known as semi-convection (SC) or oscillatory double-diffusive convection (ODDC). Semi-convection is one regime of double-diffusive convection, an instability caused by the effect on the density of two scalars that diffuse at different rates. For example, in gas giant planets, the thermal diffusivity can be up to
$100$
times the diffusivity of heavy elements (French et al. Reference French, Becker, Lorenzen, Nettelmann, Bethkenhagen, Wicht and Redmer2012). The opposite regime, in which the thermal gradient is stable, but a compositional gradient is unstable, is called fingering convection. Both regimes were originally discovered in physical oceanography (Stern Reference Stern1960; Veronis Reference Veronis1965), but the same physical process underlies instability in a planetary context, with a range of studies extending the concept in the following years (Kato Reference Kato1966; Stevenson Reference Stevenson1977; Stevenson & Salpeter Reference Stevenson and Salpeter1977). The transport properties of a semi-convective fluid are significantly different to one that is Schwarzschild stable, with significantly enhanced transport of heat and composition compared with purely diffusive processes (Wood et al. Reference Wood, Garaud and Stellmach2013; Moll et al. Reference Moll, Garaud and Stellmach2016).
In astrophysics, SC is of particular interest in gaseous planets such as Jupiter and Saturn (Müller et al. Reference Müller, Helled and Cumming2020; Stevenson et al. Reference Stevenson, Bodenheimer, Lissauer and D’Angelo2022). These planets are composed of a surface layer of molecular hydrogen, which overlays a deep core of metallic hydrogen, which has high electrical conductivity. The fluid density is affected by both the temperature and the concentration of heavy elements, most importantly the relative fraction of helium in the metallic hydrogen layer. Recent structure models predict the existence of wide regions with destabilising temperature gradients, but stabilising compositional gradients, that result in a convectively stable state. Debras & Chabrier (Reference Debras and Chabrier2019) showed that, to reproduce observations from the Juno and Galileo missions, the internal structure of Jupiter must contain such a stably stratified layer between two convective envelopes, between approximately
$80$
% and
$90\,\%$
of the planetary radius. To match the thermal properties of the convective zones, a destabilising temperature gradient must exist in this region, providing the necessary conditions for SC. Likewise, Leconte & Chabrier (Reference Leconte and Chabrier2012, Reference Leconte and Chabrier2013) suggest that a region of SC could explain Saturn’s excessively high luminosity. Mankovich & Fuller (Reference Mankovich and Fuller2021) proposed an interior model of Saturn consistent with gravity and seismic data, with a stably stratified region extending to
$60\,\%$
of the planetary radius. Similar semi-convective regions are also predicted at the edge of the convective cores of intermediate and high-mass stars (e.g. Schwarzschild & Härm Reference Schwarzschild and Härm1958; Merryfield Reference Merryfield1995). Semi-convection also occurs in terrestrial polar oceans (where it is called ‘diffusive convection’), with the stabilising compositional gradient provided by salinity (e.g. Timmermans et al. Reference Timmermans, Toole, Proshutinsky, Krishfield and Plueddemann2008).
Semi-convection is sometimes referred to in the astrophysical literature as ‘layered convection’, referring to the tendency of semi-convective fluids to spontaneously form ‘staircases’ consisting of well-mixed layers separated by sharp density jumps. This phenomenon is well documented in periodic box simulations (e.g. Rosenblum et al. Reference Rosenblum, Garaud, Traxler and Stellmach2011; Mirouh et al. Reference Mirouh, Garaud, Stellmach, Traxler and Wood2012), and more recently in full sphere simulations (Fuentes Reference Fuentes2025). Layer formation is due to the so-called ‘
$\gamma$
-instability’ (Radko Reference Radko2003), where competing influences of thermal and compositional fluxes lead to a secondary instability on the semi-convective state. Pružina (Reference Pružina2025) proposed a one-dimensional model of this layering process for parameters relevant to planetary applications.
The effect of rotation on layer formation was studied in three-dimensional periodic boxes by Moll & Garaud (Reference Moll and Garaud2017). They showed that sufficiently fast rotation rates affect even the small-scale double-diffusive instability, preventing layer formation. Interestingly, Fuentes (Reference Fuentes2025) showed that a more moderate rotation rate can prolong the lifespan of a staircase, although in all cases the layers eventually coarsen through mergers until a single convective region fills the domain. This gradual coarsening is widely documented across numerical studies of layering (Radko Reference Radko2003; Mirouh et al. Reference Mirouh, Garaud, Stellmach, Traxler and Wood2012; Pružina Reference Pružina2025), following a pattern described by Radko (Reference Radko2007). However, such merging has not yet been convincingly demonstrated in observational studies. So far, the majority of work on astrophysical SC has focused on the layered regime (e.g. Moll & Garaud Reference Moll and Garaud2017; Fuentes et al. Reference Fuentes, Hindman, Fraser and Anders2024; Fuentes Reference Fuentes2025), leaving behaviour outside layered states relatively unexplored.
A particular feature of interest is whether SC can support planetary magnetic fields. Previous work has generally assumed that planetary dynamos are generated by convective motions due to an overall statically unstable density gradient (e.g. Christensen & Aubert Reference Christensen and Aubert2006; Jones Reference Jones2014; Yadav et al. Reference Yadav, Cao and Bloxham2022), but recent work predicting semi-convective regions (e.g. Leconte & Chabrier Reference Leconte and Chabrier2013; Vazan et al. Reference Vazan, Helled, Podolak and Kovetz2016; Debras & Chabrier Reference Debras and Chabrier2019) raises the question of whether SC-driven dynamos are possible. There are few prior studies on this subject, with Mather & Simitev (Reference Mather and Simitev2021) concluding that, while SC dynamos in spherical shells are possible, they require parameter values far from true astrophysical conditions. Pružina et al. (Reference Pružina, Cébron and Schaeffer2025) demonstrated that simulations of SC can indeed support dynamo action at low magnetic Prandtl number, showing a simulation where a deep convective dynamo is overlain by a stably stratified layer, producing a rather dipolar magnetic field on the surface. However, this was only a preliminary demonstration, and the detailed behaviour of SC dynamos remains an open question.
The related problem of rotating fingering convection was studied in a full sphere by Monville et al. (Reference Monville, Vidal, Cébron and Schaeffer2019). They found that, compared with pure compositional convection, fingering convection increased the parameter range for linear instability, leading to large-scale convective motions and strong zonal jets. Gray et al. (Reference Gray, Guervilly and Sarson2026) have recently performed a more detailed study, finding a wide range of flows including clustering of fingers, toroidal gyres, hemispherical convection and zonal flows, depending on the relative strengths of the thermal stratification and rotation. It seems likely that a similarly rich variety of dynamical structures may be possible in the SC regime.
To model the semi-convective layer of gaseous planets, we investigate SC in a spherical shell, with fixed temperature and composition at the boundaries to represent steady convecting layers above and below. Nonlinear simulations pass through a transient layered phase, eventually saturating in a state either dominated by strong zonal jets, with a wide stably stratified layer overlaying an inner convective region, or a structure where a single convective zone fills the entire domain, except for narrow thermal boundary layers. We find that the layering instability conforms well to the predictions of the
$\gamma$
-instability (Radko Reference Radko2003), but we also confirm the comment of Fuentes et al. (Reference Fuentes, Hindman, Fraser and Anders2024) that the size of the domain can constrain the development of layers. We investigate the onset of dynamo action and discuss the effect of different flow structures on the magnetic field. We find that a dipolar structure is favoured in the jet-dominated flow regime with a wide stably stratified layer (SSL), where a magnetic field is generated in the inner convective layer, but decays as a function of radius in the SSL. The dipolar component decays the slowest, resulting in a much more dipolar surface field than in the interior. On this basis, we identify a region of parameter space that is most favourable to producing planetary-like magnetic fields, and compare simulations in this region with Saturn’s magnetic field.
The paper is structured as follows. In § 2 we introduce the equations of thermo-compositional convection and discuss the non-dimensional parameters governing the flow. In § 3 we review the hydrodynamic stability of the system, before presenting nonlinear simulations in § 4, discussing separately the layered phase of evolution, the saturated states and the different flow regimes that develop. Finally, in § 5, we present the results of magnetohydrodynamic (MHD) simulations, and propose a criterion for producing planetary-like magnetic fields in simulations.
2. Governing equations of thermocompositional convection
We consider a fluid in a spherical shell of inner radius
$R_i$
and outer radius
$R_o$
, rotating at a rate
$\boldsymbol{\varOmega _0}=\varOmega _0\boldsymbol{e}_z$
, as shown in figure 1. We use spherical polar coordinates, with radial, polar and azimuthal basis vectors
$\{\boldsymbol{e}_{r},\boldsymbol{e}_\theta ,\boldsymbol{e}_\phi \}$
and position vector
$\boldsymbol{r}$
such that
$\theta =0$
for
$\boldsymbol{r}=\boldsymbol{e}_z$
. The fluid velocity
$\boldsymbol{u} = u_r\boldsymbol{e}_{r} + u_\theta \boldsymbol{e}_\theta + u_\phi \boldsymbol{e}_\phi$
evolves according to the Navier–Stokes equations. We adopt the Boussinesq approximation, which neglects differences in density except in terms multiplied by gravity. The magnetic field
$\boldsymbol{b}$
evolves according to the induction equation, and affects the velocity through the Lorentz force. We adopt a linearised version of the equation of state for the density
$\rho$
where
$\rho _0$
is a reference density,
$T_0$
and
$C_0$
are background temperature and composition fields,
$T$
and
$C$
are the perturbation temperature and composition and
$\alpha _T$
and
$\alpha _C$
are the coefficients of thermal expansion and compositional contraction. The temperature and composition obey advection–diffusion equations in the presence of the background fields. We assume a constant gravitational acceleration in the radial direction
$\boldsymbol{g}=-g\boldsymbol{e}_{r}$
, giving a radial buoyancy force of
$g(\rho _0-\rho (\boldsymbol{x},t)) \boldsymbol{e}_{r}$
. In gas giants, this is not an unreasonable assumption: for Saturn, Movshovitz et al. (Reference Movshovitz, Fortney, Mankovich, Thorngren and Helled2020) give a difference of only
$20\,\%$
between
$g(0.1R_o)$
and
$g(0.7R_o)$
. We write the thermal and compositional differences across the depth as
$\Delta T = T_0(R_i)-T_0(R_o)$
and
$\Delta C = C_0(R_i)-C_0(R_o)$
, respectively.
Sketch of the physical set-up for the problem.

Figure 1. Long description
A sketch of the physical setup for semi-convection. The diagram shows a spherical coordinate system with an inner region labeled as Ti, Ci, and Ri, and an outer region labeled as Ro. The inner region has a temperature Ti and composition Ci, while the outer region has a temperature Ti - ΔT and composition Ci - ΔC. The diagram includes vectors er, eθ, and eφ representing the radial, polar, and azimuthal directions, respectively. The angular velocity Ω0 is aligned along the ez axis, indicating rotation. The inner region is depicted as a smaller sphere within the larger outer region, illustrating the compositional and thermal gradients that lead to semi-convection.
The dynamics depends on a number of physical parameters, which are defined in table 1. Using these parameters, and with a length scale based on the sphere’s outer radius
$R_o$
and the viscous diffusion time scale
$R_o^2/\nu$
, we adopt dimensionless variables
\begin{equation} \begin{aligned} &\boldsymbol{x} = \frac {\hat {\boldsymbol{x}}}{R_o},\qquad t = \frac {\nu }{R_o^2}\hat {t},\qquad \boldsymbol{u} = \frac {R_o}{\nu }\hat {\boldsymbol{u}},\\ &T = \frac {g\alpha _TR_o^3}{\nu ^2}\hat {T},\qquad C = \frac {g\alpha _C R_o^3}{\nu ^2}\hat {C},\qquad \boldsymbol{b}=\frac {R_o}{\nu \sqrt {\rho _0\mu _0}}\hat {\boldsymbol{b}}, \end{aligned} \end{equation}
where hats denote dimensional quantities. The dynamics is governed by the non-dimensional system of equations
together with the solenoidal constraints
$\boldsymbol{\nabla }\boldsymbol{\cdot }\boldsymbol{u} = \boldsymbol{\nabla }\boldsymbol{\cdot }\boldsymbol{b} = 0$
. The dimensionless numbers
$\textit{Ek}$
,
$\textit{Pr}$
,
$\textit{Sc}$
and
$\textit{Pm}$
are defined in table 1. For the majority of this work, we shall consider only the hydrodynamic problem (i.e. with
$\boldsymbol{b}\equiv \boldsymbol{0}$
); we return to the full magneto-hydrodynamic system in § 5.
Dimensional and dimensionless parameters governing the dynamics of rotating SC.

Table 1. Long description
A table with three main sections: Symbols and Names, Definitions and Ranges in simulations. The first section lists symbols and their corresponding names for various physical parameters. The second section provides definitions and ranges for dimensionless numbers and other parameters. The table includes 18 rows and 4 columns. Row 1: Symbol: g, Name: Gravitational acceleration. Row 2: Symbol: ρ0, Name: Reference density. Row 3: Symbol: ν, Name: Viscous diffusivity. Row 4: Symbol: μ0, Name: Vacuum magnetic permeability. Row 5: Symbol: κT, Name: Thermal diffusivity. Row 6: Symbol: κC, Name: Compositional diffusivity. Row 7: Symbol: η, Name: Magnetic diffusivity. Row 8: Symbol: αT, Name: Thermal expansion coefficient. Row 9: Symbol: αC, Name: Compositional contraction coefficient. Row 10: Symbol: Ro, Name: Outer radius. Row 11: Symbol: Ri, Name: Inner radius. Row 12: Symbol: Ω, Name: Rotation rate. Row 13: Symbol: ΔT, Name: Temperature difference. Row 14: Symbol: ΔC, Name: Composition difference. Row 15: Symbol: Ek, Name: Ekman number, Definition: ν/(ΩR0^2), Range in simulations: 10^-6 - 10^-3. Row 16: Symbol: Pr, Name: Prandtl number, Definition: ν/κT, Range in simulations: 0.01 - 3. Row 17: Symbol: Sc, Name: Schmidt number, Definition: ν/κC, Range in simulations: 0.1 - 30. Row 18: Symbol: Le, Name: Lewis number, Definition: Sc/Pr, Range in simulations: 10. Row 19: Symbol: Pm, Name: Magnetic Prandtl number, Definition: ν/η, Range in simulations: 0.1 - 1. Row 20: Symbol: ΔR, Name: Shell thickness, Definition: (Ro - Ri)/Ro, Range in simulations: 0.3 - 0.8. Row 21: Symbol: RaT, Name: Thermal Rayleigh number, Definition: αTgΔTR0^3/(κTν), Range in simulations: 10^5 - 5 x 10^9. Row 22: Symbol: RaC, Name: Compositional Rayleigh number, Definition: αCgΔCR0^3/(κTν), Range in simulations: 10^6 - 6 x 10^10. Row 23: Symbol: Rρ, Name: Density ratio, Definition: |RaC|/(RaT|Le|), Range in simulations: 1 - 3.3. Row 24: Symbol: RaT, Name: Reduced Rayleigh number, Definition: Ek^(4/3)RaT, Range in simulations: 2 - 4000. Row 25: Symbol: Re, Name: Reynolds number, Definition: UL/ν, Range in simulations: 5 - 1.4 x 10^5. Row 26: Symbol: Rm, Name: Magnetic Reynolds number, Definition: UL/η, Range in simulations: 40 - 2200. Row 27: Symbol: Ro, Name: Rossby number, Definition: EkRe, Range in simulations: 5 x 10^-5 - 2.
A steady basic state exists with
$\boldsymbol{u}= \boldsymbol{0}$
, and background temperature and salinity fields given by
where the thermal and compositional Rayleigh numbers are defined in table 1, and
$\delta (r)$
is the spherically symmetric solution to Laplace’s equation
${\nabla} ^2\delta =0$
in a spherical shell
such that
$\delta (1-\Delta R) = 1$
and
$\delta (1) = 0$
.
To approximate the effect of convective regions above and below the domain, we fix the temperature and composition on the boundaries. The different temperatures and compositions above and below are accounted for by the background fields
$T_0$
and
$C_0$
, so the perturbation fields are set to zero. The velocity obeys stress free, no penetration conditions on the boundaries
For the magnetic field, we adopt an insulating boundary condition on the outer sphere. In practice, this means that the toroidal component of
$\boldsymbol{b}$
is set to zero, and the poloidal component matches a potential field outside (see Christensen & Wicht Reference Christensen and Wicht2015). We assume that the volume within the inner sphere is electrically conducting, as suggested by Debras & Chabrier (Reference Debras and Chabrier2019), so solve (2.6) in this region with
$\boldsymbol{u}(r\lt R_i)=\boldsymbol{0}$
. Both
$\boldsymbol{b}$
and
$\partial \boldsymbol{b}/\partial r$
are continuous at both boundaries.
3. Hydrodynamic stability
In this section, we present a number of linear stability results relevant to SC. We detail the classical stability properties resulting from a local analysis in a plane layer geometry, before discussing the stability in rotating spherical shells. Further details of the latter are provided in Appendix A. Finally, we discuss the criteria leading to the formation of density layers.
The density gradient can be used to define the Brunt–Väisälä frequency
$N$
, defined as the frequency at which a vertically displaced particle will oscillate in the stratified environment. In dimensional form,
$N^2$
is given by
A generalisation can be made to split the background frequency
$N_0^2=N^2(T=C=0)$
into contributions from temperature and composition such that
$N_0^2 = N_{0,T}^2 + N_{0,C}^2$
as follows:
In dimensionless form, with the background states given by (2.7), these are given by
A number of standard linear stability results may be derived from a plane layer geometry, with uniform background temperature and compositions gradients (i.e.
$N^2_{T,C}$
constant). The Schwarzschild criterion (Schwarzschild Reference Schwarzschild1958) states that a fluid is stable to thermal convection if
The related Ledoux criterion (Ledoux Reference Ledoux1947), which includes the effects of composition, states that a fluid is stable to convective motions if
The regime of interest for SC is where fluid is Ledoux stable, but Schwarzschild unstable, i.e.
or, in terms of the Rayleigh numbers,
Despite being stable to convection according to the Ledoux criterion (3.5), Walin (Reference Walin1964) and Kato (Reference Kato1966) demonstrated that a semi-convective instability in a plane layer can occur if
where
${\textit{Le}}=\kappa _T/\kappa _C = \textit{Sc}/{\textit{Pr}}$
is the Lewis number or diffusivity ratio. For sufficiently high Rayleigh numbers, the second term may be neglected.
The range of double-diffusive instability is commonly discussed in terms of the density ratio
The quantity
$R_\rho$
is defined by (3.9) for SC, but by its inverse in the fingering regime, such that
$R_\rho$
is always greater than unity in the double-diffusive regime of interest.
Rewriting (3.8) in terms of
$R_\rho$
, SC occurs in the range
with the fluid statically stable for larger values of
$R_\rho$
, and convectively unstable by (3.5) for smaller values. Note that if
$\textit{Pr}$
is large, then the range of
$R_\rho$
for SC becomes very narrow; this is the limit where viscous diffusion is significantly faster than thermal diffusion. In astrophysical fluids,
$\textit{Pr}$
is generally much less than unity, so SC can occur across a wide range of density ratios.
Including the Coriolis force adds significant complexity. Pearlstein (Reference Pearlstein1981) showed that the effect of rotation depends strongly on the size of the Prandtl and Schmidt numbers, and can exert either a stabilising or destabilising effect. In the case where
${\textit{Pr}}\lt 1\lt \textit{Sc}$
(as suggested by French et al. Reference French, Becker, Lorenzen, Nettelmann, Bethkenhagen, Wicht and Redmer2012), there is a range of parameter space in which increasing
$\textit{Ra}_C$
(that is, increasing the stabilising gradient) can in fact decrease the critical value of
$\textit{Ra}_T$
for instability. However, this effect is very small, with a change of
$\textit{Ra}_{T,\textit{crit}}$
of less than
$1\,\%$
. More relevant to the spherical geometry considered here is the analytical stability analysis of Busse (Reference Busse2002) in a cylindrical annulus with sloping top and bottom boundaries (later corrected by Monville et al. Reference Monville, Vidal, Cébron and Schaeffer2019). While these papers focused mainly on the fingering regime, this analytical approach can equally be applied to SC. In an appendix dedicated to SC, Monville et al. (Reference Monville, Vidal, Cébron and Schaeffer2019) demonstrated a reduction in
$\textit{Ra}_{T,\textit{crit}}$
of an order of magnitude compared with that of rotating thermal convection.
A linear analysis of the onset of SC in the set-up of the present study is reported in Appendix A. The onset of instability can be summarised to occur when
$\textit{Ra}_T$
exceeds both the critical Rayleigh number for rotating thermal convection
$\textit{Ra}_T^{\textit{rot}}\sim \textit{Ek}^{4/3}$
(Dormy et al. Reference Dormy, Soward, Jones, Jault and Cardin2004), and the critical value for non-rotating SC (3.8). In this paper, we focus on the regime where
$\textit{Ra}_T^{\textit{SC}}\gt \textit{Ra}_T^{\textit{rot}}$
, which occurs when
$\textit{Ra}_C\gtrsim {LeEk}^{-4/3}$
. We note also the existence of a ‘tongue’ of instability that exists for
$\textit{Ra}_T\lt \textit{Ra}_T^{\textit{rot}}$
in some cases, which is not the focus of this study.
The formation of staircases is due to a secondary instability which acts on the fields resulting from the double-diffusive instability. The
$\gamma$
-instability theory (Radko Reference Radko2003) (developed for the fingering regime) states that if
$F_T$
and
$F_C$
are the turbulent temperature and compositional fluxes, and
$\gamma =F_C/F_T$
is their ratio, then layers will form if
It was shown by Rosenblum et al. (Reference Rosenblum, Garaud, Traxler and Stellmach2011) and Mirouh et al. (Reference Mirouh, Garaud, Stellmach, Traxler and Wood2012) that the same condition is valid in the SC regime. Similarly to
$R_\rho$
,
$\gamma$
is generally defined as its reciprocal in the fingering regime, so condition (3.11) is unchanged.
In practice, (3.11) is satisfied in a range
where the specific value of
$R_{\rho ,\textit{layer}}$
depends on the parameters of the fluid (e.g. Rosenblum et al. Reference Rosenblum, Garaud, Traxler and Stellmach2011; Mirouh et al. Reference Mirouh, Garaud, Stellmach, Traxler and Wood2012). However, condition (3.11) requires
$\partial \gamma /\partial R_\rho$
to be calculated across a range of simulations for different values of
$R_\rho$
, so on its own it cannot be used as a predictor of layering a priori. Mirouh et al. (Reference Mirouh, Garaud, Stellmach, Traxler and Wood2012) and Pružina (Reference Pružina2025) have both proposed empirically derived parametrisations to model
$\gamma$
in terms of
$R_\rho$
,
$\textit{Pr}$
and
${\textit{Le}}$
.
4. Dynamics in the nonlinear regime
We now investigate the dynamics beyond the onset of instability, using the XSHELLS code (Schaeffer Reference Schaeffer2013; Monville et al. Reference Monville, Vidal, Cébron and Schaeffer2019) to solve the hydrodynamic Boussinesq equations (2.3)–(2.5) (with
$\boldsymbol{b}=\boldsymbol{0}$
) in a spherical shell with boundary conditions (2.9).
Throughout this work, unless otherwise specified, we take
${\textit{Pr}}=0.3$
and
$\textit{Sc} = 3$
, giving a Lewis number of
$10$
. These values are commonly used for simulations of astrophysical fluids, as they allow the low-
$\textit{Pr}$
regime to be captured, while remaining numerically accessible at relatively low resolutions (e.g. Breuer et al. Reference Breuer, Manglik, Wicht, Trümper, Harder and Hansen2010). We take
$\Delta R=0.5$
as an intermediate size for the shell, noting that a thinner shell would be more computationally demanding.
To motivate what follows, we first show the results of two contrasting simulations in figure 2, for
$\textit{Ek}=10^{-4}$
,
${\textit{Pr}}=0.3$
,
$\textit{Sc}=3$
and
$R_\rho =1.2$
. We show one simulation with weak forcing (
$\textit{Ra}_T=3.52\times 10^6$
), and another with stronger forcing (
$\textit{Ra}_T=1.11\times 10^8$
). In each case, the system is initialised with a small-amplitude random perturbation to the velocity field
$\boldsymbol{u}$
. We characterise the flow strength using the Reynolds number
where
$\langle u\rangle _{\textit{rms}} = (\int _V \boldsymbol{u}\boldsymbol{\cdot }\boldsymbol{u}\mathrm{d} V/V )^{1/2}$
is the root-mean-squared velocity (with
$V$
the volume of the domain).
Figure 2(a–b) shows how the Reynolds number evolves for each simulation, while figure 2(c–j) shows equatorial snapshots of the composition perturbation
$C$
, and meridional snapshots of the radial and azimuthal velocities
$u_r$
and
$u_\phi$
, at two times for each simulation. For the weak forcing case, figure 2(a) shows that
$\textit{Re}$
first increases exponentially, then saturates into quasi-periodic oscillations of amplitude
$\sim 50$
around a mean value
${\textit{Re}}\approx 150$
, with statistically stable convective motions continuing for a long time. Figure 2(c–d) shows no significant difference between the composition fields at the two different times shown, with a wave-like response throughout. Figure 2(g–h) shows that the velocity field at both times is dominated by a columnar zonal jet structure, with relatively weaker radial motions.
The behaviour of the simulation with
$\textit{Ra}_T=1.11\times 10^8$
is different. Figure 2(b) shows that, after an initial exponential growth phase,
$\textit{Re}$
appears to level off, before increasing again twice, eventually saturating at
${\textit{Re}}\approx 2000$
. The composition snapshot during the intermediate plateau (labelled ‘III’) in figure 2(e) shows a two-layer structure, with two regions within which
$C$
tends to increase with radius, separated by a rather sharp interface, in the form common to double-diffusive layers (see, e.g. Fuentes et al. Reference Fuentes, Hindman, Fraser and Anders2024). Later on, in the snapshots labelled ‘IV’ (figure 2
f), the two layers have merged, and the radial gradient of
$C$
is relatively uniform. The radial and zonal velocities shown in figure 2(i–j) have similar magnitudes, and the columnar flow structure is much less evident than in the
$\textit{Ra}_T=3.52\times 10^6$
simulation.
Results from two XSHELLS simulations with
$\textit{Ek}=10^{-4}$
,
${\textit{Pr}}=0.3$
,
$\textit{Sc}=3$
,
$\Delta R=0.5$
,
$R_\rho =1.2$
. Left-hand columns take
$\textit{Ra}_T=3.52\times 10^6$
, right-hand columns
$\textit{Ra}_T=1.11\times 10^8$
. (a–b) Time series of the Reynolds number
$\textit{Re}$
. (c–f) Equatorial snapshots of the composition perturbation
$C$
at times marked with dashed lines in (a) and (b), and labelled ‘I’–‘IV’. (g–j) Meridional snapshots of the radial and azimuthal velocities
$u_r$
and
$u_\phi$
, at the same times.

Figure 2. Long description
The image contains multiple graphs depicting the results of two XSHELLS simulations. Panel A and Panel B are line graphs showing the time series of the Reynolds number (Re) over time (t). Panel A covers a time range from 0 to 0.6 with two distinct phases marked as I and II. Panel B covers a time range from 0 to 0.05 with two distinct phases marked as III and IV. Panel C and Panel D are circular heatmaps showing the composition perturbation (C) at times marked with dashed lines in Panel A, labeled I and II. Panel E and Panel F are circular heatmaps showing the composition perturbation (C) at times marked with dashed lines in Panel B, labeled III and IV. Panel G and Panel H are circular heatmaps showing the radial and azimuthal velocities (u_phi and u_r) at the same times as Panel C and D. Panel I and Panel J are circular heatmaps showing the radial and azimuthal velocities (u_phi and u_r) at the same times as Panel E and F.
To characterise the flows observed in our simulations, we define a number of dimensionless parameters. Turbulent transport of heat and composition throughout the domain is quantified by the Nusselt and Sherwood numbers, defined as the ratio of the total radial scalar transport to purely conductive transport. These are defined at each radius as
where
$\langle \boldsymbol{\cdot }\rangle _S$
represents the mean across a surface of constant radius. In a purely conductive state,
${\textit{Nu}}=\textit{Sh}=1$
, the values increase as the intensity of the convection increases. In practice, we evaluate
$\textit{Nu}$
and
$\textit{Sh}$
at the inner or outer boundary, where the convective fluxes vanish due to the no-penetration condition on the radial velocity
Also of interest is the convective power, defined as the work done by buoyancy forces, with thermal and compositional components given in dimensionless form by
with
$\langle \boldsymbol{\cdot }\rangle _V$
denoting the volume average over the whole domain. In the SC regime, motions are driven by a positive
$P_T$
, while
$P_C$
is negative, opposing fluid motions. Where convection occurs,
$P=P_T+P_C$
is positive.
In general,
$\textit{Re}$
,
$\textit{Nu}$
,
$\textit{Sh}$
,
$P_T$
and
$P_C$
are time-varying quantities, but it is more useful to consider their time average, denoted by an overbar. For some time-dependent quantity
$q$
, We define
where
$t_1$
is generally the time at which the simulation reaches a statistically steady state, and
$t_2$
is the end of the simulation.
4.1. The layered phase of evolution
In this section, we study the transient layered phase in more detail, quantifying the dependence of the layers on the system parameters and considering their long-term fate. Although double-diffusive layers are well documented in periodic boxes (e.g. Rosenblum et al. Reference Rosenblum, Garaud, Traxler and Stellmach2011; Mirouh et al. Reference Mirouh, Garaud, Stellmach, Traxler and Wood2012; Wood et al. Reference Wood, Garaud and Stellmach2013), significantly less work has been done in a spherical geometry. According to the widely accepted theory of Radko (Reference Radko2003), the layering instability depends only on the density ratio
$R_\rho$
, and a semi-convective fluid will develop density layers if the ratio of the composition to temperature fluxes
$\gamma =F_C/F_T$
decreases as a function of the density ratio. This theory has been confirmed by numerous works on simulations in both fingering and SC regimes (e.g. Radko Reference Radko2003; Wood et al. Reference Wood, Garaud and Stellmach2013). However, this is a linear theory, based on local uniform gradient background states, without the influence of boundaries. The simulations shown in figure 2 use the same value of
$R_\rho$
, but do not both produce layers, showing that in the bounded geometry that we consider, layering must also depend on the stratification or forcing.
Recently, Fuentes (Reference Fuentes2025) conducted simulations of SC in full spheres, finding that the SC instability developed into a series of convective layers, which were gradually eroded by a strong outer layer growing into the interior. In these simulations, faster rotation rates resulted in longer-lasting layers, with the outer convective layer growing towards the centre more slowly. This runs contrary to the findings of Moll & Garaud (Reference Moll and Garaud2017), who demonstrated that fast rotation suppresses layer formation. If the modified Taylor number
then the rotation is so strong that it affects even the small-scale double-diffusive instability. Fuentes et al. (Reference Fuentes, Hindman, Fraser and Anders2024) commented that this layer suppression was due to the periodic box simulations of Moll & Garaud (Reference Moll and Garaud2017) using a domain too small for layers to form. Such a domain-size constraint has been documented by Mirouh et al. (Reference Mirouh, Garaud, Stellmach, Traxler and Wood2012) and Wood et al. (Reference Wood, Garaud and Stellmach2013), who found that a domain of depth
$\gtrsim 50d$
was necessary for layer formation, where
represents the characteristic scale for the SC instability. By redefining the Rayleigh number in terms of the thermal gradient, rather than temperature difference,
we note that
$\textit{Ra}_T^{1/4}(\Delta R/R_o)$
provides a measure of the shell thickness normalised by
$d$
; hence, the condition of Mirouh et al. (Reference Mirouh, Garaud, Stellmach, Traxler and Wood2012), Wood et al. (Reference Wood, Garaud and Stellmach2013) translates into a requirement that
$\textit{Ra}_T\gt (50R_o/\Delta R)^4$
for layer formation. While a domain-size constraint is a potential reason for layers to be suppressed at lower
$\textit{Ta}^*$
, the high-
$\textit{Ta}^*$
simulations of Moll & Garaud (Reference Moll and Garaud2017) suppress the
$\gamma$
-instability itself.
To study the effects of both parameters, we discuss simulations along two transects: with
$\textit{Ra}_C$
fixed while
$R_\rho$
varies, and vice versa. In both transects, the strength of the forcing (
$\textit{Ra}_T$
) varies; however, the fixed-
$R_\rho$
transect runs approximately parallel to the onset of SC, while the fixed-
$\textit{Ra}_C$
transect spans the width from the onset of convection (
$R_\rho =1$
) to past the onset of SC
$R_\rho =({\textit{Pr}}+1)/({\textit{Pr}}+1/{\textit{Le}})$
.
4.1.1. Effect of
$R_\rho$
on layer formation
To measure the effect of
$R_\rho$
on layering, we show simulations with
$\textit{Ra}_C=2.33\times 10^8$
fixed, and
$1\leqslant R_\rho \leqslant 3.3$
, for
${\textit{Pr}}=0.3$
,
$\textit{Sc}=3$
,
$\Delta R=0.5$
,
$\textit{Ek}=10^{-4}$
. This transect runs across the SC region, from the onset of top-heavy convection, to the stable region. From the temperature and composition equations (2.4)–(2.5), and the definitions of the background fields (2.7), we define the local radial temperature and composition fluxes as
Upon averaging over a spherical surface, comparison with (4.2)–(4.3) shows that
Hence the flux ratio may be written as
\begin{equation} \gamma =\frac {F_C}{F_T}=\frac {\textit{Sh}}{{\textit{Nu}}}\frac {R_\rho }{{\textit{Le}}} \end{equation}.
In a pure conductive state (i.e.
$\boldsymbol{u}=\boldsymbol{0}$
), the Nusselt and Sherwood numbers are equal to unity, and hence
$\gamma =R_\rho /{\textit{Le}}$
. Recall from § 3 that layering is predicted by the
$\gamma$
-instability where
$\partial \gamma /\partial R_\rho \lt 0$
.
As layering is a secondary instability that acts on the initial SC response,
$\gamma$
must be calculated immediately after the saturation of the initial instability; measuring the fluxes after the development of layers results in spurious trends in
$\gamma (R_\rho )$
due to the different evolution of the layered compared with non-layered simulations. Figure 3(a) shows how
$\overline {\gamma }$
(averaged over a short period just after the saturation of the initial instability) varies as a function of
$R_\rho$
across a transect of simulations. As
$R_\rho$
increases from
$1$
,
$\overline {\gamma }$
decreases, reaching a minimum at
$R_\rho \approx 1.5$
. Past this critical point,
$\gamma$
increases almost linearly with
$R_\rho$
, becoming very close to the conductive limit
$\overline {\gamma }\sim R_\rho /{\textit{Le}}$
. This curve resembles that found in periodic box simulations by Mirouh et al. (Reference Mirouh, Garaud, Stellmach, Traxler and Wood2012) (although with quantitatively different values, likely due to the effect of rotation). Layer formation is predicted for
$R_\rho \lt R_{\rho ,\textit{layer}}\approx 1.5$
. The colour of the points denotes the value of
$\overline {{\textit{Re}}}$
, showing that as
$R_\rho$
increases, the flow becomes weaker, and a significant drop-off in
$\overline {{\textit{Re}}}$
occurs past the limit of layering. Note that the two simulations with the largest values of
$R_\rho$
are past the onset of rotating SC,
$R_{\rho ,{\textit{onset}}}=\textit{Ra}_C/\textit{Ra}_{T,\textit{crit}}(\textit{Ra}_C)\approx 3.17$
(i.e. are stable to both convection and SC). In these simulations, mass transfer occurs only via conduction, so they lie exactly on the conductive limit.
(a) Flux ratio time averaged over a short period just after the initial instability has saturated
$\overline {\gamma }$
as a function of
$R_\rho$
for simulations along the transect
$\textit{Ra}_C=5\times 10^9$
,
$1\leqslant R_\rho \leqslant 3.3$
, with
${\textit{Pr}}=0.3$
,
$\textit{Sc}=3$
,
$\Delta R=0.5$
,
$\textit{Ek}=10^{-4}$
. The values for
$\overline {\gamma }$
are calculated (by (4.14)) during the growth phase of each simulation. The vertical dashed line marks the limit of rotating SC,
$R_{\rho ,{\textit{onset}}}=3.17$
. Points are coloured by the value of
$\overline {{\textit{Re}}}$
after saturation. The dashed blue line shows the limit of pure conduction
$R_\rho /{\textit{Le}}$
. (b) Radial profiles of the total axisymmetric (
$m=0$
) composition field
$C_0+C_{\textit{axi}}$
, for the two simulations labelled ‘I’ and ‘II’ in (a). (c,d) Snapshots of the axisymmetric part of the composition field for the same two simulations, showing both the total field and perturbation; (e, f) snapshots of the radial and azimuthal parts of the velocity field. Snapshots are shown immediately after the initial appearance of layers. Black lines in (c–f) show the transect along which the profiles in (b) are calculated.

Figure 3. Long description
Panel A: A scatter plot shows the flux ratio time averaged over a short period just after the initial instability has saturated as a function of R rho. The vertical axis is labeled with a dimensionless parameter, and the horizontal axis is labeled R rho. Points are colored by the value of Re after saturation. The dashed blue line indicates the limit of pure conduction. Panel B: A line graph displays radial profiles of the total axisymmetric composition field C plus C axi for two simulations labeled I and II. The vertical axis is labeled C plus C axi, and the horizontal axis is labeled r. Panel C: A circular heatmap shows the axisymmetric part of the composition field for simulation I, with the total field and perturbation. The color scale ranges from 0 to 1 times 10^9. Panel D: Another circular heatmap shows the axisymmetric part of the composition field for simulation II, with the total field and perturbation. The color scale ranges from 0 to 1 times 10^7. Panel E: A circular heatmap displays the radial and azimuthal parts of the velocity field for simulation I. The color scale ranges from -2000 to 2000. Panel F: A circular heatmap shows the radial and azimuthal parts of the velocity field for simulation II. The color scale ranges from -1000 to 1000. Black lines in panels C and F indicate the transect along which the profiles in panel B are calculated.
Figure 3(b) shows radial profiles of the axisymmetric part of the composition field
$C_0+C_{\textit{axi}}$
, for two simulations (one either side of
$R_{\rho ,\textit{layer}}$
). Figure 3(c–f) shows snapshots of the composition and velocity fields for the same simulations. We show the composition, rather than total density, as fast thermal diffusion (small
$\textit{Pr}$
) means that the temperature profile is rather smeared, making it more difficult to see structures in
$\rho$
than in
$C$
. In simulation I, where
$R_\rho \lt R_{\rho ,\textit{layer}}\approx 1.5$
(figure 3
c,e), there is a clear layered structure, with three bands of relatively constant composition, separated by sharp interfaces. This structure is also visible in the radial velocity, particularly near the poles, where three different convective bands can be seen. In simulation II, by contrast, no layers are visible, and the total composition field shows little variation from the background conductive profile
$C_0(r)$
. Instead, the SC instability results in a small-amplitude linear response that does not develop into layers. The weak velocities seen in figure 3(f) result in very small convective fluxes, so the flux ratio is very close to the conductive limit
$\overline {\gamma }\sim R_\rho /{\textit{Le}}$
. These two snapshots are representative for all simulations with
$R_\rho \lt 1.5$
and
$R_\rho \gt 1.5$
respectively, so there is good agreement with the
$\gamma$
-instability theory, with layers forming where
$\partial \overline {\gamma }/\partial R_\rho \lt 0$
.
Note that the small departure from the conductive profile for simulation II in figure 3(b) does not mean that SC is not occurring; a linear stability analysis (see Appendix A) shows that at this value of
$\textit{Ra}_C$
, the SC limit is
$R_{\rho ,{\textit{onset}}}=3.17$
. For values in the range
$R_{\rho ,\textit{layer}}\lesssim R_\rho \lt R_{\rho ,{\textit{onset}}}$
, layers do not develop, and instead the long-time state of the field is a small-amplitude weakly nonlinear response, with a Reynolds number (and velocities) two orders of magnitude smaller than in the layered simulation. This matches the results of Moll et al. (Reference Moll, Garaud and Stellmach2016), who found that turbulent fluxes remain small for
$R_\rho \gt R_{\rho ,layer}$
.
(a) Dependence of the initial number of layers
$N_l$
on
${\textit{EkRa}}_T$
, for simulations along transects
$R_\rho =1.2$
and
$ \textit{Ek}=10^{-4}$
and
$10^{-5}$
, with
${\textit{Pr}}=0.3$
,
$\textit{Sc}=3$
and
$\Delta R=0.5$
. Circles/crosses represent simulations where the layers eventually decay to a state with a SSL overlaying a convective zone; squares/plusses represent cases where the final state is a well-mixed region over the majority of the domain. (b–m) Snapshots of the simulations from the
$\textit{Ek}=10^{-4}$
transect labelled ‘I’–‘IV’ in (a), with each column coming from a single simulation, just after layers have formed. (b–e) Axisymmetric part of the perturbation composition field
$C_{\textit{axi}}$
. (f–i) Radial profiles of the total axisymmetric composition field
$C_{tot}=C_{\textit{axi}}+C_0(r)$
along the white lines in (b–e), coloured by the value of
$C_{\textit{axi}}$
. Dotted black lines show the conductive profile
$C_0(r)$
, while the solid black line shows the final profile of
$C_{tot}(r)$
after the end of the layering phase. (j–m) Axisymmetric part of the azimuthal and radial velocities.

4.1.2. Effect of
$\textit{Ra}_T$
on layer formation
As discussed previously, layering in our simulations depends not only on
$R_\rho$
, but on the magnitude of the thermal forcing
$\textit{Ra}_T$
as well, as demonstrated by figure 2. Fuentes et al. (Reference Fuentes, Hindman, Fraser and Anders2024) suggest that this may be due to geometric constraints, with the instability scale being too large with respect to the domain depth. To investigate the dependence on the stratification, we consider simulations with fixed
$R_\rho =1.2$
, and vary
$\textit{Ra}_C$
and
$\textit{Ra}_T$
. Thus, the magnitude of the stratification and forcing varies, but the distance from the onset is relatively constant.
Figure 4 shows how the number of layers
$N_l$
depends on
$\textit{Ra}_T$
along two transects with
$R_\rho =1.2$
for
$\textit{Ek}=10^{-4}$
and
$10^{-5}$
, alongside snapshots of simulations with zero, one, two and three layers. The data from the two transects collapse onto a single trend in terms of
${\textit{EkRa}}_T$
(a parameter that is independent of viscosity). Mixed layers are identified from the composition profiles (figure 4
f–i) as broad regions where the total composition gradient is notably lower than in the conductive profile
$C_0(r)$
; where more than one layer exists, they are separated by relatively narrow, high gradient ‘interfaces’. Figure 4(j–m) shows the zonal and radial velocities. As discussed in § 4.1.1, the layers can also be observed as distinct convective bands in the profiles of
$u_r$
, although this is significantly less clear than in the composition fields. Over time, the number of layers reduces through a series of mergers; however, the time scale for this process is much longer than that for the initial layer formation. As such, the initial number of layers
$N_l$
can easily be identified from the snapshots.
To understand this trend in the number of layers, we consider the parameters in terms of the characteristic length
$d$
and the modified Taylor number
$\textit{Ta}^*$
. The condition of Mirouh et al. (Reference Mirouh, Garaud, Stellmach, Traxler and Wood2012) suggests that layering requires
$\textit{Ra}_T\gt (50R_o/\Delta R)^4=10^8$
, however, for the
$\textit{Ek}=10^{-4}$
transect we see layering at
$\textit{Ra}_T=10^7$
, suggesting that the addition of rotation has changed the necessary length scale. According to the
$\textit{Ta}^*\gg 1$
condition (4.7), the critical value of
$\textit{Ra}_T$
would scale with
$\textit{Ek}^2$
; however, figure 4 shows that the number of layers actually depends on the viscosity-free quantity
${\textit{EkRa}}_T$
, with layering for
${\textit{EkRa}}_T\gtrsim 1000$
. We note that our simulations show layering up to
$\textit{Ta}^*=9$
, but appear to all be in the small-
$\textit{Ta}^*$
regime; the difference from the
$\textit{Ta}^*=1$
cutoff of Moll & Garaud (Reference Moll and Garaud2017) is likely due to a scaling factor in the definition (4.7).
Figure 4(a) shows the onset of layering at
${\textit{EkRa}}_T\approx 1000$
, with transitions to two and three layers at
$6000$
and
$12\,000$
, respectively. Based on this, we identify the empirical scaling
$h_{\textit{layer}}$
for layer formation
and note that the number of layers initially present in the domain will be the integer part of
$R_o\Delta R/h_{\textit{layer}}$
.
Note the difference between the zero-layer state in figure 4(b) and that seen in figure 3(d). Here, layering is possible by the
$\gamma$
-instability, so there is a full nonlinear response with convective motions visible in the velocity field, and noticeable density structure visible, but no coherent layering throughout the domain. By contrast, in figure 3(d), the system is stable to layering, with only a small-amplitude weakly nonlinear response. The composition field is rather homogeneous, with no discernible departure from the background conductive state in figure 3(d).
4.2. Long-term evolution of staircases
It is well documented that, in simulations, density staircases gradually erode through layer merger events, until only a single mixed layer remains in the domain (e.g. Wood et al. Reference Wood, Garaud and Stellmach2013; Fuentes et al. Reference Fuentes, Hindman, Fraser and Anders2024; Pružina Reference Pružina2025). In figure 4(f–i), the solid black lines represent the final profile of
$C_{tot}$
after layers have decayed, showing that in our simulations, there are two possible final states: low values of
$\textit{Ra}_T$
lead to a structure comprising an inner convective region overlain by a wide SSL, while higher values of
$\textit{Ra}_T$
produce a single well-mixed region filling the domain, with narrow boundary layers on either side.
Figure 5 shows the long-term evolution of the radial composition profile for two simulations: one leading to each final state. In figure 5(a), for the (low-
$\textit{Ra}_T$
simulation labelled ‘II’ in figure 4), the initially smooth background profile gradually sharpens, leading to a ‘one-layer’ state, with a single well-mixed layer in the interior, overlain by a stably stratified region. Over time, the mixed layer increases in size, but eventually stabilises far from the outer boundary. This state is remarkably stable for long times. By contrast, in figure 5(b), (simulation ‘IV’ in figure 4), the initial profile develops into a stack of three mixed layers separated by sharper interfaces, which merge until a single mixed layer takes up the vast majority of the domain, between narrow stably stratified boundary layers.
Profiles of
$C_{tot}(r)$
throughout the layered phase of two simulations, for (a)
$\textit{Ra}_T = 1.15\times 10^7$
, (b)
$\textit{Ra}_T = 4.2\times 10^8$
. Profiles are shown at a series of times, which can be read at the top left of each profile. The horizontal (
$C$
) scale for each profile is the same due to the fixed-
$C$
boundary conditions. (c) Time spent in layered state
$t_{{layer}}$
, for simulations in the final convective zone regime.

Figure 5. Long description
Panel A: A line graph shows profiles of a variable throughout the layered phase of a simulation for a specific parameter set. The vertical axis represents the variable r, ranging from 0.6 to 1.0. The horizontal axis represents EkRaTt, ranging from 0 to 140. Multiple lines indicate profiles at different times, which can be read at the top left of each profile. Panel B: Another line graph shows profiles of a variable throughout the layered phase of a simulation for a different parameter set. The vertical axis represents the variable r, ranging from 0.6 to 1.0. The horizontal axis represents EkRaTt, ranging from 0 to 100. Multiple lines indicate profiles at different times, which can be read at the top left of each profile. Panel C: A scatter plot with a line graph shows the time spent in the layered state for simulations in the final convective zone regime. The vertical axis represents t_layer on a logarithmic scale from 10^-2 to 10^-1. The horizontal axis represents EkRaT on a logarithmic scale from 10^3 to 10^5. Blue crosses and orange plus signs represent different values of Ek, with a legend indicating Ek values of 10^-4 and 10^-5. A black line represents the trend (EkRaT)^-1.
For higher values of
$\textit{Ra}_T$
, the behaviour of the layers is similar to that seen in other studies, with a gradual erosion of the layered state leading ultimately to a well-mixed state throughout the domain (e.g. Fuentes Reference Fuentes2025). However, the final state seen for lower values of
$\textit{Ra}_T$
is rather different. This suggests a competition between rotational and convective processes, where the tendency of a rotating fluid to form columnar structures prevents the erosion of the stably stratified outer layer. For these low-
$\textit{Ra}_T$
simulations, the layers never fully merge – rather, the wide convective layer overlain by an SSL survives without further evolution of its size – meaning that it can impact the dynamics on long time scales.
Figure 5(c) shows the survival time of the layered state, for simulations resulting in a convective zone throughout the entire domain (it is difficult to define an end of the layered phase when the final state contains a wide SSL). Larger values of
${\textit{EkRa}}_T$
result in a shorter layered phase, with an approximate scaling
$t_{{layer}}\sim ({\textit{EkRa}}_T)^{-1}$
, independent of the viscosity. This agrees with the results of Fuentes et al. (Reference Fuentes, Hindman, Fraser and Anders2024), who found that higher rotation rates relative to the stratification produced longer-lasting layers, as rotational effects resisted the convection processes that cause layers to merge.
(a) Dependence of the height
$h_{\textit{SSL}}$
of the outer SSL on
$\widetilde {{Ra}}_T$
; (b) variation of the Nusselt number at the outer boundary as a function of the rescaled SSL height
$({\textit{Pr}}/\textit{Ek})^{1/2}h_{\textit{SSL}}$
; (c) dependence of the time-averaged Nusselt number
$\overline {{\textit{Nu}}}$
on
$\widetilde {{Ra}}_T$
. Points are coloured by Ekman number
$\textit{Ek}$
, with different values of
$R_\rho$
,
$\textit{Pr}$
and
$\Delta R$
represented by different symbols. Grey points in panel (a) show the width
$h_{\textit{in}}$
of the inner boundary layer. The black dashed line in (a) and (c) marks a change in scaling for
$h$
, corresponding with a jump in
$\overline {{\textit{Nu}}}$
. The red dashed lines in all panels correspond to a transition as
$(Pr/\textit{Ek})^{1/2}h_{\textit{SSL}}$
passes through unity: in (b), the horizontal line shows the value of
$\textit{Ek}^{1/3}\overline {{\textit{Nu}}}$
at this point; in (c), the red shaded band shows this value of
$\overline {{\textit{Nu}}}$
for the range of
$\textit{Ek}$
surveyed, and the vertical line shows the value
$\widetilde {{Ra}}_T\approx 300$
at which these lines cross the corresponding transects. In panel (a), the vertical red line shows that this value of
$\widetilde {{Ra}}_T=300$
corresponds to a change of scaling for
$h_{\textit{SSL}}(\widetilde {{Ra}}_T)$
.

To quantify the transition between the two regimes, we define the boundaries of the convective zone as
We identify the height of the inner and outer SSLs as
Figure 6(a) shows how
$h_{\textit{SSL}}$
varies as a function of the thermal forcing, for a range of simulations with
$10^{-6}\leqslant \textit{Ek}\leqslant 10^{-4}$
. The majority of these simulations take
$R_\rho =1.2$
,
${\textit{Pr}}=0.3$
and
$\Delta R=0.5$
, but these values were varied in a small number of simulations, while keeping
${\textit{Le}}=10$
constant. The data collapse relatively well onto a single curve with
$h_{\textit{SSL}}$
controlled by the ‘reduced Rayleigh number’
in which
$\textit{Ra}_T$
is rescaled by the asymptotic scaling for the onset of rotating convection (Dormy et al. Reference Dormy, Soward, Jones, Jault and Cardin2004). This parameter measures the distance from the rotating convection onset, with smaller values of
$\widetilde {{Ra}}_T$
being closer to the onset, and therefore more strongly rotationally constrained. It is also possible to fit the data to other rescaled parameters; for example, there is a similarly good collapse in terms of the control parameter
$\textit{Ek}^{3/2}\textit{Ra}_T{\textit{Pr}}^{-1}$
, which does not depend on length. We note that a similar parameter
$\textit{Ek}^{3/2}\textit{Ra}_T$
is suggested by King et al. (Reference King, Stellmach and Aurnou2012) to control the transition between rotating and non-rotating convection, for
${\textit{Pr}}\geqslant 1$
.
The grey points in figure 6(a) show the value of
$h_{\textit{in}}$
, which generally takes values significantly smaller than
$h_{\textit{SSL}}$
, but follows a similar trend. Three regimes are clearly visible. For
$\widetilde {{Ra}}_T\lt 50$
,
$h_{\textit{SSL}}/\Delta R$
is rather large, taking a value between
$0.2$
and
$0.7$
, and scales rather weakly, with
$h_{\textit{SSL}}/\Delta R\sim \widetilde {{Ra}}_T^{-1/3}$
. Above
$\widetilde {{Ra}}_T\gtrsim 300$
, the same
$-1/3$
power law is seen. Between these regimes, there is a transition region where
$h_{\textit{SSL}}$
varies quickly as a function of
$\widetilde {{Ra}}_T$
, with significant spread in the data meaning that a dedicated study would be necessary to further classify the trend.
These transitions can be explained in terms of the dependence of
$\textit{Nu}$
on
$h_{\textit{SSL}}$
. In Rayleigh Bénard convection, the thermal boundary layer thickness is conventionally defined as
$\delta _T=H/(2{\textit{Nu}})$
, where
$H$
is the depth of the domain (see Belmonte et al. Reference Belmonte, Tilgner and Libchaber1994). Figure 6(b) shows that, in our simulations,
$\overline {{\textit{Nu}}}\sim h_{\textit{SSL}}$
for
$h_{\textit{SSL}}\lesssim (\textit{Ek}/{\textit{Pr}})^{1/2}$
. This cutoff corresponds to the length above which the Coriolis force acts faster than thermal diffusion. At this point,
$\textit{Ek}^{1/3}\overline {{\textit{Nu}}}\approx 0.15$
, which is shown as a red shaded band on figure 6(c) for the range of
$\textit{Ek}$
surveyed. The data fall in this band at
$\widetilde {{Ra}}_T\approx 300$
; the same value at which the kink is visible in figure 6(a). At these small scales, rotation has only a small effect compared with diffusion, so a scaling independent of
$\textit{Ek}$
may be expected. In figure 6(a), the shift between the
$\textit{Ek}=10^{-4}$
and
$10^{-5}$
transects for
$\widetilde {{Ra}}_T\gt 300$
is consistent with the rotation-free scaling
$h_{\textit{SSL}}\sim \textit{Ra}_T^{-1/3}$
, matching that expected for a boundary layer in thermal convection (e.g. King et al. Reference King, Stellmach and Aurnou2012).
When the SSL is thicker, figure 6(b) shows a shallower slope
$\overline {{\textit{Nu}}}\sim h_{\textit{SSL}}^{-1/2}$
. The transition at
$\widetilde {{Ra}}_T\approx 50$
does not have a clear signature in figure 6(b), with the
$\overline {{\textit{Nu}}}(h_{\textit{SSL}})$
dependence remaining the same. On the other hand, figure 6(c) shows a sharp jump of more than an order of magnitude in the value of
$\overline {{\textit{Nu}}}-1$
at
$\widetilde {{Ra}}_T=50$
, which can be accounted for as a transition to turbulence, occurring at the same point as the first transition in figure 6(a).
We note that a boundary layer interpretation is also possible for
$\widetilde {{Ra}}_T\lt 50$
, with the scaling
$h_{\textit{SSL}}\sim \widetilde {{Ra}}_T^{-1/3}$
matching that obtained for a boundary layer in rotating thermal convection (King et al. Reference King, Stellmach and Aurnou2012). This suggests the SSL obtains the maximum size of a thermally unstable layer before the onset of convection. After the initial SC instability the system stabilises into the largest possible non-convecting region, with a convective zone beneath.
To summarise, the SSL generally scales as a thermal boundary layer. When
$\widetilde {{Ra}}_T\lt 50$
, the flow is non-turbulent,
$h_{\textit{SSL}}$
follows the scaling
$\widetilde {{Ra}}_T^{-1/3}$
for rotating thermal convection. For
$\widetilde {{Ra}}_T\gt 300$
, the thermal forcing outweighs rotation, and the SSL takes a scaling for non-rotation convection
$\textit{Ra}_T^{-1/3}$
. In between these limits, there is a transition range where the flow is both turbulent and influenced by rotation, and
$h_{\textit{SSL}}$
quickly transitions between the non-rotating and rotating boundary layers.
Time-averaged Reynolds number
$\overline {{\textit{Re}}}$
plotted as a function of
$\widetilde {{Ra}}_T$
for simulations with
$R_\rho =1.2$
,
${\textit{Pr}}=0.3$
,
$\textit{Sc}=3$
,
$\Delta R = 0.5$
, for (a)
$\textit{Ek}=10^{-4}$
, (b)
$10^{-5}$
and (c)
$10^{-6}$
. Blue points show the total Reynolds number, with orange and green showing the jet- and convection-based Reynolds numbers
$\overline {{\textit{Re}}}_{\textit{jet}}$
and
$\overline {{\textit{Re}}}_{{conv}}$
, respectively. Red circles mark simulations that are shown in detail in figure 8. Red and black dashed lines mark the positions of the transitions seen in figure 6, and green lines show the scaling
${\textit{Re}}_{{conv}}\sim \widetilde {{Ra}}_T$
. Black dashed line shows
$\textit{Ro}=0.1$
. (d) Mixing efficiency
$\overline {\chi }$
calculated in the long-term saturated state, plotted for three values of
$\textit{Ek}$
.

Figure 7. Long description
Panel A: A scatter plot shows the relationship between the Reynolds number (Re) and RaT for an Ekman number (Ek) of 10^-4. The x-axis represents RaT on a logarithmic scale, and the y-axis represents Re on a logarithmic scale. Blue points indicate the total Reynolds number, orange crosses show the jet-based Reynolds number, and green plus signs represent the convection-based Reynolds number. A green line shows the scaling Re RaT. Black and red dashed lines mark specific transitions. Panel B: Another scatter plot for Ek = 10^-5, with similar axes and markers. Red circles highlight specific simulations. Panel C: A scatter plot for Ek = 10^-6, with similar axes and markers. Panel D: A scatter plot shows the mixing efficiency as a function of RaT for three values of Ek. The x-axis represents RaT on a logarithmic scale, and the y-axis represents the mixing efficiency on a logarithmic scale. Different colors represent different Ekman numbers.
4.3. Behaviour of the saturated semi-convection field
We now consider the dynamics beyond the layered phase, when the system has saturated to a statistically steady state. In § 4.2 we noted two regimes, with the post-layered state consisting of either a single convective region, or a convective zone overlain by a SSL with a mostly zonal flow. To understand the signature of these regimes on the global properties of the flow, we define Reynolds numbers based on the zonal–toroidal (
$u_{\textit{ZT}}$
), and non-zonal–poloidal (
$u_{\textit{NZP}}$
) components of the velocity (from the poloidal–toroidal decomposition used by XSHELLS). The radial velocities are poloidal only and the zonal jets are toroidal only. Hence, the zonal–toroidal and non-zonal–poloidal components can be used as proxies for the strength of zonal jets and convective motions, respectively,
Figure 7(a–c) shows the dependence of
$\overline {{\textit{Re}}}$
,
$\overline {{\textit{Re}}}_{\textit{jet}}$
and
$\overline {{\textit{Re}}}_{{conv}}$
on
$\widetilde {{Ra}}_T$
along the transect
$R_\rho =1.2$
, for
$\textit{Ek}=10^{-4}$
,
$10^{-5}$
and
$10^{-6}$
. In general, as the forcing increases, the flow strength also increases. In § 4.2 we noted two visible transitions. These transitions are also visible in figure 7, with a sudden jump in the value of
$\overline {{\textit{Re}}}$
at
$\widetilde {{Ra}}_T = 50$
, and a saturation of the value of
$\overline {{\textit{Re}}}_{\textit{jet}}$
at
$\widetilde {{Ra}}_T\approx 300$
. For the majority of simulations,
$\overline {{\textit{Re}}}_{\textit{jet}}\gg \overline {{\textit{Re}}}_{{conv}}$
, with convective motions being more dominant only for the
$\textit{Ek}=10^{-4}$
transect where
$\widetilde {{Ra}}_T\gtrsim 300$
. Here, the outer SSL is thinner than
$(\textit{Ek}/{\textit{Pr}})^{1/2}$
(see figure 6). At fixed
$\textit{Ek}$
, there is a relatively good fit to the scaling
${\textit{Re}}_{{conv}}\sim \widetilde {{Ra}}_T$
, particularly for the smaller values of
$\textit{Ek}$
. Hereafter, we will refer to the regime with
$\widetilde {{Ra}}_T\lt 300$
as ‘jet dominated’, and
$\widetilde {{Ra}}_T\gt 300$
as ‘convection dominated’.
Figure 7(d) shows the mixing efficiency in the convective zone, calculated (following Vidal et al. Reference Vidal, Cébron, Schaeffer and Hollerbach2018) as
\begin{equation} \chi =1-\frac {\int _{R_1}^{R_2}\langle N^2\rangle _{S(r)} \mathrm{d}r}{\int _{R_1}^{R_2}\langle N^2_0\rangle _{S(r)} \mathrm{d}r}, \end{equation}
where
$\langle \boldsymbol{\cdot }\rangle _{S(r)}$
is the mean over the spherical surface at radius
$r$
, and
$R_1$
and
$R_2$
are defined by (4.16)–(4.17). This quantifies how well mixed the convective zone is, with
$\chi =0$
when there is no departure from the background density profile, and
$\chi =1$
when the convective zone is fully mixed to a constant density. Figure 7(d) shows that, in the jet-dominated regime,
$\overline {\chi }$
takes small values, but increases as a function of
$\widetilde {{Ra}}_T$
. By contrast,
$\overline {\chi }$
is large and relatively constant in the convective regime. This means that not only is the convective zone larger for values of
$\widetilde {{Ra}}_T\gt 50$
, but the convection itself is also more efficient for mixing.
To quantify the effect of rotation on the flow, it is common to define the Rossby number
When
$\textit{Ro}\lesssim 0.1$
, flows are considered to be rotationally constrained; above this limit, rotational effects are much less important. In figures 7(a) and 7(b),
$\textit{Ro}=0.1$
is marked with horizontal dotted lines; we see that for both values of
$\textit{Ek}$
, as the forcing increases,
${\textit{Re}}_{\textit{jet}}$
remains close to
$\textit{Re}$
until this cutoff is reached, but for
$\textit{Ro}\gt 0.1$
, the jet-based Reynolds number reaches a plateau. This cutoff corresponds relatively well with the jet–convection transition already identified at
$\widetilde {{Ra}}_T\approx 300$
. We note that the other transition, at
$\widetilde {{Ra}}_T\approx 50$
, occurs for
$\textit{Ro}=0.03$
. For the smallest value of
$\textit{Ek}$
surveyed, all simulations are strongly rotationally constrained, with a maximum value of
$\textit{Ro}\approx 0.01$
.
Figure 7 does not demonstrate a unified behaviour across different values of
$\textit{Ek}$
and the whole range of
$\widetilde {{Ra}}_T$
; we shall discuss how data collapse onto a single master curve later in § 5.
The transitions at
$\widetilde {{Ra}}_T=50$
and
$300$
are most obvious in the
$\textit{Ek}=10^{-4}$
transect, although are also present in the simulations with
$\textit{Ek}=10^{-5}$
. To look deeper into the nature of these transitions, figure 8 shows snapshots of the velocity and temperature fields, for four simulations labelled by their position along the
$\textit{Ek}=10^{-5}$
transect (cf. figure 7
b).
For
$\widetilde {{Ra}}_T\lt 50$
(labelled ‘4’ in figure 7
b), the flow is generally weak and laminar, with a prograde equatorial jet, retrograde flow at higher latitudes and some wave-like structures along the shear layer. The flow here is strongly rotationally constrained, with
$\textit{Ro}=0.006$
. The density perturbation is also rather weak, with a stable stratification retained throughout almost the entire domain, except a small patch near the equator. For simulation 9, with
$\widetilde {{Ra}}_T\gt 50$
, the flow is turbulent, with figures 8(b), 8(f) and 8(j) showing much more intense flows and greater disruption of the temperature field than in simulation 4. The effect of rotation is still very strong, with
$\textit{Ro}=0.03$
. Figure 8(n) shows that, for simulation 9, the zonal flow has a three-jet structure, with prograde flow at the poles and near the equator, and retrograde flow in between. The density field is separated into two clear layers; an inner convective zone with
$N^2_{\textit{axi}}\lt 0$
, and an outer SSL with
$N^2_{\textit{axi}}\gt 0$
.
For simulation 12, for a higher value of
$\widetilde {{Ra}}_T$
, but still beneath the jet–convection transition, the only major difference from simulation 9 is that the outer SSL is significantly narrower.
Finally, for
$\widetilde {{Ra}}_T\gt 300$
, simulation 17 shows very strong convective flows. Figure 8(l) shows that the zonal jets are rather broken up compared with the other simulations, and figure 8(p) shows that the zonal flow is on average weaker and the shear layers more smeared. Here, the effect of rotation is much weaker than the other simulations, with
$\textit{Ro}=0.11$
. The profile of
$N^2_{\textit{axi}}$
shows that the convective zone fills the entire domain, with no SSL visible anywhere. Note that, while the profile of
$N^2$
appears rather noisy, the colour bar has been chosen to highlight changes of sign (to clearly show the border of the convective and stable layers). In a well-mixed state,
$N^2$
is dominated by small-scale fluctuations around zero, resulting in the noisy profile visible in figure 8(p).
Snapshots of the four simulations marked by red circles in figure 7(b). Each column shows results from a single simulation (labelled at the top). Each row shows, respectively, equatorial slices of the temperature perturbation
$T$
, radial velocity
$u_r$
, azimuthal velocity
$u_\phi$
and meridional slices of the axisymmetric (
$m=0$
) part of the azimuthal velocity
$u_\phi ^{\textit{axi}}$
and axisymmetric squared Brunt–Väisälä frequency
$N^2_{\textit{axi}}$
.

Quantities describing the strength of convection for simulations along the transect
$R_\rho =1.2$
: (a) time-averaged Nusselt and Sherwood numbers on the outer boundary
$r=R_o$
, as a function of
$\widetilde {{Ra}}_T$
. (b) Time-averaged thermal, compositional and total convective power. Vertical dashed lines denote the positions of the transitions identified in figure 6. (c) Nusselt and Sherwood numbers plotted against convective Reynolds number
${\textit{Re}}_{{conv}}$
, scaled by
$\textit{Ek}^{1/3}$
. (d) Convective power plotted against
$\textit{Ek}^{-1/3}{\textit{Re}}_{{conv}}$
.

Figure 9. Long description
Panel A: A scatter plot shows the time-averaged Nusselt and Sherwood numbers on the outer boundary as a function of RaT. The x-axis is labeled RaT and the y-axis is labeled with a logarithmic scale ranging from 10^-4 to 10^1. Different symbols represent different Ekman numbers (Ek = 10^-4, 10^-5, 10^-6). The plot includes lines indicating slopes of 5/4 and 3/4. Panel B: A scatter plot displays the time-averaged thermal, compositional, and total convective power as a function of RaT. The x-axis is labeled RaT and the y-axis is labeled with a logarithmic scale ranging from 10^0 to 10^6. Different symbols represent different Ekman numbers. Vertical dashed lines denote transitions. Panel C: A scatter plot shows Nusselt and Sherwood numbers plotted against the convective Reynolds number, scaled by Ek^1/4. The x-axis is labeled Ek^1/4Re_conv and the y-axis is labeled with a logarithmic scale ranging from 10^-3 to 10^1. Different symbols represent different parameters. A line indicating a slope of 4/3 is included. Panel D: A scatter plot depicts convective power plotted against Ek^-1/5Re_conv. The x-axis is labeled Ek^-1/5Re_conv and the y-axis is labeled with a logarithmic scale ranging from 10^7 to 10^13. Different symbols represent different Ekman numbers. A line indicating a slope of 5/2 is included.
To quantify the turbulent transport in the flow, we show the trend in the Nusselt and Sherwood numbers on the outer boundary, as a function of
$\widetilde {{Ra}}_T$
. Figure 9(a) shows that, at all points,
$\overline {\textit{Sh}}-1$
is larger than
$\overline {{\textit{Nu}}}-1$
(as the diffusive transport is naturally lower for the slower-diffusing scalar). For smaller values of
$\widetilde {{Ra}}_T$
,
$\overline {{\textit{Nu}}}$
and
$\overline {\textit{Sh}}$
are both close to unity, representing very low levels of convection. As
$\widetilde {{Ra}}_T$
increases,
$\overline {{\textit{Nu}}}$
and
$\overline {\textit{Sh}}$
increase, scaling as
$(\overline {{\textit{Nu}}}-1),(\overline {\textit{Sh}}-1)\sim \textit{Ek}^{-1/6}\widetilde {{Ra}}_T^{5/4}=\textit{Ek}^{3/2}\textit{Ra}_T^{5/4}$
. The influence of rotation here is relatively small, and the power
$-1/6$
is not exact; a relatively good fit is found for
$\textit{Ek}^{-0.16\pm 0.1}$
. For comparison, Wood et al. (Reference Wood, Garaud and Stellmach2013) found
$\overline {{\textit{Nu}}}-1\sim \textit{Ra}_T^{1/3}$
for non-rotating, layered SC. For rapidly rotating thermal convection, Gastine et al. (Reference Gastine, Wicht and Aubert2016) found the upper limit on the power law to be
$\overline {{\textit{Nu}}}\sim \textit{Ek}^2\textit{Ra}_T^{3/2}/{\textit{Pr}}^{1/2}$
, while near to the onset of rotating convection
$\textit{Ra}_T^c$
, the scaling was
$\overline {{\textit{Nu}}}-1\sim \textit{Ra}_T/\textit{Ra}_T^c-1$
. The
$\textit{Ra}_T^{5/4}$
law that we obtain sits between these two limits.
The transition at
$\widetilde {{Ra}}_T=50$
is clearly visible in figure 9(a), with a marked jump of a factor of ten in both
$\overline {{\textit{Nu}}}-1$
and
$\overline {\textit{Sh}}-1$
, and a change in the scaling law to
$\textit{Ek}^{1/6}(\overline{\textit{Nu}}-1)\sim \widetilde {{Ra}}_T^{3/4\pm 1/4}$
. In the fingering regime, Monville et al. (Reference Monville, Vidal, Cébron and Schaeffer2019) found that
$\overline {{\textit{Nu}}}-1$
always remained small, meaning that the thermal transport was dominated by diffusion, allowing small-scale fingering patterns to develop. Here, by contrast,
$\overline {{\textit{Nu}}}-1$
achieves values larger than unity due to the vigorously convecting layer for larger values of
$\widetilde {{Ra}}_T$
.
The trend in the convective power
$P=P_T+P_C$
against
$\widetilde {{Ra}}_T$
, as well as the components
$P_T$
and
$P_C$
, is shown in figure 9(b). The data collapse to a master curve
$\textit{Ek}^{4/3}P\sim \widetilde {{Ra}}_T^2$
at low values of
$\widetilde {{Ra}}_T$
, with the slope shallowing to
$\widetilde {{Ra}}_T^{3/2}$
above the transition to turbulence at
$\widetilde {{Ra}}_T=50$
. Upon closer inspection, it can also be seen that, for
$\widetilde {{Ra}}_T\lt 50$
, the total power
$\overline {P}=\overline {P_T}+\overline {P_C}$
is very close to
$\overline {P_T}$
, with a small contribution from
$\overline {P_C}$
. However, for
$\widetilde {{Ra}}_T\gt 50$
,
$-\overline {P_C}$
becomes closer to
$\overline {P_T}$
, leading to a relative reduction in
$\overline {P}$
compared with
$\overline {P_T}$
. This matches the description of a convection-dominated flow, where both thermal and compositional fields are strongly disrupted by fluid motions, giving a value of
$\overline {P_C}$
that is close to
$-\overline {P_T}$
. Notably, the transition at
$\widetilde {{Ra}}_T=300$
is not visible in either the Nusselt/Sherwood numbers or the convective powers, similarly to what was observed in the flow snapshots.
Figures 9(c) and 9(d) show, respectively, the dependence of the Nusselt and Sherwood numbers, and the convective power, on the convective Reynolds number
${\textit{Re}}_{{conv}}$
. Fairly simple scalings are visible, with
$\overline {{\textit{Nu}}}-1$
and
$ \overline {\textit{Sh}}-1\sim (\textit{Ek}^{1/4}\overline {{\textit{Re}}}_{{conv}} )^{4/3}$
, and
$\overline {P}\sim (\textit{Ek}^{-1/5}\overline {{\textit{Re}}}_{{conv}} )^{5/2}$
. These simple scalings, based on
${\textit{Re}}_{{conv}}$
, rather than
$\textit{Re}$
, and in particular showing no significant change at the jet–convection transition, confirm that the majority of turbulent transport is done by convection, with a smaller contribution from the zonal jets.
5. Dynamo generation by semi-convection
To investigate the possibility of dynamos driven by SC, we now consider the full magneto-hydrodynamic Boussinesq equations, allowing
$\boldsymbol{b}$
to be non-zero in (2.3)–(2.6). We begin by discussing the favourable conditions for the dynamo to exist. The relative strength of the advection to diffusion terms in (2.6) can be characterised by the magnetic Reynolds number
where
$\textit{Pm}$
is the magnetic Prandtl number (cf. table 1). When
$\textit{Rm}\gg 1$
, advection dominates magnetic diffusion, and dynamo action is possible. In planetary conditions
$\textit{Pm}\ll 1$
, which imposes that
$\textit{Re}$
must be large to produce a self-sustaining dynamo. Referring to figure 7, this means that more intense forcing (i.e. larger values of
$\textit{Ra}_T$
) is preferable.
Dynamos are frequently classified in terms of the ratio of the magnetic energy to the kinetic energy, defined in dimensionless form as
When
$E_b/E_u\gt 1$
, the dynamo is said to be in the strong field regime; in this case, the magnetic field has an important feedback into the velocity. For
$E_b/E_u\lt 1$
, in the weak field regime, the magnetic field has a weaker effect on the flow.
Pružina et al. (Reference Pružina, Cébron and Schaeffer2025) demonstrated that SC can indeed lead to dynamo action at low magnetic Prandtl number. However, this initial study left many outstanding open questions. Notably, this paper focused on a single simulation, producing results relevant to a Jupiter-like configuration. A broader study is still required to understand how the form of the magnetic field depends on the flow structure and dimensionless parameters.
The simulation discussed by Pružina et al. (Reference Pružina, Cébron and Schaeffer2025) was in the jet-dominated regime, with the final state of the layered phase being an inner convective zone overlain by a stably stratified region. Fluid motions in this convective zone drive the dynamo to produce a magnetic field. Velocities are lower in the outer layer, although this alone does not necessarily prevent that region from also actively contributing to the dynamo (Avalos-Zuniga et al. Reference Avalos-Zuniga, Plunian and Gailitis2003).
To investigate the onset of the dynamo, we begin from the hydrodynamic simulations presented in § 4. Taking the saturated semi-convective state as an initial condition, we seed a random small-amplitude magnetic field perturbation and allow the system to evolve in time. After a short adjustment period, the magnetic field undergoes a exponential growth/decay phase; we identify a successful dynamo based on sustained growth of
$E_b$
.
5.1. Dynamo action: onset and self-sustained regime
Figure 10(a) summarises a number of simulations for a range of
$\textit{Ek}$
,
$\textit{Ra}_T$
,
$\textit{Ra}_C$
and
$\textit{Pm}$
, showing the value of
$\textit{Rm}$
achieved, and whether or not a dynamo developed. It is clear that in general, larger values of
$\overline {\textit{Rm}}$
produce dynamo action; although the onset varies strongly with
$\textit{Ek}$
and
$\textit{Pm}$
. However, defining the magnetic Reynolds number based on the full domain neglects the fact that the convective flow is rather weak in the outer SSL. We instead define a convective magnetic Reynolds number.
\begin{equation} \textit{Rm}_{{conv}}= \textit{Pm}{\textit{Re}}_{{conv}}\left (\frac {R_o^3-R_i^3}{R_2^3-R_1^3}\right )^{1/2}\frac {R_2-R_1}{R_o-R_i}. \end{equation}
where
$R_1$
and
$R_2$
are the inner and outer boundaries of the convective zone as defined by (4.16)–(4.17), and
$R_i$
and
$R_o$
are the inner and outer boundaries of the domain (such that
$h_{\textit{SSL}}=R_o-R_2$
). This new parameter is based on an assumption that the convective part of the kinetic energy is contained entirely in the convective region, introducing a factor of
$ ((R_o^3-R_i^3)/(R_2^3-R_1^3) )^{1/2}$
into the root -mean-square velocity. The factor of
$(R_2-R_1)/ (R_o-R_i)$
is due to rescaling the length in the definition of
$\textit{Re}$
.
Figure 10(b) shows the same data as panel (a), plotted with this new convective magnetic Reynolds number
$\overline {\textit{Rm}}_{{conv}}$
. Here, there is a more consistent trend in the onset of dynamo action across the values of
$\textit{Ek}$
, confirming that the dynamo is only active in the convective zone, and not in the SSL. For the range of
$\textit{Ek}$
studied, the critical value of
$\textit{Rm}_{{conv}}$
for dynamo action scales approximately with
$\textit{Ek}^{1/3}$
. This is a favourable regime for a geophysical setting, suggesting only small
$\textit{Rm}$
may be necessary for dynamo when planetary values of
$\textit{Ek}$
are considered. However, we note that the trend cannot hold to very low values of
$\textit{Ek}$
, otherwise the critical value of
$\textit{Rm}$
could become arbitrarily small.
Summary of a large number of dynamo simulations, for
${\textit{Pr}}=0.3$
,
$\textit{Sc}=3$
,
$R_\rho =1.2$
and a range of values of
$\textit{Ek}$
,
$\textit{Ra}_T$
,
$\textit{Ra}_C$
and
$\textit{Pm}$
, with (a)
$\overline {\textit{Rm}}$
and (b)
$\overline {\textit{Rm}}_{{conv}}$
plotted against
$\textit{Ek}$
. Dots and crosses (coloured by
$\textit{Pm}$
) designate simulations with successful and unsuccessful dynamos, respectively. Black dashed line in (b) represents an approximate scaling for the onset of dynamo.

Our simulations exist primarily in the weak field dynamo regime. Figure 11(a) shows the Rossby number
$\textit{Ro}=\textit{Ek}{\textit{Re}}$
against the reduced Rayleigh number
$\widetilde {{Ra}}_T$
, coloured by the ratio
$E_b/E_u$
(with hydrodynamic simulations shown as black crosses). The maximum value of
$E_b/E_u$
is
$7.4$
, with all but
$4$
strong field simulations having
$E_b/E_u\lt 1$
, and
$60\,\%$
of the simulations having
$E_b/E_u\lt 0.1$
. For reference, we expect a value in the range
$10^{-4}\lt E_b/E_u\lt 1$
for Jupiter (Pružina et al. Reference Pružina, Cébron and Schaeffer2025). In all cases, the Rossby number is not significantly affected by the magnetic field, with the MHD simulations broadly collapsing onto the same curve as the hydrodynamics simulations. Figure 11(b) shows
$\textit{Ro}$
against the convective Rossby number
$\textit{Ro}_C = \textit{Ek}\sqrt {\textit{Ra}_T/{\textit{Pr}}}$
, coloured by
$h_{\textit{SSL}}$
, which collapses better than in figure 11(a). The rotationally constrained (
$\textit{Ro}\lt 0.1$
) regime characteristic of planets is associated with a wide SSL (and small
$\widetilde {{Ra}}_T$
and
$\textit{Ro}_C$
), although all simulations except one produced
$\textit{Ro}\lt 1$
.
Rossby number
$\textit{Ro}=\textit{Ek}{\textit{Re}}$
plotted against (a) reduced Rayleigh number
$\widetilde {{Ra}}_T$
, coloured by the ratio of the magnetic to kinetic energies
$E_b/E_u$
, and (b) convective Rossby number
$\textit{Ro}_C$
, coloured by the size of the SSL. In (a), black crosses mark hydrodynamic simulations, while black and red dashed lines show the position of the transitions at
$\widetilde {{Ra}}_T=50$
and
$300$
, respectively. Black dotted lines show
$\textit{Ro}=0.1$
; below this value the flow is considered to be rotationally constrained.

Figure 11. Long description
Two scatter plots illustrate the relationship between Rossby number and other variables in convective fluids. Panel A: A scatter plot shows the Rossby number (Ro) on the vertical axis and the reduced Rayleigh number (RaT) on the horizontal axis. The data points are colored by the ratio of magnetic to kinetic energies (Eb/Eu). Black crosses mark hydrodynamic simulations, while black and red dashed lines indicate transitions at specific values. Black dotted lines show Ro = 0.1, below which the flow is considered rotationally constrained. Panel B: Another scatter plot displays the Rossby number (Ro) on the vertical axis and the convective Rossby number (RoC) on the horizontal axis. The data points are colored by the size of the SSL (h_SSL/ΔR).
The majority of our simulations were carried out with
$\Delta R=0.5$
,
${\textit{Pr}}=0.3$
and
$\textit{Sc}=3$
. While we conducted a small number of simulations with different values of
$\Delta R$
and
$\textit{Pr}$
, the Lewis number
${\textit{Le}}=\textit{Sc}/{\textit{Pr}}=10$
was kept constant. While this value is not far from the relevant value for gaseous planets (e.g.
${\textit{Le}} \approx 30$
in Jupiter, see Pružina et al. Reference Pružina, Cébron and Schaeffer2025), we cannot exclude a Lewis number dependence in the curves seen in figure 11. This moderate value of
${\textit{Le}}=10$
also somewhat limits the region of parameters where SC can be studied (see (3.10)); a larger value of
${\textit{Le}}$
would increase the range of
$R_\rho$
allowed in simulations from
$1 \leqslant R_\rho \leqslant 3.25$
in this paper to
$1 \leqslant R_\rho \lesssim 10$
for Jupiter.
5.2. Dipolarity: effect of flow structure
The magnetic fields of giant planets such as Jupiter and Saturn, as well as the Earth, are strongly dipolar, with Saturn’s field also being very axisymmetric. As such, it is of considerable interest to identify trends in the form of the magnetic field generated by the semi-convective dynamo. We quantify the dipolarity and axisymmetry using the dipole and axisymmetry fractions
\begin{eqnarray} f_{\textit{dip}} &=& \sqrt {\frac {\sum _{m=0}^1\left (2-\delta _{m0}\right )\left |\boldsymbol{b}\left (l=1,m,t\right )\right |^2}{\sum _{l\geqslant 1,m\geqslant 0}\left (2-\delta _{m0}\right )\left |\boldsymbol{b}\left (l,m,t\right )\right |^2}}, \end{eqnarray}
\begin{eqnarray} f_{{\textit{axi}}} &=& \sqrt {\frac {\sum _{l\geqslant 0}\left (2-\delta _{m0}\right )\left |\boldsymbol{b}\left (l,m=0,t\right )\right |^2}{\sum _{l\geqslant 1,m\geqslant 0}\left (2-\delta _{m0}\right )\left |\boldsymbol{b}\left (l,m,t\right )\right |^2}}, \end{eqnarray}
where
$l$
and
$m$
are spherical harmonic degree and order,
$\boldsymbol{b}(l,m,t)$
is the
$(l,m)$
component of the magnetic field at the surface of the simulation
$r=R_o$
and
$\delta _{ij}$
is the Kronecker delta function. Note that these definitions are not totally standardised: it is common to define
$f_{\textit{dip}}$
using a spectrum truncated at the maximum
$l$
of the current models of the target planet’s magnetic field, while
$f_{{\textit{axi}}}$
is not a widely used measure.
(a) Rescaled squared Reynolds number ratio
$(\overline {{\textit{Re}}_{\textit{jet}}}/\overline { {\textit{Re}}_{{conv}}})^2$
, and dipolar and axisymmetric fractions
$\overline {f_{\textit{dip}}}$
,
$\overline {f_{{\textit{axi}}}}$
, along a transect of dynamo simulations with
$\textit{Pm}=1$
,
${\textit{Pr}}=0.3$
,
$\textit{Sc}=3$
,
$\Delta R=0.5$
,
$\textit{Ek}=10^{-4}$
,
$R_\rho =1.2$
and
$6.2\times 10^6\geqslant \textit{Ra}_T\geqslant 2.6\times 10^8$
. (b–g) Snapshots of the surface radial magnetic field
$b_r$
, axisymmetric part of the radial velocity field
$u_r$
, axisymmetric part of the azimuthal velocity
$u_\phi$
and squared Brunt–Väisälä frequency
$N^2$
, for the two simulations indicated in black boxes in (a). (h–k) Magnetic energy spectra in spherical harmonic degree
$l$
and order
$m$
for each simulation, at a range of radii from the deep interior to the surface.

Figure 12(a) shows how the dipole and axisymmetry fractions vary along a transect of dynamo simulations with
$\textit{Pm}=1$
, as well as the ratio of the squared jet/convective Reynolds numbers (representing the ratio of jet/convective kinetic energies). It appears that high values of
$\overline {f_{\textit{dip}}}$
and
$\overline {f_{{\textit{axi}}}}$
are associated with the jet-dominated regime. Figure 12(b–g) shows snapshots of the magnetic field on the surface, the axisymmetric part of the velocity, and the squared Brunt–Väisälä frequency, for two simulations, one in the jet-dominated regime, and one where convection dominates. In the first simulation, the surface magnetic field is clearly strongly dipolar, with a clear partition between the two hemispheres. The velocity field is dominated by strong jets, with
$u_r$
significantly smaller in magnitude than
$u_\phi$
. Figure 12(f) shows a wide outer SSL. This simulation closely resembles that considered by Pružina et al. (Reference Pružina, Cébron and Schaeffer2025). By contrast, in the second simulation, the magnetic field (figure 12
c) displays much more fine structure, with large contributions from higher-
$l$
modes. The velocity jets are less columnar, and the radial velocity is closer in magnitude to the azimuthal velocity, showing a much higher proportion of energy in convection compared with jets than in figure 12(d). In figure 12(g), the convective zone takes up the entire domain, with much finer-scale density structures visible.
Figure 12(h–k) shows the magnetic energy spectra at a range of radii for each simulation; in both cases, the spectrum is rather flat in the interior, and does not change significantly in the convective region. Further out, in the SSL, the spectrum decays with radius, with the dipole (
$l=1$
) component decaying at the slowest rate. In the jet-dominated regime, a wide SSL means that the field has decayed significantly and become strongly dipolar by the time it reaches the surface. By contrast, in the convection-dominated regime, the SSL is very thin, so the structure of the field at the surface is rather similar to that deep inside the shell. The effect of radius on the
$m$
-spectra is similar, with the
$m\gt 0$
modes decaying more rapidly than
$m=0$
as radius increases, resulting in an axisymmetric-dominated field at the surface.
5.2.1. A recipe for planetary magnetic fields?
It has been proposed (e.g. Stevenson Reference Stevenson1982; Cao et al. Reference Cao, Russell, Christensen, Dougherty and Burton2011) that the magnetic field of Saturn is strongly axisymmetric and dipolar because of a SSL overlaying a convective zone where the field is generated. Simulations with an imposed SSL above the dynamo region confirm that this is possible (Yadav et al. Reference Yadav, Cao and Bloxham2022). Our simulations of SC show that this structure can be generated spontaneously by SC. With this in mind, we can identify the correct regions of parameter space to produce planet-like magnetic fields. A thick SSL is needed to filter the field, so a small-as-possible value of
$\widetilde {{Ra}}_T$
is preferable. However, velocities must also be large enough to generate a dynamo, so
$\widetilde {{Ra}}_T$
must also be large enough to provide these turbulent flows. As such, a value
$\widetilde {{Ra}}_T$
just greater than
$50$
should be ideal. Figure 6 showed that the scaling for
$h/\Delta R$
did not depend significantly on domain depth; therefore, a larger SSL can also be obtained by simulating a thicker shell.
Results from a simulation with
$\textit{Ek}=10^{-5}$
,
$\textit{Ra}_C=4.2\times 10^9$
,
$\textit{Ra}_T=3.5\times 10^8$
,
${\textit{Pr}}=0.3$
,
$\textit{Sc}=3$
,
$\textit{Pm}=1$
,
$\Delta R=0.8$
, showing (a) surface magnetic field
$b_r$
, (b) surface field when the fluid in
$0.7\leqslant r \leqslant 1$
is insulating and axisymmetric parts of the (c) magnitude of the magnetic field
$|\boldsymbol{b}|$
, and radial magnetic field
$|b_r|$
(d) square of the Brunt–Väisälä frequency
$N^2$
, (e) radial and azimuthal velocity, (f)
$l$
-spectrum and (g)
$m$
-spectrum of the magnetic energy at a range of radii, with the surface spectra for the insulating outer layer case shown as blue dashed lines. The boundary between convective and stably stratified regions, and the inner boundary of the fluid domain, are marked on the polar plots in white/black.

Figure 13. Long description
Panel A: Two ellipsoid visuals show the surface magnetic field with a color gradient ranging from -40 to 40. Panel B: Another ellipsoid visual displays the surface field when the fluid is insulating, using a similar color gradient. Panel C: A polar plot illustrates the axisymmetric part of the magnetic field magnitude, with a color scale from 10^-1 to 10^3. Panel D: A polar plot shows the square of the Brunt-Väisälä frequency, with a color scale from -2.5 to 7.5 x 10^20. Panel E: A polar plot depicts radial and azimuthal velocity, with a color scale from -500 to 500. Panel F: A line graph shows the l-spectrum of magnetic energy at various radii, with different colored lines representing different radii and blue dashed lines for the surface spectra in the insulating outer layer case. Panel G: Another line graph displays the m-spectrum of magnetic energy at various radii, with similar color coding as Panel F. The boundary between convective and stably stratified regions, and the inner boundary of the fluid domain, are marked on the polar plots in white and black.
Based on these criteria, we present the results of a simulation for
$\textit{Ek}=10^{-5}$
,
$\textit{Ra}_C=4.2\times 10^9$
,
$\textit{Ra}_T=3.5\times 10^8$
,
${\textit{Pr}}=0.3$
,
$\textit{Sc}=3$
,
$\textit{Pm}=1$
, in a shell with
$\Delta R=0.8$
. Note that these parameter values are rather moderate, so the simulation is not particularly computationally challenging, with a resolution of only
$(N_R,N_l,N_m)=(256,200,200)$
in the radial direction and spherical harmonic
$l$
and
$m$
. These values are chosen such that
$\widetilde {{Ra}}_T=75$
; just beyond the transition. Figure 13(a) shows the surface radial magnetic field for this simulation; the field is very strongly dipolar and axisymmetric. This field is also rather strong, compared with the majority of our simulations, with an energy ratio of
$E_b/E_u = 1.52$
. For comparison, figure 13(b) shows the surface field if the fluid in the layer
$r_L\leqslant r\leqslant 1$
is insulating (calculated by setting the toroidal component of
$\boldsymbol{b}$
to zero for
$r\gt r_L$
, and the imposing poloidal component
$P(r) = P(r_L) \times (r/r_L)^{-l-1}$
, with
$r_L=0.7$
). This ‘truncated’ field is noticeably less dipolar and axisymmetric than the full field, and in general shows larger-scale structures.
Figure 13(c–e) shows the axisymmetric (
$m=0$
) part of the magnitude of the total and radial magnetic fields, squared Brunt–Väisälä frequency and azimuthal and radial velocity fields. The black line shows the boundary between the convective zone and SSL. Inside the convective zone, the radial and azimuthal velocities are of a similar magnitude, and there is a strong magnetic field; in the SSL, the radial velocity becomes small, and the strength of the magnetic field drops (particularly the radial component).
Figure 13(f–g) shows spectra of the magnetic energy at a range of radii; deep in the interior, the
$l$
and
$m$
spectra are both rather flat, with no variation with depth. Closer to the surface, the power drops off sharply with radius, resulting in a surface field with very strongly dominant dipole (
$l=1$
) and axisymmetric (
$m=0$
) components, with
$\overline {f_{\textit{dip}}}=0.95$
and
$\overline {f_{{\textit{axi}}}}=0.99$
. Saturn’s magnetic field has dipole and axisymmetric fractions of
$f_{\textit{dip}}\approx 0.99$
and
$f_{{\textit{axi}}}\approx 0.985$
(Cao et al. Reference Cao, Dougherty, Hunt, Provan, Cowley, Bunce, Kellock and Stevenson2020), so our simulation compares rather favourably. The blue dashed lines in figure 13(f–g) show the surface power spectra of the truncated magnetic field (with an insulator for
$r_L\leqslant r\leqslant 1$
). Compared with the full spectra, these profiles show a slower decay at low values of
$l$
and
$m$
, with values of
$\overline {f_{\textit{dip}}}=0.87$
and
$\overline {f_{{\textit{axi}}}}=0.92$
– markedly smaller than for the full magnetic field. This greater dominance of
$l=1$
and
$m=0$
of the full field demonstrates that the flow in the SSL actively filters the magnetic field, rather than simply acting as an insulating layer where the field decays (as discussed by, e.g. Stevenson Reference Stevenson1982).
6. Conclusions
In recent years, significant attention has been focused on double-diffusive convection in astrophysical bodies, with new structure models of gas giants proposing that large regions of planetary cores may be unstable to SC. With this in mind, we have presented a detailed numerical study of SC in rotating spherical shells, in the low-
$\textit{Pr}$
regime appropriate for these astrophysical applications, with the additional motivation of producing a planetary-like dynamo.
6.1. Results summary
We have performed a large number of numerical simulations of SC using the XSHELLS spherical harmonic solver, for several Ekman numbers and a wide range of thermal and compositional Rayleigh numbers. We summarise the different varieties of flow in the regime diagram in figure 14. High resolution plots characteristic of the two main flow regimes of interest are shown in figure 15.
Regime diagram showing the variety of flows observed in rotating SC in spherical shells. (a) General sketch in
$\textit{Ra}_C$
–
$\textit{Ra}_T$
space; (b) for
$\textit{Ek}^{-5}$
,
${\textit{Pr}}=0.3$
,
$\textit{Sc}=3$
in
$\textit{Ra}_T$
–
$R_\rho$
space. The coloured lines and areas are consistent between the two panels. In the grey and green regions, the flow first develops density layers, followed by either zonal jets and a wide SSL, or a convective region spanning the domain.

Examples of the two main flow regimes seen in our simulations, showing the density anomaly
$-\delta \rho =(T+T_0)-(C+C_0)$
, Brunt–Väisälä frequency
$N^2$
and radial and azimuthal velocities, in meridional slices. Each simulation is shown at two times; one in the layered phase, and one in the final state. Panels (a–d) show a simulation for
$\widetilde {{Ra}}_T=125$
that forms two layers, and finishes in the jet-dominated regime; (e–h) show a three-layer simulation with
$\widetilde {{Ra}}_T=12000$
that develops into the convection-dominated regime.

Figure 15. Long description
The image contains eight circular graphs arranged in two rows and four columns. Each graph represents different flow regimes in simulations, showing density anomaly, Brunt-Väisälä frequency, and radial and azimuthal velocities in meridional slices. The graphs are labeled with specific parameters and times. Panels (a) to (d) show a simulation that forms two layers and finishes in the jet-dominated regime. Panels (e) to (h) show a three-layer simulation that develops into the convection-dominated regime. Each panel is divided into two halves, with the left half showing the density anomaly and Brunt-Väisälä frequency, and the right half showing the radial and azimuthal velocities. The graphs use color gradients to represent different values and include labels for specific parameters and times.
In general, we considered simulations along transects with a constant density ratio
$R_\rho =1.2$
, passing through the ‘weak SC’, ‘Jets, SSL’ and ‘Convection’ regimes seen in figure 14. Note that, for constant
$R_\rho$
, increasing the thermal forcing
$\textit{Ra}_T$
also increases the compositional stratification
$\textit{Ra}_C$
at the same rate. We also considered limited number of other simulations with
$\textit{Ra}_C=5\times 10^9$
fixed, and
$1\leqslant R_\rho \leqslant 3.3$
.
Past the onset of rotating SC, for weak thermal forcing (region A in figure 14
b), the SC instability grows, eventually saturating in a weakly nonlinear state, with transport happening almost entirely by diffusion. When the forcing is stronger, however, complex nonlinear behaviour is seen (regions B and C). After an exponential growth phase, well-mixed layers of relatively constant density develop, separated by interfaces with large density gradients. Layering follows the widely accepted
$\gamma$
-instability, which states that layers will develop if the ratio of the thermal to compositional fluxes decreases as a function of the ratio of their gradients (Radko Reference Radko2003; Rosenblum et al. Reference Rosenblum, Garaud, Traxler and Stellmach2011; Mirouh et al. Reference Mirouh, Garaud, Stellmach, Traxler and Wood2012). However, the scale on which these layers form scales with
$({\textit{EkRa}}_T)^{-1/3}$
, so if the thermal forcing is not sufficiently strong, the domain is not large enough for layers to form. This layer size contrasts with the scaling
$\textit{Ra}_T^{-1/4}$
for non-rotating SC (Mirouh et al. Reference Mirouh, Garaud, Stellmach, Traxler and Wood2012).
The layers merge over a time scale
$\sim ({\textit{EkRa}}_T)^{-1}$
, via a pattern where relatively weak interfaces grow progressively weaker, while strong interfaces intensify (the B-merger of Radko Reference Radko2007). For strong forcing and weak influence of rotation (region C in figure 14
b, with an example shown in figure 15
f,h), the layers eventually merge to a single convective region occupying almost the entire domain, with only narrow stably stratified boundary layers at the top and bottom. However, for weaker forcing and more dominant rotation (region B, figure 15
e,g), a remnant of the layers remains, with an inner convective region overlain by a SSL. In this case, the flow is dominated by strong zonal jets, with convective motions being relatively weaker.
The transition between these two regimes is controlled by the Rossby number. When
$\textit{Ro}\lesssim 0.03$
, the SSL is identified as a thermal boundary layer influenced by rotation, with its height
$h_{\textit{SSL}} \sim \textit{Ek}^{-4/9}\textit{Ra}_T^{-1/3}$
, resulting in the wide SSL seen in figure 15(b). Where
$\textit{Ro}\gtrsim 0.1$
, there is instead a non-rotating boundary layer scaling
$h_{\textit{SSL}}\sim \textit{Ra}_T^{-1/3}$
. This much narrower boundary layer results in the very wide convective zone in figure 15(f). In between these two regimes, there is a continuous transition, where
$h_{\textit{SSL}}$
varies quickly. We note that, while the initial layered phase is only a short-term transient, it is essential for the development of large-scale density anomalies. Where layering does not occur (either because there is no
$\gamma$
-instability, or because the domain is not large enough for layers to form), only weak flows develop, and the density perturbation remains very small (region A in figure 14).
This distinction between convective and SSL regimes has not been documented in previous studies, which have primarily focused on a periodic box geometry. In rotationally constrained spherical flows, the tendency to form columnar structures is in competition with the radial merging and mixing behaviour of SC, resulting in the jet-dominated regime where the SSL is significant.
In general, the flow strength (measured by the Reynolds number) increases with forcing (measured by
$\widetilde {{Ra}}_T$
). When the SSL is large, the flow is dominated by zonal jets in the SSL, with convective motions confined to the inner convective region. As the SSL reduces in size, the relative strength of zonal jets reduces, with convective motions becoming dominant at the
$h_{\textit{SSL}}\sim (\textit{Ek}/{\textit{Pr}})^{1/2}$
transition. All our simulations collapse onto a single master curve for
$\textit{Ro}$
in terms of the convective Rossby number
$\sqrt {\textit{Ra}_T\textit{Ek}^2/{\textit{Pr}}}$
, with rotationally constrained flows (
$\textit{Ro}\lt 0.1$
) corresponding to the jet-dominated, wide-SSL regime.
MHD simulations reveal that the flow regime (jet or convection dominated) has a significant effect on the magnetic field. In the jet-dominated regime, the dynamo exists in the deep convection region, with the magnetic field smoothed out within the SSL, resulting in a weak surface field dominated by the dipolar, axisymmetric components. This smoothing in the SSL is more efficient than a simple insulating layer, resulting in stronger dipole and axisymmetry fractions, which implies that strong zonal flows in the SSL actively filter the field to produce a strong axial dipole dominance. In convection-dominated simulations, the full multipolar field survives to the surface, with a relatively flat spectrum barely altered by a very thin stably stratified thermal boundary layer.
Stably stratified layers are thus good candidates to produce axisymmetric magnetic field similar to the one of Saturn. When the SSL is large enough to filter the magnetic field, while still keeping vigorous convection below, the system generates an axisymmetric planetary-like magnetic field. We note, however, that even without the SSL, it is possible to generate a planetary-like magnetic field in a thin convective layer (e.g. Schaeffer et al. Reference Schaeffer, Labrosse and Aurnou2025).
This mechanism of a deep SSL filtering the magnetic field to result in the observed dipolar/axisymmetric field has been theorised for several decades (e.g. Stevenson Reference Stevenson1982), and in recent years simulations with an imposed SSL above a convective zone have produced results that compare very favourably with the magnetic field of Saturn (Yadav et al. Reference Yadav, Cao and Bloxham2022). Our work demonstrates that both the convective layer generating the field, and the SSL to filter it, can be the result of the self-organisation of the fluid, in a region with an initially semi-convective density profile. The dipole and axisymmetry fractions of the magnetic field in our simulation compare favourably with those observed in Saturn (Cao et al. Reference Cao, Dougherty, Hunt, Provan, Cowley, Bunce, Kellock and Stevenson2020). We do not consider other metrics, such as flow structure or dipole tilt, as we do not claim to present a planetary model in this study, but rather to demonstrate the possible applications of a dynamo generated by SC layering, and spark interest for future studies.
6.2. Perspectives
To comment on planetary applications of this work, it is necessary to consider the vastly different parameters in real planets compared with our simulations. For Jupiter, Pružina et al. (Reference Pružina, Cébron and Schaeffer2025) gave the estimates
${\textit{Pr}}\approx 0.07$
,
$\textit{Sc}\approx 2$
and
$\textit{Ek}=O(10^{-19})$
. Mirouh et al. (Reference Mirouh, Garaud, Stellmach, Traxler and Wood2012) found that increasing
${\textit{Le}}$
and decreasing
$\textit{Pr}$
both increased the value of
$R_{\rho ,layer}$
, resulting in significantly larger regions B and C in figure 14(b). Likewise, the much smaller value of
$\textit{Ek}$
in planets means that the bottom boundary of the layering region (marked
${\textit{EkRa}}_T=1000$
) will be below the onset of instability itself, so layering is always expected in regions with appropriate values of
$R_\rho$
. Hence, for planetary parameters, it appears highly likely that the behaviour in regime B is relevant. With the characterisation of the SSL in regime B as the maximum size of a diffusive layer in rotating convection, it is possible that measurements of the stable layer size could contribute to constraining the heat flux in planets.
In this work, we have made a number of assumptions that should be discussed. Firstly, we considered the Boussinesq equations, neglecting differences in density except in conjunction with gravitational acceleration. For planetary applications, the validity of this approximation hinges on density variations being fairly small across the SC region. In reality, the density is expected to vary rather significantly, especially for larger SC regions as proposed for Saturn. However, for an initial survey, and from hydrodynamic interest, the Boussinesq approximation reveals a lot about the dynamics of SC. Being simpler computationally than alternatives (such as the anelastic approximation), it allows the investigation of more extreme parameter values.
We adopted constant-value boundary conditions on
$T$
and
$C$
to approximate the effect of convective regions above and below the semi-convective layer, which may not be strictly accurate (particularly for Saturn, where a convective zone is not necessarily expected for
$r\lt R_i$
). In the layered phase of evolution, our simulations are subject to the
$\gamma$
-instability followed by layer mergers, similarly to periodic box simulations of SC. The same behaviour has also been documented recently with fixed-flux conditions in Cartesian boxes (Tulekeyev et al. Reference Tulekeyev, Garaud, Idini and Fortney2024) and full spheres (Fuentes Reference Fuentes2025), suggesting that these layering behaviours are generic. For comparison, we have run a small number of preliminary simulations with fixed-flux conditions, and find that the transition between jet-dominated and convection-dominated regimes appears to still be present; further study will be required to say more about the effect of the boundary conditions.
We also assumed that both gravitational acceleration and electrical conductivity (influencing the magnetic diffusivity) were constant with depth. In planetary SC, neither of these assumptions is strictly true, and allowing for a variable conductivity would be an interesting and useful extension to this work. Similarly, allowing for the density ratio
$R_\rho$
to vary in space would provide a more realistic planetary simulation.
Several planetary models explain the decrease with radius of helium concentration as ‘helium rain’ (e.g. Howard et al. Reference Howard, Müller and Helled2024). With a saturation concentration
$C_s(T)$
defined as a function of temperature, any composition exceeding this value
$C\gt C_s$
is considered to condense, leading to a ‘moist convection’ model. Leconte et al. (Reference Leconte, Selsis, Hersant and Guillot2017) show that, in the limit of fast condensation, SC is completely suppressed, causing no fluid motion. They suggest that gas giants are indeed in this limit, which would imply that, in the helium rain layer, heat transfer occurs only through radiation. However, if condensation is not totally instantaneous, SC may not be fully inhibited, and the inclusion of a SC region can explain all the observed gravitational and atmospheric constraints for Jupiter and Saturn (Leconte & Chabrier Reference Leconte and Chabrier2012). A further extension could be made to this work by the inclusion of condensation, as a third process competing against SC and rotation.
Acknowledgements
The authors thank F. Debras for discussions about the existence of SC layers in gaseous planets, and their potential to drive a dynamo. We also thank J. Vidal for assistance with the SINGE code. We additionally thank three anonymous referees for their help to improve the manuscript.
Funding
Work funded by the ERC under the European Union’s Horizon 2020 research and innovation program via the THEIA project (grant agreement no. 847433), by the European High-Performance Computing Joint Undertaking under grant agreement 101093038 (ChEESE-2P) and by the NumPEx PEPR program ANR-22-EXNU-0006. Computations on the GRICAD infrastructure (https://gricad.univ-grenoble-alpes.fr), and HPC resources (Jean Zay V100 and H100) of IDRIS under allocation AD010413621 and A0160407382 attributed by GENCI (Grand Equipement National de Calcul Intensif).
Declaration of interests
The authors report no conflict of interest.
Data availability statement
Summary data of all the simulations are available at https://doi:10.5281/zenodo.18314793.
Author contributions
P.P. produced the simulations, the figures, and the draft. D.C. came up with the initial research concept, and obtained the funding. N.S. modified the numerical code and helped with computations. D.C. and N.S. obtained computation hours from GENCI. All authors discussed each step of the work and the results; all edited the final manuscript.
Appendix A. Linear stability of semi-convection in a rotating spherical shell
In this appendix, we report on the linear onset of instability, determining the shape of the unstable regions in Rayleigh-number space and the dependence on the Ekman number. For three values of
$\textit{Ek}$
, we find the onset of instability for a wide range of values of
$\textit{Ra}_C$
. We first show results with fixed-value boundary conditions (2.9) on
$T$
and
$C$
, before briefly discussing the effect of fixed-flux conditions.
We use the SINGE linear eigensolver (Vidal & Schaeffer Reference Vidal and Schaeffer2015; Monville et al. Reference Monville, Vidal, Cébron and Schaeffer2019) to find the onset of instability. At each value of
$\textit{Ra}_C$
, and each spherical harmonic order
$m$
, SINGE finds the critical value
$\textit{Ra}_T^c(\textit{Ra}_C,m)$
such that the growth rate of the eigenmode is
We define the critical Rayleigh number as
For thermal convection (i.e.
$\textit{Ra}_C=0$
) in a rotating spherical shell, Dormy et al. (Reference Dormy, Soward, Jones, Jault and Cardin2004) found that, in the limit of low
$\textit{Ek}$
, the onset of instability followed the scaling
$\textit{Ra}_{T,\textit{crit}}\sim \mathcal{R}_0\textit{Ek}^{-4/3} + \mathcal{R}_1\textit{Ek}^{-1}$
for a relatively thin shell (
$\Delta R = 0.35$
). We begin by confirming that this extends to our wider shell by using SINGE to find the critical value
$\textit{Ra}_{T,\textit{crit}}(0)$
for three values of
$\textit{Ek}$
. These values are reported in table 2, and fit the scaling of Dormy et al. (Reference Dormy, Soward, Jones, Jault and Cardin2004) perfectly.
Critical Rayleigh number and spherical harmonic order at the onset of rotating thermal convection
$\textit{Ra}_T^{\textit{rot}}=\textit{Ra}_{T,\textit{crit}}(\textit{Ra}_C=0)$
for three values of
$\textit{Ek}$
. These values follow the scaling
$\textit{Ra}_T^{\textit{rot}}\sim 0.28\textit{Ek}^{-4/3} + 30\textit{Ek}^{-1}$
, matching the theory of Dormy et al. (Reference Dormy, Soward, Jones, Jault and Cardin2004). For completeness, we also give the drift rate
$\omega _{crit}$
, in units of viscous time.

Table 2. Long description
A table with four columns and three rows. The columns are labeled Ek, Ra_T,crit, m_crit, and omega_crit. The row labels are 10^-4, 10^-5, and 10^-6. Row 1: Ek, 10^-4; Ra_T,crit, 3.45 x 10^5; m_crit, 8; omega_crit, -5.93 x 10^2. Row 2: Ek, 10^-5; Ra_T,crit, 4.24 x 10^6; m_crit, 16; omega_crit, -2.84 x 10^3. Row 3: Ek, 10^-6; Ra_T,crit, 5.74 x 10^7; m_crit, 28; omega_crit, -1.89 x 10^4.
Linear onset of SC computed with SINGE, for
$\Delta R=0.5$
,
${\textit{Pr}}=0.3$
,
$\textit{Sc}=3$
, with three values of
$\textit{Ek}$
and spherical harmonic orders
$1\leqslant m\leqslant 40$
. Each dot shows the minimum
$\textit{Ra}_T$
for instability, at that choice of
$\textit{Ra}_C$
and
$m$
. Diagonal lines show (red)
$\textit{Ra}_T=\textit{Ra}_C$
, (blue)
$\textit{Ra}_T=\textit{Ra}_C/{\textit{Le}}$
and (green) the limit of non-rotating SC given by
$\textit{Ra}_T^{\textit{SC}}$
, and horizontal black lines show the limit of rotating convection reported in table 2.

Figure 16. Long description
Three scatter plots depict the relationship between RaT and RaC for different values of Ek. Panel A shows the scatter plot for Ek = 10^-4, Panel B for Ek = 10^-5, and Panel C for Ek = 10^-6. Each plot has logarithmic scales on both the x-axis (RaC) and y-axis (RaT). The color of the dots represents the value of m, ranging from 5 to 30 as indicated by the color bar on the right. Diagonal lines in each plot represent different theoretical limits: red for RaT = RaC, blue for RaT = RaC^2, and green for RaT = RaC^3. Horizontal black lines indicate the limit of rotating convection. Each dot represents the minimum for instability at a specific choice of parameters. The plots show how the relationship between RaT and RaC changes with different values of Ek and m.
Figure 16 shows the onset of instability in Rayleigh-number space, for three values of
$\textit{Ek}$
. For a range of values of
$\textit{Ra}_C$
,
$\textit{Ra}_T^c(\textit{Ra}_C,m)$
is plotted, i.e. the minimum value of
$\textit{Ra}_T$
for instability at that value of
$\textit{Ra}_C$
and
$m$
, coloured by the value of
$m$
. For small values of
$\textit{Ra}_T$
, the system is stable; as
$\textit{Ra}_T$
increases, the critical threshold
$\textit{Ra}_{T,\textit{crit}} (\textit{Ra}_C )$
is passed and the system becomes unstable. For each value of
$\textit{Ek}$
, there are two limiting regimes for the global onset; that of rotating convection, where
$\textit{Ra}_{T,\textit{crit}}\sim \textit{Ra}_T^{\textit{rot}}\sim \textit{Ek}^{4/3}$
(cf. table 2), and that of non-rotating SC, where
$\textit{Ra}_{T,\textit{crit}}\sim \textit{Ra}_T^{\textit{SC}}$
(see (3.8)). The critical Rayleigh number attains the maximum of these two limits
$\textit{Ra}_{T,\textit{crit}}\sim \text{max}\{\textit{Ra}_T^{\textit{rot}},\textit{Ra}_T^{\textit{SC}}\}$
, except in a transition region where the limits are of similar size. The onset of instability is at small scale (large
$m$
) for
$\textit{Ra}_C\lesssim \textit{Ra}_T^{\textit{rot}}$
, and large scale (
$m=1$
) for
$\textit{Ra}_C\gtrsim \textit{Ra}_T^{\textit{rot}}$
For each individual value of
$m$
, the onset curve follows a similar overall trend to the global onset, with
$\textit{Ra}_T^c(m)$
tending to a constant value at low
$\textit{Ra}_C$
, and parallel to
$\textit{Ra}_T^{\textit{SC}}$
at high
$\textit{Ra}_T$
. However, in the transition region near
$\textit{Ra}_C\approx \textit{Ra}_T^{\textit{rot}}$
, the behaviour is more complex. Large values of
$m$
show a smooth transition between the two limits. For smaller
$m$
, the onset curve forms a ‘tongue’ for
$\textit{Ra}_C/{\textit{Le}}\leqslant \textit{Ra}_T\leqslant \textit{Ra}_C$
, extending the unstable range below the small
$\textit{Ra}_C$
limit for that value of
$m$
. For
$\textit{Ek}=10^{-4}$
and
$10^{-5}$
, this tongue does not affect the overall region of instability. However, for
$\textit{Ek}=10^{-6}$
, at the smallest values of
$m$
, the tongue reaches values of
$\textit{Ra}_T$
beneath the rotating convection limit, slightly extending the unstable region
The existence of this tongue, where, as the stabilising gradient
$\textit{Ra}_C$
is increased, the forcing required for instability
$\textit{Ra}_{T,\textit{crit}}$
decreases, fits with the findings of Busse (Reference Busse2002) and Monville et al. (Reference Monville, Vidal, Cébron and Schaeffer2019). They found that the tongue extended the range of instabilities for all values of
$\textit{Ek}$
tested, rather than only the smaller ones. However, Monville et al. (Reference Monville, Vidal, Cébron and Schaeffer2019) considered fixed-flux boundary conditions on
$T$
and
$C$
, compared with our fixed-value conditions.
Figure 17 shows the onset of rotating SC, for fixed-flux boundary conditions
and a reduced selection of values of
$m$
compared with figure 16. We see that, for both
$\textit{Ek}=10^{-4}$
and
$10^{-5}$
, the tongue reported by Monville et al. (Reference Monville, Vidal, Cébron and Schaeffer2019) for the fingering regime is present, with
$\textit{Ra}_{T,\textit{crit}}$
reduced significantly below the onset of rotating convection. This contrasts with figure 16, where the tongue only extended
$\textit{Ra}_{T,\textit{crit}}$
beneath
$\textit{Ra}_T^{\textit{rot}}$
for
$\textit{Ek}=10^{-6}$
.
Linear onset of rotating SC with fixed temperature and salinity flux boundary conditions, for
$\Delta R = 0.5$
,
${\textit{Pr}}=0.3$
,
$\textit{Sc}=3$
, with two values of
$\textit{Ek}$
and spherical harmonic orders
$0\leqslant m\leqslant 20$
. Diagonal lines show (red)
$\textit{Ra}_T=\textit{Ra}_C$
, (blue)
$\textit{Ra}_T=\textit{Ra}_C/{\textit{Le}}$
and (green) the limit of rotating SC given by
$\textit{Ra}_T^{\textit{SC}}$
. Horizontal black dashed lines show the limit of rotating thermal convection (at
$\textit{Ra}_C=0$
).




Ek=10−4
Pr=0.3
Sc=3
ΔR=0.5
Rρ=1.2
RaT=3.52×106
RaT=1.11×108
Re
C
ur
uϕ
γ¯
Rρ
RaC=5×109
1⩽Rρ⩽3.3
Pr=0.3
Sc=3
ΔR=0.5
Ek=10−4
γ¯
Rρ,onset=3.17
Re¯
Rρ/Le
m=0
C0+Caxi
Nl
EkRaT
Rρ=1.2
Ek=10−4
10−5
Pr=0.3
Sc=3
ΔR=0.5
Ek=10−4
Caxi
Ctot=Caxi+C0(r)
Caxi
C0(r)
Ctot(r)
Ctot(r)
RaT=1.15×107
RaT=4.2×108
C
C
tlayer
hSSL
Ra~T
(Pr/Ek)1/2hSSL
Nu¯
Ra~T
Ek
Rρ
Pr
ΔR
hin
h
Nu¯
(Pr/Ek)1/2hSSL
Ek1/3Nu¯
Nu¯
Ek
Ra~T≈300
Ra~T=300
hSSL(Ra~T)
Re¯
Ra~T
Rρ=1.2
Pr=0.3
Sc=3
ΔR=0.5
Ek=10−4
10−5
10−6
Re¯jet
Re¯conv
Reconv∼Ra~T
Ro=0.1
χ¯
Ek
T
ur
uϕ
m=0
uϕaxi
Naxi2
Rρ=1.2
r=Ro
Ra~T
Reconv
Ek1/3
Ek−1/3Reconv
Pr=0.3
Sc=3
Rρ=1.2
Ek
RaT
RaC
Pm
Rm¯
Rm¯conv
Ek
Pm
Ro=EkRe
Ra~T
Eb/Eu
RoC
Ra~T=50
300
Ro=0.1
(Rejet¯/Reconv¯)2
fdip¯
faxi¯
Pm=1
Pr=0.3
Sc=3
ΔR=0.5
Ek=10−4
Rρ=1.2
6.2×106⩾RaT⩾2.6×108
br
ur
uϕ
N2
l
m
Ek=10−5
RaC=4.2×109
RaT=3.5×108
Pr=0.3
Sc=3
Pm=1
ΔR=0.8
br
0.7⩽r⩽1
|b|
|br|
N2
l
m
RaC
RaT
Ek−5
Pr=0.3
Sc=3
RaT
Rρ
−δρ=(T+T0)−(C+C0)
N2
Ra~T=125
Ra~T=12000
RaTrot=RaT,crit(RaC=0)
Ek
RaTrot∼0.28Ek−4/3+30Ek−1
ωcrit
ΔR=0.5
Pr=0.3
Sc=3
Ek
1⩽m⩽40
RaT
RaC
m
RaT=RaC
RaT=RaC/Le
RaTSC
ΔR=0.5
Pr=0.3
Sc=3
Ek
0⩽m⩽20
RaT=RaC
RaT=RaC/Le
RaTSC
RaC=0