A dynamo involves a few points: a conducting liquid, rotation, and convection. On Earth, convection occurs in the liquid outer layer of the core because the base of the liquid layer is a lot increased in temperature than the top. Then, over a time period of about a hundred million years, subduction takes place on an monumental scale, completely recycling the crust.