Magnetohydrodynamics of the Earth's Dynamo