|
[Sponsors] |
[blockMesh] primitiveEntry starting at keyword 'blocks' |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 21, 2017, 12:32 |
primitiveEntry starting at keyword 'blocks'
|
#1 |
New Member
Ignasi Alemany
Join Date: Mar 2017
Posts: 1
Rep Power: 0 |
When I execute blockMeshDict this error appears:
Creating block mesh from "/home/usuari/Escritorio/TFG_Openfoam/constant/polyMesh/blockMeshDict" --> FOAM FATAL IO ERROR: "ill defined primitiveEntry starting at keyword 'blocks' on line 190 and ending at line 303" file: /home/usuari/Escritorio/TFG_Openfoam/constant/polyMesh/blockMeshDict at line 303. From function void Foam:rimitiveEntry::readEntry(const Foam::dictionary&, Foam::Istream&) in file db/dictionary/primitiveEntry/primitiveEntryIO.C at line 189. FOAM exiting My blockMeshDict code is as follows... /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | | | \\ / A nd | Copyright (C) 2016 Ehsan Madadi-Kandjani | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } vertices ( (10 -10 0) // Vertex s0b = 0 (-10 -10 0) // Vertex s1b = 1 (-10 10 0) // Vertex s2b = 2 (10 10 0) // Vertex s3b = 3 (21.3263405205863 -21.3263405205863 0) // Vertex r0b = 4 (-21.3263405205863 -21.3263405205863 0) // Vertex r1b = 5 (-21.3263405205863 21.3263405205863 0) // Vertex r2b = 6 (21.3263405205863 21.3263405205863 0) // Vertex r3b = 7 (10 -10 200) // Vertex s0t = 8 (-10 -10 200) // Vertex s1t = 9 (-10 10 200) // Vertex s2t = 10 (10 10 200) // Vertex s3t = 11 (21.3263405205863 -21.3263405205863 200) // Vertex r0t = 12 (-21.3263405205863 -21.3263405205863 200) // Vertex r1t = 13 (-21.3263405205863 21.3263405205863 200) // Vertex r2t = 14 (21.3263405205863 21.3263405205863 200) // Vertex r3t = 15 (-21.3263405205863 -21.3263405205863 0) // Vertex r1b = 16 (-21.3263405205863 21.3263405205863 0) // Vertex r2b = 17 (-21.3263405205863 -21.3263405205863 200) // Vertex r1t = 18 (-21.3263405205863 21.3263405205863 200) // Vertex r2t = 19 (-70 -21.3263405205863 0) // Vertex r1b = 20 (-70 21.3263405205863 0) // Vertex r2b = 21 (-70 -21.3263405205863 200) // Vertex r1t = 22 (-70 21.3263405205863 200) // Vertex r2t = 23 ); blocks ( //block0 hex (1 0 3 2 9 8 11 10) square (20 20 100) simpleGrading (1 1 1) //block1 hex (0 4 7 3 8 12 15 11) innerCircle (30 20 100) simpleGrading (1 1 1) //block2 hex (3 7 6 2 11 15 14 10) innerCircle (30 20 100) simpleGrading (1 1 1) //block3 hex (2 6 5 1 10 14 13 9) innerCircle (30 20 100) simpleGrading (1 1 1) //block4 hex (1 5 4 0 9 13 12 8) innerCircle (30 20 100) simpleGrading (1 1 1) //block5 hex (22 20 21 23 18 16 17 19) (50 50 50) simpleGrading(1 1 1) ); edges ( //Circle edges arc 7 4 (30.16 0 0) arc 4 5 (1.84676737311421e-15 -30.16 0) arc 5 6 (-30.16 3.69353474622841e-15 0) arc 6 7 (1.84676737311421e-15 30.16 0) //Circle edges arc 15 12 (30.16 0 200) arc 12 13 (1.84676737311421e-15 -30.16 200) arc 13 14 (-30.16 3.69353474622841e-15 200) arc 14 15 (1.84676737311421e-15 30.16 200) arc 3 0 (13 0 0) arc 0 1 (0 -13 0) arc 1 2 (-13 0 0) arc 2 3 (0 13 0) arc 11 8 (13 0 200) arc 8 9 (0 -13 200) arc 9 10 (-13 0 200) arc 10 11 (0 13 200) arc 16 17 (-30.16 3.69353474622841e-15 0) arc 18 19 (-30.16 3.69353474622841e-15 200) ); patches ( wall walls ( (4 7 15 12) (5 4 12 13) (6 5 13 14) (7 6 14 15) ) patch inlet ( (3 0 1 2) (3 7 4 0) (2 6 7 3) (1 5 6 2) (0 4 5 1) ) patch outlet ( (11 10 9 8) (11 8 12 15) (10 11 15 14) (9 10 14 13) (8 9 13 12) ) patch finalblock ( (16 17 19 18) (17 21 19 23) (16 20 18 22) (21 20 23 22) (17 21 16 20) (19 23 18 22) ) ); mergePatchPairs ( ); |
|
March 21, 2017, 16:19 |
|
#2 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
Try to omit square , innerCircle and so on.
Code:
blocks ( //block0 hex (1 0 3 2 9 8 11 10) // square (20 20 100) simpleGrading (1 1 1) //block1 hex (0 4 7 3 8 12 15 11) // innerCircle (30 20 100) simpleGrading (1 1 1)
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
April 21, 2017, 00:00 |
|
#3 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
Most likely the error arises from this line: Code:
//block5 hex (22 20 21 23 18 16 17 19) (50 50 50) simpleGrading(1 1 1) Cheers, Antimony |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
bash script for pseudo-parallel usage of reconstructPar | kwardle | OpenFOAM Post-Processing | 42 | May 8, 2024 00:17 |
[blockMesh] ill defined primitiveEntry starting at keyword 'blocks' | DominicTNC | OpenFOAM Meshing & Mesh Conversion | 12 | January 5, 2024 00:13 |
[Commercial meshers] COnvert FLuent MEsh to openfoam with interface | manuc | OpenFOAM Meshing & Mesh Conversion | 1 | July 25, 2017 04:13 |
[Commercial meshers] converting Fluent mesh to openfoam standard mesh | deepesh | OpenFOAM Meshing & Mesh Conversion | 31 | March 29, 2017 06:59 |
[blockMesh] blockMesh error ill defined primitiveEntry starting at keyword 'blocks' | ihu945 | OpenFOAM Meshing & Mesh Conversion | 1 | June 7, 2016 22:56 |