Computing viscous flow along a 2D open channel using the immersed interface method