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

[blockMesh] --> FOAM FATAL ERROR: face 1 in patch 0 does not have neighbour cell face

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 3, 2020, 13:55
Default --> FOAM FATAL ERROR: face 1 in patch 0 does not have neighbour cell face
  #1
New Member
 
Michael Maalouly
Join Date: Jan 2020
Posts: 2
Rep Power: 0
m409 is on a distinguished road
Send a message via Skype™ to m409
Hi guys,

I am trying to create a pipe using blockMeshDict. I need the pipe to be split into 3 blocks. But I am getting the following error:

--> FOAM FATAL ERROR:
face 1 in patch 0 does not have neighbour cell face: 4(5 6 12 9)


This is my blockMeshDict file. I still find writing my own mesh a bit tricky, could anyone give me a hand?

Code:
convertToMeters 1;
 
vertices
(

(0.0005 0 0)		//0
(0 0.0005 0) 		//1
(-0.0005 0 0)		//2
(0 -0.0005 0) 		//3

(0.0005 0 0.048)	//4
(0 0.0005 0.048) 	//5
(-0.0005 0 0.048)	//6
(0 -0.0005 0.048)	//7

(0.0005 0 0.216)	//8
(0 0.0005 0.216) 	//9
(-0.0005 0 0.216)	//10	
(0 -0.0005 0.216)	//11

(0.0005 0 0.24)		//12
(0 0.0005 0.24) 	//13
(-0.0005 0 0.24)	//14
(0 -0.0005 0.24)	//15

);
 
blocks
(
hex (0 1 2 3 4 5 6 7)   	(25  1 140) 
simpleGrading 	(
					1
					(
						(0.2 0.3 4)
						(0.6 0.4 1)
						(0.2 0.3 0.25)
					)
					1
				)
hex (4 5 6 7 8 9 10 11)   	(25  1 260)
simpleGrading 	(
					1
					(
						(0.2 0.3 4)
						(0.6 0.4 1)
						(0.2 0.3 0.25)
					)
					1
				)
hex (8 9 10 11 12 13 14 15) (25  1 140)
simpleGrading 	(
					1
					(
						(0.2 0.3 4)
						(0.6 0.4 1)
						(0.2 0.3 0.25)
					)
					1
				)
);
 
edges
(
arc 0 1 (0.000353553 0.000353553 0)
arc 1 2 (-0.000353553 0.000353553 0)
arc 2 3 (-0.000353553 -0.000353553 0)
arc 3 0 (0.000353553 -0.000353553 0)

arc 4 5 (0.000353553 0.000353553 0.048)
arc 5 6 (-0.000353553 0.000353553 0.048)
arc 6 7 (-0.000353553 -0.000353553 0.048)
arc 7 4 (0.000353553 -0.000353553 0.048)

arc 8 9  (0.000353553 0.000353553 0.216)
arc 9 10 (-0.000353553 0.000353553 0.216)
arc 10 11 (-0.000353553 -0.000353553 0.216)
arc 11 8 (0.000353553 -0.000353553 0.216)

arc 12 13 (0.000353553 0.000353553 0.24)
arc 13 14 (-0.000353553 0.000353553 0.24)
arc 14 15 (-0.000353553 -0.000353553 0.24)
arc 15 12 (0.000353553 -0.000353553 0.24)
);
 
boundary
(

     Heated 
     { 
           type wall;
           faces  
           (
               (4 5 9 8)
			   (5 6 12 9)
			   (6 7 11 12)
			   (7 6 11 8)
           );
      }
     WallOutlet
     { 
           type wall;
           faces  
           (
               (11 8 12 15)
			   (8 9 13 12)
			   (9 10 14 13)
			   (10 11 15 14)
           );
      }
     WallInlet
     { 
           type wall;
           faces  
           (
               (3 0 4 7)
			   (3 7 6 2)
			   (1 2 6 5)
			   (0 1 5 4)
           );
      }
     inlet
     { 
           type patch;
           faces  
           (
               (0 3 2 1)
           );
      }
     outlet
     { 
           type patch;
           faces  
           (
               (12 13 14 15)
           );
      }
);
 
mergePatchPairs
(
);
Thank you!
m409 is offline   Reply With Quote

Old   June 19, 2020, 21:07
Default
  #2
Member
 
Lisandro Maders
Join Date: Feb 2013
Posts: 98
Rep Power: 9
Lisandro Maders is on a distinguished road
The combination (5 6 12 9) does not give you a proper face!

Draw your points and faces and you will realize it.

Cheers,
Lisandro Maders 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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[blockMesh] FATAL ERROR: face 6 in patch 2 does not have neighbour cell face: 4(8 9 21 20) robingilbert OpenFOAM Meshing & Mesh Conversion 25 April 16, 2020 05:30
[blockMesh] Foam fatal error: neighbour cell face anu.raghun OpenFOAM Meshing & Mesh Conversion 2 June 26, 2019 12:53
steadyUniversalMRFFoam Tutorial fails in MixingPlane HenrikJohansson OpenFOAM Bugs 0 February 14, 2019 05:48
[blockMesh] Errors during blockMesh meshing Madeleine P. Vincent OpenFOAM Meshing & Mesh Conversion 51 May 30, 2016 11:51
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51


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