CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   blockMesh error (https://www.cfd-online.com/Forums/main/64788-blockmesh-error.html)

JohanOlivier May 24, 2009 17:21

blockMesh error
 
Good day,

When I try to run the cavity tutorial in icoFoam, i get the following error when running blockMesh:

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Exec : blockMesh
Date : May 22 2009
Time : 23:01:49
Host : johano-laptop
PID : 15708
Case : /home/johano/OpenFOAM/johano-1.5/FOAM_RUN/tutorials/icoFoam/cavity/constant/polyMesh
nProcs : 1

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time



cannot open file

file: /home/johano/OpenFOAM/johano-1.5/FOAM_RUN/tutorials/icoFoam/cavity/constant/polyMesh/system/controlDict at line 0.

From function regIOobject::readStream(const word&)
in file db/regIOobject/regIOobjectRead.C at line 66.

FOAM exiting


Anyone knows what the problem might be? I cannot find the "..system/controlDict" directory within polyMesh... maybe that is the problem..but how do i get around this?

Thank you.

Ahmed May 25, 2009 04:01

I am not an expert OpenFOAM user, but I checked the directory structure of the cavity problem on my computer, the file you are missing is into the directory /cavity/system/
I guess you need to check your PATH
Let us Know if that helps and Good Luck

harishg May 26, 2009 11:13

You have to be in the cavity directory when you run the case. The problem is your pwd is polyMesh directory. change your directory and run

/home/johano/OpenFOAM/johano-1.5/FOAM_RUN/tutorials/icoFoam/cavity

not

/home/johano/OpenFOAM/johano-1.5/FOAM_RUN/tutorials/icoFoam/cavity/constant/polyMesh

JohanOlivier May 28, 2009 17:21

Thank you harishg!


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