Simulation of free surface flow over the streamlined weirs