CGNS and representing vectors from 2D datasets

Dear Paraview Universe,

I have a .cgns file from a 2D dataset (x,y). I want to visualize the streamlines and tried using EvenlySpacedStreamlines2D. However, this option is grayed out and I am very certain that my domain is in the x-y domain.

Per this post, it seems like CGNS in general can’t doesn’t 2D vectors as a 3D vector with a zero component in the z direction. Is this understanding correct? If so, do you have recommendations for visualizing a vector field plot from a .cgns file? Thank you!

Ok success! I partially figured out my problem (major thanks to Cornell’s documentation)

For people who were confused like me, construct a vector using the calculator function by multiplying the velocity components (scalar components drop down button) with unit vector (on calculator). Once the vector is created you can then apply a Glyph and manipulate the sizing, coloring etc

For my problem, my data is only saving the vector components of my mesh coordinates (image above). Not sure why; I don’t have velocity components, vorticity components or any other fluid property components that are represented by a vector. Tried saving it as a .plt file and problem was still there. My sim’s are through ANSYS Fluent and using Paraview v5.10; not sure if Fluent is saving the file into a format that is friendly to Paraview

ok paraview universe- I think I got one step closer to understanding you. Recording what I did for posterity:

So the trick was to convert the .cgns file point data - then the vector components in the calculator popped up in the drop-down menu. from there, converted the velocity components into cartesian components. double checked the calculator filter matched the original contour plot (I know the color maps are different but they matched when I compared the same color map). then applied glyph, but had to scale the vectors to be much smaller. To get a streamline, changed the arrow to be aline. The rest was formatting

Now that this is figured out, the next step is how to get fluid properties along a streamline. rather than plotting data over a line in the geometry, I’d like to plot properties along a streamline. haven’t done this before in Paraview but maybe someone in the Paraview Universe has? looking forward to advice

how to get fluid properties along a streamline.

You probably want to use ResampleWithDataset filter