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

plotting

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 11, 2011, 05:55
Default plotting
  #1
Member
 
venkat
Join Date: Mar 2011
Location: Bangalore,india
Posts: 47
Rep Power: 6
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: 12
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

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
Contours of 2D plotting therockyy FLOW-3D 4 December 22, 2012 16:04
Free surface flow settubg boundary conditions and plotting velocity profiles prashanthreddyh FLUENT 1 December 2, 2009 12:06
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 01:50.