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] BlockMesh problem (https://www.cfd-online.com/Forums/openfoam-meshing/188287-blockmesh-problem.html)

ari92 May 27, 2017 05:43

BlockMesh problem
 
hello everybody!!
I have a problem with blockMeshDict file. This is the problem:

--> FOAM FATAL ERROR:
Inconsistent point locations between block pair 1 and 3
From function blockMesh::createMergeInfo()
in file blockMesh/blockMeshMerge.C at line 290
FOAM exiting


THIS IS MY BLOCKMESHDICT FILE:

convertToMeters 0.001;

vertices
(
(0 0 0) //0
(60 0 0) //1
(60 10 0) //2
(0 10 0) //3
(0 0 1) //4
(60 0 1) //5
(60 10 1) //6
(0 10 1) //7
(65.320 0 0) //8
(65.320 10 0) //9
(65.320 0 1) //10
(65.320 10 1) //11
(47.122 60 0) //12
(41.802 60 0) //13
(47.122 60 0) //14
(41.802 60 1) //15
(200 0 0) //16
(200 10 0) //17
(200 0 1) //18
(200 10 1) //19
);

blocks
(
(
hex (0 1 2 3 4 5 6 7) (60 50 1)
simpleGrading
(
1
(
(20 30 4)
(60 40 1)
(20 30 0.25)
)
1
)

hex (1 8 9 2 5 10 11 6) (5 50 1)
simpleGrading
(
1
(
(20 30 4)
(60 40 1)
(20 30 0.25)
)
1
)
hex (8 16 17 9 10 18 19 11) (130 50 1)
simpleGrading
(
1
(
(20 30 4)
(60 40 1)
(20 30 0.25)
)
1
)
hex (2 9 12 13 6 11 14 15) (5 55 1) simpleGrading (0.5 0.5 1)
);


If i do a simpleGrading (1 1 1) it works well...
Can someone help me??
thank you

piu58 May 27, 2017 07:49

You cannot combine two blocks with
Code:

(5 50 1)
grading against
Code:

(5 55 1)
grading.

ari92 May 27, 2017 10:23

thank you very much now it works perfectly


All times are GMT -4. The time now is 07:50.