  The equations for fully compressible rotating magnetoconvection are
numerically solved in a Cartesian box assuming conditions roughly suitable for
the geodynamo. The mean electromotive force describing the generation of mean
magnetic flux by convective turbulence in the rotating fluid is directly
calculated from the simulations, and the corresponding alpha-coefficients are
derived. Due to the very weak density stratification the alpha-effect changes
its sign in the middle of the box. It is positive at the top and negative at
the bottom of the convection zone. For strong magnetic fields we also find a
clear downward advection of the mean magnetic field. Both of the simulated
effects have been predicted by quasi-linear computations (Soward, 1979;
Kitchatinov and Ruediger, 1992). Finally, the possible connection of the
obtained profiles of the EMF with mean-field models of oscillating
alpha^2-dynamos is discussed.
