Numerical study of the transition to chaotic convection inside spherical shells