CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

How to plot contour labels in Paraview?

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 1 Post By aero_head
  • 1 Post By aerosayan
  • 2 Post By sbaffini

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 27, 2021, 07:07
Default How to plot contour labels in Paraview?
  #1
Senior Member
 
Sayan Bhattacharjee
Join Date: Mar 2020
Posts: 495
Rep Power: 8
aerosayan is on a distinguished road
Plotting labels on contours is absolutely broken in Paraview.
Asked in the Post-Processor subforum, but it's a ghost town.


Found a way to plot labels in Paraview, but the problem is that the values can only be plotted on Points in the mesh.
As shown in the pic, this means that we can't use it as contour labels because of the inaccuracy.


What do?

We need a better solution, and the Paraview dev team isn't taking this feature as high priority for many years.
Attached Images
File Type: jpg paraview-labels.jpg (126.1 KB, 47 views)
aerosayan is offline   Reply With Quote

Old   January 27, 2021, 22:48
Default
  #2
Senior Member
 
Kira
Join Date: Nov 2020
Location: Canada
Posts: 435
Rep Power: 8
aero_head is on a distinguished road
Hello Sayan,

Yes, I agree Paraview is not up to snuff with this kind of thing (especially compared to Tecplot).

If I understand correctly what you want to do, I think the best way to label these would be to take a screenshot, open an editing program such as Paint and add text in text boxes with your labels.

Might be a bit tedious, but such is research sometimes.
aerosayan likes this.
aero_head is offline   Reply With Quote

Old   January 28, 2021, 02:00
Default
  #3
Senior Member
 
Sayan Bhattacharjee
Join Date: Mar 2020
Posts: 495
Rep Power: 8
aerosayan is on a distinguished road
Quote:
Originally Posted by aero_head View Post
Hello Sayan,

Yes, I agree Paraview is not up to snuff with this kind of thing (especially compared to Tecplot).

If I understand correctly what you want to do, I think the best way to label these would be to take a screenshot, open an editing program such as Paint and add text in text boxes with your labels.

Might be a bit tedious, but such is research sometimes.

Hmmm.. I don't know, I found a way to export the point data x,y,z,T into a CSV file.
Maybe I can plot it in python or octave. Tedious work.
aero_head likes this.
aerosayan is offline   Reply With Quote

Old   January 28, 2021, 04:54
Default
  #4
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,190
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Why don't you just use the VTK library and write a program that will do just that? If I'm not wrong, VTK actually has this feature, it's just Paraview that doesn't use it for some reason.
aerosayan and aero_head like this.
sbaffini is offline   Reply With Quote

Old   January 28, 2021, 10:30
Default
  #5
Senior Member
 
Kira
Join Date: Nov 2020
Location: Canada
Posts: 435
Rep Power: 8
aero_head is on a distinguished road
Quote:
Originally Posted by sbaffini View Post
Why don't you just use the VTK library and write a program that will do just that? If I'm not wrong, VTK actually has this feature, it's just Paraview that doesn't use it for some reason.
Oh that's a good idea, yes VTK does have that feature I believe.
aero_head is offline   Reply With Quote

Reply


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
[OpenFOAM] basic question contour plot in paraview Kate ParaView 7 July 23, 2020 15:05
y+ contour plot through flow domain Katha CFX 5 July 20, 2017 08:38
3D contour plot from matlab vectors diggee Tecplot 1 June 5, 2017 13:19
[OpenFOAM] plot temperature vs time in paraview - chtMultiRegionFoam phsieh2005 ParaView 2 March 16, 2014 07:50
XY curved plot with Paraview nunoloureiro OpenFOAM 16 August 26, 2013 14:16


All times are GMT -4. The time now is 13:54.