Numerical study of fluid flow at pore scale in packed bed of spheres and grains to obtain the REV