CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Why do the given tutorials do not work? (https://www.cfd-online.com/Forums/openfoam/88708-why-do-given-tutorials-do-not-work.html)

masb May 24, 2011 08:01

Why do the given tutorials do not work?
 
Dear All,

I'm newbie on OF. I'm trying to run the given tutorials but just a few of them work properly. In the folder icoFoam, 'cavity' tutorial works fine but the rest does not work. Trying to run the 'elbow' example I get the following message:

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.x |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.7.x-4bbf33160caf
Exec : blockMesh
Date : May 24 2011
Time : 13:57:40
Host : marco
PID : 2173
Case : /home/marco/OpenFOAM/marco-1.7.1/run/tutorials/incompressible/icoFoam/elbow
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

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



--> FOAM FATAL ERROR:
Cannot open mesh description file
"/home/marco/OpenFOAM/marco-1.7.1/run/tutorials/incompressible/icoFoam/elbow/constant/polyMesh/blockMeshDict"


From function blockMesh
in file blockMeshApp.C at line 141.

FOAM exiting

Any help is welcomed.

Best regards,

Marco.

kathrin_kissling May 24, 2011 08:45

Marco,

everything is ok with the tutorial. But you should not run blockMesh on it, since this is an example for converting fluentMeshes to FOAM. Therefore the file elbow.msh is present. Run fluentMeshToFoam and it will create your mesh. Apart from that the error message gives you a part of the information. It says that a blockMeshDict is not present.

Which other tutorials seem to be not running for you?

Hope this helps

Kathrin

Bernhard May 24, 2011 08:49

And always check the Allrun files, which basically contains the list of commands to perform the simulation.

masb May 24, 2011 09:12

Thanks!
 
Dear kathrin_kissling and Bernhard,

Thanks for the help.

Best regards,

Marco.

masb May 31, 2011 03:12

Elbow.
 
Dear Kathrin,

I tried it but I get the message below.
What I'm doing wrong?:confused:
The ./Allrun command halt on "Running XiFoam on /home/marco/OpenFOAM/marco-1.7.1/run/tutorials/combustion/XiFoam/les/pitzDaily3D".

Thanks in advance,

Marco.


Usage: fluentMeshToFoam <Fluent mesh file> [-writeSets] [-writeZones] [-scale scale factor] [-case dir] [-help] [-doc] [-srcDoc]



--> FOAM FATAL ERROR:
Wrong number of arguments, expected 1 found 0


FOAM exiting

kathrin_kissling May 31, 2011 03:29

Dear Marco,

you need to be very carefull with this. Now your running again an tutorial with a blockMesh mesh. Meaning you will have to run blockMesh on it. Not fluentMeshToFoam. It clearly says you that you havent fiven it a *.msh file as an argument, which the application fluentMeshToFoam requires.
To make your live more easy. Just open the Allrun scripts with your favorite editor and it will tell you what meshing application t use, which additional preprocessing steps to take and which applictaion to run. Read the error messages really carefull and try to dig the information out of it. Its all we have!

Hope this was of any help

Best

Kathrin

masb May 31, 2011 03:42

Elbow.
 
Dear Kathrin,

Thanks for the help. I have just run the complete command "fluentMeshToFoam elbow.msh" and it works:D. I forgot to include elbow.msh.

Many thanks,

Marco.

zaynah04 November 3, 2012 15:45

Dear kathrine,

I do not know how to access the tutorial files in my open foam for windows.

Can you please guide me?

regards
zaynah( newbie)


All times are GMT -4. The time now is 18:12.