Dynamical geochemistry of the mantle