|
[Sponsors] |
December 7, 2011, 05:25 |
blockMesh
|
#1 |
New Member
Join Date: Dec 2011
Posts: 7
Rep Power: 14 |
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??? |
|
December 7, 2011, 08:37 |
|
#2 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
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 |
|
December 7, 2011, 09:00 |
|
#3 |
New Member
Join Date: Dec 2011
Posts: 7
Rep Power: 14 |
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 |
|
December 7, 2011, 09:03 |
|
#4 | |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
Quote:
You have to check that the file is there when you want to run blockMesh
__________________
~roman |
||
December 7, 2011, 09:16 |
|
#5 |
New Member
Join Date: Dec 2011
Posts: 7
Rep Power: 14 |
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".... |
|
December 7, 2011, 09:22 |
|
#6 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
You said you have the same error in a freshly installed OpenFOAM under the tutorials as well?
__________________
~roman |
|
December 7, 2011, 09:36 |
|
#7 |
New Member
Join Date: Dec 2011
Posts: 7
Rep Power: 14 |
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....
|
|
December 8, 2011, 10:01 |
|
#8 |
New Member
Join Date: Dec 2011
Posts: 7
Rep Power: 14 |
no one has any idea??? I still have the same problem!!!
|
|
January 15, 2012, 07:58 |
|
#9 |
Member
wided
Join Date: Jul 2010
Posts: 54
Rep Power: 16 |
||
May 29, 2012, 09:01 |
|
#10 |
New Member
Join Date: Nov 2011
Posts: 13
Rep Power: 14 |
In case anyone has the same problem, do make sure that the folder is called polyMesh. I had accidentally called it blockMesh!
|
|
February 1, 2014, 16:33 |
|
#11 |
New Member
Join Date: Feb 2014
Posts: 12
Rep Power: 12 |
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)
|
|
March 13, 2018, 09:34 |
problem with blockMesh
|
#12 | |
Member
Join Date: Oct 2017
Posts: 52
Rep Power: 8 |
Quote:
I have been trying to make a simple cylinder geometry using blockMesh but i get the following error. # --> FOAM FATAL ERROR: "/home/gourav/Desktop/mymesh/system/blockMeshDict" From function int main(int, char**) in file blockMesh.C at line 149. FOAM exiting /# can you tell me what might be wrong? |
||
March 14, 2018, 00:15 |
|
#13 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
There is insufficient information here for anyone to help you with. At the very least post your blockMeshDict. Cheers, Antimony |
|
March 20, 2018, 10:06 |
|
#14 | |
Member
Join Date: Oct 2017
Posts: 52
Rep Power: 8 |
Quote:
Code:
--> FOAM FATAL ERROR: "C:/PROGRA~1/BLUECF~1/ofuser-of5/run/kaka/system/blockMeshDict" From function int main(int, char**) in file blockMesh.C at line 202. FOAM exiting Code:
// blockMesh : Block mesh description file // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // version 0.5; format ascii; root ""; case ""; instance "constant"; local "mesh"; class dictionary; object blockMeshDict; // ************************************ meshGenApp blockMesh; convertToMeters 0.001; //5 mm column diameter //10 cm length //Width of middle square section //how many cells in the square section //how many cells from square section to perimeter // how many cells from top to bottom vertices ( ( 1.25 0.0 1.25) // Vertex fiveoclocksqb = 0 (-1.25 0.0 1.25) // Vertex sevenoclocksqb = 1 (-1.25 0.0 -1.25) // Vertex elevenoclocksqb = 2 ( 1.25 0.0 -1.25) // Vertex oneoclocksqb = 3 ( 1.76776695455285 0.0 1.76776695137989) // Vertex fiveoclockcb = 4 (-1.76776695455285 0.0 1.76776695137989) // Vertex sevenoclockcb = 5 (-1.76776695455285 0.0 -1.76776695137989) // Vertex elevenoclockcb = 6 ( 1.76776695455285 0.0 -1.76776695137989) // Vertex oneoclockcb = 7 ( 1.25 100 1.25) // Vertex fiveoclocksqt = 8 (-1.25 100 1.25) // Vertex sevenoclocksqt = 9 (-1.25 100 -1.25) // Vertex elevenoclocksqt = 10 ( 1.25 100 -1.25) // Vertex oneoclocksqt = 11 ( 1.76776695455285 100 1.76776695137989) // Vertex fiveoclockct = 12 (-1.76776695455285 100 1.76776695137989) // Vertex sevenoclockct = 13 (-1.76776695455285 100 -1.76776695137989) // Vertex elevenoclockct = 14 ( 1.76776695455285 100 -1.76776695137989) // Vertex oneoclockct = 15 ); blocks ( //square block hex ( 1 0 3 2 9 8 11 10 ) (3 3 10) simpleGrading (1 1 1) //slice1 hex ( 5 4 0 1 13 12 8 9 ) (3 3 10) simpleGrading (1 1 1) //slice2 hex ( 1 2 6 5 9 10 14 13 ) (3 3 10) simpleGrading (1 1 1) //slice3 hex ( 2 3 7 6 10 11 15 14 ) (3 3 10) simpleGrading (1 1 1) //slice4 hex ( 3 0 4 7 11 8 12 15 ) (3 3 10) simpleGrading (1 1 1) ); //create the quarter circles edges ( arc 4 5 (0.0 0.0 2.5) arc 5 6 (-2.5 0.0 0.0) arc 6 7 (0.0 0.0 -2.5) arc 7 4 (2.5 0.0 0.0) arc 12 13 (0.0 100 2.5) arc 13 14 (-2.5 100 0.0) arc 14 15 (0.0 100 -2.5) arc 15 12 (2.5 100 0.0) ); patches ( patch outlet ( (2 4(0 3 2 1)) (2 4(0 4 7 3)) (2 4(4 0 1 5)) (2 4(1 2 6 5)) (2 4(3 7 6 2)) ) patch inlet ( (2 4(8 11 10 9)) (2 4(8 12 15 11)) (2 4(12 8 9 13)) (2 4(9 10 14 13)) (2 4(11 15 14 10)) ) wall walls ( (2 4(5 4 12 13)) (2 4(5 13 14 6)) (2 4(6 14 15 7)) (2 4(7 15 12 4)) ) ); |
||
March 21, 2018, 00:46 |
|
#15 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
I tried your case and it runs fine. So it isn't an issue related to blockMeshDict (by and large). What version of OF are you running? How do you call blockMesh? Considering that you are getting FOAM FATAL ERROR, I should think that you have sourced your OF correctly... Cheers, Antimony |
|
September 20, 2020, 08:45 |
same issue
|
#16 |
Member
Deutschland
Join Date: Sep 2020
Posts: 69
Rep Power: 6 |
/*---------------------------------------------------------------------------*\
| ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2006 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : _b45f8f6f58-20200629 OPENFOAM=2006 Arch : "LSB;label=32;scalar=64" Exec : blockMesh Date : Sep 20 2020 Time : 13:50:34 Host : LAPTOP-A0NOGRUJ PID : 536 I/O : uncollated Case : /home/sam/OpenFOAM/OpenFOAM-v2006/tutorials/wigleyHull nProcs : 1 trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time --> FOAM Warning : From static Foam::IOstreamOption::compressionType Foam::IOstreamOption::compressionEnum(const Foam::word&, Foam::IOstreamOption::compressionType) in file db/IOstreams/IOstreams/IOstreamOption.C at line 115 Unknown compression specifier 'compressed', using compression off --> FOAM Warning : From blockMesh in file findBlockMeshDict.H at line 36 Using the old blockMeshDict location: "constant/polyMesh/blockMeshDict" instead of the default location: "system/blockMeshDict" --> FOAM FATAL ERROR: "/home/sam/OpenFOAM/OpenFOAM-v2006/tutorials/wigleyHull/constant/polyMesh/blockMeshDict" From int main(int, char**) in file findBlockMeshDict.H at line 61. FOAM exiting Did anyone find the solution for the error?? |
|
September 20, 2020, 22:27 |
|
#17 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
Do you have a blockMeshDict? If so, where is it? Can you post your blockMeshDict here? Cheers, Antimony |
|
September 20, 2020, 23:27 |
blockMeshDict
|
#18 |
Member
Deutschland
Join Date: Sep 2020
Posts: 69
Rep Power: 6 |
hey,
its path is wigleyhull/constant/polymesh Regards vava10 |
|
September 21, 2020, 04:18 |
|
#19 |
Senior Member
Join Date: Oct 2017
Posts: 124
Rep Power: 8 |
I've tried it with OpenFOAM 8 (I don't have v2006.) at both locations (system/blockMeshDict and constant/polyMesh/blockMeshDict) and it works fine.
If you take a look at findBlockMeshDict.H, line 61 it seems to be a problem with the header (not 100 % sure about that), but I can't find one. Have you ever used blockMesh before? If not, please run blockMesh in a tutorial (e. g. tutorials/incompressible/simpleFoam/pitzDaily) to rule out that it is due to a failed installation of OpenFOAM. |
|
September 21, 2020, 05:18 |
|
#20 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
OK. So a quick look at your blockMeshDict seems to indicate it is OK. However, based on the error message you posted and what is described here (https://www.openfoam.com/documentati...8H_source.html), it seems like there is something wrong with the header. However, I tested your file on my machine and it works (OpenFOAM-v2006). So you might just want to make sure that the file you sent is the same that you tried (and the header is consistent with the rest of the tutorials!) Hope this helps Cheers, Antimony |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] blockMesh issue on openfoam6 startup - ubuntu 16.04 | bjdarrer | OpenFOAM Installation | 7 | August 25, 2020 19:15 |
Is Playstation 3 cluster suitable for CFD work | hsieh | OpenFOAM | 9 | August 16, 2015 14:53 |
[blockMesh] External flow around cube with blockMesh | Woody8 | OpenFOAM Meshing & Mesh Conversion | 0 | March 31, 2015 14:54 |
[blockMesh] set of xyz data in blockMesh | psk | OpenFOAM Meshing & Mesh Conversion | 12 | August 27, 2013 08:37 |
Blockmesh cavity error message | tonitoney | OpenFOAM Installation | 2 | March 17, 2008 11:59 |