The influence of the wall on flow through pipes packed with spheres