Numerical simulation of a shear-thinning fluid through packed spheres