CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] error with internal face or belongs to other patch

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 9, 2019, 11:10
Default error with internal face or belongs to other patch
  #1
New Member
 
Cham Yang Han
Join Date: Dec 2018
Posts: 14
Rep Power: 2
cfd1609496 is on a distinguished road
Hi Foamers,
I refer to the forum: --> FOAM FATAL ERROR: Trying to specify a boundary face
but i don understand which is the solution and what the solution is about...im too novice in OpenFoam.


So I succeed the blockMeshDict from my successful case of 7blocks together making an 'I' shape, unfortunately this time to make a 27 blocks i faced the error:


Code:
--> FOAM FATAL ERROR:
Trying to specify a boundary face 4(21 37 42 26) on the face on cell 13 which is either an internal face or already belongs to some other patch.  This is face 0 of patch 0 named HeatedWalls.
Below is my blockMeshDict:


Code:
vertices
  (
                  //z0plane
  (0.0 0.0 0.0)
  (4.95 0.0 0.0)
  (5.05 0.0 0.0)
  (10.0 0.0 0.0)
  (10.0 4.25 0.0)
  (5.05 4.25 0.0)
  (4.95 4.25 0.0)
  (0.0 4.25 0.0)
  (0.0 5.75 0.0)
  (4.95 5.75 0.0)
  (5.05 5.75 0.0)
  (10.0 5.75 0.0)
  (10.0 10.0 0.0)
  (5.05 10.0 0.0)
  (4.95 10.0 0.0)
  (0.0 10.0 0.0)
   
  //z1plane
  (0.0 0.0 4.65)
  (4.95 0.0 4.65)
  (5.05 0.0 4.65)
  (10.0 0.0 4.65)
  (10.0 4.25 4.65)
  (5.05 4.25 4.65)
  (4.95 4.25 4.65)
  (0.0 4.25 4.65)
  (0.0 5.75 4.65)
  (4.95 5.75 4.65)
  (5.05 5.75 4.65)
  (10.0 5.75 4.65)
  (10.0 10.0 4.65)
  (5.05 10.0 4.65)
  (4.95 10.0 4.65)
  (0.0 10.0 4.65)
   
  //z2plane
  (0.0 0.0 5.35)
  (4.95 0.0 5.35)
  (5.05 0.0 5.35)
  (10.0 0.0 5.35)
  (10.0 4.25 5.35)
  (5.05 4.25 5.35)
  (4.95 4.25 5.35)
  (0.0 4.25 5.35)
  (0.0 5.75 5.35)
  (4.95 5.75 5.35)
  (5.05 5.75 5.35)
  (10.0 5.75 5.35)
  (10.0 10.0 5.35)
  (5.05 10.0 5.35)
  (4.95 10.0 5.35)
  (0.0 10.0 5.35)
   
  //z3plane
  (0.0 0.0 10.0)
  (4.95 0.0 10.0)
  (5.05 0.0 10.0)
  (10.0 0.0 10.0)
  (10.0 4.25 10.0)
  (5.05 4.25 10.0)
  (4.95 4.25 10.0)
  (0.0 4.25 10.0)
  (0.0 5.75 10.0)
  (4.95 5.75 10.0)
  (5.05 5.75 10.0)
  (10.0 5.75 10.0)
  (10.0 10.0 10.0)
  (5.05 10.0 10.0)
  (4.95 10.0 10.0)
  (0.0 10.0 10.0)
   
  );
   
  blocks
  (
                  //z0z1
                  hex (0 1 6 7 16 17 22 23) (1 1 1) simpleGrading (1 1 1)
       hex (1 2 5 6 17 18 21 22) (1 1 1) simpleGrading (1 1 1)
       hex (2 3 4 5 18 19 20 21) (1 1 1) simpleGrading (1 1 1)
       hex (7 6 9 8 23 22 25 24) (1 1 1) simpleGrading (1 1 1)
                  hex (6 5 10 9 22 21 26 25) (1 1 1) simpleGrading (1 1 1)
       hex (5 4 11 10 21 20 27 26) (1 1 1) simpleGrading (1 1 1)
       hex (8 9 14 15 24 25 30 31) (1 1 1) simpleGrading (1 1 1)
       hex (9 10 13 14 25 26 29 30) (1 1 1) simpleGrading (1 1 1)
                  hex (10 11 12 13 26 27 28 29) (1 1 1) simpleGrading (1 1 1)
       
       //z1z2
       hex (16 17 22 23 32 33 38 39) (1 1 1) simpleGrading (1 1 1)
       hex (17 18 21 22 33 34 37 38) (1 1 1) simpleGrading (1 1 1)
       hex (18 19 20 21 34 35 36 37) (1 1 1) simpleGrading (1 1 1)
       hex (23 22 25 24 39 38 41 40) (1 1 1) simpleGrading (1 1 1)
       hex (22 21 26 25 38 37 42 41) (1 1 1) simpleGrading (1 1 1)
       hex (21 20 27 26 37 36 43 42) (1 1 1) simpleGrading (1 1 1)
       hex (24 25 30 31 40 41 46 47) (1 1 1) simpleGrading (1 1 1)
       hex (25 26 29 30 41 42 45 46) (1 1 1) simpleGrading (1 1 1)
       hex (26 27 28 29 42 43 44 45) (1 1 1) simpleGrading (1 1 1)
   
       //z2z3
       hex (32 33 38 39 48 49 54 55) (1 1 1) simpleGrading (1 1 1)
       hex (33 34 37 38 49 50 53 54) (1 1 1) simpleGrading (1 1 1)
       hex (34 35 36 37 50 51 52 53) (1 1 1) simpleGrading (1 1 1)
       hex (39 38 41 40 55 54 57 56) (1 1 1) simpleGrading (1 1 1)
       hex (38 37 42 41 54 53 58 57) (1 1 1) simpleGrading (1 1 1)
       hex (37 36 43 42 53 52 59 58) (1 1 1) simpleGrading (1 1 1)
       hex (40 41 46 47 56 57 62 63) (1 1 1) simpleGrading (1 1 1)
       hex (41 42 45 46 57 58 61 62) (1 1 1) simpleGrading (1 1 1)
       hex (42 43 44 45 58 59 60 61) (1 1 1) simpleGrading (1 1 1)
   
  );
   
  boundary
  (
       HeatedWalls
       {
             type wall;
             faces
                  (
                                  (21 37 42 26)
                  );
  }
   
  Walls
  {
                  type wall;
                  faces
                  (
                                  (22 38 41 25)
                                  (22 21 26 25)
                                  (38 37 42 41)
                  );
  }
   
  Openings
  {
                  type patch;
                  faces
                  (
                                  //each has 9 planes
                                                  //z0
                                                  (0 1 6 7)
                                                  (1 2 5 6)
                                                  (2 3 4 5)
                                                  (7 6 9 8)
                                                  (6 5 10 9)
                                                  (5 4 11 10)
                                                  (8 9 14 15)
                                                  (9 10 13 14)
                                                  (10 11 12 13)
   
   
                                                  //z1-1 for back of Walls
                                                  (16 17 22 23)
                                                  (17 18 21 22)
                                                  (18 19 20 21)
                                                  (23 22 25 24)
   
                                                  (21 20 27 26)
                                                  (24 25 30 31)
                                                  (25 26 29 30)
                                                  (26 27 28 29)
                                                  
                                                  //z2-1 for front of Walls
                                                  (32 33 38 39)
                                                  (33 34 37 38)
                                                  (34 35 36 37)
                                                  (39 38 41 40)
                                                  
                                                  (37 36 43 42)
                                                  (40 41 46 47)
                                                  (41 42 45 46)
                                                  (42 43 44 45)
   
  //z3
                                                  (48 49 54 55)
                                                  (49 50 53 54)
                                                  (50 51 52 53)
                                                  (55 54 57 56)
                                                  (54 53 58 57)
                                                  (53 52 59 58)
                                                  (56 57 62 63)
                                                  (57 58 61 62)
                                                  (58 59 60 61)
   
                                                  //x0
                                                  (0 7 23 16)
                                                  (7 8 24 23)
                                                  (8 15 31 24)
                                                  (16 23 39 32)
                                                  (23 24 40 39)
                                                  (24 31 47 40)
                                                  (32 39 55 48)
                                                  (39 40 56 55)
                                                  (40 47 63 56)
   
                                                  //x1-1 for left of Walls
                                                  (1 6 22 17)
                                                  (6 9 25 22)
                                                  (9 14 30 25)
                                                  (17 22 38 33)
   
                                                  (25 30 46 41)
                                                  (33 38 54 49)
                                                  (38 41 57 54)
                                                  (41 46 62 57)
   
                                                  //x2-1 for HeatedWalls
                                                  (2 5 21 18)
                                                  (5 10 26 21)
                                                  (10 13 29 26)
                                                  (18 21 37 34)
   
                                                  (26 29 42 45)
                                                  (34 37 53 50)
                                                  (37 42 58 53)
                                                  (42 45 61 58)
   
                                                  //x3
                                                  (3 4 20 19)
                                                  (4 11 27 20)
                                                  (11 12 28 27)
                                                  (19 20 36 35)
                                                  (20 27 43 36)
                                                  (27 28 44 43)
                                                  (35 36 52 51)
                                                  (36 43 59 52)
                                                  (43 44 60 59)
   
                                                  //y0
                                                  (0 16 17 1)
                                                  (1 17 18 2)
                                                  (2 18 19 3)
                                                  (16 32 33 17)
                                                  (17 33 34 18)
                                                  (18 34 35 19)
                                                  (32 48 49 33)
                                                  (33 49 50 34)
                                                  (34 50 51 35)
   
                                                  //y1
                                                  (7 23 22 6)
                                                  (6 22 21 5)
                                                  (5 21 20 4)
                                                  (23 39 38 22)
                                                  (22 38 37 21)
                                                  (21 37 36 20)
                                                  (39 55 54 38)
                                                  (38 54 53 37)
                                                  (37 53 52 36)
   
                                                  //y2
                                  (8 24 25 9)
                                  (9 25 26 10)
                                  (10 26 27 11)
                                  (24 40 41 25)
                                  (25 41 42 26)
                                  (26 42 43 27)
                                  (40 56 57 41)
                                  (41 57 58 42)
                                  (42 58 59 43)
   
                                  //y3
                                  (15 31 30 14)
                                  (14 30 29 13)
                                  (13 29 28 12)
                                  (31 47 46 30)
                                  (30 46 45 29)
                                  (29 45 44 28)
                                  (47 63 62 46)
                                  (46 62 61 45)
                                  (45 61 60 44)
  );
       }
   
   
  );
Can anyone help me with this error?


Many thanks,
Cham
cfd1609496 is offline   Reply With Quote

Old   July 10, 2019, 04:18
Default
  #2
Senior Member
 
Zander Meiring
Join Date: Jul 2018
Posts: 120
Rep Power: 3
yambanshee is on a distinguished road
The problem tells you that the boundary "HeatedWalls" is inside of your mesh, and not an actual boundary.
If your goal is to create a thin wall inside of your mesh, look into using baffles (createBaffleDict)
yambanshee is offline   Reply With Quote

Old   July 10, 2019, 10:36
Default
  #3
New Member
 
Cham Yang Han
Join Date: Dec 2018
Posts: 14
Rep Power: 2
cfd1609496 is on a distinguished road
Quote:
Originally Posted by yambanshee View Post
The problem tells you that the boundary "HeatedWalls" is inside of your mesh, and not an actual boundary.
If your goal is to create a thin wall inside of your mesh, look into using baffles (createBaffleDict)



Thank you very much!
cfd1609496 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
createPatch Segmentation Fault (CORE DUMPED) sam.ho OpenFOAM Pre-Processing 2 April 21, 2014 02:01
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 04:16
[blockMesh] Cyclic BC's: Possible face ordering problem? (Channel flow) sega OpenFOAM Meshing & Mesh Conversion 3 September 28, 2010 12:46
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


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