CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Velocity Vectors not possible for 2-D models? (https://www.cfd-online.com/Forums/paraview/226242-velocity-vectors-not-possible-2-d-models.html)

Gallienus April 21, 2020 15:01

Velocity Vectors not possible for 2-D models?
 
I suppose I should call them Glyphs now. Anyhow, running XUbuntu 18.04, 64bit (a LTS) with ParaView 5.6.0. Actually it's ParaFoam but I think the app is pretty much the same thing.

For a 2-D model: the OpenFoam lid driven cavity tutorial 2.1.
I encountered the error in that Velocity Vectors cannot be colored with Velocity: only with Pressure. I can display countours of Velocity so I guess this means the data set is fully loaded.

This question was previously asked with ParaView 4.1 (2014) but has persisted to ParaView 5.6 and possibly 5.8 now.

A link to that post from Sept, 2014 is:
https://www.cfd-online.com/Forums/pa...1-0-64bit.html
Wyldkat provides a workaround to use a Calculator filter in the middle. I've tried this and the Calculator Results still are not displayable. I'll attach a screenshot:

https://flowsimulations.com/images/s..._annotated.jpg

For the Calculator I tried using the U as a Result according to the Scalers:
Attrib. type: point data
Result: sqrt(U_X^2+U_Y^2+U_Z^2)

since I really have a 2-D model I also tried
Result: sqrt(U_X^2+U_Y^2)

Neither worked. I also downloaded the ParaView 5.8 but I notice that a user here states that it has the exact same problem.

This question has also been asked on the ParaView Development forum. It has been resolved there. https://discourse.paraview.org/t/vel...a-feature/1087

The suggestion which worked was to use ParaView version 5.8.0 and add the glyph filter on the calculator not the cell centers.


All times are GMT -4. The time now is 03:51.