CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   can not run simple foam.. (https://www.cfd-online.com/Forums/openfoam-solving/120606-can-not-run-simple-foam.html)

izna July 10, 2013 12:11

can not run simple foam..
 
hello everyone..

i can not run simpleFoam at all..

i get this error all the time..ie with every tutorial i use..what can be the problem?

Quote:


--> FOAM FATAL IO ERROR:
cannot find file

file: /home/izna/Desktop/Askervein/6/p at line 0.

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

FOAM exiting



reza1111 July 10, 2013 15:44

Hi
Have you ever checked the instructions of openfoam installation?
can you run the cavity case after installation. please explain more details.

izna July 10, 2013 15:48

yes i can run with every other ie icofoam, pisofoam.. only simple foam not run....

reza1111 July 10, 2013 16:00

I see you are working on your own case.
what error do you get by running one case of OF tutorial for example airfoil2D case?

izna July 10, 2013 16:03

same one..all the time..:(

reza1111 July 10, 2013 17:06

Hmmm!! go to the airfoil2D directory. and run the case by typing "./Allrun" in terminal.
Do you get the error?

izna July 11, 2013 04:52

hi

when i run with airfoil2D is work perfetctly provided i did an allrun first..

now lets come back to another file of mine which i run

Quote:

From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 402.

also i was try to run a template online and when i did the allrun its said i have not enough permission..!!
Quote:

bash: ./Allrun: Permission denied



now lets take the turbineSiting file..

its works well withthe ALlrun, the blokmesh and snappyhext mesh was fine.. when i run simplefoam..

see what happens..;
Quote:

Create time

Create mesh for time = 254

Reading field p



--> FOAM FATAL IO ERROR:
cannot find file

file: /home/izna/Desktop/turbineSiting/254/p at line 0.

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

FOAM exiting




All times are GMT -4. The time now is 22:51.