CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Problem with reconstructPar: "First token could not be read"

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 24, 2009, 04:03
Default Problem with reconstructPar: "First token could not be read"
  #1
New Member
 
S Kumar
Join Date: Mar 2009
Posts: 13
Rep Power: 17
quartzian is on a distinguished road
Hi,

I'm running reactingFoam using a different geometry from the tutorial and GRI-Mech for the chemistry libraries.

I am able to run this in parallel, but when I try to run reconstructPar after the parallel run is over, I get this error after some time. I have output dumps every 0.001 seconds, and this goes fine until 0.007, and then at time 0.008, it fails.

I searched the forum for reconstructPar but did not find any post dealing with this. Please help.

Error below.

Thanks,

Kumar

*********************
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Exec : reconstructPar -time 0.008
Date : Sep 24 2009
Time : 12:22:16
Host : c4linux02
PID : 26596
Case : /home/OpenFOAM/OpenFOAM-1.5/work/pipeflow
nProcs : 1
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0
Time = 0.008
--> FOAM Serious Error :
From function IOobject::readHeader(Istream&)
in file db/IOobject/IOobjectReadHeader.C at line 93
Reading "/home/OpenFOAM/OpenFOAM-1.5/work/pipeflow/processor0/0.008/AR" at line 1
First token could not be read or is not the keyword 'FoamFile'
Check header is of the form:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class IOobject;
location "0.008";
object AR;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Reconstructing FV fields
Reconstructing volScalarFields
CH3CHO
HCN
HCO
NNH
NCO
HNO
C2H2
C3H7
C2H3
H2O
C2H4
C2H5
C2H6
dQ
N2O
HO2
C3H8
H2
NO2
CH2WS
C2H
NH2
--> FOAM Serious Error :
From function IOobject::readHeader(Istream&)
in file db/IOobject/IOobjectReadHeader.C at line 93
Reading "/home/OpenFOAM/OpenFOAM-1.5/work/pipeflow/processor2/0.008/NH2" at line 1
First token could not be read or is not the keyword 'FoamFile'
Check header is of the form:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0.008";
object NH2;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


problem while reading header for object NH2
file: /home/OpenFOAM/OpenFOAM-1.5/work/pipeflow/processor2/0.008/NH2 at line 1.
From function regIOobject::readStream(const word&)
in file db/regIOobject/regIOobjectRead.C at line 74.
FOAM exiting
quartzian is offline   Reply With Quote

Old   September 24, 2009, 07:11
Default
  #2
New Member
 
S Kumar
Join Date: Mar 2009
Posts: 13
Rep Power: 17
quartzian is on a distinguished road
Hi,

A bit more information on this. What seems to be happening is that some of the species files are missing. So, for instance in processor1/0.007, I see data for O, H2, CH4, CH3, C2H4, etc., but the file for O2 is empty, which is why the error arises.

My question is why is the file empty? The run shows no errors. So why are some of the species missing for some of the times? Is this a known bug?

Thanks very much,

Kumar
quartzian is offline   Reply With Quote

Old   October 22, 2015, 03:40
Default
  #3
New Member
 
Vaibhav
Join Date: Mar 2015
Posts: 3
Rep Power: 11
vaibhav402 is on a distinguished road
Any solution to this? I got the same error after running the simulation for the whole day
vaibhav402 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
[General] Problem: Read Zones ThorgrimmCFD ParaView 0 February 17, 2015 03:14
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem Attesz OpenFOAM Meshing & Mesh Conversion 12 May 2, 2013 11:52
999999 (../../src/mpsystem.c@1123):mpt_read: failed:errno = 11 UDS_rambler FLUENT 2 November 22, 2011 10:46
[snappyHexMesh] snappyHexMesh stl file read problem joeholdsworth OpenFOAM Meshing & Mesh Conversion 4 June 25, 2011 04:29
[OpenFOAM] Problem with parafoam on ubuntu 9.10 machine nabeels ParaView 0 December 26, 2009 00:12


All times are GMT -4. The time now is 14:12.