  We present a three-dimensional model of rotating convection combined with a
simplified corona in spherical coordinates. The motions in the convection zone
generate a large-scale magnetic field that gets sporadically ejected into the
outer layers above. Our model corona is approximately isothermal, but it
includes density stratification due to gravity.

Solar and Stellar Astrophysics