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

Plotting residuals

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 3, 2014, 03:01
Default Plotting residuals
  #1
New Member
 
Marijo
Join Date: Jan 2011
Posts: 12
Rep Power: 7
krembil is on a distinguished road
Hello,

How can I use the pyFoamPlotRunner.py to plot residuals with a job scheduler (bsub)?

bsub -n 60 mpirun simpleFoam -parallel

How can I redirect the output to the pyFoamPlotRunner.py and plot the residuals?

Thanks!

krembil is offline   Reply With Quote

Old   August 15, 2014, 10:41
Default
  #2
Member
 
hannes
Join Date: Mar 2013
Posts: 42
Rep Power: 5
hanness is on a distinguished road
Hi Krembil,

you can redirect the output to a logfile:

bsub -n 60 mpirun simpleFoam -parallel > log

and then use the pyFoamPlotWatcher.py to see the residuals progress.

Hannes
hanness is offline   Reply With Quote

Old   August 16, 2014, 03:38
Default
  #3
New Member
 
Marijo
Join Date: Jan 2011
Posts: 12
Rep Power: 7
krembil is on a distinguished road
Thank you Hanness for the replay.

But bsub -n 60 mpirun simpleFoam -parallel > log only writes in the log the output from the bsub, not from the simpleFoam

I have found the solution:

bsub -n 60 "mpirun simpleFoam -parallel > log"
krembil is offline   Reply With Quote

Reply

Tags
openfoam residuals

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
plotting grid-wise residuals defrak OpenFOAM 1 May 20, 2015 03:30
Plotting Residuals using HelyxOS EFoster2 OpenFOAM Running, Solving & CFD 0 February 17, 2014 21:05
pyFoam - plotting residuals with different line types or points and fewer variables gustavo_nicknich OpenFOAM Post-Processing 7 March 25, 2013 07:46
Plotting Residuals ata OpenFOAM 12 July 8, 2011 02:50
Plotting residuals for solid Julie CD-adapco 1 October 29, 2004 06:24


All times are GMT -4. The time now is 00:39.