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

FOAM FATAL IO ERROR size 1 is not equal to the given value of 26776

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 12, 2008, 15:58
Default Hi everyone, I have workin
  #1
New Member
 
Hari Krishnan
Join Date: Mar 2009
Location: chennai, Tamil nadu, india
Posts: 27
Rep Power: 8
hariya03 is on a distinguished road
Hi everyone,

I have working with a simpleFoam case to see the flow of air from a inlet to outlet on a specified path.

The mesh has readed from a third party client and boundary patches are set in constant/polymesh.
The control dictionary were set to read for 300 as end time with a write interval of 100.

The fvsolution &t the intial boundary conditions
are feeded.

When I running the '0' time folder for simpleFoam

I got the following error
Application started with pid 22270
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : simpleFoam /home/harikr/OpenFOAM/harikr-1.4.1/run/tutorials/simpleFoam smartvalve12
Date : Jul 11 2008
Time : 16:48:44
Host : D6
PID : 22270
Root : /home/harikr/OpenFOAM/harikr-1.4.1/run/tutorials/simpleFoam
Case : smartvalve12
Nprocs : 1
Create time

Create mesh for time = 0

Reading field p

Reading field U



--> FOAM FATAL IO ERROR : size 1 is not equal to the given value of 26776

file: /home/harikr/OpenFOAM/harikr-1.4.1/run/tutorials/simpleFoam/smartvalve12/0/U from line 28 to line 229.

From function Field<type>::Field(const word& keyword, const dictionary& dict, const label s)
in file /home/dm2/henry/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/Field.C at line 224.

FOAM exiting

Kindly advice me where i did wrong
If you need any further information, kindly ask me.

Thank you,

V.Hari
hariya03 is offline   Reply With Quote

Old   June 13, 2013, 15:53
Default
  #2
Member
 
India
Join Date: Oct 2012
Posts: 84
Rep Power: 4
mayank.dce2k7 is on a distinguished road
Hi,

I am also working on a problem and encountering the same error. Did you find a solution for this error?

Regards,
Mayank
mayank.dce2k7 is offline   Reply With Quote

Old   June 13, 2013, 17:22
Default
  #3
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Mol, Belgium
Posts: 295
Rep Power: 13
Lieven will become famous soon enough
Hi Mayank,


Welcome to the forum. Since the first post dates from 2008, I doubt Hariya03 will reply ;-).

For which field do you get this error? Can you post your boundary conditions file of this field (the file in the 0-folder)?

Cheers,

L
Lieven is offline   Reply With Quote

Old   June 14, 2013, 02:11
Default
  #4
Member
 
India
Join Date: Oct 2012
Posts: 84
Rep Power: 4
mayank.dce2k7 is on a distinguished road
Hi Lieven,

Thanks for your reply.
The problem is solved.

I am very new to OpenFOAM. As a part of my thesis, I have to run simulations on OpenFOAM involving fluid particle dynamics.I am trying to set up a 'one way coupled' case for running application 'icoUncoupledKinematicParcelFoam' on a standard driven cavity as a test case. Below is my approach:

1.) I ran 'icoFoam' driven cavity tutorial and picked up the velocity field(U) from the directory created at last time step i.e 0.5.

2.) I used this velocity field as a pre-defined velocity field for running 'icoUncoupleKinematicParcelFoam' by putting in this velocity field inside '0' directory of a new case set up using the same driven cavity mesh. This time I included all the necessary files required like 'KinematicCloudProperties', 'KinematicCloudPosition', 'turbulence properties' etc.

3) The case ran fine without errors.

Is my approach for setting up one-way coupled cases using a pre-defined steady velocity field ok or is there a better way for performing one way coupling? Also, I am new to this forum please guide me if I am asking this question at a wrong place.

Regards,
Mayank
mayank.dce2k7 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
Error size 400 is not equal to the given value of 1681 alimansouri OpenFOAM Running, Solving & CFD 3 December 2, 2009 07:40
FOAM FATAL IO ERROR msrinath80 OpenFOAM Running, Solving & CFD 4 July 30, 2008 10:06
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:53.