CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Plot over Line

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2009, 09:23
Default Plot over Line
  #1
New Member
 
varun
Join Date: Jul 2009
Location: Braunschweig, Germany
Posts: 28
Rep Power: 16
vw.cfd is on a distinguished road
HI,

I have a very simple query regarding 'Plot over Line' option in ParaView. I have a transient simulation, i wish to compare the results by using the Plot over Line option for various time-steps. But, i want to plot it all in one chart(superpose on one plot). Is it possible to do this in paraview 3.4? if not can i extract the date to Tecplot format?

ThanX!!!
varun
vw.cfd is offline   Reply With Quote

Old   November 16, 2009, 09:51
Default
  #2
Senior Member
 
Florian Krause
Join Date: Mar 2009
Location: Munich
Posts: 103
Rep Power: 17
florian_krause is on a distinguished road
Hi Varun,

I had the same task to perform and I also could not find something like this in paraview....

As an alternative I used the sample utility ( which also gives you the freedom to sample either interpolated or midpoint data ) and then I made a small matlab script which loops over all ./sets/<time directory> to read the sampled data.

maybe this helps

Best,
Florian
florian_krause is offline   Reply With Quote

Old   November 16, 2009, 10:02
Default
  #3
New Member
 
varun
Join Date: Jul 2009
Location: Braunschweig, Germany
Posts: 28
Rep Power: 16
vw.cfd is on a distinguished road
Hi Florian,

ThanX for the idea, but could you please elaborate on how to use the sample utility. I have'nt performed anythin of such sort before.

Thnx again!

varun
vw.cfd is offline   Reply With Quote

Old   November 16, 2009, 10:53
Default
  #4
Senior Member
 
Florian Krause
Join Date: Mar 2009
Location: Munich
Posts: 103
Rep Power: 17
florian_krause is on a distinguished road
Hi Varun,

what about searching in the UserGuide or ask google for e.g. 'sample openfoam' I am pretty sure, that the first hit will answer your question....

Best,
Florian
florian_krause is offline   Reply With Quote

Old   December 5, 2009, 16:25
Default using sample
  #5
Member
 
zobekenobe
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 72
Rep Power: 17
zobekenobe is on a distinguished road
basically thers a sampleDict file that you paste in /system directory and then after having run the case use the following command

sample -time x
where x is the time at which you want a sample of the data

a log file will be created that can then simply be transferred to somthing like excel etc.

by simply giving sample as a command the log file of all your time steps will created consuming alot of your space.

now basically in the sampleDict file modify the coordinates of the line over which you want the data ...if wrongly done then you have empty files of the variables created within the log directory
zobekenobe 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
[Gmsh] Problem with Gmsh nishant_hull OpenFOAM Meshing & Mesh Conversion 23 August 5, 2015 03:09
OpenFOAM15 installables are incomplete problem with paraFoam tryingof OpenFOAM Bugs 17 December 7, 2008 05:41
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 05:26
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


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