CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   2D color plot from 3D data (https://www.cfd-online.com/Forums/paraview/113359-2d-color-plot-3d-data.html)

Nick88 February 18, 2013 13:10

2D color plot from 3D data
 
2 Attachment(s)
Hi

I have some data defined over the surface of a pipe, and I want to print them on a 2D color map. In order to visualize all the result in a single 2D plot, I would like to use a polar coordinate system (r,theta,z) instead of the cartesian one, and use theta and z as axes for the plot.

How I can do it?

In the images there is an example, made with Tecplot:

Attachment 19116
Attachment 19117

wyldckat February 18, 2013 16:25

Greetings Nicolò,

I haven't confirmed this, but I believe the either the "wrap by scalar" or "wrap by vector" filters should do what you want:
Best regards,
Bruno

Nick88 February 20, 2013 09:31

2 Attachment(s)
Bruno, thanks for the suggestion.

I have obtained the result in the image, using the "warp by vector" filter:

Attachment 19220

Then I can use "Extract Cells By Region" to remove the deformed cells in the area in which the warp filter cuts the geometry, and a "Clip" to remove the irregular boundaries. The final result is this:

Attachment 19219

openfoam_user May 5, 2017 08:56

Hi Nicolò,

I try to reproduce what you did.

But when I select the 'warp by vectors' filter, the vectors box is blanked. So I can't select any vectors. Do you know the reason ?

Un saluto,
Stéphane

wyldckat May 7, 2017 08:27

Quote:

Originally Posted by openfoam_user (Post 647784)
But when I select the 'warp by vectors' filter, the vectors box is blanked. So I can't select any vectors. Do you know the reason ?

Quick question: Does the original data (before trying to apply the filter) have any vector fields?
And if it does have vector fields, are they of type "point data" or "cell data"?

openfoam_user May 9, 2017 01:33

Hi,

Sorry for the question.
The vector field (the only one) was selected (grey-light colored).

Have a nice day,
Stéphane.


All times are GMT -4. The time now is 22:43.