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

Fatal IO Error about "Sout"

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Fine

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 7, 2010, 07:08
Default Fatal IO Error about "Sout"
  #1
Senior Member
 
Sandy Lee
Join Date: Mar 2009
Posts: 213
Rep Power: 18
sandy is on a distinguished road
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
sandy is offline   Reply With Quote

Old   February 7, 2010, 19:27
Default
  #2
Senior Member
 
Sandy Lee
Join Date: Mar 2009
Posts: 213
Rep Power: 18
sandy is on a distinguished road
I can not even recompile my solver in the "Debug" option too. Tears , what I can do for the code. Please help.
sandy is offline   Reply With Quote

Old   October 28, 2011, 09:12
Default
  #3
New Member
 
huxiaoxia
Join Date: Oct 2010
Posts: 18
Rep Power: 15
huxiaoxia is on a distinguished road
I got the same problem. Does anyone know what 's problem?
huxiaoxia is offline   Reply With Quote

Old   October 3, 2012, 16:32
Default
  #4
Member
 
HD
Join Date: Jul 2011
Posts: 56
Rep Power: 14
Rebecca513 is on a distinguished road
I got the same problem as well, any one has any suggestions?

I truly appreciate it.

Best,

Hang
Rebecca513 is offline   Reply With Quote

Old   February 1, 2013, 04:27
Default --> 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: 12
aujamal20 is an unknown quantity at this point
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
aujamal20 is offline   Reply With Quote

Old   February 7, 2014, 02:51
Default
  #6
New Member
 
Josefine Wilms
Join Date: Sep 2009
Posts: 10
Rep Power: 16
Fine is on a distinguished road
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
Fine is offline   Reply With Quote

Old   November 20, 2015, 13:28
Default How to reduce log.file size ?
  #7
Member
 
Werner
Join Date: Jul 2015
Location: West Lafayette, USA
Posts: 34
Rep Power: 10
WernerW is on a distinguished road
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
WernerW is offline   Reply With Quote

Old   November 21, 2015, 14:12
Default write to multiple log files
  #8
New Member
 
Josefine Wilms
Join Date: Sep 2009
Posts: 10
Rep Power: 16
Fine is on a distinguished road
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
Attached Files
File Type: gz betaLogger.tar.gz (303 Bytes, 18 views)
wyldckat likes this.
Fine is offline   Reply With Quote

Old   November 21, 2015, 19:17
Default Thanks !
  #9
Member
 
Werner
Join Date: Jul 2015
Location: West Lafayette, USA
Posts: 34
Rep Power: 10
WernerW is on a distinguished road
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
WernerW is offline   Reply With Quote

Reply


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
desperate Fatal overflow in linear solver - transient kingjewel1 CFX 9 January 5, 2010 13:53
Foam fatal error weninb OpenFOAM 0 June 15, 2009 22:45
Which is the fatal error when foamInstallationTest eddy OpenFOAM Installation 2 March 30, 2008 21:13
Fatal error error writing to tmp No space left on device maka OpenFOAM Installation 2 April 3, 2006 08:48
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16


All times are GMT -4. The time now is 20:23.