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] inconsistent point locations between block pair (https://www.cfd-online.com/Forums/openfoam-meshing/242956-inconsistent-point-locations-between-block-pair.html)

MaVV May 21, 2022 15:55

inconsistent point locations between block pair
 
Hi all,
If I try to make a mesh from the blockMeshDict below, it throws the error "inconsistent point locations between block pair 1 and 2 probably due to inconsistent grading". Anyone who knows where the mistake could be?
#
convertToMeters 1;

vertices
(

(0 0 0) //0
(507 0 0) //1
(507 5.233 0) //2
(0 5.233 0) //3
(517 0 0) //4
(518.85 1.85 0) //5
(520.7 3.7 0) //6
(520.7 5.233 0) //7
(565 5.233 0) //8
(565 3.7 0) //9

(566.85 1.85 0) //10
(568.7 0 0) //11
(578.7 0 0) //12
(1085.7 0 0) //13
(1085.7 5.233 0) //14
(578.7 5.233 0) //15

(0 0 1) //16
(507 0 1) //17
(507 5.233 1) //18
(0 5.233 1) //19
(517 0 1) //20
(518.85 1.85 1) //21
(520.7 3.7 1) //22
(520.7 5.233 1) //23
(565 5.233 1) //24
(565 3.7 1) //25

(566.85 1.85 1) //26
(568.7 0 1) //27
(578.7 0 1) //28
(1085.7 0 1) //29
(1085.7 5.233 1) //30
(578.7 5.233 1) //31



);

blocks
(
hex (0 1 2 3 16 17 18 19) (10 10 1 ) simpleGrading (1 1 1) //0
hex (1 4 5 2 17 20 21 18) (10 10 1) simpleGrading (1 1 1) //1
hex (2 5 6 7 18 21 22 23) (10 3 1) simpleGrading (1 1 1) //2
hex (6 9 8 7 22 25 24 23) (10 3 1) simpleGrading (1 1 1) //3
hex (9 10 15 8 25 26 31 24) (10 3 1) simpleGrading (1 1 1) //4
hex (10 11 12 15 26 27 28 31) (10 10 1) simpleGrading (1 1 1) //5
hex (12 13 14 15 28 29 30 31) (10 10 1) simpleGrading (1 1 1) //6
);

edges
(

arc 4 5 (517.925 0.925 0)
arc 20 21 (517.925 0.925 1)
arc 5 6 (519.775 2.775 0)
arc 21 22 (519.775 2.775 1)
arc 9 10 (565.925 2.775 0)
arc 25 26 (565.925 2.775 1)
arc 10 11 (567.775 0.925 0)
arc 26 27 (567.775 0.925 1)


);

boundary
(
inlet
{
type patch;
faces
(
(0 3 19 16)
);
}
outlet
{
type patch;
faces
(
(13 14 29 30)
);
}
top
{
type wall;
faces
(
(3 2 18 19)
(2 7 23 18)
(7 8 24 23)
(8 15 31 24)
(15 14 30 31)
);
}
bottom
{
type symmetryPlane;
faces
(
(0 1 17 16)
(1 4 20 17)
(11 12 28 27)
(12 13 29 28)
);
}


cylinder
{
type wall;
faces
(
(4 5 21 20)
(5 6 22 21)
(6 9 25 22)
(9 10 26 25)
(10 11 27 26)
);
}


sides
{
type empty;
faces
(
(0 1 2 3)
(16 17 18 19)
(1 4 5 2)
(17 20 21 18)
(5 6 7 2)
(21 22 23 18)

(6 9 8 7)
(22 25 24 23)
(9 10 15 8)
(25 26 31 24)
(11 12 15 10)
(27 28 31 26)
(12 13 14 15)
(28 29 30 31)
);
}


);

mergePatchPairs
(
);
#

Many thanks in advance :)

MaVV May 22, 2022 04:41

Solution
 
I found the solution, OpenFOAM choked on the size of the domain, it worked when moving everything 517m to the left. New origin is point 4. There were also mistakes in the locations of the arcs. New working code is:

convertToMeters 1;

vertices
(

(-517 0 0) //0
(-10 0 0) //1
(-10 5.233 0) //2
(-517 5.233 0) //3
(0 0 0) //4
(1.0837 2.6163 0) //5
(3.7 3.7 0) //6
(3.7 5.233 0) //7
(48 5.233 0) //8
(48 3.7 0) //9

(50.6163 2.6163 0 ) //10
(51.7 0 0) //11
(61.7 0 0) //12
(568.7 0 0) //13
(568.7 5.233 0) //14
(61.7 5.233 0) //15

(-517 0 1) //16
(-10 0 1) //17
(-10 5.233 1) //18
(-517 5.233 1) //19
(0 0 1) //20
(1.0837 2.6163 1) //21
(3.7 3.7 1) //22
(3.7 5.233 1) //23
(48 5.233 1) //24
(48 3.7 1) //25

(50.6163 2.6163 1) //26
(51.7 0 1) //27
(61.7 0 1) //28
(568.7 0 1) //29
(568.7 5.233 1) //30
(61.7 5.233 1) //31



);

blocks
(
hex (0 1 2 3 16 17 18 19) (10 10 1) simpleGrading (1 1 1) //0
hex (1 4 5 2 17 20 21 18) (10 10 1) simpleGrading (1 1 1) //1
hex (2 5 6 7 18 21 22 23) (10 10 1) simpleGrading (1 1 1) //2
hex (6 9 8 7 22 25 24 23) (10 10 1) simpleGrading (1 1 1) //3
hex (9 10 15 8 25 26 31 24) (10 10 1) simpleGrading (1 1 1) //4
hex (10 11 12 15 26 27 28 31) (10 10 1) simpleGrading (1 1 1) //5
hex (12 13 14 15 28 29 30 31) (10 10 1) simpleGrading (1 1 1) //6
);

edges
(

arc 4 5 (0.282 1.416 0)
arc 20 21 (0.282 1.416 1)
arc 5 6 (2.284 3.418 0)
arc 21 22 (2.284 3.418 1)
arc 9 10 (49.416 3.418 0)
arc 25 26 (49.416 3.418 1)
arc 10 11 (51.418 1.416 0)
arc 26 27 (51.418 1.416 1)


);

boundary
(
inlet
{
type patch;
faces
(
(0 3 19 16)
);
}
outlet
{
type patch;
faces
(
(13 14 29 30)
);
}
top
{
type wall;
faces
(
(3 2 18 19)
(2 7 23 18)
(7 8 24 23)
(8 15 31 24)
(15 14 30 31)
);
}
bottom
{
type symmetryPlane;
faces
(
(0 1 17 16)
(1 4 20 17)
(11 12 28 27)
(12 13 29 28)
);
}


cylinder
{
type wall;
faces
(
(4 5 21 20)
(5 6 22 21)
(6 9 25 22)
(9 10 26 25)
(10 11 27 26)
);
}


sides
{
type empty;
faces
(
(0 1 2 3)
(16 17 18 19)
(1 4 5 2)
(17 20 21 18)
(5 6 7 2)
(21 22 23 18)

(6 9 8 7)
(22 25 24 23)
(9 10 15 8)
(25 26 31 24)
(11 12 15 10)
(27 28 31 26)
(12 13 14 15)
(28 29 30 31)
);
}


);

mergePatchPairs
(
);


All times are GMT -4. The time now is 11:19.