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

[General] Information about Plot over line

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 29, 2013, 05:48
Default Information about Plot over line
  #1
New Member
 
Vincenzo Sportiello
Join Date: Mar 2013
Posts: 3
Rep Power: 13
redrum86 is on a distinguished road
Hi, I started using Paraview a couple days ago fot my thesis, and I have a problem about Plot over line... It is possible to use this command for more elements at the same time in order to see in the same graphic variables from these different elements? Because I have to compare the evolution of the bottom profile in a particular section of a channel, and I have made some simulations at different times, so I would like to compare these different profiles on the same plot.
Hope I explained myself, my english is very poor!
thanks
redrum86 is offline   Reply With Quote

Old   April 1, 2013, 08:32
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 Vincenzo,

OK, if I understand you correctly, you want more than one plot over line displayed in the same graph.
Here's what I managed to figure out:
  1. Apply the filter "Plot over Line" to the main data, as many times as you need.
  2. You wont like this one, but now you'll have to use the "Calculator" filter on most of the "Plot over Line" entries and tell it to create new fields based on the old ones, but with a different name. For example, to create a new field based on "p", but with the name "p_out", configure the calculator with the following:
    • Result Array Name: p_out
    • below that entry, it's the calculation, for which you simply use: p
  3. Select all of the resulting calculators and apply the filter "Append Geometry".
  4. Then apply to the last one the filter "Plot Data".
  5. Then on the "Display" tab of the "Plot Data" entry, configure appropriately.
Or instead of using such a complicated method:
  1. Apply as many "Plot over Line" filters you need.
  2. Choose one at a time and go to the menu "File -> Save Data" and export to CSV.
  3. Open the various CSV files, rename the columns you want renamed.
  4. Then open the CSV files in LibreOffice's Calc or Office's Excel and do the plots there!
    • Or import the CSV files back to ParaView and use the "Plot Data" filter.
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 1, 2013, 10:25
Default
  #3
New Member
 
Vincenzo Sportiello
Join Date: Mar 2013
Posts: 3
Rep Power: 13
redrum86 is on a distinguished road
I chose the second option, it works well! thank u a lot anyway
redrum86 is offline   Reply With Quote

Old   April 2, 2013, 12:23
Default
  #4
New Member
 
Vincenzo Sportiello
Join Date: Mar 2013
Posts: 3
Rep Power: 13
redrum86 is on a distinguished road
Hi, I have an other question but I don't know if you can say something about it... what kind of interpolation Plot over line does? is it a linear one?
Thanks anyway
redrum86 is offline   Reply With Quote

Old   April 2, 2013, 17:54
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
Hi Vincenzo,

I haven't checked the VTK source code, but the answer given on this email seems to be related and/or make sense: http://permalink.gmane.org/gmane.com...view.user/9886

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 18:22
Derivative of velocity and mean velocity hiuluom OpenFOAM Post-Processing 1 May 30, 2015 00:42
8x icoFoam speed up with Cufflink CUDA solver library kmooney OpenFOAM Running, Solving & CFD 42 November 6, 2012 12:37
[Gmsh] Layers in a curved surface Artex85 OpenFOAM Meshing & Mesh Conversion 1 December 18, 2011 09:51
OpenFOAM15 installables are incomplete problem with paraFoam tryingof OpenFOAM Bugs 17 December 7, 2008 05:41


All times are GMT -4. The time now is 09:53.