|
[Sponsors] |
August 3, 2014, 04:01 |
Plotting residuals
|
#1 |
New Member
Marijo
Join Date: Jan 2011
Posts: 12
Rep Power: 15 |
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! |
|
August 15, 2014, 11:41 |
|
#2 |
Member
hannes
Join Date: Mar 2013
Posts: 47
Rep Power: 13 |
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 |
|
August 16, 2014, 04:38 |
|
#3 |
New Member
Marijo
Join Date: Jan 2011
Posts: 12
Rep Power: 15 |
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" |
|
Tags |
openfoam residuals |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
plotting grid-wise residuals | defrak | OpenFOAM | 1 | May 20, 2015 04: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 Community Contributions | 7 | March 25, 2013 07:46 |
Plotting Residuals | ata | OpenFOAM | 12 | July 8, 2011 03:50 |
Plotting residuals for solid | Julie | Siemens | 1 | October 29, 2004 07:24 |