CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Open Source Meshers: Gmsh, Netgen, CGNS, ... (
-   -   cavity tutorial: cannot find file p (

student666 May 17, 2013 11:19

cavity tutorial: cannot find file p
Hi to all,

I'm trying to learn openfoam foundamentals, by reproducing tutorial case; first is cavity.

I'm using gmsh as mesher.

Calculations dosen't proceed as for the following error:
Create time

Create mesh for time = 0

Reading transportProperties

Reading field p

cannot find file

file: /home/kebalinux/OpenFOAM/kebalinux-2.1.1/run/test/cavity/0/p at line 0.

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

FOAM exiting

any way file p is on case directory, what am i missing?

Phizz82 August 1, 2013 11:28

Is the file in directory 0?

Also, could you post what the contents of p are please.

razi.me05 August 17, 2015 19:59

Hi did you find out what was it for. I have the same problem. I'll really appreciate your help.

Garusen August 31, 2015 04:19

Razi, sometimes in tutorials, files in 0 directories are named instead of X (to keep original files). So rename or copy and rename the file for p maybe also for U).

All times are GMT -4. The time now is 17:45.