|
[Sponsors] |
March 21, 2014, 06:39 |
attempt to read beyond EOF
|
#1 |
Member
|
Dear All,
I am trying to solve a time dependent problem. my conditions for one of the pressure inlet is { type totalPressure; gamma 1.4; p0 uniform ; value tableFile; tableFileCoeffs { fileName "$ADARSH/rubyFiles/test19/TABLES/PRESSURE_TABLE/PRESSURE_HOUSING_INLET.dat" outOfBounds clamp; } } while initiating the solution I got the following errors: [CODE][/Create time Create mesh for time = 0 PIMPLE: Operating solver in PISO mode Reading thermophysical properties Selecting thermodynamics package { type heheuPsiThermo; mixture egrMixture; transport sutherland; thermo janaf; equationOfState perfectGas; specie specie; energy absoluteEnthalpy; } --> FOAM FATAL IO ERROR: attempt to read beyond EOF file: /home/eatin/ADARSH/rubyFiles/test19/0/p.boundaryField.HOUSING_INLET.p0 at line 67. From function ITstream::read(token&) in file db/IOstreams/Tstreams/ITstream.C at line 83. FOAM exiting ] I don't know what is going wrong. please help me ASAP Thanks in Advance, Adarsh |
|
March 21, 2014, 11:34 |
|
#2 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
Does the file you are specifying have the same number of entries as the boundary has faces? What you are doing here in the code is setting the initial values on the patch to those in the file, the same as when the boundary is saved when your write out timesteps.
|
|
March 22, 2014, 11:50 |
|
#3 |
Member
|
Hi Marco,
First of all thanks for your quick response. I am very new in this field. I am not getting properly, what you are saying . In single sentence I can say that I want to evaluate the flow pattern with the time dependent conditions. I am giving the data in tabular form as mentioned in the User-Guide of FOAM 2.2.1. Regards, Adarsh R. Tiwari |
|
March 22, 2014, 22:22 |
|
#4 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
I see. What the condition you have specified is trying to set the value over the field at the initial condition. What I think you want is to use the uniformFixedValue boundary condition, and set the uniformValue to the table you are using.
|
|
March 23, 2014, 07:23 |
|
#5 |
Member
|
Hi Marco,
I have attached my '0' Folder also few ones of my table files. all other table files are in the same format. Please tell me what went wrong. Regards, Adarsh R. Tiwari |
|
March 24, 2014, 11:43 |
|
#6 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
I think I see what the problem is, but just to be sure: the files PRESSURE_HOUSING_INLET and PRESSURE_HOUSING_OUTLET are the time dependant value of total pressure that you want at those particular boundaries?
|
|
March 25, 2014, 22:36 |
|
#7 |
Member
|
ya, actually I have to simulate the mass flow pattern out of the pressure and temperature specified. I tried to solve the issue and gave a run.
the case files initially i prepared with the help of 'http://www.openfoam.org/version2.1.0/boundary-conditions.php', later i modified it. I am clueless about what is getting wrong. Last edited by adarsh tiwari; March 26, 2014 at 02:51. |
|
March 26, 2014, 12:03 |
|
#8 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
Your boundary conditions (p,T,U) look fine. The data files seem like they might be the problem. If they are similar as the files in PRESSURE_TABLE.zip, then you have to remember how to format a DataEntry of type tableFile. You can read the documentation here (specifically, the detailed description):
http://foam.sourceforge.net/docs/cpp/a02520.html So, if I wanted (for example) as pressure that increased from 1e5 to 5e5 from 0.01 to 0.05 seconds linearly, my tableFile would look like: Code:
( (0.0 1e5) (0.01 1e5) (0.02 2e5) (0.03 3e5) (0.04 4e5) (0.05 5e5) ); |
|
March 30, 2014, 14:47 |
|
#9 |
Member
|
hi Marco,
It seems that my problem is solved. initially it was with file location, now i have directly written the table in the case file. the problem i faced was :: semi-colon ';' was not properly placed, i have done that and now getting some simulations done. Thank you, Marco!!! Last edited by adarsh tiwari; April 10, 2014 at 02:22. |
|
October 5, 2014, 20:06 |
error: attempt to read beyond EOF
|
#10 |
New Member
krishh
Join Date: Apr 2012
Posts: 16
Rep Power: 14 |
Hi Tiwari,
I too have the same error as you got. I checked many times about any semicolon which is missing but I didnt find any. I am unable to understand it. Please can you see the error and check the transportProperties. Thanks in advance. Krishna Teja. |
|
May 26, 2020, 02:11 |
|
#11 |
New Member
Adarsh
Join Date: Oct 2019
Posts: 5
Rep Power: 6 |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] 2 datas on one plot | Akuji | ParaView | 46 | December 1, 2013 14:06 |
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem | Attesz | OpenFOAM Meshing & Mesh Conversion | 12 | May 2, 2013 10:52 |
is internalField(U) equivalent to zeroGradient? | immortality | OpenFOAM Running, Solving & CFD | 7 | March 29, 2013 01:27 |
999999 (../../src/mpsystem.c@1123):mpt_read: failed:errno = 11 | UDS_rambler | FLUENT | 2 | November 22, 2011 09:46 |
Problem in running ICEM grid in Openfoam | Tarak | OpenFOAM | 6 | September 9, 2011 17:51 |