bar-s-flow