Simulation of main flow and secondary flow in a curved open channel