Numerical simulation of flow in open-channels with hydraulic structures