CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   /opt/openfoam230/applications/test/mesh question.... (https://www.cfd-online.com/Forums/openfoam/140781-opt-openfoam230-applications-test-mesh-question.html)

wenxu August 22, 2014 21:00

/opt/openfoam230/applications/test/mesh question....
 
hello,everyone.
when i compile the /opt/openfoam230/applications/test/mesh (compile is ok), i have encountered the following error:

--> FOAM FATAL IO ERROR:
cannot find file

file: /opt/openfoam230/applications/test/mesh/system/controlDict at line 0.

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

FOAM exiting

Anyone who can tell me what's wrong with it? please help me,thanks.

wen

blacksquirrel August 25, 2014 10:44

Hi Wenxu,

in this folder /opt/openfoam230/applications/test/mesh is the source code of your program called Test-mesh (I have no idea what it does. What exactly do you want to do?)
To run the application Test-mesh, you need to make a case folder with system and constant subfolders.

Let me give you a simple example:
In /opt/openfoam230/applications/solvers/incompressible/icoFoam is the source code of the solver icoFoam, which you can compile.
Now you can use your solver with the command icoFoam in your case Folder
(e.g. /home/[user-2.3.0]/tutorials/incompressible/icoFoam/cavity)

squirrel


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