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

Information about Plot over line

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

Reply
 
LinkBack Thread Tools 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: 4
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, 07:32
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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 online now   Reply With Quote

Old   April 1, 2013, 09:25
Default
  #3
New Member
 
Vincenzo Sportiello
Join Date: Mar 2013
Posts: 3
Rep Power: 4
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, 11:23
Default
  #4
New Member
 
Vincenzo Sportiello
Join Date: Mar 2013
Posts: 3
Rep Power: 4
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, 16:54
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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 online now   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
compressible flow in turbocharger riesotto OpenFOAM 50 May 26, 2014 01:47
mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 05:16
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
1.7.x Environment Variables on Linux 10.04 rasma OpenFOAM Installation 9 July 30, 2010 04:43
Plot over line different cases ep4 OpenFOAM Paraview & paraFoam 1 November 27, 2008 12:47


All times are GMT -4. The time now is 05:04.