CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] 2D color plot from 3D data

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Nick88

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 18, 2013, 12:10
Default 2D color plot from 3D data
  #1
New Member
 
Nicolò Demicheli
Join Date: Nov 2012
Location: Italy
Posts: 4
Rep Power: 13
Nick88 is on a distinguished road
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:

export2.jpg
export.jpg
Nick88 is offline   Reply With Quote

Old   February 18, 2013, 15:25
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   February 20, 2013, 08:31
Default
  #3
New Member
 
Nicolò Demicheli
Join Date: Nov 2012
Location: Italy
Posts: 4
Rep Power: 13
Nick88 is on a distinguished road
Bruno, thanks for the suggestion.

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

exp0.jpg

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:

exp.jpg
wyldckat likes this.
Nick88 is offline   Reply With Quote

Old   May 5, 2017, 08:56
Default
  #4
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18
openfoam_user is on a distinguished road
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
openfoam_user is offline   Reply With Quote

Old   May 7, 2017, 08:27
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by openfoam_user View Post
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"?
wyldckat is offline   Reply With Quote

Old   May 9, 2017, 01:33
Default
  #6
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18
openfoam_user is on a distinguished road
Hi,

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

Have a nice day,
Stéphane.
openfoam_user is offline   Reply With Quote

Reply

Tags
2d plot, change of coordinates, color map


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFD by anderson, chp 10.... supersonic flow over flat plate varunjain89 Main CFD Forum 18 May 11, 2018 07:31
[OpenFOAM] Paraview doesn't seem to be picking up data generated by icofoam MikeHersee ParaView 2 January 6, 2015 08:27
Data Produced From Fine Marine Cant Match with The Experimental Data PeiSan Fidelity CFD 4 August 23, 2014 05:33
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem Attesz OpenFOAM Meshing & Mesh Conversion 12 May 2, 2013 10:52
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 17:27


All times are GMT -4. The time now is 19:07.