|
[Sponsors] |
[blockMesh] ill defined primitiveEntry starting at keyword 'blocks' |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 13, 2017, 23:19 |
ill defined primitiveEntry starting at keyword 'blocks'
|
#1 |
Member
Dominic
Join Date: Jan 2017
Posts: 41
Rep Power: 9 |
Dear Foamers,
I am new to OpenFOAM. This is my first simulation using OpenFOAM. When I did blockMesh, I got the following error message: --> FOAM FATAL IO ERROR: "ill defined primitiveEntry starting at keyword 'blocks' on line 75 and ending at line 179" Would anyone have ideas how to solve it? Many Thanks!! My blockMeshDict is as follow: FoamFile
{ version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 0.1; vertices ( ( 0 0 0 ) //0 ( 2 0 0 ) //1 ( 8 0 0 ) //2 (10 0 0 ) //3 ( 0 2 0 ) //4 ( 2 2 0 ) //5 ( 8 2 0 ) //6 (10 2 0 ) //7 ( 0 8 0 ) //8 ( 2 8 0 ) //9 ( 8 8 0 ) //10 (10 8 0 ) //11 ( 0 10 0 ) //12 ( 2 10 0 ) //13 ( 8 10 0 ) //14 (10 10 0 ) //15 /************************************************** ********************/ ( 0 0 1 ) //16 ( 2 0 1 ) //17 ( 8 0 1 ) //18 (10 0 1 ) //19 ( 0 2 1 ) //20 ( 2 2 1 ) //21 ( 8 2 1 ) //22 (10 2 1 ) //23 ( 0 8 1 ) //24 ( 2 8 1 ) //25 ( 8 8 1 ) //26 (10 8 1 ) //27 ( 0 10 1 ) //28 ( 2 10 1 ) //29 ( 8 10 1 ) //30 (10 10 1 ) //31 /************************************************** *************************/ ( 0 0 2 ) //32 ( 2 0 2 ) //33 ( 8 0 2 ) //34 (10 0 2 ) //35 ( 0 2 2 ) //36 ( 2 2 2 ) //37 ( 8 2 2 ) //38 (10 2 2 ) //39 ( 0 8 2 ) //40 ( 2 8 2 ) //41 ( 8 8 2 ) //42 (10 8 2 ) //43 ( 0 10 2 ) //44 ( 2 10 2 ) //45 ( 8 10 2 ) //46 (10 10 2 ) //47 ); blocks ( hex ( 0 1 5 4 16 17 21 20 ) (20 20 5) simpleGrading ( 0.75 0.75 1 ) hex ( 1 2 6 5 17 18 22 21 ) (60 40 5) simpleGrading ( 1 0.5 1 ) hex ( 2 3 7 6 18 19 23 22 ) (20 20 5) simpleGrading ( 1.25 0.75 1 ) hex ( 4 5 9 8 20 21 25 24 ) (20 60 5) simpleGrading ( 0.75 1 1 ) hex ( 6 7 11 10 22 23 27 26) (20 60 5) simpleGrading ( 1.25 1 1 ) hex ( 8 9 13 12 24 25 29 28) (20 20 5) simpleGrading ( 0.75 1.25 1 ) hex ( 9 10 14 13 25 26 30 29) (60 40 5) simpleGrading ( 1 1.25 1 ) hex ( 10 11 15 14 26 27 31 30) (20 20 5) simpleGrading( 1.25 1.25 1 ) hex ( 16 17 21 20 32 33 37 36) (20 20 5) simpleGrading( 0.75 0.75 1.25 ) hex ( 17 18 22 21 33 34 38 37) (60 40 5) simpleGrading( 1 0.5 1.25 ) hex ( 18 19 23 22 34 35 39 38) (20 20 5) simpleGrading( 1.25 0.75 1.25 ) hex ( 20 21 25 24 36 37 41 40) (20 60 5) simpleGrading( 0.75 1 1.25 ) hex ( 22 23 27 26 38 39 43 42) (20 60 5) simpleGrading( 1.25 1 1.25 ) hex ( 21 22 26 25 37 38 42 41) (60 60 5) simpleGrading( 1 1 1 ) hex ( 24 25 29 28 40 41 45 44) (20 20 5) simpleGrading( 0.75 1.25 1.25 ) hex ( 25 26 30 29 41 42 46 45) (60 40 5) simpleGrading( 1 1.25 1.25 ) hex ( 26 27 31 30 42 43 47 46) (20 20 5) simpleGrading( 1.25 1.25 1.25 ) ); edges ( ); boundary ( inlet { type patch; faces ( (0 16 20 4) (16 32 36 20) (4 20 24 8) (20 36 40 24) (8 24 28 12) (24 40 44 28) ); } outlet { type patch; faces ( (19 3 7 23) (23 7 11 27) (27 11 15 31) (35 19 23 39) (39 23 27 43) (43 27 31 47) ); } upperWall { type wall; faces ( (32 33 37 36) (33 34 38 37) (34 35 39 38) (36 37 41 40) (37 38 42 41) (38 39 43 42) (40 41 45 44) (41 42 46 45) (42 43 47 46) ); } lowerWall { type wall; faces ( (0 4 5 1) (1 5 6 2) (2 6 7 3) (4 8 9 5) (6 10 11 7) (8 12 13 9) (9 13 14 10) (10 14 15 11) ); } obstacle { type wall; faces ( (5 6 22 21) (6 10 26 22) (10 9 25 26) (9 5 21 25) (25 21 22 26) ); } ); mergePatchPairs ( ); |
|
February 14, 2017, 01:48 |
|
#2 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
There needs to be a space between simpleGrading and ( Cheers, Antimony |
|
February 14, 2017, 09:39 |
|
#3 |
Member
Dominic
Join Date: Jan 2017
Posts: 41
Rep Power: 9 |
Thanks very much for your help!
|
|
April 22, 2017, 04:18 |
|
#4 |
New Member
Join Date: Mar 2017
Posts: 28
Rep Power: 9 |
||
April 22, 2017, 04:27 |
|
#5 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
Code:
hex ( 0 1 5 4 16 17 21 20 ) (20 20 5) simpleGrading ( 0.75 0.75 1 ) hex ( 1 2 6 5 17 18 22 21 ) (60 40 5) simpleGrading ( 1 0.5 1 ) Cheers, Antimony |
|
April 22, 2017, 07:57 |
|
#6 | |
New Member
Join Date: Mar 2017
Posts: 28
Rep Power: 9 |
Quote:
|
||
April 26, 2017, 19:32 |
ill defined primitive Entry starting at keyword 'boundary'
|
#7 |
New Member
Randal Samstag
Join Date: Jan 2015
Location: Bainbridge Island, WA US
Posts: 8
Rep Power: 11 |
Foam Error:
--> FOAM FATAL IO ERROR: "ill defined primitiveEntry starting at keyword 'boundary' on line 67 and ending at line 118" file: /home/randal/OpenFOAM/randal-4.1/run/RecSed/BlockMidSed/system/blockMeshDict at line 118. From function void Foam:rimitiveEntry::readEntry(const Foam::dictionary&, Foam::Istream&) in file db/dictionary/primitiveEntry/primitiveEntryIO.C at line 189. Help. Can't find the bug in blockMesh: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 1; vertices ( (11.5 0 0) //0 (12.5 0 0) //1 (0 1.0 0) //2 (11.5 1.0 0) //3 (12.5 1.0 0) //4 (24.0 1 0) //5 (0 3.6 0) //6 (11.5 3.6 0) //7 (12.5 3.6 0) //8 (24 3.6 0) //9 (0 4.0 0) //10 (11.5 4.0 0)//11 (12.5 4.0 0)//12 (24.0 4.0 0)//13 (11.5 0 4.0)//14 (12.5 0 4.0)//15 (0 1.0 4.0)//16 (11.5 1.0 4.0)//17 (12.5 1.0 4.0)//18 (24 1 4) //19 (0 3.6 4) //20 (11.5 3.6 4) //21 (12.5 3.6 4)//22 (24 3.6 4)//23 (0 4 4)//24 (11.5 4 4)//25 (12.5 4 4)//26 (24 4 4)//27 ); blocks ( hex (0 1 4 3 14 15 18 17) (10 10 1 ) simpleGrading (1 1 1) hex (3 4 8 7 17 18 22 21) (10 26 1) simpleGrading (1 1 1) hex (7 8 11 12 21 22 26 25) (10 4 1) simpleGrading (1 1 1) hex (2 3 7 6 16 17 22 21) (115 26 1) simpleGrading (1 1 1) hex (4 5 9 8 18 19 23 22) (115 4 1) simpleGrading (1 1 1) hex (6 7 11 10 20 21 25 24) (115 4 1) simpleGrading (1 1 1) hex (8 9 13 12 22 23 27 26) (115 4 1) simpleGrading (1 1 1) ); edges ( ); boundary ( inlet { type patch; faces //0 ( (6 20 24 10) ); } outlet { type patch; faces //1 ( (9 23 27 13) ); } bottomOutlet { type patch; faces //2 ( (0 14 15 1) ); } bottomWall { type wall; faces //3 ( (2 16 17 3) (4 18 19 5) ); } endWall { type wall; faces //4 ( (1 4 18 15) (5 9 23 19) ); } top { type patch; faces //5 ( (10 24 25 11) (11 25 26 12) (12 26 27 13) . ); } entryWall { type wall; faces //6 ( (2 16 20 6) (6 20 24 10) (0 11 17 3) ); } frontAndBack { type empty; faces //7 ( (0 1 4 3) (2 3 7 6) (3 4 8 7) (4 5 9 8) (6 7 11 10) (7 8 12 11) (8 9 13 12) (14 15 18 17) (16 17 21 20) (17 18 22 21) (18 19 23 22) (20 21 25 24) (21 22 26 25) (22 23 27 26) ); } ); mergePatchPairs ( ); // ************************************************** *********************** // Last edited by rsamstag; April 26, 2017 at 21:52. |
|
April 26, 2017, 19:46 |
Sorry.
|
#8 |
New Member
Randal Samstag
Join Date: Jan 2015
Location: Bainbridge Island, WA US
Posts: 8
Rep Power: 11 |
Found it! And several other errors!
Stray period. Plus block errors. Please ignore comment #7 above. I have been able to mesh this. |
|
August 31, 2018, 04:20 |
|
#9 | |
New Member
ceren cilavdaroğlu
Join Date: Aug 2018
Location: Turkey
Posts: 6
Rep Power: 8 |
Quote:
--> FOAM FATAL IO ERROR: "ill defined primitiveEntry starting at keyword 'blocks' on line 285 and ending at line 940" file: /home/ceren/ucgen/constant/polyMesh/blockMeshDict at line 940. From function void Foam:rimitiveEntry::readEntry(const Foam::dictionary&, Foam::Istream&) in file db/dictionary/primitiveEntry/primitiveEntryIO.C at line 189. FOAM exiting please help me, Thanks in advance. |
||
September 6, 2018, 08:10 |
|
#10 |
New Member
Vignesh
Join Date: Jul 2018
Location: India
Posts: 6
Rep Power: 8 |
there should be space between simpleGrading and (
if still unsolved post the code for more information |
|
September 6, 2018, 14:57 |
|
#11 |
New Member
ceren cilavdaroğlu
Join Date: Aug 2018
Location: Turkey
Posts: 6
Rep Power: 8 |
||
October 28, 2021, 18:32 |
|
#12 |
New Member
nasim
Join Date: Oct 2021
Posts: 1
Rep Power: 0 |
[Sponsors] Home News Index Post News Subscribe/Unsubscribe Forums Main CFD Forum System Analysis Structural Mechanics Electromagnetics CFD Freelancers Hardware Forum Lounge Software User Forums ANSYS CFX FLUENT Meshing & Geometry Autodesk AVL FIRE CONVERGE FloEFD & FloTHERM FLOW-3D NUMECA OpenFOAM News & Announcements Installation Meshing Pre-Processing Solving Post-Processing Programming Verification & Validation Community Contributions Journal Bugs Phoenics REEF3D Siemens STAR-CCM+ STAR-CD SU2 News & Announcements Installation Shape Design Pre-processors ANSA enGrid GridPro Pointwise Post-Processors EnSight FieldView ParaView Tecplot Special Topics Mesh Generation Visualization CFD Online Community Site News Site Help & Discussions CFD-Wiki Wiki Introduction Recent Changes Reference Section Fluid Dynamics Turbulence Modeling Numerical Methods Meshing Special Topics Aero-Acoustics Combustion Parallel Computing Turbulence Application Areas Aerospace Automotive Turbomachinery Best Practice Guides Automotive CFD Turbomachiney CFD Heat Transfer CFD Validation Cases Codes Source Code Archive FAQ's Ansys CHAM CONVERGE Fluent Metaconp MeteoDyn Siemens History of CFD About CFD-Wiki Help FAQ Getting Started Community Portal Donate Texts Donated Texts Links What's New Introduction Modeling & Numerics Turbulence Combustion Discretization Schemes Solvers Multigrid Methods Finite Element Methods Cartesian Methods / AMR Numerial Analysis Mesh Generation General Resources Selected Projects Companies Programming & Dev. Data Formats Software Libraries Numerical Software Parallel Computing General Sites Software Fluid Dynamics Mesh Generation Visualization Commercial CFD Codes Hardware Benchmarks News and Reviews Hardware Vendors Clouds Clusters GPGPU Misc References Validation Cases Airfoils Material Properties Glossaries Finding Documents Preprints Online Papers & Reports Books Journals Publishers Online Tools Unit Converters Calculators y+ Estimation Compressible Flow Heat Transfer Airfoil Generators Simple Cases Combustion Cycles & Processes Online Books & Guides CFD Introductions Books Best Practice Guidelines Fluid & Aero Dynamics Seminars Encyclopedias Social Media Discussion Forums Blogs YouTube Podcasts Usenet Newsgroups Mailing Lists Chats News Education CFD Programmes Online Labs Online Courses Course Material Jobs CFD Job Resources Companies & Orgs. General Resources Events Event Calendars Specific Organizations Vendor Events Lists Misc Pictures and Movies Fun Links to Links Suggest New Link About this Section Jobs Post Job Ad List All Jobs List Jobs by Type Job in Industry (47) Job in Academia (28) Contract Work (2) PostDoc Position (34) PhD Studentship (47) Internship (7) List Jobs by Location Asia China (9) Hong Kong (2) India (6) Japan (1) Malaysia (1) Singapore (2) South Korea (9) Turkey (2) Europe Austria (4) Belgium (5) Czech Republic (3) Finland (1) France (8) Germany (9) Ireland (2) Italy (3) Luxembourg (2) Netherlands (5) Portugal (1) Spain (6) Sweden (1) Switzerland (1) United Kingdom (10) North America Canada (4) United States (46) Oceania Australia (2) New Zealand (1) South America Brazil (3) Search Job Ads Books Browse Categories Search Submit a Book Help Events Post New Event List All Events List Events by Type Conferences (1) Workshops (1) Courses (2) Seminars (1) Online Events (3) List Events by Location Asia India (1) Europe Germany (1) Spain (1) Sweden (1) Switzerland (1) United Kingdom (2) North America United States (1) Tools RPN Calculator Scientific Calculator Unit Conversion Y+ Estimation Turbulence Properties Feeds News Blogs Vendors Jobs Journals About About CFD Online Privacy Policy Contacts & Feedback Web Server Statistics List of Sponsors Advertising on this Site Search Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion Reply to Thread Welcome, Nasims. You last visited: Today at 16:24 Private Messages: Unread 0, Total 0. User Panel Blogs FAQ Community New Posts Updated Threads Search Quick Links Log Out The following errors occurred with your submission: The message you have entered is too short. Please lengthen your message to at least 10 characters. Thread: [blockMesh] ill defined primitiveEntry starting at keyword 'blocks' Reply to Thread Logged in as Nasims Title: Message: Fonts Sizes Smilies Post Icons You may choose an icon for your message from the following list: No icon Additional Options Miscellaneous Options Automatically parse links in text Disable smilies in text Attach Files Valid file extensions: bmp c dbs doc docx f gif gz h jpe jpeg jpg patch pdf png ppt pptx psd txt xls xlsx zip ipconfig.all.txt (3.9 KB) Thread Subscription Notification Type: Rate Thread If you like, you can add a score for this thread. Topic Review (Newest First) Posting Rules You may post new threads You may post replies You may post attachments You may edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules All times are GMT -5. The time now is 16:30. Contact Us - CFD Online - Privacy Statement - Top © CFD Online |
|
January 5, 2024, 00:13 |
|
#13 |
New Member
dengxin
Join Date: Dec 2023
Posts: 5
Rep Power: 2 |
Help, please! I'm a new Foamer, something wrong happened in my blokcMesh, the error message is as follows:
"ill defined primitiveEntry starting at keyword 'blocks' on line 74 and ending at line 251" My code is: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.2 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // scale 1; vertices ( (0 0 0)//0 (16.4 0 0)//1 (0 0.8 0)//2 (16.4 0.8 0)//3 (0 0 1.5)//4 (16.4 0 1.5)//5 (0 0.8 1.5)//6 (16.4 0.8 1.5)//7 (19.7 0 0)//8 (19.7 0.8 0)//9 (19.7 0 1.5)//10 (19.7 0.8 1.5)//11 (16.4 0 -0.25)//12 (19.7 0 -0.25)//13 (16.4 0.8 -0.25)//14 (19.7 0.8 -0.25)//15 (16.4 0 -4.35)//16 (19.7 0 -4.35)//17 (16.4 0.8 -4.35)//18 (19.7 0.8 -4.35)//19 (8.2 0 -4.35)//20 (8.2 0.8 -4.35)//21 (8.2 0 -0.25)//22 (8.2 0.8 -0.25)//23 (16.4 0 1.75)//24 (19.7 0 1.75)//25 (16.4 0.8 1.75)//26 (19.7 0.8 1.75)//27 (16.4 0 2.3)//28 (19.7 0 2.3)//29 (16.4 0.8 2.3)//30 (19.7 0.8 2.3)//31 (8.2 0 1.75)//32 (8.2 0.8 1.75)//33 (8.2 0 2.3)//34 (8.2 0.8 2.3)//35 (16.4 0 6.4)//36 (19.7 0 6.4)//37 (16.4 0.8 6.4)//38 (19.7 0.8 6.4)//39 ); blocks ( hex (0 1 3 2 4 5 7 6) (328 16 30) simpleGrading ( 1 1 1 )//1 hex (1 8 9 3 5 10 11 7) (66 20 30) simpleGrading ( 1 ((0.2 0.2 1)(0.7 0.75 5)(0.1 0.05 1)) 1 )//2 hex (12 13 15 14 1 8 9 3) (66 20 5) simpleGrading ( 1 ((0.2 0.2 1)(0.7 0.75 5)(0.1 0.05 1)) 1 )//3 hex (16 17 19 18 12 13 15 14) (66 20 82) simpleGrading ( 1 ((0.2 0.2 1)(0.7 0.75 5)(0.1 0.05 1)) 1 )//4 hex (20 16 18 21 22 12 14 23) (164 20 82) simpleGrading ( 1 ((0.2 0.2 1)(0.7 0.75 5)(0.1 0.05 1)) 1 )//5 hex (5 10 11 7 24 25 27 26) (66 20 5) simpleGrading ( 1 ((0.2 0.2 1)(0.7 0.75 5)(0.1 0.05 1)) 1 )//6 hex (24 25 27 26 28 29 31 30) (66 20 11) simpleGrading ( 1 ((0.2 0.2 1)(0.7 0.75 5)(0.1 0.05 1)) 1 )//7 hex (32 24 26 33 34 28 30 35) (164 20 11) simpleGrading ( 1 ((0.2 0.2 1)(0.7 0.75 5)(0.1 0.05 1)) 1 )//8 hex (28 29 31 30 36 37 39 38) (66 20 82) simpleGrading ( 1 ((0.2 0.2 1)(0.7 0.75 5)(0.1 0.05 1)) 1 )//9 /* hex (0 1 3 2 4 5 7 6) (656 32 60) simpleGrading (1 1 1)//1 hex (1 8 9 3 5 10 11 7) (132 32 60) simpleGrading (1 1 1)//2 hex (12 13 15 14 1 8 9 3) (132 32 10) simpleGrading (1 1 1)//3 hex (16 17 19 18 12 13 15 14) (132 32 174) simpleGrading (1 1 1)//4 hex (20 16 18 21 22 12 14 23) (328 32 174) simpleGrading (1 1 1)//5 hex (5 10 11 7 24 25 27 26) (132 32 10) simpleGrading (1 1 1)//6 hex (24 25 27 26 28 29 31 30) (132 32 22) simpleGrading (1 1 1)//7 hex (32 24 26 33 34 28 30 35) (328 32 22) simpleGrading (1 1 1)//8 hex (28 29 31 30 36 37 39 38) (132 32 174) simpleGrading (1 1 1)//9 */ ); edges ( ); boundary ( leftWall { type wall; faces ( (0 4 6 2) (12 1 3 14) (20 22 23 21) (5 24 26 7) (32 34 35 33) (28 36 38 30) ); } rightWall { type wall; faces ( (8 10 11 9) (13 8 9 15) (17 13 15 19) (10 25 27 11) (25 29 31 27) (29 37 39 31) ); } lowerWall { type wall; faces ( (1 8 10 5) (12 13 8 1) (17 13 12 16) (16 12 22 20) (24 25 10 5) (25 29 28 24) (24 28 34 32) (29 37 36 28) ); } frontandbackWall { type wall; faces ( (16 17 19 18) (16 20 21 18) (12 22 23 14) (28 30 35 34) (37 39 38 36) (32 24 26 33) ); } flumesideWall { type wall; faces ( (0 1 3 2) (4 5 7 6) ); } bottomWall { type wall; faces ( (0 1 5 4) ); } atmosphere { type patch; faces ( (2 3 7 6) (3 9 11 7) (14 15 9 3) (18 14 15 19) (18 14 23 21) (26 27 11 7) (30 31 27 26) (35 30 26 33) (38 39 31 30) ); } ); mergePatchPairs ( ); // ************************************************** *********************** // |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ill defined primitive entry 'boundary' | francisco.angel | OpenFOAM Pre-Processing | 16 | September 8, 2022 07:11 |
big difference between clockTime and executionTime | LM4112 | OpenFOAM Running, Solving & CFD | 21 | February 15, 2019 04:05 |
[Commercial meshers] COnvert FLuent MEsh to openfoam with interface | manuc | OpenFOAM Meshing & Mesh Conversion | 1 | July 25, 2017 04:13 |
[blockMesh] "ill defined primitiveEntry starting at keyword Boundary ..... | Punt3r | OpenFOAM Meshing & Mesh Conversion | 3 | June 12, 2016 10:16 |
[OpenFOAM] paraview/paraFoam crash "ill defined primitiveEntry" | psosnows | ParaView | 4 | June 22, 2012 04:20 |