|
[Sponsors] |
February 7, 2010, 08:08 |
Fatal IO Error about "Sout"
|
#1 |
Senior Member
Sandy Lee
Join Date: Mar 2009
Posts: 213
Rep Power: 18 |
Hi OpenFOAMers,
When I run my case, I got the error informations as follows: --> FOAM FATAL IO ERROR error in IOstream "Sout" for operation Ostream& operator<<(Ostream&, const word&) file: Sout at line 21747 From function IOstream::check(const char*) const in file db/IOstreams/IOstreams/IOstream.C at line 94. FOAM exiting What's the matter with it? Please help me out. Thanks. Sandy sandy.lee37@gmail.com |
|
February 7, 2010, 20:27 |
|
#2 |
Senior Member
Sandy Lee
Join Date: Mar 2009
Posts: 213
Rep Power: 18 |
I can not even recompile my solver in the "Debug" option too. Tears , what I can do for the code. Please help.
|
|
October 28, 2011, 10:12 |
|
#3 |
New Member
huxiaoxia
Join Date: Oct 2010
Posts: 18
Rep Power: 16 |
I got the same problem. Does anyone know what 's problem?
|
|
October 3, 2012, 17:32 |
|
#4 |
Member
HD
Join Date: Jul 2011
Posts: 56
Rep Power: 15 |
I got the same problem as well, any one has any suggestions?
I truly appreciate it. Best, Hang |
|
February 1, 2013, 05:27 |
--> FOAM FATAL IO ERROR: error in IOstream "Sout" for operation Ostream& operator<<(
|
#5 |
Member
Jamal
Join Date: May 2012
Location: Freiburg
Posts: 54
Rep Power: 13 |
Dear
Did any one of you get th solution for this problem as I am also facing the same issue. I am using OF 1.7.1. In the start simulation runs properly and then it stops giving the error. Suggestions & Comments are wellcomed. regards, Jamal |
|
February 7, 2014, 03:51 |
|
#6 |
New Member
Josefine Wilms
Join Date: Sep 2009
Posts: 10
Rep Power: 17 |
hi
i got the same issue. think it was due to me writing out far too much to the log file. Got the error when my log file was about 40GB in size :P Reduced the amount of data written to log file and re-ran run from latest time. works fine now. Therefore i think it may be that you're simply running out of disk space. best Fine |
|
November 20, 2015, 14:28 |
How to reduce log.file size ?
|
#7 |
Member
Werner
Join Date: Jul 2015
Location: West Lafayette, USA
Posts: 34
Rep Power: 11 |
Hi Josefine and All,
How do you reduce the amount of data written to the log.file ? Is there an option I could include as "> log.solver XX XX " to write several files at a given size of the current log.file ? Thank you very much, Werner |
|
November 21, 2015, 15:12 |
write to multiple log files
|
#8 |
New Member
Josefine Wilms
Join Date: Sep 2009
Posts: 10
Rep Power: 17 |
Hi Werner
I remember finding a script some time ago on the forums which partially addressed this issue. I modified the perl script somewhat to write to multiple files. Copy the attached text file "betaLogger" into your case folder (i.e. into the folder containing your 0,constant, and system folders) Open terminal at that location and run chmod +x betaLogger (to make the file executable) Whereas you used to run your case with solver > log you will now run your case with: solver | ./betaLogger 1000 > log where 1000 signifies the maximum number of lines you wish to allow per file. For example: myCompressibleTwoPhaseEulerFoam | ./betaLogger 1000 log Let me know if this works All the best Josefine |
|
November 21, 2015, 20:17 |
Thanks !
|
#9 |
Member
Werner
Join Date: Jul 2015
Location: West Lafayette, USA
Posts: 34
Rep Power: 11 |
Hi Josefine !
thank you very much ! In the moment I don't need this because I restarted the simmulation with a new mesh and the problem didn't appear this time. But thank you anyway I'll keep the script for the time that I really need it Regards, Werner |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
desperate Fatal overflow in linear solver - transient | kingjewel1 | CFX | 9 | January 5, 2010 14:53 |
Foam fatal error | weninb | OpenFOAM | 0 | June 15, 2009 23:45 |
Which is the fatal error when foamInstallationTest | eddy | OpenFOAM Installation | 2 | March 30, 2008 22:13 |
Fatal error error writing to tmp No space left on device | maka | OpenFOAM Installation | 2 | April 3, 2006 09:48 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |