|
[Sponsors] |
July 6, 2013, 09:40 |
bad stream error
|
#1 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
what have to do to resolve this error?
Code:
ehsan@Ehsan-com:~/Desktop/WR_2$ paraFoam --> FOAM FATAL IO ERROR: Attempt to get back from bad stream file: /home/ehsan/Desktop/WR_2/1.2e-05/U_0 at line 26324. From function void Istream::getBack(token&) in file db/IOstreams/IOstreams/Istream.C at line 56. FOAM exiting
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
July 7, 2013, 10:46 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quote:
|
||
March 25, 2019, 11:01 |
FOAM FATAL IO ERROR: Attempt to get back from bad stream
|
#3 |
New Member
Iftikhar Ali
Join Date: Aug 2017
Posts: 1
Rep Power: 0 |
I am facing a similar problem.
First I have written a gmsh script file by the name of rectBlock.geo, and then I have save the mesh file by the name rectBlock.msh. when I used the command gmshToFoam rectBlock.msh, I got the following error. I am in the run directory of openfoam. --> FOAM FATAL IO ERROR: Attempt to get back from bad stream file: IStringStream.sourceFile at line 0. From function bool Foam::Istream::getBack(Foam::token&) in file db/IOstreams/IOstreams/Istream.C at line 56. FOAM exiting files are attached Any help. Last edited by iftikhar; March 25, 2019 at 11:44. Reason: files attached |
|
March 26, 2019, 09:25 |
|
#4 |
Senior Member
|
Hi,
gmshToFoam can convert only version 2 of Gmsh format. You MSH file is version 4. Use "-format msh2" command line switch when you generate MSH file (or select "Verion 2 ASCII" if you use Export from GUI). |
|
August 7, 2021, 21:05 |
|
#5 |
New Member
Aero_Cats!
Join Date: Jul 2021
Location: Indonesia
Posts: 7
Rep Power: 4 |
Really helpful, Thank you!!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 13:21 |
DPM udf error | haghshenasfard | FLUENT | 0 | April 13, 2016 06:35 |
Undeclared Identifier Errof UDF | SteveGoat | Fluent UDF and Scheme Programming | 7 | October 15, 2014 07:11 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 18:44 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 14, 2003 23:19 |