Fluid flow in a random porous medium: A network model and effective medium approximation