I've implemented a fluid simulation based on the paper Stable Fluids.
It works quite well, except I would like to have the velocity at the "upper" edge just to outflow and not to re-enter on the lower(opposite) edge. Apparently that's a side-effect of the periodic boundaries.
Is there an easy method to still achieve this? How would I need to modify the velocity?
Edit: The fluid may just exit, since I'm just interested in how the velocity evolves (and since I'm adding new tracing particles all the time anyway).
Actually I use an (3d-)extended version of the CUDA fluid example. I guess it's mesh-full and yes, it involves the FFT.