CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Why do the given tutorials do not work?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 24, 2011, 08:01
Default Why do the given tutorials do not work?
  #1
Member
 
Marco Bernardes
Join Date: May 2009
Posts: 57
Rep Power: 16
masb is on a distinguished road
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.
masb is offline   Reply With Quote

Old   May 24, 2011, 08:45
Default
  #2
Senior Member
 
Kathrin Kissling
Join Date: Mar 2009
Location: Besigheim, Germany
Posts: 134
Rep Power: 17
kathrin_kissling is on a distinguished road
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
kathrin_kissling is offline   Reply With Quote

Old   May 24, 2011, 08:49
Default
  #3
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
Bernhard is on a distinguished road
And always check the Allrun files, which basically contains the list of commands to perform the simulation.
Bernhard is offline   Reply With Quote

Old   May 24, 2011, 09:12
Default Thanks!
  #4
Member
 
Marco Bernardes
Join Date: May 2009
Posts: 57
Rep Power: 16
masb is on a distinguished road
Dear kathrin_kissling and Bernhard,

Thanks for the help.

Best regards,

Marco.
masb is offline   Reply With Quote

Old   May 31, 2011, 03:12
Default Elbow.
  #5
Member
 
Marco Bernardes
Join Date: May 2009
Posts: 57
Rep Power: 16
masb is on a distinguished road
Dear Kathrin,

I tried it but I get the message below.
What I'm doing wrong?
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
masb is offline   Reply With Quote

Old   May 31, 2011, 03:29
Default
  #6
Senior Member
 
Kathrin Kissling
Join Date: Mar 2009
Location: Besigheim, Germany
Posts: 134
Rep Power: 17
kathrin_kissling is on a distinguished road
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
kathrin_kissling is offline   Reply With Quote

Old   May 31, 2011, 03:42
Default Elbow.
  #7
Member
 
Marco Bernardes
Join Date: May 2009
Posts: 57
Rep Power: 16
masb is on a distinguished road
Dear Kathrin,

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

Many thanks,

Marco.
masb is offline   Reply With Quote

Old   November 3, 2012, 15:45
Default
  #8
Senior Member
 
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 13
zaynah04 is on a distinguished road
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)
zaynah04 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic mesh tutorials atertiarch FLUENT 3 January 16, 2011 07:02
Install tutorials jonlemur OpenFOAM Installation 4 August 8, 2007 14:15
Getting FoamX to work shaun OpenFOAM Installation 12 March 23, 2007 08:55
Why do the Plant library cases don't work? Alumna Phoenics 6 June 22, 2004 12:08
why my In-Form doesn't work? green Phoenics 2 May 27, 2004 21:03


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