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

FOAM FATAL IO ERROR ( running some tutorials )

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 2 Post By alexeym
  • 1 Post By wyldckat
  • 1 Post By bijan darbari
  • 1 Post By nimasam

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2015, 16:03
Default FOAM FATAL IO ERROR ( running some tutorials )
  #1
Member
 
Bijan Darbari
Join Date: Nov 2015
Posts: 48
Rep Power: 10
bijan darbari is on a distinguished road
Hello

I’m using OpenFOAM 2.4.0 on Ubuntu 15.04 - 64bit version.

When I run some tutorials. for example :
:$FOAM_TUTORIALS/lagrangian/reactingParcelFoam/verticalChannel


I got the below error:


Code:
  --> FOAM FATAL IO ERROR: 
cannot find file

file: /home/bijan/OpenFOAM/bijan-2.4.0/run/tutorials/lagrangian/reactingParcelFoam/verticalChannel/0/p at line 0.

    From function regIOobject::readStream()
    in file db/regIOobject/regIOobjectRead.C at line 73.

FOAM exiting
  



Note that I run this tutorial without any changes from their original location in OpenFOAM installation folder.



I know that very users have this problem with tutorial cases and some of them suggested different ways for solving this problem but those ways don't work for my own.



bijan darbari is offline   Reply With Quote

Old   November 21, 2015, 18:28
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

Could you describe steps (starting from OS/compiler) to reproduce the error? I have just checked and on my laptop (Darwin Kernel Version 15.0.0/clang-700.1.76) the tutorial runs smoothly at least till

Code:
Courant Number mean: 1.805735685 max: 4.899193336
deltaT = 0.0005158730159
Time = 0.0153571
wyldckat and bijan darbari like this.
alexeym is offline   Reply With Quote

Old   November 21, 2015, 18:45
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer @bijan darbari: Don't just run blockMesh and then reactingParcelFoam. You must run:
Code:
./Allrun

For more details, read the FAQ "How to run the tutorials in OpenFOAM?": http://openfoamwiki.net/index.php/FA...in_OpenFOAM.3F

And as Alexey pointed out, please
provide more details when asking questions here on the forum, as explained here: http://www.cfd-online.com/Forums/ope...-get-help.html

bijan darbari likes this.
wyldckat is offline   Reply With Quote

Old   November 22, 2015, 00:58
Default
  #4
Member
 
Bijan Darbari
Join Date: Nov 2015
Posts: 48
Rep Power: 10
bijan darbari is on a distinguished road
Thanks very much "alexeym" and "wyldckat".
my problem solved by usning ./Allrun command.

and after this topic I will provide more information about my problems when asking questions.

wyldckat likes this.
bijan darbari is offline   Reply With Quote

Old   December 8, 2015, 03:05
Question
  #5
New Member
 
hamide hayati
Join Date: Oct 2015
Posts: 28
Rep Power: 10
hamide is on a distinguished road
hello friends
i run a simple duct example in openFoam. it's k-epsilon turbulence model.
when i want to show velocity in paraview it stops and exits from it!!
it has this error:


FOAM FATAL IO ERROR:
size 120000 is not equal to the given value of 30000

file: /home/hamide/run/tutorials/incompressible/pisoFoam/ras/1/0.05/p from line 18 to line 120043.

From function Field<Type>::Field(const word& keyword, const dictionary&, const label)
in file /home/opencfd/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude/Field.C at line 236.

FOAM exiting


how can i six this problem?!!
would you please help?
hamide is offline   Reply With Quote

Old   December 8, 2015, 03:20
Default
  #6
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
i guess you did not clean your simulation folder before run again and some previous simulation time step is remained.Therefore, remove all time steps except 0 folder and run again . it should work then
hamide likes this.
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam 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
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 04:18
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19


All times are GMT -4. The time now is 20:28.