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

Problem while reading header for object fvSolution

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ingraban

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 21, 2019, 08:39
Default Problem while reading header for object fvSolution
  #1
New Member
 
Aaron Pumnul
Join Date: May 2019
Posts: 9
Rep Power: 7
aaron99 is on a distinguished road
Hello,

How can I solve this kind of problem ?
For me it occurs randomly, from the source code I saw
it might be the case that the stream is bad ? if so, then why ?


Code:
[0] --> FOAM FATAL IO ERROR: 
[0] problem while reading header for object fvSolution
[0] 
[0] file: /srvtc/job-data/807938a0-9a7e-404d-a55c-6cfd57157472/system/A1_I4_A2_I9_B3_TE16880/fvSolution at line 1.
[0] 
[0]     From function regIOobject::readStream()
[0]     in file db/regIOobject/regIOobjectRead.C at line 95.
[0] 
FOAM parallel run exiting
[0]
https://github.com/OpenFOAM/OpenFOAM...IOobjectRead.C
https://github.com/OpenFOAM/OpenFOAM...ctReadHeader.C
aaron99 is offline   Reply With Quote

Old   June 21, 2019, 09:27
Default
  #2
New Member
 
Charlie
Join Date: Aug 2010
Posts: 14
Rep Power: 16
shackman287 is on a distinguished road
Why is your fvSolution file located there? Shouldn't it be in your system folder, within the case files?
shackman287 is offline   Reply With Quote

Old   June 21, 2019, 09:30
Default
  #3
New Member
 
Aaron Pumnul
Join Date: May 2019
Posts: 9
Rep Power: 7
aaron99 is on a distinguished road
sorry, I removed some bits of the path because I thought it would be too long for this post.
Now I reedited and it's same as the original error.
aaron99 is offline   Reply With Quote

Old   June 21, 2019, 09:32
Default
  #4
Member
 
ingraban's Avatar
 
Ingo Riess
Join Date: Jun 2019
Location: Switzerland
Posts: 40
Rep Power: 7
ingraban is on a distinguished road
I think your link to the source points to the wrong file. It should be

https://github.com/OpenFOAM/OpenFOAM...IOobjectRead.C

It appears that the file fvSolution was found, but the error appears while reading the header of fvSolution. A typo in the file somewhere above the keyword "FoamFile"? Everything above should be a comment, only.
aaron99 likes this.
ingraban is offline   Reply With Quote

Old   June 21, 2019, 09:39
Default
  #5
New Member
 
Aaron Pumnul
Join Date: May 2019
Posts: 9
Rep Power: 7
aaron99 is on a distinguished road
Quote:
Originally Posted by ingraban View Post
I think your link to the source points to the wrong file. It should be

https://github.com/OpenFOAM/OpenFOAM...IOobjectRead.C

It appears that the file fvSolution was found, but the error appears while reading the header of fvSolution. A typo in the file somewhere above the keyword "FoamFile"? Everything above should be a comment, only.
Thanks I added the other link.
I'll check its header then.
aaron99 is offline   Reply With Quote

Old   June 21, 2019, 11:25
Default
  #6
New Member
 
Aaron Pumnul
Join Date: May 2019
Posts: 9
Rep Power: 7
aaron99 is on a distinguished road
The structure of fvSolution file seems fine...
aaron99 is offline   Reply With Quote

Old   June 24, 2019, 13:05
Default
  #7
New Member
 
Aaron Pumnul
Join Date: May 2019
Posts: 9
Rep Power: 7
aaron99 is on a distinguished road
Quote:
Originally Posted by ingraban View Post
I think your link to the source points to the wrong file. It should be

https://github.com/OpenFOAM/OpenFOAM...IOobjectRead.C

It appears that the file fvSolution was found, but the error appears while reading the header of fvSolution. A typo in the file somewhere above the keyword "FoamFile"? Everything above should be a comment, only.

Do these fvSolution files look normal ?
aaron99 is offline   Reply With Quote

Reply

Tags
fvsolutions


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
--> FOAM FATAL IO ERROR: problem while reading header for object U Bdew8556 OpenFOAM Running, Solving & CFD 1 November 25, 2021 09:44
cgns grid problem praveen SU2 20 March 10, 2014 15:09
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 18:51
[Commercial meshers] Converting a mesh with splitted cells using fluentMeshToFoam jlpelerin OpenFOAM Meshing & Mesh Conversion 4 April 25, 2011 17:56
problem when converting mesh (made by ICEM) using fluentMeshToFoam Forrest_Lei OpenFOAM 11 October 16, 2009 07:28


All times are GMT -4. The time now is 18:58.