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

the plot of streamline of NS equation.

0 votes

nomatter what kind of method do i use to solve the NS equations.

I have the solution of NS equations,

Right now, i want to plot the streamline of the solution.

what can i do?

asked Sep 15, 2015 by Hamilton FEniCS Novice (500 points)

1 Answer

+2 votes

Your question is about visualization and not directly related to Fenics.
Nevertheless you can try VTK or any of its various wrapping libraries/GUI frontends such as ParaView or Mayavi. The simple plotter that comes with Fenics is a VTK wrapper, too, but does not have any advanced visualization features.

For example VTK offers a StreamTracer class (see here) that does the work for you and is available in ParaView via the Filters menu. You have several options to set seeds as initial values for the integration scheme. Needless to say it takes a bit of time to get familiar with the workflow.

answered Sep 15, 2015 by konstantin FEniCS Novice (900 points)
...