Modelling the palaeo-evolution of the geodynamo