CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] ill defined primitiveEntry starting problem in blockMesh dict

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 2, 2021, 08:19
Angry ill defined primitiveEntry starting problem in blockMesh dict
  #1
New Member
 
Join Date: Dec 2020
Posts: 6
Rep Power: 2
Mamun is on a distinguished road
hello everyone,
i am trying to simulate a 2d micro nozzle in open foam, its throat width 20 micrometer with expansion area ratio of 1.7 ( details in the attachment).


so, i tried to create my block Mesh dict with asymmetric of this geometry but i am getting a foam fatal error:


ill defined primitive Entry starting at keyword 'vertices' on line 20 and ending at line 107"




FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1e-06;

vertices
(
(00.00 0.00 -0.033) //0
(50.00 0.00 -0.033) //1
(145.0 0.00 -0.033) //2
(145.0 10.0 -0.033) //3
(145.0 17.0 -0.033) //4
(50.00 10.0 -0.033) //5
(00.00 34.0 -0.033) //6
(00.00 10.0 -0.033) //7
(00.00 0.00 0.033 //8
(50.00 0.00 0.033) //9
(145.0 0.00 0.033) //10
(145.0 10.0 0.033) //11
(145.0 17.0 0.033) //12
(50.00 10.0 0.033) //13
(00.00 34.0 0.033) //14
(00.00 10.0 0.033) //15

);

blocks
(
hex (0 1 5 7 8 9 13 15) channelRegion (150 25 1) simpleGrading (1 1 1)
hex (1 2 3 5 9 10 11 13) channelRegion (300 25 1) simpleGrading (1 1 1)
hex (5 3 4 5 13 11 12 13) channelRegion (150 60 1) simpleGrading (1 1 1)
hex (7 5 5 6 15 13 13 15) channelRegion (150 40 1) simpleGrading (1 1 1)

);

edges
(
);

patches
(
empty
sides
(
(0 1 5 7)
(8 9 13 15)
(1 2 3 5)
(9 10 11 13)
(5 3 4 5)
(13 11 12 13)
(7 5 5 6)
(15 13 13 15)


)
symmetry
symmetry
(
(0 1 9 8)
(1 2 10 9)

)

wall
walls
(
(6 5 13 14)
(5 4 12 13)

)

patch
inlet
(
(0 8 15 7)
(7 15 14 6)
)

patch
outlet
(
(2 10 11 3)
(3 11 12 4)
)
);

mergePatchPairs
(
);


// ************************************************** *********************** //
Attached Images
File Type: png Screenshot from 2021-04-02 21-06-37.png (14.6 KB, 5 views)
Mamun is offline   Reply With Quote

Old   April 2, 2021, 08:59
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 219
Rep Power: 14
Yann is on a distinguished road
Most of the time this error is related to a typo.

In your case, there is a closing bracket missing here:


Code:
(00.00 0.00  0.033        //8

Cheers,
Yann
Yann is offline   Reply With Quote

Old   April 3, 2021, 05:24
Default blockMesh dict
  #3
New Member
 
Join Date: Dec 2020
Posts: 6
Rep Power: 2
Mamun is on a distinguished road
--> FOAM FATAL ERROR:
face 0 in patch 2 does not have neighbor cell face: 4(6 5 13 14)


after closing the bracket it's okay. but how to solve this one?
Mamun is offline   Reply With Quote

Reply

Tags
blockmesh dict, openfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[blockMesh] blockMesh gives "Inconsistent point locations" for axisymmetric problem irving OpenFOAM Meshing & Mesh Conversion 7 January 27, 2021 12:31
blockMesh problem when grading applied with cyclic patch broccolibadger OpenFOAM Pre-Processing 0 January 3, 2021 04:54
[blockMesh] BlockMesh: simpleGrading problem Dmarcohe OpenFOAM Meshing & Mesh Conversion 0 April 24, 2020 10:28
SU2-7.0.1 on ubuntu 18.04 hyunko SU2 Installation 7 March 16, 2020 04:37
CFX 11 not starting - perl problem (Urgent) Luk CFX 12 August 18, 2009 09:31


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