I have the time averaged X,Y,Z velocity of a pipe flow and I have exported them into paraview format. Now i want to draw the vectors on the plane or cross-section of the pipe with my time averaged vectors field. I have created a calculator as: ihatxvel+jhatyvel+khat*zvel, and using surface vectors but it is not plotting them. What is the issue?
I’m not totally sure I understand what you want to do. By “draw the vectors.” I assume you mean that you want to have little arrows or something like that pointing in the direction of the flow. If that is the case, then Glyph is the filter you are looking for. The steps you need for that are:
Combine the component fields into a vector field. The way you are doing it with the Calculator filter is fine. Recent versions of ParaView also have a filter named Merge Vector Components that makes this process a little easier.
Add the Slice filter and position the slice plane at the cross section of the pipe where you want to see the vector field.
Add the Glyph filter and select your vectors to orient and (optionally) scale the arrows. You may also need to modify the Scale Factor to get them sized right.