|
[Sponsors] |
[blockMesh] "FOAM FATAL ERROR: inconsistent number of faces between block pair ... and ..." |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 11, 2021, 11:45 |
"FOAM FATAL ERROR: inconsistent number of faces between block pair ... and ..."
|
#1 |
New Member
Kiran
Join Date: Dec 2020
Posts: 1
Rep Power: 0 |
Hi everyone,
I'm a novice OpenFoam user and I got into the following error while running blockMesh on a multi-block structured 2D geometry: "... Creating block edges No non-planar block faces defined Creating topology blocks Creating topology patches Creating block mesh topology Check topology Basic statistics Number of internal faces : 15 Number of boundary faces : 42 Number of defined boundary faces : 42 Number of undefined boundary faces : 0 Checking patch -> block consistency Creating block offsets Creating merge list --> FOAM FATAL ERROR: Inconsistent number of faces between block pair 0 and 2 From function void Foam::blockMesh::calcMergeInfo() in file blockMesh/blockMeshMerge.C at line 222. FOAM exiting " My blockMeshDict reads as follows: " convertToMeters 1; vertices ( (0 0 0) (0.7 0 0) (0.8 0 0) (1 0 0) (-0.2 -0.25 0) (0 -0.25 0) (0.7 -0.25 0) (0.8 -0.25 0) (1 -0.25 0) (-0.2 -0.35 0) (0 -0.35 0) (0.7 -0.35 0) (0.8 -0.35 0) (1 -0.35 0) (0 -0.6 0) (0.7 -0.6 0) (0.8 -0.6 0) (1 -0.6 0) (0.7 -0.8 0) (0.8 -0.8 0) (0.7 0.2 0) (0.8 0.2 0) (0 0 0.1) (0.7 0 0.1) (0.8 0 0.1) (1 0 0.1) (-0.2 -0.25 0.1) (0 -0.25 0.1) (0.7 -0.25 0.1) (0.8 -0.25 0.1) (1 -0.25 0.1) (-0.2 -0.35 0.1) (0 -0.35 0.1) (0.7 -0.35 0.1) (0.8 -0.35 0.1) (1 -0.35 0.1) (0 -0.6 0.1) (0.7 -0.6 0.1) (0.8 -0.6 0.1) (1 -0.6 0.1) (0.7 -0.8 0.1) (0.8 -0.8 0.1) (0.7 0.2 0.1) (0.8 0.2 0.1) ); blocks ( hex (1 2 21 20 23 24 43 42) (10 20 1) simpleGrading (1 1 1) //0 hex (0 5 6 1 22 27 28 23) (70 25 1) simpleGrading (1 1 1) //1 hex (1 6 7 2 23 28 29 24) (10 25 1) simpleGrading (1 1 1) //2 hex (2 7 8 3 24 29 30 25) (20 25 1) simpleGrading (1 1 1) //3 hex (4 9 10 5 26 31 32 27) (20 10 1) simpleGrading (1 1 1) //4 hex (5 10 11 6 27 32 33 28) (70 10 1) simpleGrading (1 1 1) //5 hex (6 11 12 7 28 33 34 29) (10 10 1) simpleGrading (1 1 1) //6 hex (7 12 13 8 29 34 35 30) (20 10 1) simpleGrading (1 1 1) //7 hex (10 14 15 11 32 36 37 33) (70 25 1) simpleGrading (1 1 1) //8 hex (11 15 16 12 33 37 38 34) (10 25 1) simpleGrading (1 1 1) //9 hex (12 16 17 13 34 38 39 35) (20 25 1) simpleGrading (1 1 1) //10 hex (15 18 19 16 37 40 41 38) (10 20 1) simpleGrading (1 1 1) //11 ); edges ( ); boundary ( inlet { type patch; faces ( (4 26 31 9) ); } leftWall { type wall; faces ( (4 26 27 5) (0 5 27 22) (0 22 23 1) (1 23 42 20) (2 21 43 24) (2 24 25 3) (3 25 30 8) ); } rightWall { type wall; faces ( (9 10 32 31) (10 14 36 32) (14 15 37 36) (15 18 40 37) (16 38 41 19) (16 17 39 38) (13 35 39 17) ); } frontWall { type wall; faces ( (8 30 35 13) ); } frontAndBack { type empty; faces ( (1 20 21 2) (23 24 43 42) (0 1 6 5) (22 27 28 23) (1 2 7 6) (23 28 29 24) (2 3 8 7) (24 29 30 25) (4 5 10 9) (26 31 32 27) (5 6 11 10) (27 32 33 28) (6 7 12 11) (28 33 34 29) (7 8 13 12) (29 34 35 30) (10 11 15 14) (32 36 37 33) (11 12 16 15) (33 37 38 34) (12 13 17 16) (34 38 39 35) (15 16 19 18) (37 40 41 38) ); } outlet { type patch; faces ( (20 42 43 21) (18 19 41 40) ); } ); mergePatchPairs ( ); " I also attach below an image of the consituing blocks taken from ParaView. As you can guess, I'm trying to create a mesh entirely made of cubic cells. However I still can't figure out why block 0 and 2 (and, I suppose, many others going through the code), which should be face-matched in the xz plane, are said to be inconsistent with respect to the number of shared faces . Any idea or advice regarding the origin of the issue will be welcomed and highly appreciated . Thanks in advance. |
|
|
|