A slurry model of the F-layer in the Earth's core