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

Plotting residuals

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2014, 03:01
Default Plotting residuals
  #1
New Member
 
Marijo
Join Date: Jan 2011
Posts: 12
Rep Power: 15
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: 47
Rep Power: 13
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: 15
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


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
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 20:05
[PyFoam] plotting residuals with different line types or points and fewer variables gustavo_nicknich OpenFOAM Community Contributions 7 March 25, 2013 06:46
Plotting Residuals ata OpenFOAM 12 July 8, 2011 02:50
Plotting residuals for solid Julie Siemens 1 October 29, 2004 06:24


All times are GMT -4. The time now is 10:34.