# Stellar convection simulations

A. Sacha Brun and Mark S. Miesch (2008), Scholarpedia, 3(11):4278. | doi:10.4249/scholarpedia.4278 | revision #91822 [link to/cite this article] |

The understanding of the structure and evolution of stars is a longstanding problem in astrophysics, first addressed quantitatively by Eddington in 1926. Central to this problem is the description of stellar turbulent convection and how it transports heat and energy, how it redistributes angular momentum to yield large scale flows such as differential rotation and meridional circulation, and how it generates, maintains and organizes magnetic fields (see below).

## Contents |

## General Astrophysical Context

Stars are dynamic objects, as dramatically demonstrated by our closest example, the Sun. The surface of the Sun seethes with turbulent convective motions and larger-scale flows that also persist deep below the surface as revealed by helioseismology (Gough & Toomre 1991, Christensen-Dalsgaard 2003). Solar convection works together with rotational shear and global meridional circulations to generate patterns of magnetic activity such as the 11-year sunspot cycle. Throughout the solar cycle, magnetic flux continually emerges and often destabilizes, producing eruptive events such as coronal mass ejections and solar flares. Understanding the origins of this diverse magnetic activity provides insight into similar processes occurring throughout the cosmos. In this sense, the Sun is a laboratory for astrophysics; nowhere else can we observe the complex interactions between turbulent plasmas and magnetic fields with comparable detail.

In stars the large size \(L\) of the system at hand and the low microscopic viscosity \(\nu\) of the plasma yields very high Reynolds numbers (\(Re=v L/\nu\)) even for weak characteristic velocities \(v\ ,\) implying that motions must be highly turbulent. Given the complexity of describing turbulent nonlinear processes in rotating and magnetized systems (since all stars rotate and most are magnetically active), various simplified prescriptions have been developed over the last century in order to be able to describe stellar convection zones at least qualitatively (Spiegel 1971). A notable example is the so-called mixing length theory (MLT; see Bohm-Vitense 1958; Cox & Guili 1968, Schatzman & Praderie 1990, Hansen & Kawaler 1995) which is often used to account for convective heat transport in stellar evolution models. In MLT, a convective eddy (or blob, parcel, cell, rising element) is displaced from its equilibrium position over a distance \(\Lambda\ ,\) the so-called mixing length, before completely releasing its heat content. It is generally assumed that \(\Lambda\) is proportional to the local pressure scale height \(H_p\ ,\) e.g. \(\Lambda = \alpha_M H_p\ ,\) with \(\alpha_M\) the mixing length coefficient. This coefficient \(\alpha_M\) is of order unity and it is calibrated thanks to accurate 1-D solar standard models whose luminosity, radius and chemical abundances (\(Z/X\) ratio) must be within \(10^{-5}\) of the observed solar values. Current 1-D standard solar models all have \(\alpha_M\) between 1.5 to 2 (Brun et al. 2002, Turck-Chieze et al. 2004, Bahcall et al. 2005, Asplund et al. 2006, Antia & Basu 2005, 2006).

While this simple prescription of convection has its merit to describe in one dimension the quasi static structure of stars over secular time, it lacks several important physical properties, such as a turbulent spatial and temporal energy distribution, velocity correlations, non locality etc… that are key to a modern understanding of the (magneto)-hydrodynamics of stars.

## What is convection?

Convection is an instability occurring in a stratified fluid. It is a mechanism for transporting thermal energy by means of the bulk displacement of a fluid. What is hot goes up due to buoyancy, what is cold comes down. A common instance is that of a pan of water set on a heat source (electric heating element, gas ring, etc.). The water heated at the bottom of the pan is lighter, and rises to the surface, where it cools, sinks back, is warmed again, rises once more, and so on. Such convective motion tends to reduce the difference in temperature between the bottom of the pan and the surface. In the case of a star, convective motions is one of three ways to carry away the nuclear energy generated in its core. The other two are radiation where photons (or light) carries the energy, and conduction (direct contact between a hot and a cold body) which is only important in white dwarfs and neutron stars. The location of convection zones is strongly dependent on the star’s mass. Cool and low-mass stars are fully convective, going towards hotter and more massive stars a radiative zone forms and expands from the core. Stars slightly more massive and warmer than the Sun, also form a convective core which expands towards the hot stars while the convective envelope shrinks and disappears as the radiative envelope reaches the surface. The Sun has a convective envelope stretching from the surface and about 1/3 towards the centre. When there is steep variation in density, as in the solar convection zone, the fluid’s entropy turns out to be the natural variable for the characterization of convective efficiency; highly efficient convection maintains a nearly adiabatic stratification such that the integrated heat flux through the convection zone is small relative to the thermal energy of the plasma.

### Schwarzschild & Ledoux criteria for convective stability

In the inviscid limit (\(\nu=\kappa=0\)), the criteria to not trigger convection is very simple. Let’s displace a fluid element by a small radial distance \(dr\) in a stratified media (s=surrounding & e=element), we get\[\rho_{\rm e}=\rho_{\rm e}^* + dr \left(\frac{d\rho}{dr}\right)_{\rm e}\] (eq 1) ; \(\rho_{\rm s}=\rho_{\rm s}^* + dr \left(\frac{d\rho}{dr}\right)_{\rm s}\) (eq 2)

Where \(\rho_{\rm e}^*\ ,\) \(\rho_{\rm e}\) are respectively, the density of the element before and after the displacement dr, and \(\rho_{\rm s}^*\ ,\) \(\rho_{\rm s}\) the density of the surrounding media (and the same convention is used for the pressure \(P\) and temperature \(T\)). Let’s take the difference between equations (1) & (2)\[\rho_{\rm e} - \rho_{\rm s} = dr \left[\left(\frac{d\rho}{dr}\right)_{\rm e} - \left(\frac{d\rho}{dr}\right)_{\rm s}\right] > 0\] (eq 3), if positive then the stratification is STABLE against convection

or equivalently \(\left(\frac{d\rho}{dr}\right)_{\rm e} - \left(\frac{d\rho}{dr}\right)_{\rm s} > 0\) (eq 4)

To proceed, we need an equation of state (EOS), \(\rho=\rho(P,T,\mu)\ ,\) to provide the relations between the various thermodynamic variables (with \(\mu\) the mean molecular weight). An EOS can be stated generally as

\(\frac{d\rho}{\rho}=\alpha\frac{dP}{P}-\delta\frac{dT}{T}+\phi\frac{d\mu}{\mu}\) (eq 5)

Note that for a perfect gas \(P= R \rho T / \mu\ ,\) with \(R\) the gas constant, the coefficients \(\alpha=\delta=\phi=1\ .\)

where \(\alpha, \delta, \phi\) are thermodynamic coefficients. Substituting equation (5) in equation (4) leads to\[\left(\frac{\alpha}{P}\frac{dP}{dr}\right)_e - \left(\frac{\delta}{T}\frac{dT}{dr}\right)_e - \left(\frac{\alpha}{P}\frac{dP}{dr}\right)_s + \left(\frac{\delta}{T}\frac{dT}{dr}\right)_s - \left(\frac{\phi}{\mu}\frac{d\mu}{dr}\right)_s > 0 \] (eq 6)

Since \(P_{\rm e}=P_{\rm s}\) and \(P_{\rm e}^*=P_{\rm s}^*\) (pressure equilibrium) and \(d\mu\) is null for the element (the element is fully mixed), we get after multiplying by the pressure scale height \(H_p = -1/(d \ln P/dr)\ ,\) the following stability criteria\[\left(\frac{d\ln T}{d\ln P}\right)_{\rm s} < \left(\frac{d\ln T}{d\ln P}\right)_{\rm e} + \left(\frac{\phi}{\delta}\frac{d\ln\mu}{d\ln P}\right)_{\rm s}\] (eq 7); STABLE against convection

or using stellar physics classical gradient notation\[\nabla < \nabla_{\rm e} + \frac{\phi}{\delta}\nabla_{\mu}\] (eq 8)

In an atmosphere in which the energy is transported only per radiation, then \(\nabla = \nabla_{\rm rad}\ .\) Let’s test the stability of this atmosphere by considering the *adiabatic* displacement of an element\[\nabla_{\rm e} = \nabla_{\rm ad}\]

The atmosphere is convectively stable if: Ledoux criterion\[\nabla_{\rm rad} < \nabla_{\rm ad} + \frac{\phi}{\delta}\nabla_{\mu}\] (eq 9)

Schwarzschild criteria (if no variation of composition or ionization is assumed)\[\nabla_{\rm rad} < \nabla_{\rm ad}\] (eq 10)

Remark: The gradient of the specific entropy per unit mass \(S\) can easily be related to the difference between \(\nabla\) and \(\nabla_{\rm ad}\) such that (in the case where we neglect variation of composition or ionization)\[\frac{dS}{dr}= - \frac{c_p}{H_p}\left(\nabla - \nabla_{\rm ad}\right)\] (eq 11)

with \(c_p\) the specific heat at constant pressure. This leads to a simple criteria for inviscid convection: There is convection when \(dS/dr\) is negative or conversely; the medium is convectively stable for a positive \(dS/dr\ .\)

### Rayleigh number

In reality even though atomic viscosity can be very small in a stellar plasma, the threshold to trigger convection will be higher than in the inviscid limit since diffusion effects will suppress the convection instability. The instability criteria for a horizontal layer heated from below is described in detail by Chandrasekhar (1961) and subsequent works have considered rotating spherical shells (Roberts 1968, Busse 1970; Gilman 1975). For illustration, we briefly list the instability criteria for the case of a convective layer heated from below assuming either no slip or stress free boundary conditions for the velocity field. The Rayleigh number is defined as\[Ra = \frac{g \alpha \Delta T d^3}{\kappa\nu}\] in Boussinesq (i.e nearly incompressible) convection (with \(g\) the gravity and \(d\) the convection zone thickness).

For stress free conditions, top and bottom, the critical Rayleigh number is \[Ra_{\rm c}\] = 658 For stress free and no slip \[Ra_{\rm c}\] = 1100 For no slip top and bottom\[Ra_{\rm c}\] = 1708

The Rayleigh number has to be above this threshold for convection to start. In stellar convection zones the Rayleigh number can exceed \(10^{15}\) so such instability conditions are easily realized.

The presence of an imposed field generally raises the instability threshold; magnetic fields have a stabilizing influence. For stress-free velocity boundary conditions and a purely radial magnetic field at the boundaries, \(Ra_{\rm c}\) depends on the Hartman number, \(Ha\ ,\) such that \(Ra_{\rm c} = \pi^2(Ha)^2\) for \(Ha >> 1\ .\) The Hartman number is defined as\[Ha^2 = \frac{\sigma B_0^2 d^2}{\rho \nu}\ ,\] with \(\sigma\) the electrical conductivity and \(B_0\) the imposed vertical field.

So the stronger the imposed magnetic field the harder it is to trigger convection (check Cattaneo, Emonet & Weiss 2003 for a recent discussion on dynamo and magnetoconvection in an unstable slab with an externally imposed field).

## Going beyond MLT: 3-D HD & MHD models of stellar convection

While linear stability analysis is very useful to understand the behaviour near the threshold of instability, the huge Reynolds and Rayleigh numbers present in stellar convection zones advocate for a nonlinear study of this process. This is carried out via 3-D (magneto-)hydrodynamical [(M)HD] simulations. The principle behind such simulations is fairly simple: Given all the necessary physical quantities (\(\varrho, \vec{v}, T\)) on a discrete grid, covering your chosen simulation domain, conservation of mass, momentum and energy then gives you the change of those quantities with time. Integration over time then evolves the simulation. Including magnetic fields involves a few more equations and 3 more variables, but the principle is unchanged.

With the arrival of petaflop supercomputers it will become increasingly possible to directly tackle the 3-D modeling of stellar turbulent convection zones. Although current computers do not allow our simulations to even approach realistic \(Re\) numbers (as large as \(10^{12}\)), sustained efforts over the last decades has permitted a significant step forward in our understanding of highly nonlinear convection systems under the influence of rotation and magnetism and of the generation of strong magnetic fields through dynamo action (see for instance Brandenburg et al. 1996, Brummell et al. 1996, 1998, Cattaneo 1999, Porter & Woodward 2000, Woodward et al. 2003, Emonet & Cattaneo 2001, Miesch et al. 2000, 2008, Brun & Toomre 2002, Brun 2004, Brun et al. 2004, 2005, Robinson et al. 2003, 2004, Rincon et al. 2005, Stein & Nordlund 1998, 2006, Vogler et al. 2007).

### Some Properties of Stellar Convection

To a good approximation, stellar interiors are nearly in hydrostatic balance so the pressure, density, and temperature decrease outward. Across deep convection zones such as that in the Sun the density decreases by several orders of magnitude. This has a profound influence on the structure of stellar convection as illustrated in Figure 2. Plasma flowing upward expands as its density drops, creating broad convection cells surrounded by an interconnected network of downflow lanes. The convection pattern changes continually as cells are sheared and fragmented.

Since the upflows are expanding as they move up into lower-density layers of the star, any turbulence forming here, will largely be smoothed out. In the downflows, on the other hand, the flow is against the density gradient and any turbulence will be enhanced. Also due to the density gradient, the upflows have to loose mass to the downflows in order to conserve mass. A fraction of about \((d\ln\varrho/dr)\cdot\Delta r\ ,\) of the mass in an upflow is lost to the downflow over the distance \(\Delta r\ .\) This is not entrainment by the downflow, but forced over-turning of the upflow into the downflow, by gravity through the established (near) hydrostatic equilibrium. This behaviour is mimicked by MLT and largely accounts for MLT's past successes. The asymmetry between up- and downflows also means that most of the plasma in the upflows come from the deep interior of the convection zone, only altered by the adiabatic expansion along the density gradient - the upflows are therefore isentropic (has the same entropy). The downflows, however, contain contributions from over-turning at every point on the way, and some of it has been all the way to the surface were it cooled radiatively and lost entropy. The downflows therefore incorporate a large range of entropies (lower than that of the upflows), and are more turbulent and denser than the upflows (Stein & Nordlund 1989). The differences between up- and downflows diminish with depth, as the fraction of plasma in the downflows that has been to the surface decreases. Mass conservation at each layer, combined with momentum conservation, and the fact that the downflows are slightly denser, means that the downflows occupy a smaller area than the upflows (filling factor < 50%) and that the downflow speeds are higher. This results in kinetic energy actually being carried inward (negative kinetic flux). These are important asymmetries that are largely ignored in analytical work, including MLT.

Stars slightly more massive than the Sun, or in later stages of evolution, also have a convective core. Going towards more massive stars, the convective core grows while surface convection becomes shallower and shallower until it disappears altogether (in A stars). In convective cores the density contrast is much smaller, yielding large scale convective patterns with almost no asymmetry between upflows and downflows (Browning et al. 2004).

### Surface Convection

As in many turbulent flows, boundary layers can play an important role in stellar convection. The upper boundary of the solar convection zone is the photosphere where there is again a transition from convective energy transport to radiation; this is where stars shine. Radiative energy transfer, coupled with ionization and a sharp drop off in density, temperature, and pressure drives another type of stellar convection known as granulation. This is the type of convection one sees in telescopic images of the solar surface which is blanketed by millions of granulation cells, each about 1000 km across.

When modeling relatively small-scale features such as granulation whose physical scale is well below the Sun’s Rossby radius (~30,000 km, i.e. the size above which Coriolis affects the dynamics), there is no need to consider the full spherical geometry which would require memory and operation counts far exceeding the capabilities of even the most powerful supercomputers. Instead, numerical simulations of granulation are carried out in local Cartesian geometries (see Stein & Nordlund 1998, Abbett et al. 2001, 2006 (link Scholarpedia article by Stein), Abbett 2007, Vogler et al. 2007). Despite the simplified geometry, granulation simulations face a formidable challenge in accurately capturing the complicated transition region from the solar interior, through the photosphere and chromosphere, and on to the corona. Much of the complexity arises from the radiative transfer from the optically deep interior to the optically thin atmosphere. This is adequately captured in 1-D atmosphere models, solving the radiative transfer for more than \(10^5\) wavelengths. Such a high wavelength-resolution is needed for capturing the very complicated behaviour of the opacity, composed of numerous absorption edges and millions of spectral lines from primarily iron and tens of millions of molecular lines. Such detailed radiative transfer cannot be included in 3D simulations with current computer hardware, so a number of clever strategies have been employed to properly include the effect of spectral lines for a small fraction of the cost of the full solution (Nordlund & Dravins 1990, Skartlien 2000, Trampedach & Asplund 2003). Introducing magnetic fields further complicates matters and significantly shortens the characteristic time-scales needed to be resolved by the simulations. The high atmosphere is also permeated by strong shocks and traveling waves, seriously challenging the stability of any hydrodynamics code. This region, from the photosphere to the corona, is also the seat of the magnetic triggers for large-scale, explosive events such as coronal mass ejections and solar flares, although such events have not been covered by any simulations yet.

### The Base of Convective Envelopes

The base of the solar convection zone is no less complex. The inner 70% of the Sun by radius is stably stratified, meaning vertical velocity and temperature variations propagate as internal gravity waves rather than overturning as convection cells. However, downward-traveling convective motions can overshoot the base of the convection zone by virtue of their own inertia (Zahn 1991, Rieutord & Zahn 1995). Convective overshoot at the base of stellar envelopes is generally dominated by isolated, intermittent, downflow plumes which are eventually decelerated and dispersed by the buoyancy force. Such overshoot regions are typically very thin, extending less than one percent of the stellar radius.

Furthermore, near the base of the solar convection zone there is a sharp transition from differential rotation above (such that the equator spins about 30% faster than the poles) to nearly uniform rotation below (Thompson et al 2003). This rotational shear layer is known as the solar tachocline (Spiegel & Zahn 1992) and it is thought to play an essential role in the solar dynamo (link to articles by Rudiger, Charbonneau). The solar tachocline and overshoot region support a variety of instabilities and waves that are driven by buoyancy, magnetism, and shear and that mediate the thermal, mechanical, and magnetic coupling between the convection zone and the radiative interior. For a recent overview see Gough & McIntyre (1998), Tobias (2004), Miesch (2005), Miesch et al. (2006), Brun & Zahn (2006), Zahn et al. (2007), Rudiger & Kitchatinov 2007, Kim & Leprovost 2007 and the special volume on the tachocline, Hughes et al. (2007).

Other cool stars likely exhibit boundary layers similar to the Sun. However, some cool stars such as M dwarfs, are convective throughout their interiors so they have a photosphere but no overshoot region or tachocline. Hotter stars such as A stars, on the other hand, are inverted Suns, with convection in their cores and stable outer envelopes. Here overshoot occurs at the outer boundary of the convective core, far from the photosphere (although many hot stars also exhibit a thin surface convection zone, from late A to early F stars). Recent simulations of core convective stars reveal that penetrative convection varies significantly with latitude, being stronger near the poles (Browning et al. 2004).

### Convection and Rotation

If the convective star is rotating flows converging into the downflow lanes acquire intense cyclonic vorticity from the Coriolis force. This is evident in Figure 2, as swirling downflow plumes with a counter-clockwise and clockwise sense in the northern and southern hemispheres, respectively.

In Figure 2 the influence of rotation is also evident at low latitudes where downflow lanes tend to align in a north-south orientation in order to mitigate the stabilizing influence of the Coriolis force. Such alignment is barely discernible but becomes much more apparent in simulations of more rapidly rotating stars. Figure 2b shows the simulated convection pattern in a solar-type star rotating five times faster than the Sun. Here there is a clear dichotomy between the small-scale, nearly isotropic convection pattern near the poles and the larger cells near the equator which are elongated in latitude but relatively narrow in longitude. The transition occurs near the so-called tangent cylinder, an imaginary cylindrical surface which is parallel to the rotation axis and tangent to the base of the convection zone.

The simulation shown in Figure 2b also exhibits modulated convection in which vigorous motions occur only in a restricted range of longitudes. Such convection patches can persist for thousands of days or, in deeper convection zones, can come and go in sporadic bursts of activity (Grote et al 2000; Ballot et al 2007; Brown et al 2007). In the limit of very rapid rotation, convection cells become aligned with the rotation axis as is thought to occur in the Earth's outer core (Busse 2000). In RGB and AGB stars the huge extended convective envelope combined with large density contrast results in the presence of only a few broad warm upflows surrounded by a network of narrow downflow lanes over the whole star’s surface (Woodward et al. 2003, Freytag 2006, Palacios & Brun 2007). These evolved stars are slow rotators as a direct consequence of their inflated radius. The reduced rotational influence leads to convection patterns that are similar to non rotating convection in spherical shells, with a large \(l=1\) dipole in temperature being established (Chandrasekhar 1961, Woodward et al. 2003, Palacios & Brun 2007). This drives a large meridional circulation. By contrast fast rotators exhibit a banded temperature structure in longitude associated with a self established thermal wind balance (Pedlosky 1987, Miesch et al. 2006, Brown et al. 2007).

When considering the dependence of the angular velocity contrast as a function of rotation rate, it is found that the absolute contrast increases with the rotation rate but the relative contrast reduces (Ballot et al. 2007, Brown et al. 2007, 2008). In more massive stars, such as A-stars, a column of fast or slow rotation is found in the convective core depending on the influence of the Coriolis force on the overall dynamics (Browning et al. 2004, see Figures 3c,d).

### Differential Rotation and Convection in the Sun

Helioseismic inversions of large-scale, axisymmetric, time-averaged flows in the Sun (Thompson et al. 2003) currently provide the most important observational constraints on global-scale models of solar convection (BT02, Miesch et al. 2006, 2008). Of particular importance and reasonably well constrained by helioseismology, is the mean longitudinal flow, i.e. the differential rotation \(\Omega(r,\theta)\ ,\) which is characterised by a fast equator, slow poles and a profile almost independent of radius at mid latitudes (conical). In the most recent global simulations a fast equator, a monotonic decrease of \(\Omega\) with latitude and some constancy along radial line at mid latitudes are established, all these attributes being in reasonable agreement with helioseismic inferences. Convection can redistribute angular momentum directly through the Reynolds stress or indirectly by establishing mean (longitudinally-averaged) circulations in the meridional (radius-latitude) plane. In a steady state without magnetism and neglecting the (tiny) viscous effects, these two mechanisms must balance one another. Mean meridional circulations may be maintained by Reynolds stresses, Coriolis forces, or by latitudinal gradients of temperature and entropy through what is known as baroclinicity. In stars like the Sun that possess a substantial rotational influence, baroclinicity tends to establish thermal wind balance such that variations of \(\Omega\) parallel to the rotation axis are proportional to latitudinal entropy gradients. Global simulations of solar convection do indeed exhibit thermal wind balance in the lower convection zone but this balance breaks down near the surface and in high shearing regions (BT02, MBT06, and Figure 3a,b).

A study of the redistribution of angular momentum in our convective shells reveals that Reynolds stresses are at the origin of the equatorial acceleration but baroclinicity influences the form of the rotation profile (BT02; MBT06). Recent mean-field models by Rempel (2005) and 3-D simulations by MBT06 suggest that some of this baroclinicity may arise from thermal coupling to the solar tachocline. Thermal gradients in the tachocline may be transmitted to the convection zone by the convective heat flux, promoting a more conical rotation profile through thermal wind balance in better agreement with helioseismic inversions. However convection in rotating system also possesses strong latitudinal (anisotropic) enthalpy (heat) transport that contributes efficiently to alatitudinal gradient of entropy and temperature (Brun & Rempel 2008). The near constancy of \(\Omega(r,\theta)\) along radial lines could be used in turn to assess the radial structure of the tachocline if this boundary layer is assumed to be in strict thermal wind balance (see Brun 2007a). Elucidating the relative roles of convective Reynolds stresses, convective heat flux, and thermal coupling to the tachocline in maintaining the solar differential rotation and meridional circulation remains an area of active study.

In other cool stars the depth of the convection zone and the existence or not of a tachocline (absent for late fully convective M-stars) as well as the rotation rate (slower or faster than the solar rate), yields a large variety of differential rotation profiles. The angular velocity tends to become cylindrical (in agreement with Taylor's constraint of quasi 2-D dynamics, Pedlosky 1987), if the rotation rate becomes too large or the tachocline is not sharp enough to impact the heat redistribution in the convective layer.

### Convective dynamos

The rich display of magnetic activity observed in the solar atmosphere must be maintained by dynamic processes occurring below the surface. Much of the small-scale magnetic flux permeating the solar photosphere is thought to be maintained locally by solar granulation and is quickly replenished on a time scale of a few days (Cattaneo 1999; Schrijver & Title 2003). Turbulent motions in an electrically conducting fluid are known to generate magnetic fields through hydromagnetic dynamo action, sustaining them indefinitely against ohmic decay. However, observed patterns of flux emergence such as the 11-yr sunspot cycle are more enigmatic and although much progress has been made, there are still many open questions about how the global solar dynamo operates. For a thorough discussion see Ossendrijver (2003), Brun et al. (2004), Charbonneau (2005), and Solanki et al (2006), as well as the accompanying Scholarpedia articles by Charbonneau and Brandenburg.

One thing is clear: turbulent convection and differential rotation must play an essential role (see Figure 4). Convection generates mean fields directly through dynamo processes and it can convert toroidal flux to poloidal flux through the fragmentation and dispersal of photospheric active regions. We refer to this process generally as the \(\alpha\)-mechanism (link to Rudiger). Turbulent compressible convection also transports magnetic flux preferentially downward in a phenomenon known as magnetic pumping (Tobias et al 2001; Dorch & Nordlund 2001, Ossendrijver et al 2002; Ziegler & Rudiger 2003). Meanwhile, rotational shear converts poloidal flux to toroidal flux through what is known as the \(\Omega\)-effect, closing the dynamo loop.

Although there is much debate over precisely where the \(\alpha\)-mechanism occurs, most solar dynamo models place the \(\Omega\)-effect in or near the solar tachocline (Tobias 2004; Charbonneau 2005). Rotational shear in the tachocline organizes and amplifies toroidal flux until it fragments and rises as a consequence of magnetic buoyancy instabilities (Cline, Brummell, Cattaneo 2003). Rising toroidal flux tubes emerge from the solar photosphere as bipolar active regions (sunspots). Further hydrodynamical and MHD instabilities seem to play an important role in the dynamical evolution of the inner radiative interior here also with a likely feed back on the surface layers. In so-called flux-transport solar dynamo models, cyclic variability arises from the advection of magnetic flux in the tachocline by an equatorward mean circulation. Similar processes must also occur in other stars although the relative roles of the \(\alpha\)-mechanism, the \(\Omega\)-mechanism, turbulent transport, and meridional circulation may vary. For instance recent work on rapidly rotating young suns or solar-like stars tends to indicate that meridional circulation (MC) flows are weaker for faster rotation (Ballot et al. 2007, Brown et al. 2007, see however Kuker & Rudiger 2005 for an opposite result using 2-D mean field models). This slower mean MC flow will result in a slower activity cycle if the rest of the solar mean field dynamo flux transport framework is left unchanged (Dikpati et al. 2004, Jouve et al. 2007, 2008).

By including a weak seed magnetic field in simulation of turbulent convection, the nonlinear interactions between turbulence, rotation and magnetic fields can be studied in detail. It is found that the magnetic energy (ME) grows by many orders of magnitude through dynamo action if the magnetic Reynolds number (\(Rm=vL/\eta\)) of the flow is above a critical value (see Gilman 1983, Glatzmaier 1987, Brandenburg et al. 1996, Cattaneo 1999, Brun et al. 2004 (BMT04)). Following the linear phase of exponential growth, ME saturates, due to the nonlinear feed back of the Lorentz forces, to some fraction of the kinetic energy (KE) and retains that level over many Ohmic decay times. Upon saturation, KE has been reduced significantly when compared to the initial hydrodynamical value. In global models, this variation is mostly due to a reduction of the energy contained in the differential rotation. The energy contained in the convective motions is influenced less, which implies an increased contribution of the non-axisymmetric motions to the total kinetic energy balance.

The radial magnetic field generated through dynamo action is found to be concentrated in the cooler downflow lanes, with both polarities coexisting having been swept there by the horizontal diverging motions at the top of the domain (Figure 4c). The Lorentz forces in these converging downflows have a noticeable dynamical effect on the flow, with the magnetic energy exceeding the kinetic one at times. In the stronger downflow lanes magnetic tension can inhibit vorticity generation and reduce the shear. The magnetic field and the radial velocity possess a high level of intermittency both in time and space, revealed by extended, asymmetric wings in their probability distribution functions (Brandenburg et al. 1996, BMT04). Fast reversals of the poloidal field are observed (~ 400 days) in global 3-D models which are typical of a chaotic dynamical system but are inconsistent with the observed 11-yr solar cycle. In an attempt to resolve that issue Browning et al. (2006) have recently included a stably stratified tachocline of shear in a global magnetic simulation. They confirm through nonlinear simulations that the tachocline plays a crucial role in organising the irregular field produced by the convection zone into intense axisymmetric toroidal structures. The presence of this large scale mean field does seem to influence the nonlinear behaviour of the simulations leading to much less frequent if any magnetic field reversals or excursions.

With fairly strong magnetic fields sustained in the global magnetic simulations, it is to be expected that the differential rotation \(\Omega(r,\theta)\) established in the purely hydrodynamical case will respond to the feedback from the Lorentz forces. Indeed Brun (2004) found that the main effect of the Lorentz forces is to extract energy from the differential rotation as the weakening of KE indicates. A careful study of the redistribution of the angular momentum in the shell reveals that the source of the reduction of the latitudinal contrast of \(\Omega(r,\theta)\) can be attributed to the poleward transport of angular momentum by Maxwell stresses (see Brun 2004, BMT04, Brun & Rempel 2008). The large-scale magnetic torques are found to be 2 orders of magnitude smaller, confirming the small dynamical role played by the mean fields in global MHD simulations without a tachocline of shear and a self-established 11-yr cycle. The inclusion of a tachocline in 3-D MHD models (Figure 4b) helps generate strong concentrated toroidal fields at the base of the convection zone (Figure 4a, Browning et al. 2006, 2007b).

Rotation also plays an important role for other stars, determining the global properties of their magnetism. In fast rotating solar-type stars, large mean fields are found even without the presence of a tachocline at the base of their convective envelopes (Browning et al. 2007b). This is due to a shift in the balance of forces driving the flow between the advection, Coriolis and Lorentz terms. As the rotation rate increases the Lorentz force tends to balance the Coriolis force yielding larger magnetic energy in super-equipartion with the kinetic energy of the flow (as in the Earth’s iron core, see Rudiger & Hollerbach 2004).

In more massive stars, convective core dynamos are found to be extremely effective. Mega-gauss fields are found in the core at its sheared boundary layer (a kind of “upside down” tachocline, Brun et al. 2005). Such fields must interact with the probable fossil field that the extended radiative envelope of the hot star retained during the star’s formation. Recent simulations seem to indicate that dynamo action in such cores will be even more vigorous if the fossil field threads from the stable envelope through to the convective core (Featherstone et al. 2007).

## Conclusions

We have shown that numerical simulations of the complex internal solar and stellar magnetohydrodynamics are becoming more and more tractable with today's supercomputers. In particular we have studied how turbulent convection under the influence of rotation can establish a strong differential rotation and weak meridional circulation, generate magnetic fields through dynamo action and how Lorentz forces act to diminish the differential rotation such that poleward angular momentum transport by Maxwell stresses opposes the equatorward transport by Reynolds stresses (see BT02, BMT04, MBT06). Many challenges remain, among them the understanding of the 11-yr solar cycle and of the two shear layers present at the base (the tachocline) and at the top of the solar convection zone. Magnetic coupling to the solar atmosphere is a priority since these layers are directly linked to the solar dynamo and subsurface weather. Another challenge is to get a more accurate and deeper inversion of the meridional circulation present in the solar convection since it plays a major role in current mean field solar dynamo models (Dikpati et al. 2004, Jouve & Brun 2007a). Another key element of the solar dynamo is the emergence of magnetic flux from deep within the Sun up to its surface (Jouve & Brun 2007b, Fan 2008). For other stars the relative ordering of the convective and radiative zones, the extent of the convection, the presence of a tachocline of shear, the rotation rate all plays crucial roles in determining the convective patterns, the large scale flows (differential rotation, meridional circulation) and the level of magnetism (Brun et al. 2005, Dobler et al. 2006, Brown et al. 2007b, Featherstone et al. 2007, Browning 2008).

## References

Abbett, W. P, 2007, The Magnetic Connection between the Convection Zone and Corona in the Quiet Sun, ApJ, 665, 1469

Abbett, W. P., Fisher, G. H., Fan, Y., 2001, The Effects of Rotation on the Evolution of Rising Omega Loops in a Stratified Model Convection Zone, ApJ, 546, 1194

Antia, H.M., Basu, S. 2006, Determining Solar Abundances Using Helioseismology, ApJ, 644, 1292

Antia, H.M., Basu, S. 2005, The Discrepancy between solar Abundances and Helioseismology, ApJ, 620, L129

Asplund, M., Grevesse, N., Sauval, A.J., 2006, The new solar abundances - Part I: the observations, CoAst, 147, 76

Bahcall, J. N., Basu, S., Pinsonneault, M., Serenelli, A. M., 2005, Heliosesimological Implications of Recent Solar Abundance Determinations, ApJ, 618, 1049

Ballot, J., Brun, A.S., Turck-Chieze, S. 2007, Simulations of Turbulent Convection in Rotating Young Solar-Like Stars: Differential Rotation and Meridional Circulation, ApJ, 669, 1190-1208

Bohm-Vitense, E. 1958, Z. Astrophys., 54, 114

Brandenburg, A., Jennings, R. L., Nordlund, A., Rieutord, M., Stein, R. F., Tuominen, I. 1996, JFM, 306, 325

Brown, B.P., Browning, M.S., Brun, A.S., Miesch, M.S. & Toomre, J. 2007a, Rapid rotation, active nests of convection and global-scale flows in solar-like stars, AN, 328, 1002

Brown, B.P., Browning, M.S., Brun, A.S., Miesch, M.S., Nelson, N. & Toomre, J. 2007b, Strong Dynamo Action in Rapidly Rotating Suns, AIPC, 948, 271

Brown, B.P., Browning, M.S., Brun, A.S., Miesch, M.S. & Toomre, J. 2008, Rapidly Rotating Suns and Active Nests of Convection, ApJ, submitted

Browning, M.K. 2008, Simulations of Dynamo Action in Fully Convective Stars, ApJ, 676, 1262-1280

Browning, M.K., Brun, A.S, Miesch M.S. & Toomre, J. 2006, Dynamo Action in the Solar Convection Zone and Tachocline: Pumping and Organization of Toroidal Fields, ApJL, 648, L157-L160

Browning, M.K., Brun, A.S. & Toomre, J. 2004, Simulations of Core Convection in Rotating A-Type Stars: Differential Rotation and Overshooting, ApJ, 601, 512-529

Brummell, N. H., Hurlburt, N. E., & Toomre, J. 1996, ApJ, 473, 494

Brummell, N. H., Hurlburt, N. E., & Toomre, J. 1998, ApJ, 493, 955 Brun, A. S. 2004, On the interaction between differential rotation and magnetic field in the Sun, Solar Phys., 220, 333

Brun, A. S., Antia, H. M., Chitre, S. M., & Zahn, J.-P. 2002, Seismic tests for solar models with tachocline mixing, A&A, 391, 725

Brun, A.S, Browning, M.K. & Toomre, J. 2005, Simulations of Core Convection in Rotating A-Type Stars: Magnetic Dynamo Action, ApJ, 629, 461-481

Brun, A.S., Miesch, M.S. & Toomre, J. 2004 (MBT04), Global-Scale Turbulent Convection and Magnetic Dynamo Action in the Solar Envelope, ApJ, 614, 1073-1098

Brun, A.S., & Rempel, M., 2008, Large scale flow in the solar convection zone, Space Science Reviews, special volume on Solar Magnetism in press

Brun, A.S. & Toomre, J. 2002 (BT02), Turbulent Convection Under the Influence of Rotation: Sustaining a Strong Differential Rotation, ApJ, 570, 865-885

Brun, A.S. & Zahn, J.-P. 2006, Magnetic Confinement of the Solar Tachocline, A&A, 457, 665-674

Busse, F.H. 1970, Thermal Instabilities in Rapidly Rotating Systems, JFM, 44, 441-460

Busse, F. H. 2000, Annu. Rev. Fluid Mech., 32, 383

Cattaneo, F. 1999, ApJ, 515, L39

Cattaneo, F., Emonet, T., Weiss, N., 2003, On the Interaction between Convection and Magnetic Fields, ApJ, 588, 1183

Chandrasekhar, S. 1961, Hydrodynamic and Hydromagnetic Stability, Oxford Univ. Press: Oxford

Charbonneau, P. 2005, Dynamo Models of the Solar Cycle, Living Rev. Solar Phys., 2, http://solarphysics.livingreviews.org/Articles/lrsp-2005-2

Christensen-Dalsgaard, J. 2003, Lecture Notes on Stellar Oscillations, http://astro.ifa.au.dk/~jcd/oscilnotes/

Cline, K, Brummell, N.H. & Cattaneo, F. 2003, On the Formation of Magnetic Structures by the Combined Action of Velocity Shear and Magnetic Buoyancy, ApJ, 588, 630

Cox, J. P. & Giuli, R. T. 1968, Principles of Stellar Structure (New York: Gordon & Breach)

Dikpati, M., Cally, P. S. & Gilman, P. A., 2004, ApJ, 610, 597

Dobler, W., Stix, M. & Brandenburg, A. 2006, Magnetic Field Generation in Fully Convective Rotating Spheres, ApJ, 638, 336

Dorch, S. B. F.; Nordlund, Å. 2001, On the transport of magnetic fields by solar-like stratified convection, A&A, 365, 562

Emonet, T. & Cattaneo, F., 2001, Small-Scale Photospheric Fields: Observational Evidence and Numerical Simulations, ApJ, 560, L197

Fan, Y. 2008, The Three-dimensional Evolution of Buoyant Magnetic Flux Tubes in a Model Solar Convective Envelope, ApJ, 676, 680

Featherstone et al. 2007, Dynamo action in the presence of an imposed field, AN, 328, 1126

Freytag, B. 2006, Convection in giant stars, EAS, 21, 325

Gilman, P.A. 1975, Linear Simulations of Boussinesq Convection in a Deep Rotating Spherical Shell, J. Atmos. Sci., 32, 1331-1352

Gilman, P. A. 1983, ApJS, 53, 243

Glatzmaier, G. A. 1987, in The Internal Solar Angular Velocity, ed. B. R. Durney & S. Sofia (Dordrecht: D. Reidel), 263

Gough, D. O. & McIntyre, M. E. 1998, Nature, 394, 755

Gough, D.O. & Toomre, J. 1991, Seismic Observations of the Solar Interior, Ann. Rev. Astron. Astrophys., 29, 627-684

Grote, E., Busse, F.H. & Tilgner, A. 2000, Regular and Chaotic Spherical Dynamos, PEPI, 117, 259-272

Hansen, C.J. & Kawaler, S.D. 1995, Stellar Interiors: Physical Principles, Structure, and Evolution, (New York: Springer-Verlag)

Hughes, D., Rosner, R. & Weiss, N. (eds.) 2007, The Solar Tachocline, Cambridge Univ. Press: Cambridge, 367 pp.

Jouve, L. & Brun, A.S., 2007a, On the role of meridional flows in flux transport dynamo models, A&A, 474, 239

Jouve, L. & Brun, A.S., 2007b, 3-D nonlinear evolution of a magnetic flux tube in a spherical shell: the isentropic case, AN, 328, 1104

Jouve,L. Brown, B. & Brun, A.S. 2008, Flux transport dynamo models vs stellar activity, A&A submitted

Kim, E.J. & Leprovost, N. 2007, On a long-term dynamics of the magnetised solar tachocline, A&A, 465, 633

Kuker, M & Rudiger, G. 2005, Differential Rotation on the lower main sequence, AN, 326, 265

Miesch, M.S. 2005, Large-Scale Dynamics of the Convection Zone and Tachocline, Living Rev. Solar Phys., 2, http://solarphysics.livingreviews.org/Articles/lrsp-20328, 05-1

Miesch, M.S., Brun, A.S., DeRosa, M.L. & Toomre, J. 2008, Structure and Evolution of Giant Cells in Global Models of Solar Convection, ApJ, 673, 557-575

Miesch, M.S., Brun, A.S. & Toomre, J. 2006 (MBT06), Solar Differential Rotation Influenced by Latitudinal Entropy Variations in the Tachocline, ApJ, 641, 618-625

Miesch, M. S., Elliott, J. R., Toomre, J., Clune, T. L., Glatzmaier, G. A., & Gilman, P. A., 2000, ApJ, 532, 593

Nordlund, Å., & Dravins, D., 1990, Stellar granulation. III. Hydrodynamic model atmospheres, A&A, 228, 155

Ossendrijver, M.; Stix, M.; Brandenburg, A.; Rüdiger, G 2002, Magnetoconvection and dynamo coefficients. II. Field-direction dependent pumping of magnetic field, A&A, 394, 735

Ossendrijver, M. 2003, The Solar Dynamo, Astron. Astrophys. Rev., 11, 287-367

Palacios, A. & Brun, A.S. 2007, Simulations of turbulent convection in a slowly rotating red giant star, AN, 328, 1114

Pedlosky, J. 1987, Geophysical Fluid Dynamics, (New York: Springer-Verlag)

Porter, D. & Woodward, P. 2000, Three-dimensional Simulations of Turbulent Compressible Convection, ApJS, 127, 159

Rempel, M. 2005, Solar Differential Rotation and Meridional Flow: The Role of a Subadiabatic Tachocline for the Taylor-Proudman Balance, ApJ, 622, 1320-1332

Rieutord, M. & Zahn, J.-P. 1995, A&A, 296, 127

Rincon, F., Lignières, F. & Rieutord, M. 2005, Mesoscale flows in large aspect ratio simulations of turbulent compressible convection, A&A, 430, L57

Roberts, P.H. 1968, On the Thermal Instability of a Rotating-Fluid Sphere Containing Heat Sources, Phil. Trans. Roy. Soc. A, 263, 93-117

Robinson, F. et al. 2003, Three-dimensional convection simulations of the outer layers of the Sun using realistic physics, MNRAS, 340, 923

Robinson, F. et al. 2004, Three-dimensional simulations of the upper radiation-convection transition layer in subgiant stars, MNRAS, 347, 1208

Rudiger, G. & Hollerbach, R., 2004, the magnetic universe, (Editions Wiley-VCH)

Rudiger, G. & Kitchatinov, L. 2007, Structure and stability of the magnetic solar tachocline, New Journal of Phys., 9, 302

Schatzman, E. & Praderie, F. 1990, Les Etoiles, (Paris: Editions CNRS)

Schrijver, C. & Title, A. 2003, The magnetic connection between the solar photosphere and the corona, ApJ 597, L165

Skartlien, R., 2000, A Multigroup Method for Radiation with Scattering in Three-Dimensional Hydrodynamic Simulations, ApJ, 536, 465

Solanki, S.K., Inhester, B. & Schussler, M. 2006, The Solar Magnetic Field, Rep. Prog. Phys., 69, 563-668

Spiegel, E.A., 1971, Convection in Stars: I. Basic Boussinesq Convection, ARA&A, 9, 323

Spiegel, E.A & Zahn, J.-P. 1992, The Solar Tachocline, A&A, 265, 106-114

Stein, R.F. & Norldund, A 1989, Topology of convection beneath the solar surface, ApJ, 342, L95-L98

Stein, R.F. & Nordlund, A 1998, Simulations of Solar Granulation: I. General Properties, ApJ, 499, 914-933

Stein, R.F. & Nordlund, A 2006, Solar Small-Scale Magnetoconvection, ApJ, 642, 1246

Thompson, M.J., Christensen-Dalsgaard, J., Miesch, M.S. & Toomre, J. 2003, The Internal Rotation of the Sun, Ann. Rev. Astron. Astrophys., 41, 599-643

Tobias, S.M. 2004, The Solar Tachocline: Formation, Stability, and its Role in the Solar Dynamo, in “Fluid Dynamics and Dynamos in Astrophysics and Geophysics”, (eds.) A.M. Soward, C.A. Jones, D.W. Hughes, N.O. Weiss, pp. 193-234 (Taylor & Francis Group: Oxford)

Tobias, S.M., Brummell, N.H., Clune, T.L. & Toomre, J. 2001, Transport and Storage of Magnetic Field by Overshooting Turbulent Compressible Convection, ApJ, 549, 1183-1203

Trampedach, R. & Asplund, M., 2003, Radiative Transfer with Very Few Wavelengths, in: "3D Stellar Evolution", (eds.) Turcotte, S., Keller, S. S., & Cavallo, R. M., ASP Conf. Ser. 293, 209

Turck-Chièze et al. 2004, Surprising Sun: A New Step Towards a Complete Picture?, Phys. Rev. Lett. 93, 1102

Vogler, A., Shelyag, S., Schussler, M., Cattaneo, F., Emonet, T. & Linde, T. 2005, Simulations of Magneto-Convection in the Solar Photosphere. Equations, Methods, and Results of the MURaM Code, A&A, 429, 335-351

Woodward, P. R., Porter, D. H., Jacobs, M, 2003, 3-D Simulations of Turbulent Compressible Stellar Convection, ASPC, 293, 45

Zahn, J.-P. 1991, Convective Penetration in Stellar Interiors, A&A, 252, 179-188

Ziegler, U. & Rudiger, G. 2003, Box Simulations of Rotating Magnetoconvection. Effects of Penetration and Turbulent Pumping, A&A, 401, 433-442

**Internal references**

- Eugene M. Izhikevich (2006) Bursting. Scholarpedia, 1(3):1300.

- Olaf Sporns (2007) Complexity. Scholarpedia, 2(10):1623.

- Tomasz Downarowicz (2007) Entropy. Scholarpedia, 2(11):3901.

- Eugene M. Izhikevich (2007) Equilibrium. Scholarpedia, 2(10):2014.

- Søren Bertil F. Dorch (2007) Magnetohydrodynamics. Scholarpedia, 2(4):2295.

- Howard Eichenbaum (2008) Memory. Scholarpedia, 3(3):1747.

- Guenther Ruediger (2008) Solar dynamo. Scholarpedia, 3(1):3444.

- Philip Holmes and Eric T. Shea-Brown (2006) Stability. Scholarpedia, 1(10):1838.