This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Stream visualization

0 votes

Hi,

I am modeling 2D NS flow around a cycinder based off the fenics tutorial section 3.4 code and would like to achieve something similar to this karmen vortex visualization found on youtube:
https://www.youtube.com/watch?v=X3nLhCQv5Pg

At first I assumed the movie graphic was a velocity plot and set up the BCs accordingly (2 streams coming out of a wall on the left), but doing so revealed that the movie graphic was probably not a velocity plot (which makes a lot of sense in retrospect). Rather it seems part of the inflow is colored for visualization.

Anyone know how this might be done?

Thanks in advance.

asked Dec 10, 2016 by rickford94 FEniCS Novice (210 points)

Try a one way coupling of the NS equations to an advection equation in which the velocity of the tracer distribution comes from the NS solution.

...