|
[Sponsors] |
FATAL ERROR: face 6 in patch 2 does not have neighbour cell face: 4(8 9 21 20) |
![]() |
|
LinkBack | Thread Tools | Display Modes |
![]() |
![]() |
#21 |
Senior Member
Join Date: Aug 2013
Posts: 349
Rep Power: 7 ![]() |
Hi,
To be able to define a face with the vertices, the vertices MUST form part of a block. Your blocks are: Code:
hex (0 1 2 3 6 7 8 9) (200 36 1) simpleGrading (1 1 1) hex (3 2 4 5 9 8 10 11) (200 4 1) simpleGrading (1 1 1) Code:
face: 4(0 6 13 12) Hope this helps. Cheers, Antimony P.S: Please wrap code tags around the dictionary. Makes reading it so much easier. |
|
![]() |
![]() |
![]() |
![]() |
#22 |
New Member
Randal Samstag
Join Date: Jan 2015
Location: Bainbridge Island, WA US
Posts: 7
Rep Power: 5 ![]() |
Thanks so much. I will take a look at that. Cheers, Randal
|
|
![]() |
![]() |
![]() |
![]() |
#23 |
New Member
Join Date: Apr 2017
Location: Germany
Posts: 5
Rep Power: 3 ![]() |
Hey guys,
I want to simulate the flow through a narrow duct and the conjugated heat transfer to the wall. I've faced the same problem when running blockMesh and I'm unable to solve it by myself: --> FOAM FATAL ERROR: Trying to specify a boundary face 4(12 13 65 64) on the face on cell 0 which is either an internal face or already belongs to some other patch. This is face 12 of patch 0 named lowerWall. I displayed my geometry with HexBlocker but it didn't really help me. I'd appreciate any hints regarding my mistake. Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 0.001; vertices ( (0 0 -0.5) //0 (165 0 -0.5) //1 (167 0 -0.5) //2 (206.11 0 -0.5) //3 (210.44 0 -0.5) //4 (220 0 -0.5) //5 (230 0 -0.5) //6 (239.56 0 -0.5) //7 (243.89 0 -0.5) //8 (283 0 -0.5) //9 (285 0 -0.5) //10 (340 0 -0.5) //11 (0 42.75 -0.5) //12 (165 42.75 -0.5) //13 (285 42.75 -0.5) //14 (340 42.75 -0.5) //15 (0 48 -0.5) //16 (167 48 -0.5) //17 (206.11 48 -0.5) //18 (243.89 48 -0.5) //19 (283 48 -0.5) //20 (340 48 -0.5) //21 (0 50.5 -0.5) //22 (210.44 50.5 -0.5) //23 (239.56 50.5 -0.5) //24 (340 50.5 -0.5) //25 (0 67.05 -0.5) //26 (220 67.05 -0.5) //27 (230 67.05 -0.5) //28 (340 67.05 -0.5) //29 (0 92.05 -0.5) //30 (220 92.05 -0.5) //31 (230 92.05 -0.5) //32 (340 92.05 -0.5) //33 (0 92.25 -0.5) //34 (170 92.25 -0.5) //35 (220 92.25 -0.5) //36 (230 92.25 -0.5) //37 (280 92.25 -0.5) //38 (340 92.25 -0.5) //39 (0 97.25 -0.5) //40 (165 97.25 -0.5) //41 (285 97.25 -0.5) //42 (340 97.25 -0.5) //43 (0 140 -0.5) //44 (165 140 -0.5) //45 (170 140 -0.5) //46 (220 140 -0.5) //47 (230 140 -0.5) //48 (280 140 -0.5) //49 (285 140 -0.5) //50 (340 140 -0.5) //51 (0 0 0.5) //52 (165 0 0.5) //53 (167 0 0.5) //54 (206.11 0 0.5) //55 (210.44 0 0.5) //56 (220 0 0.5) //57 (230 0 0.5) //58 (239.56 0 0.5) //59 (243.89 0 0.5) //60 (283 0 0.5) //61 (285 0 0.5) //62 (340 0 0.5) //63 (0 42.75 0.5) //64 (165 42.75 0.5) //65 (285 42.75 0.5) //66 (340 42.75 0.5) //67 (0 48 0.5) //68 (167 48 0.5) //69 (206.11 48 0.5) //70 (243.89 48 0.5) //71 (283 48 0.5) //72 (340 48 0.5) //73 (0 50.5 0.5) //74 (210.44 50.5 0.5) //75 (239.56 50.5 0.5) //76 (340 50.5 0.5) //77 (0 67.05 0.5) //78 (220 67.05 0.5) //79 (230 67.05 0.5) //80 (340 67.05 0.5) //81 (0 92.05 0.5) //82 (220 92.05 0.5) //83 (230 92.05 0.5) //84 (340 92.05 0.5) //85 (0 92.25 0.5) //86 (170 92.25 0.5) //87 (220 92.25 0.5) //88 (230 92.25 0.5) //89 (280 92.25 0.5) //90 (340 92.25 0.5) //91 (0 97.25 0.5) //92 (165 97.25 0.5) //93 (285 97.25 0.5) //94 (340 97.25 0.5) //95 (0 140 0.5) //96 (165 140 0.5) //97 (170 140 0.5) //98 (220 140 0.5) //99 (230 140 0.5) //100 (280 140 0.5) //101 (285 140 0.5) //102 (340 140 0.5) //103 ); blocks ( hex (12 13 17 16 64 65 69 68) (100 100 1) simpleGrading (1 1 1) //0 inside left hex (16 18 23 22 68 70 75 74) (100 20 1) simpleGrading (1 1 1) //1 hex (22 23 27 26 74 75 79 78) (100 100 1) simpleGrading (1 1 1) //2 hex (26 27 31 30 78 79 83 82) (100 20 1) simpleGrading (1 1 1) //3 hex (30 31 36 34 82 83 88 86) (50 20 1) simpleGrading (1 1 1) //4 hex (34 35 41 40 86 87 93 92) (100 100 1) simpleGrading (1 1 1) //5 hex (31 32 37 36 83 84 89 88) (100 20 1) simpleGrading (1 1 1) //6 duct hex (27 28 32 31 79 80 84 83) (100 20 1) simpleGrading (1 1 1) //7 duct inside hex (14 15 21 20 66 67 73 72) (100 100 1) simpleGrading (1 1 1) //8 inside right hex (19 21 25 24 71 73 77 76) (100 20 1) simpleGrading (1 1 1) //9 hex (24 25 29 28 76 77 81 80) (50 20 1) simpleGrading (1 1 1) //10 hex (28 29 33 32 80 81 85 84) (100 100 1) simpleGrading (1 1 1) //11 hex (32 33 39 37 84 85 91 89) (100 20 1) simpleGrading (1 1 1) //12 hex (38 39 43 42 90 91 95 94) (100 100 1) simpleGrading (1 1 1) //13 hex (40 41 45 44 92 93 97 96) (100 20 1) simpleGrading (1 1 1) //14 outside top hex (41 35 46 45 93 87 98 97) (50 20 1) simpleGrading (1 1 1) //15 hex (35 36 47 46 87 88 99 98) (100 20 1) simpleGrading (1 1 1) //16 hex (36 37 48 47 88 89 100 99) (50 20 1) simpleGrading (1 1 1) //17 hex (37 38 49 48 89 90 101 100) (100 100 1) simpleGrading (1 1 1) //18 hex (38 42 50 49 90 94 102 101) (100 20 1) simpleGrading (1 1 1) //19 hex (42 43 51 50 94 95 103 102) (100 100 1) simpleGrading (1 1 1) //20 hex (0 1 13 12 52 53 65 64) (100 20 1) simpleGrading (1 1 1) //21 outside bottom hex (1 2 17 13 53 54 69 65) (50 20 1) simpleGrading (1 1 1) //22 hex (2 3 18 17 54 55 70 69) (50 20 1) simpleGrading (1 1 1) //23 hex (3 4 23 18 55 56 75 70) (100 20 1) simpleGrading (1 1 1) //24 hex (4 5 27 23 56 57 79 75) (50 20 1) simpleGrading (1 1 1) //25 hex (5 6 28 27 57 58 80 79) (100 100 1) simpleGrading (1 1 1) //26 hex (6 7 24 28 58 59 76 80) (100 20 1) simpleGrading (1 1 1) //27 hex (7 8 19 24 59 60 71 76) (100 100 1) simpleGrading (1 1 1) //28 hex (8 9 20 19 60 61 72 71) (50 20 1) simpleGrading (1 1 1) //29 hex (9 10 14 20 61 62 66 72) (100 20 1) simpleGrading (1 1 1) //30 hex (10 11 15 14 62 63 67 66) (50 20 1) simpleGrading (1 1 1) //31 ); edges ( arc 17 13 (1.1 0.0 0.5) arc 23 18 (1.1 0.0 0.5) arc 24 19 (1.1 0.0 0.5) arc 20 14 (1.1 0.0 0.5) arc 69 65 (1.1 0.0 0.5) arc 75 70 (1.1 0.0 0.5) arc 76 71 (1.1 0.0 0.5) arc 72 66 (1.1 0.0 0.5) arc 41 35 (1.1 0.0 0.5) arc 42 38 (1.1 0.0 0.5) arc 93 87 (1.1 0.0 0.5) arc 94 90 (1.1 0.0 0.5) ); boundary ( lowerWall { type wall; faces ( (10 11 63 62) (9 10 62 61) (8 9 61 60) (7 8 60 59) (6 7 59 58) (5 6 58 57) (4 5 57 56) (3 4 56 55) (2 3 55 54) (1 2 54 53) (0 1 53 52) (0 52 64 12) (12 13 65 64) (13 17 69 65) (17 18 70 69) (18 23 75 70) (23 27 79 75) (27 31 83 79) (31 32 84 83) (28 80 84 32) (24 76 80 28) (19 71 76 24) (19 20 72 71) (14 66 72 20) (14 15 67 66) (11 15 67 63) ); } upperWall { type wall; faces ( (42 43 95 94) (38 90 94 42) (37 89 90 38) (36 88 89 37) (35 87 88 36) (41 93 87 35) (40 41 93 92) (40 92 96 44) (44 96 97 45) (45 97 98 46) (46 98 99 47) (47 99 100 48) (48 100 101 49) (49 101 102 50) (50 102 103 51) (43 51 103 95) ); } inlet { type patch; faces ( (12 64 68 16) (16 68 74 22) (22 74 78 26) (26 78 82 30) (30 82 86 34) (34 86 92 40) ); } outlet { type patch; faces ( (15 21 73 67) (21 25 77 73) (25 29 81 77) (29 33 85 81) (33 39 91 85) (39 43 95 91) ); } // frontAndBack // { // type empty; // faces // ( // (12 13 17 16) // (0 4 5 1) // (16 17 21 20) // (4 8 9 5) // (13 14 18 17) // (1 5 6 2) // (17 18 22 21) // (5 9 10 6) // (14 15 19 18) // (2 6 7 3) // (18 19 23 22) // (6 10 11 7) // ); // } ); mergePatchPairs ( ); // ************************************************************************* // |
|
![]() |
![]() |
![]() |
![]() |
#24 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 523
Rep Power: 6 ![]() |
Without understanding your mesh to full extend:
The patch (12 13 65 64) belongs to block 0 and block 21 and is therefore an internal face. It cannot be used as boundary. Boundary patches need to belong to one block only.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
![]() |
![]() |
![]() |
![]() |
#25 |
New Member
Join Date: Apr 2017
Location: Germany
Posts: 5
Rep Power: 3 ![]() |
Hey,
I'm working on a multiregion case with two solids and one fluid. In every region I get a similar mistake with the geometry and always next to a curved edge: face 0 in patch 0 does not have neighbour cell face: 4(2 3 11 10) The problem is that there should be a neighbour patch which is a curved edge. It seems like blockMesh can't recognise this patch. I've double checked my blocks and the order of my vertices. This is the blockMesh of my topsolid: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | BlockMeshDict generated by hexBlocker | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } convertToMeters 0.001; vertices ( (170 92.25 -0.5) //0 (280 92.25 -0.5) //1 (0 97.25 -0.5) //2 (165 97.25 -0.5) //3 (285 97.25 -0.5) //4 (340 97.25 -0.5) //5 (0 140 -0.5) //6 (340 140 -0.5) //7 (170 92.25 0.5) //8 (280 92.25 0.5) //9 (0 97.25 0.5) //10 (165 97.25 0.5) //11 (285 97.25 0.5) //12 (340 97.25 0.5) //13 (0 140 0.5) //14 (340 140 0.5) //15 ); blocks ( hex (0 1 4 3 8 9 12 11) (170 50 1) //0 simpleGrading ( ( (0.4 0.3 4) //20% x-dir,40% cells,expansion=3 (0.2 0.4 1) //60% x-dir,20% cells,expansion=3 (0.4 0.3 0.25) //20% x-dir,40% cells,expansion=3 ) 1 1 ) hex (2 5 7 6 10 13 15 14) (200 50 1) simpleGrading (0.1 20 1) //1 ); //patches //( //inside patches //( // (3 11 12 4) //) //); boundary ( upperWall { type wall; faces ( (2 3 11 10) (0 8 11 3) (0 1 9 8) (1 4 12 9) (4 5 13 12) ); } topCase { type wall; faces ( (5 7 15 13) (6 14 15 7) (2 10 14 6) ); } frontAndBack { type empty; faces ( (2 6 7 5) (0 3 4 1) (10 13 15 14) (8 9 12 11) ); } ); edges ( arc 3 0 (165.955 94.311 -0.5) arc 4 1 (284.045 94.311 -0.5) arc 11 8 (165.955 94.311 0.5) arc 12 9 (284.045 94.311 0.5) ); mergePatchPairs ( ); Thanks for your help! Cheers Marvin |
|
![]() |
![]() |
![]() |
Tags |
fatal error |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Import netgen mesh to OpenFOAM | hsieh | Open Source Meshers: Gmsh, Netgen, CGNS, ... | 32 | September 13, 2011 05:50 |
BlockMeshmergePatchPairs | hjasak | OpenFOAM Native Meshers: blockMesh | 11 | August 15, 2008 07:36 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |
Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... | 2 | July 15, 2005 04:15 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 05:41 |