Non-Newtonian shear-thinning fluid passing through a duct with an obstacle, using a power law model