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

plotting

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 11, 2011, 05:55
Default plotting
  #1
Member
 
venkat
Join Date: Mar 2011
Location: Bangalore,india
Posts: 47
Rep Power: 15
venkataramana is on a distinguished road
hi openFoam users,
after running foamLog file, what is the script for plotting iteration vs residuals using gnu plot.

Regards,
venkat
venkataramana is offline   Reply With Quote

Old   July 11, 2011, 07:09
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
Bernhard is on a distinguished road
Did you try plot "filename"?

I made a small file in my bin directory (called plotLog)
Code:
#!/bin/bash
gnuplot -p << EOF
plot "$1" using 1:2 
EOF
So that from your logs folder, you can type
> plotLog fileName
Bernhard 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
Free surface flow settubg boundary conditions and plotting velocity profiles prashanthreddyh FLUENT 2 October 21, 2015 09:58
Contours of 2D plotting therockyy FLOW-3D 4 December 22, 2012 15:04
Graph plotting Lam FLUENT 2 September 25, 2003 07:02
Plotting "in-plane" in 3-D Karl Kevala FLUENT 0 September 6, 2001 17:47
Contour plotting Mark Russell Main CFD Forum 5 April 22, 2000 22:45


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