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

FOAM FATAL IO ERROR attempt to read beyond EOF

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 9, 2005, 03:57
Default Hello everybody. Just regis
  #1
unoder
Guest
 
Posts: n/a
Hello everybody.

Just registered for an account and am going through the tutorial in order to learn OpenFOAM and something about numerical fluid simulation. I hope you can help me with this problem:

At this moment I came to page 39, chapter 2.1.6.3. Foam is version 1.1 running on Suse linux 9.2.

I type in the command: "mapFields . cavityFine
/ . cavityGrade/ -consistent", but why do I then get the following error message?

------ begin -------
martin@linux:~/OpenFOAM/martin-1.1/run/tutorials/icoFoam> mapFields . cavityFine
/ . cavityGrade/ -consistent
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : mapFields . cavityFine/ . cavityGrade/ -consistent
Date : May 21 2005
Time : 23:32:15
Host : linux
PID : 11708
Root :
Case :
Nprocs : 1
Source: "." "cavityFine/"
Target: "." "cavityGrade/"

Create databases as time

Source time: 0.7
Target time: 0.7
Create meshes

Source mesh size: 1681 Target mesh size: 400


Consistently creating and mapping fields for time 0.7

interpolating p


--> FOAM FATAL IO ERROR : attempt to read beyond EOF

file: ./cavityGrade//0.7/p::internalField at line 30.

Function: ITstream::read(token& t)
in file: db/IOstreams/Tstreams/ITread.C at line: 70.

FOAM exiting

martin@linux:~/OpenFOAM/martin-1.1/run/tutorials/icoFoam>

------ end -------


Best regards,
Martin Jørgensen
  Reply With Quote

Old   August 14, 2005, 03:11
Default Hi there, Just for the arch
  #2
unoder
Guest
 
Posts: n/a
Hi there,

Just for the archive: I don't know what was wrong but overwriting the tutorials directory including subdirectories with the original files solved the problem.

Strange error message, IMO.


Best regards,
Martin Jørgensen
  Reply With Quote

Old   June 21, 2008, 19:02
Default artin: I have the same issue
  #3
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 305
Rep Power: 9
musahossein is on a distinguished road
artin:
I have the same issue with parafoam as you did. When I try to view the cavity case mesh with parafoam in accordance with the openfoam tutorial documentation, I get the eof error. However, unlike your case, I am not being able to solve it by reloading the tutorial files. Any suggestions?

Thanks
Musa
musahossein is offline   Reply With Quote

Old   July 13, 2008, 02:28
Default I have the exact same problem.
  #4
New Member
 
Daniel Jessop
Join Date: Mar 2009
Posts: 2
Rep Power: 0
danj is on a distinguished road
I have the exact same problem...
danj is offline   Reply With Quote

Old   September 21, 2011, 15:36
Default
  #5
Senior Member
 
Hisham's Avatar
 
Hisham El Safti
Join Date: Apr 2011
Location: Braunschweig, Germany
Posts: 247
Blog Entries: 10
Rep Power: 7
Hisham is on a distinguished road
This problem seems to arise when you use an older version input method in files for a newer version of OpenFOAM. Check that the way your data is written (or copy pasted from say a website) is consistent with your installed version file format (written like the examples)
Hisham is offline   Reply With Quote

Old   May 28, 2013, 06:42
Default
  #6
New Member
 
QuocThien
Join Date: Apr 2013
Posts: 9
Rep Power: 3
neiht is on a distinguished road
i think wrong definition uniform or nonuniform scalar. it needs to add scalar value after
neiht is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FOAM FATAL IO ERROR msrinath80 OpenFOAM Running, Solving & CFD 4 July 30, 2008 10:06
FOAM FATAL ERROR points deallocated hoerl OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 0 October 30, 2006 08:47
Parallel FOAM FATAL IO ERROR msrinath80 OpenFOAM Running, Solving & CFD 1 July 28, 2006 12:48
FOAM FATAL ERROR derath OpenFOAM Pre-Processing 1 June 10, 2006 14:20
FOAM FATAL IO ERROR sita OpenFOAM Running, Solving & CFD 2 August 23, 2005 04:37


All times are GMT -4. The time now is 05:27.