This example is in the examples/boundaries directory and it simulates a simplified river plume in order to demonstrate the use of velocity as well as scalar boundary conditions at the inflow and the outflow.
examples/boundaries