Comparative Study on the Open Boundary Conditions of Shallow Flows