An efficient coupling of free flow and porous media flow using the pore-network modeling approach (Journal of Computational Physics: X)