CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   how to draw velocity with direction in paraView? (https://www.cfd-online.com/Forums/openfoam-solving/111383-how-draw-velocity-direction-paraview.html)

immortality January 5, 2013 11:55

how to draw velocity with direction in paraView?
 
hi all
in my case velocity is directed through positive or negative x-axis .then I want to draw the velocity with its sign.how can i have a figure of velocity over time at a certain point with its true direction not only its magnitude.is it possible with paraView or the data should extract and plot separately?
thanks a lot.

gschaider January 5, 2013 18:34

Quote:

Originally Posted by immortality (Post 400218)
hi all
in my case velocity is directed through positive or negative x-axis .then I want to draw the velocity with its sign.how can i have a figure of velocity over time at a certain point with its true direction not only its magnitude.is it possible with paraView or the data should extract and plot separately?
thanks a lot.

Have a look at the icon-bar in PV: just to the left of the drop-down with which you selected "U" there is a dropdown that says "Magnitude". The other options in this dropdown are "X", "Y" and "Z" ... guess what that means

immortality January 6, 2013 02:32

thank you very much dear bernard.i'll test it.

immortality January 7, 2013 11:11

it works when showing x-velocity distribution.but when I want to draw the time trace at a given poit it draws U(Magnitude)only not x-velocity magnitude.

gschaider January 7, 2013 14:38

Quote:

Originally Posted by immortality (Post 400523)
it works when showing x-velocity distribution.but when I want to draw the time trace at a given poit it draws U(Magnitude)only not x-velocity magnitude.

Don't use that time-trace. Usually (for line-plots) there are 4 Options: magnitude and the components. Manitude is selected. The other 3 are not.

immortality January 7, 2013 15:26

thanks.i drew that.after select the point and plot over time,U0 should be selected.thanks for the clue.


All times are GMT -4. The time now is 21:02.