Hello,
This is a frequently asked question, and your problem is actually not simple, it is just not well posed. You cannot simply prescribe a discharge on a dry open boundary, because it will be a supercritical flow at the beginning, and then you must prescribe both velocity and depth, or discharge and depth. As you have posed your problem, you could have e.g. a depth of 2 m and a velocity of 1 cm/s or a depth of 2 cm and a velocity of 1 m/s, giving the same discharge, so an infinite number of solutions. At the beginning your boundary conditions need to be 5 5 5, and only if the flow becomes fluvial you then move to 4 5 5. As this may be cumbersome you can also enlarge your domain by a deep zone which is already flooded, with open boundaries that will remain with a fluvial flow.
With best regards,
Jean-Michel Hervouet