random flow generator