. Acknowledgments, Langlais and T. Seon for useful discussions. The authors also thank the anonymous reviewers for constructive comments, Part of the numerical simulations were run at the Service Commun de Calcul Intensif de l'Observatoire de Grenoble (SCCI)

C. B. Agnor, R. M. Canup, and H. F. Levison, On the Character and Consequences of Large Impacts in the Late Stage of Terrestrial Planet Formation, Icarus, vol.142, issue.1, pp.219-237, 1999.
DOI : 10.1006/icar.1999.6201

H. Amit, P. Olson, and U. Christensen, Tests of core flow imaging methods with numerical dynamos, Geophys, J. Int, vol.168, pp.27-39, 2007.

G. Batchelor, An Introduction to Fluid Dynamics, 1967.
DOI : 10.1017/CBO9780511800955

W. Benz, W. L. Slattery, and A. G. Cameron, The origin of the moon and the single-impact hypothesis I, Icarus, vol.66, issue.3, pp.30-4510, 1987.
DOI : 10.1016/0019-1035(86)90088-6

U. Christensen and J. Aubert, Scaling properties of convection-driven dynamos in rotating spherical shells and application to planetary magnetic fields, Geophysical Journal International, vol.166, issue.1, pp.97-114, 2006.
DOI : 10.1111/j.1365-246X.2006.03009.x

URL : https://hal.archives-ouvertes.fr/hal-00149194

U. Christensen and J. Wicht, Numerical Dynamo Simulations, Treatise Geophys, vol.8, pp.245-282, 2007.
DOI : 10.1016/B978-044452748-6/00134-6

U. R. Christensen, A numerical dynamo benchmark, Physics of the Earth and Planetary Interiors, vol.128, issue.1-4, pp.1-4, 2001.
DOI : 10.1016/S0031-9201(01)00275-8

URL : https://hal.archives-ouvertes.fr/insu-00498652

T. Cowling, The Magnetic Field of Sunspots, Monthly Notices of the Royal Astronomical Society, vol.94, issue.1, pp.39-48, 1934.
DOI : 10.1093/mnras/94.1.39

T. W. Dahl and D. J. Stevenson, Turbulent mixing of metal and silicate during planet accretion ??? And interpretation of the Hf???W chronometer, Earth and Planetary Science Letters, vol.295, issue.1-2, pp.177-186, 2010.
DOI : 10.1016/j.epsl.2010.03.038

G. F. Davies, Ultimate strength of solids and formation of planetary cores, Geophysical Research Letters, vol.270, issue.11, pp.1267-1270, 1982.
DOI : 10.1007/978-3-642-65863-1

R. Deguen, P. Olson, and P. Cardin, Experiments on turbulent metal-silicate mixing in a magma ocean, Earth and Planetary Science Letters, vol.310, issue.3-4, pp.303-313, 2011.
DOI : 10.1016/j.epsl.2011.08.041

URL : https://hal.archives-ouvertes.fr/insu-00679843

M. Dudley and R. James, Time-Dependent Kinematic Dynamos with Stationary Flows, Proc. R. Soc. London, pp.407-429, 1989.
DOI : 10.1098/rspa.1989.0112

A. Gailitis, Self-excitation of a magnetic field by a pair of ring vortices, Magnetohydrodynamics, Engl. Transl, vol.6, issue.6, pp.19-22, 1970.

T. V. Gerya and D. A. Yuen, Robust characteristics method for modelling multiphase visco-elasto-plastic thermo-mechanical problems, Physics of the Earth and Planetary Interiors, vol.163, issue.1-4, pp.83-105, 2007.
DOI : 10.1016/j.pepi.2007.04.015

D. Gubbins, C. Barber, S. Gibbons, and J. Love, Kinematic dynamo action in a sphere. I. Effects of differential rotation and meridional circulation on solutions with axial dipole symmetry, Proc. R. Soc. London, pp.1333-1353, 2000.
DOI : 10.1098/rspa.2000.0565

D. Gubbins, C. Barber, S. Gibbons, and J. Love, Kinematic dynamo action in a sphere. II. Symmetry selection, Proc. R. Soc. London, pp.1669-1683, 2000.
DOI : 10.1098/rspa.2000.0581

C. Guervilly and P. Cardin, Numerical simulations of dynamos generated in spherical Couette flows, Geophysical & Astrophysical Fluid Dynamics, vol.12, issue.2-3, pp.221-248, 2010.
DOI : 10.1051/0004-6361:20021007

URL : https://hal.archives-ouvertes.fr/hal-00527319

J. Hadamard, Mouvement permanent lent d'une sphére liquide et visqueuse dans un liquide visqueux, C. R. Acad. Sci, vol.152, pp.1735-1738, 1911.

T. Höink, J. Schmalzl, and U. Hansen, Formation of compositional structures by sedimentation in vigorous convection, Physics of the Earth and Planetary Interiors, vol.153, issue.1-3, pp.11-20, 2005.
DOI : 10.1016/j.pepi.2005.03.014

T. Höink, J. Schmalzl, and U. Hansen, Dynamics of metal-silicate separation in a terrestrial magma ocean, Geochem. Geophys. Geosyst, pp.10-1029, 2006.

R. Honda, H. Mizutani, and T. Yamamoto, Numerical simulation of Earth's core formation, Journal of Geophysical Research: Solid Earth, vol.270, issue.B2, pp.2075-2089, 1993.
DOI : 10.1038/270144a0

S. Karato and V. Murthy, Core formation and chemical equilibrium in the Earth???I. Physical considerations, Physics of the Earth and Planetary Interiors, vol.100, issue.1-4, pp.61-79, 1997.
DOI : 10.1016/S0031-9201(96)03232-3

W. M. Kaula, Thermal evolution of Earth and Moon growing by planetesimal impacts, Journal of Geophysical Research, vol.13, issue.B3, pp.999-1008, 1979.
DOI : 10.1016/0040-1951(72)90012-1

T. Kleine, C. Münker, K. Mezger, and H. Palme, Rapid accretion and early core formation on asteroids and the terrestrial planets from Hf-W chronometry, Nature, pp.418-952, 2002.
DOI : 10.1038/nature00982

L. Bars, M. , M. Wieczorek, O. Karatekin, D. Cébron et al., An impact-driven dynamo for the early Moon, Nature, vol.201, issue.7372, pp.479-215, 2011.
DOI : 10.1016/j.icarus.2008.12.034

URL : https://hal.archives-ouvertes.fr/hal-00715312

M. Manga and H. A. Stone, Buoyancy-driven interactions between two deformable viscous drops, Journal of Fluid Mechanics, vol.87, issue.-1, pp.647-68310, 1993.
DOI : 10.1016/0021-9797(82)90373-3

H. Moffatt, Magnetic Field Generation in Electrically Conducting Fluids, 1978.

J. Monteux, Y. Ricard, N. Coltice, F. Dubuffet, and M. Ulvrova, A model of metal???silicate separation on growing planets, Earth and Planetary Science Letters, vol.287, issue.3-4, pp.353-362, 2009.
DOI : 10.1016/j.epsl.2009.08.020

J. Monteux, A. M. Jellinek, and C. L. Johnson, Why might planets and moons have early dynamos?, Earth and Planetary Science Letters, vol.310, issue.3-4, pp.349-359, 2011.
DOI : 10.1016/j.epsl.2011.08.014

D. Moss, Simple laminar dynamos: from two rolls to one, Geophysical & Astrophysical Fluid Dynamics, vol.6, issue.2, pp.195-203, 2008.
DOI : 10.1080/03091920500494961

URL : http://www.ma.man.ac.uk/~moss/papers/GGAF_A_271735.pdf

P. Olson, Overview on core dynamics, in Core Dynamics, Treatise Geophys, pp.1-30, 2007.

P. Olson, U. Christensen, and G. Glatzmaier, Numerical modeling of the geodynamo: Mechanisms of field generation and equilibration, Journal of Geophysical Research: Solid Earth, vol.24, issue.B5, pp.383-10404, 1999.
DOI : 10.1029/97GL02955

P. Olson, I. Sumita, and J. Aurnou, Diffusive magnetic images of upwelling patterns in the core, Journal of Geophysical Research: Solid Earth, vol.86, issue.B12, pp.234810-1029, 2002.
DOI : 10.1029/95JB00863

M. Peyrot, F. Plunian, and C. Normand, Parametric instability of the helical dynamo, Physics of Fluids, vol.16, issue.5, 2007.
DOI : 10.1103/PhysRevLett.98.044502

URL : https://hal.archives-ouvertes.fr/hal-00381972

Y. Ponty and F. Plunian, Transition from Large-Scale to Small-Scale Dynamo, Physical Review Letters, vol.7, issue.15, 2011.
DOI : 10.1088/1367-2630/10/12/125007

URL : https://hal.archives-ouvertes.fr/hal-00632675

Y. Ricard, O. ?rámek, and F. Dubuffet, A multi-phase model of runaway core???mantle segregation in planetary embryos, Earth and Planetary Science Letters, vol.284, issue.1-2, pp.144-150, 2009.
DOI : 10.1016/j.epsl.2009.04.021

W. Riedler, K. Schwingenschuh, D. Moehlmann, V. N. Oraevskii, E. Eroshenko et al., Magnetic fields near Mars: first results, Magnetic fields near Mars?First results, pp.604-60710, 1038.
DOI : 10.1038/341604a0

D. Rubie, H. Melosh, J. Reid, C. Liebske, and K. Righter, Mechanisms of metal???silicate equilibration in the terrestrial magma ocean, Earth and Planetary Science Letters, vol.205, issue.3-4, pp.239-255, 2003.
DOI : 10.1016/S0012-821X(02)01044-0

V. S. Safronov, The heating of the earth during its formation, Icarus, vol.33, issue.1, pp.3-1210, 1978.
DOI : 10.1016/0019-1035(78)90019-2

H. Samuel, A re-evaluation of metal diapir breakup and equilibration in terrestrial magma oceans, Earth and Planetary Science Letters, vol.313, issue.314, pp.105-114, 2012.
DOI : 10.1016/j.epsl.2011.11.001

H. Samuel and P. Tackley, Dynamics of core formation and equilibration by negative diapirism, Geochemistry, Geophysics, Geosystems, vol.112, issue.33, pp.10-1029, 2008.
DOI : 10.1029/2006JB004789

N. Schaeffer and P. Cardin, Quasigeostrophic model of the instabilities of the Stewartson layer in flat and depth-varying containers, Physics of Fluids, vol.38, issue.10, 2005.
DOI : 10.1046/j.1365-246X.2003.01934.x

URL : https://hal.archives-ouvertes.fr/hal-00016419

H. Senshu, K. Kuramoto, and T. Matsui, Thermal evolution of a growing Mars, Journal of Geophysical Research: Planets, vol.74, issue.E12, pp.10-1029, 2002.
DOI : 10.1016/0019-1035(88)90031-0

M. C. Shannon and C. B. Agee, High pressure constraints on percolative core formation, High pressure constraints on percolative core formation, pp.2717-2720, 1996.
DOI : 10.1029/JB091iB09p09261

K. Spells, A Study of Circulation Patterns within Liquid Drops moving through a Liquid, Proc. Phys. Soc. B, pp.541-546, 1952.
DOI : 10.1088/0370-1301/65/7/310

O. ?rámek, Y. Ricard, and F. Dubuffet, A multiphase model of core formation, Geophysical Journal International, vol.181, issue.1, pp.198-220, 2010.
DOI : 10.1111/j.1365-246X.2010.04528.x

D. Stevenson, Models of the Earth's Core, Science, vol.214, issue.4521, pp.611-619, 1981.
DOI : 10.1126/science.214.4521.611

D. J. Stevenson, Mission to Earth's core ??? a modest proposal, Nature, vol.87, issue.6937, pp.423-239, 2003.
DOI : 10.1029/JB087iB05p03893

K. Stewartson, On almost rigid rotations, Journal of Fluid Mechanics, vol.none, issue.01, pp.17-2610, 1957.
DOI : 10.1017/S0022112057000452

W. B. Tonks and H. J. Melosh, Core formation by giant impacts, Icarus, vol.100, issue.2, pp.326-346, 1992.
DOI : 10.1016/0019-1035(92)90104-F

W. B. Tonks and H. J. Melosh, Magma ocean formation due to giant impacts, Journal of Geophysical Research: Planets, vol.18, issue.E3, pp.5319-5333, 1993.
DOI : 10.1146/annurev.ea.18.050190.001225

M. Touboul, T. Kleine, B. Bourdon, H. Palme, and R. Wieler, Late formation and prolonged differentiation of the Moon inferred from W isotopes in lunar metals, Nature, vol.84, issue.7173, pp.1206-1209, 2007.
DOI : 10.1016/j.epsl.2004.12.016

M. Ulvrová, N. Coltice, Y. Ricard, S. Labrosse, F. Dubuffet et al., Compositional and thermal equilibration of particles, drops, and diapirs in geophysical flows, Geochemistry, Geophysics, Geosystems, vol.9, issue.1-2, pp.1001410-1029, 2011.
DOI : 10.1007/BF00575336

Q. Yin, S. B. Jacobsen, K. Yamashita, J. Blichert-toft, P. Télouk et al., A short timescale for terrestrial planet formation from Hf-W chronometry of meteorites, Nature, pp.418-949, 2002.

T. Yoshino, M. J. Walter, and T. Katsura, Core formation in planetesimals triggered by permeable flow, Nature, vol.31, issue.6928, pp.154-157, 2003.
DOI : 10.1126/science.280.5368.1415