CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] How to mesh it with blockMesh (https://www.cfd-online.com/Forums/openfoam-meshing/138839-how-mesh-blockmesh.html)

xurenyi July 11, 2014 22:11

How to mesh it with blockMesh
 
1 Attachment(s)
blocks
(
hex (14 13 37 38 15 16 40 39 ) (18 20 20) simpleGrading (1 1 1)
hex (13 12 36 37 16 17 41 40 ) (20 20 20) simpleGrading (1 1 1)
hex (12 11 35 36 17 18 42 41 ) (10 20 20) simpleGrading (1 1 1)
hex (11 10 34 35 18 19 43 42 ) (5 20 20) simpleGrading (1 1 1)
hex (10 9 33 34 19 20 44 43 ) (5 20 20) simpleGrading (1 1 1)
hex (9 8 32 33 20 21 45 44 ) (5 20 20) simpleGrading (1 1 1)
hex (8 7 31 32 21 22 46 45 ) (5 20 20) simpleGrading (1 1 1)
hex (7 6 30 31 22 23 47 46 ) (25 20 20) simpleGrading (1 1 1)
hex (6 5 29 30 23 2 26 47 ) (5 20 20) simpleGrading (1 1 1)
hex (23 2 26 47 0 1 24 25 ) (3 20 20) simpleGrading (1 1 1)
hex (5 4 28 29 2 3 27 26 ) (50 20 20) simpleGrading (1 1 1)
);

--> FOAM FATAL ERROR:
Inconsistent number of faces between block pair 8 and 9

From function blockMesh::calcMergeInfo()
in file blockMesh/blockMeshMerge.C at line 221.


The body (23 2 26 47 0 1 24 25 ) can never be connected with others. How to handle this body?

cutter August 13, 2014 09:21

Hi,

the error message says it all. First check the coordinates and the ordering of your vertices. Then check the discretization of adjoining blocks.

Please provide the whole blockMeshDict. This will make it much easier for others to look at your problem!

Cutter

gomeslorenzo August 13, 2014 09:36

Hi there,

whenever you have faces matching eachother they must have the same number of cells otherwise you have to use the function mergepatchṕairs at the bottom of the blockmeshdict file. If you post the code it will be easier to give you a better answer,

Good luck.


All times are GMT -4. The time now is 23:35.