|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Vincent Leroy
Join Date: Jul 2012
Location: Rhode-Saint-Genèse, Belgium
Posts: 43
Rep Power: 14 ![]() |
Dear PyFoam users,
Some of my solvers generate big amounts of logs. When using a BasicRunner object, the script prints, on job termination, things like Code:
Unused output: UTildeStarAverage = 3.72048262e-09 Unused output: Unused output: Time = 82.48 Unused output: Unused output: DILUPBiCG: Solving for UTildeStary, Initial residual = 5.624271647e-09, Final residual = 5.624271647e-09, No Iterations 0 Unused output: DICPCG: Solving for pTildeStar, Initial residual = 4.043827184e-07, Final residual = 4.043827184e-07, No Iterations 0 |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 ![]() ![]() |
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Vincent Leroy
Join Date: Jul 2012
Location: Rhode-Saint-Genèse, Belgium
Posts: 43
Rep Power: 14 ![]() |
Thank you for your answer. Would it make any sense to hide this unused output? (I saw that there is no switch to enable or disable this in the FoamThread class)
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 ![]() ![]() |
This output is usually generated if there is a problem (program aborted etc). I put it there to help diagnosing problems and am VERY reluctant to do any attempts to hide it. Do you get it during "regular" operations or just when aborting the program?
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
![]() |
![]() |
![]() |
![]() |
#5 | |
Member
Vincent Leroy
Join Date: Jul 2012
Location: Rhode-Saint-Genèse, Belgium
Posts: 43
Rep Power: 14 ![]() |
Quote:
I get it during regular use, when processing a small case which requires lots of time steps. The solver generates tons of output and my guess would be that the solver is "too quick" for the output to be processed on-time. I finally wrote a very basic runner class, which doesn't monitor the running thread with another one and silently launches the binary using the subprocess.call() function and redirects the output to a log file. This is okay for the case I am running. |
||
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] outputTime in Swak function | immortality | OpenFOAM Community Contributions | 20 | October 6, 2022 13:08 |
writing execFlowFunctionObjects | immortality | OpenFOAM Post-Processing | 30 | September 15, 2013 07:16 |
RNG diverged during the analysis the flow over a multi element airfoil, why? | s.m | OpenFOAM Running, Solving & CFD | 0 | August 5, 2013 09:39 |
mixerVesselAMI2D's mass is not balancing | sharonyue | OpenFOAM Running, Solving & CFD | 6 | June 10, 2013 10:34 |
lift and drag on ship superstructures | vaina74 | OpenFOAM Running, Solving & CFD | 3 | June 8, 2010 13:30 |