The numerical solution of two-dimensional flow in a branching channel