Hello Javiera,
You have a couple of options for your simulation, depending on whether you want to include sediment transport and prescribe a sediment flux at the inlet or not.
Without sediment transport:
You should stick with prescribing Q at the inlet and H at the outlet. To do so you can try to:
- Increase the bottom roughness at the inlet
- Extend the inlet upstream by adding an artificial pond, which will ensure subcritical flow conditions
If you are prescribing sediment (likely bed load) at the inlet:
You will need to deal with the supercritical inlet boundary. To do this, prescribe both Q and H at the inlet and leave the outlet free (444). Be careful to prescribe the water depth correctly so that the actual discharge is close to the prescribed value. As a next step, you can modify some subroutines to compute the difference between the actual discharge and the prescribed one in each time step, and add or subtract this difference shortly after the inlet using sources. This approach has worked well for me, even with unsteady hydrographs and prescribed bed load at the inlet.
Best regards,
Sebastian