|
[Sponsors] |
May 24, 2011, 08:01 |
Why do the given tutorials do not work?
|
#1 |
Member
Marco Bernardes
Join Date: May 2009
Posts: 59
Rep Power: 17 |
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. |
|
May 24, 2011, 08:45 |
|
#2 |
Senior Member
Kathrin Kissling
Join Date: Mar 2009
Location: Besigheim, Germany
Posts: 134
Rep Power: 17 |
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 |
|
May 24, 2011, 08:49 |
|
#3 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
And always check the Allrun files, which basically contains the list of commands to perform the simulation.
|
|
May 24, 2011, 09:12 |
Thanks!
|
#4 |
Member
Marco Bernardes
Join Date: May 2009
Posts: 59
Rep Power: 17 |
Dear kathrin_kissling and Bernhard,
Thanks for the help. Best regards, Marco. |
|
May 31, 2011, 03:12 |
Elbow.
|
#5 |
Member
Marco Bernardes
Join Date: May 2009
Posts: 59
Rep Power: 17 |
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 |
|
May 31, 2011, 03:29 |
|
#6 |
Senior Member
Kathrin Kissling
Join Date: Mar 2009
Location: Besigheim, Germany
Posts: 134
Rep Power: 17 |
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 |
|
May 31, 2011, 03:42 |
Elbow.
|
#7 |
Member
Marco Bernardes
Join Date: May 2009
Posts: 59
Rep Power: 17 |
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. |
|
November 3, 2012, 15:45 |
|
#8 |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
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) |
|
|
|
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 |