CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: blockMesh

blockMesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 7, 2011, 06:25
Default blockMesh
  #1
New Member
 
Join Date: Dec 2011
Posts: 7
Rep Power: 5
rosh is on a distinguished road
Hi everyone!

I'm new to this forum... I have started to work with OpenFoam for a week. but as I want to generate my Mesh by running blockMesh in terminal, I get this error:

From function blockMesh
in file blockMeshApp.C at line 148

even I tried to run the Cavity example in tutorial and i did all right step by step, but I get the same error.

Is there someone who knows why it happens???
rosh is offline   Reply With Quote

Old   December 7, 2011, 09:37
Default
  #2
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Stockholm, Sweden
Posts: 360
Rep Power: 12
romant is on a distinguished road
Please post the full output of the error message, this message does not tell anything. put the error message into the code block feature in the editor when posting it. it is the little "#" at the top of the editor.
__________________
~roman
romant is offline   Reply With Quote

Old   December 7, 2011, 10:00
Default
  #3
New Member
 
Join Date: Dec 2011
Posts: 7
Rep Power: 5
rosh is on a distinguished road
Thanks Roman for your reply... after I run it on the terminal, I get this error:

fluid@fluid-desktop:~/OpenFOAM/fluidvt-2.0.1/run/example1$ blockMesh/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.0.1-51f1de99a4bc
Exec : blockMesh
Date : Dec 07 2011
Time : 14:48:17
Host : fluid-desktop
PID : 6835
Case : /home/fluid/OpenFOAM/fluidvt-2.0.1/run/example1
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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



--> FOAM FATAL ERROR:
Cannot open mesh description file
"/home/fluid/OpenFOAM/fluidvt-2.0.1/run/example1/constant/polyMesh/blockMeshDict"


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

FOAM exiting
rosh is offline   Reply With Quote

Old   December 7, 2011, 10:03
Default
  #4
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Stockholm, Sweden
Posts: 360
Rep Power: 12
romant is on a distinguished road
Quote:
Originally Posted by rosh View Post
Thanks Roman for your reply... after I run it on the terminal, I get this error:

fluid@fluid-desktop:~/OpenFOAM/fluidvt-2.0.1/run/example1$ blockMesh/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.0.1-51f1de99a4bc
Exec : blockMesh
Date : Dec 07 2011
Time : 14:48:17
Host : fluid-desktop
PID : 6835
Case : /home/fluid/OpenFOAM/fluidvt-2.0.1/run/example1
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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



--> FOAM FATAL ERROR:
Cannot open mesh description file
"/home/fluid/OpenFOAM/fluidvt-2.0.1/run/example1/constant/polyMesh/blockMeshDict"


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

FOAM exiting
OpenFOAM is quite good at telling you what is wrong. So when you read the output right, then it tells you that it is missing the blockMeshDict in the folder "/home/fluid/OpenFOAM/fluidvt-2.0.1/run/example1/constant/polyMesh/blockMeshDict"

You have to check that the file is there when you want to run blockMesh
__________________
~roman
romant is offline   Reply With Quote

Old   December 7, 2011, 10:16
Default
  #5
New Member
 
Join Date: Dec 2011
Posts: 7
Rep Power: 5
rosh is on a distinguished road
I checked it so many times, it is there!!!
I run the command "blockMesh" under the folder "example1", so it should find the file "blockMeshDict", because it's in subfolder "/constant/polyMesh"....
rosh is offline   Reply With Quote

Old   December 7, 2011, 10:22
Default
  #6
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Stockholm, Sweden
Posts: 360
Rep Power: 12
romant is on a distinguished road
You said you have the same error in a freshly installed OpenFOAM under the tutorials as well?
__________________
~roman
romant is offline   Reply With Quote

Old   December 7, 2011, 10:36
Default
  #7
New Member
 
Join Date: Dec 2011
Posts: 7
Rep Power: 5
rosh is on a distinguished road
when i run the cavity example under tutorial folder, it works perfectly. but when i try to create the cavity example in another folder, i get the error...i type everything exactly the same as written in cavity files, i checked again and again all my files which i created in all the folders 0, constant and system....i don't find any typing mistake... but i cannot run it because of the error....
rosh is offline   Reply With Quote

Old   December 8, 2011, 11:01
Default
  #8
New Member
 
Join Date: Dec 2011
Posts: 7
Rep Power: 5
rosh is on a distinguished road
no one has any idea??? I still have the same problem!!!
rosh is offline   Reply With Quote

Old   January 15, 2012, 08:58
Default
  #9
Member
 
wided
Join Date: Jul 2010
Posts: 54
Rep Power: 7
wiedangel is on a distinguished road
Quote:
Originally Posted by rosh View Post
no one has any idea??? I still have the same problem!!!
maybe youshould re install openFoam, I had a similar problem with one of the tutorials and it was fixed after re installing Openfoam, it was a dependency problem.
wiedangel is offline   Reply With Quote

Old   May 29, 2012, 09:01
Default
  #10
New Member
 
Join Date: Nov 2011
Posts: 13
Rep Power: 5
0.1 watts is on a distinguished road
In case anyone has the same problem, do make sure that the folder is called polyMesh. I had accidentally called it blockMesh!
0.1 watts is offline   Reply With Quote

Old   February 1, 2014, 17:33
Default
  #11
New Member
 
Join Date: Feb 2014
Posts: 12
Rep Power: 3
ajnewman is on a distinguished road
I got this error message when I accidentally tried to run blockMesh from a directory other than the main case directory (I was in the polyMesh directory)
ajnewman is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 14:53
tutorial 2.2 Stress(...) trouble with blockMesh colinB OpenFOAM Native Meshers: blockMesh 8 January 22, 2012 11:32
blockMesh - help atareen64 OpenFOAM Native Meshers: blockMesh 2 June 16, 2011 15:32
Dimensionsproblems SLT-file and blockMesh suitup OpenFOAM Bugs 3 November 19, 2009 04:00
Blockmesh cavity error message tonitoney OpenFOAM Installation 2 March 17, 2008 12:59


All times are GMT -4. The time now is 15:36.