Modelling of flows through hydraulic structures and interaction with sediment