Bubble transport in flashing flow