CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: blockMesh

Inconsistent number of faces

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 5, 2006, 13:27
Default Hi to all Which means this er
  #1
New Member
 
Giuseppe Noviello
Join Date: Mar 2009
Location: Palese bari
Posts: 19
Rep Power: 8
derath is on a distinguished road
Hi to all
Which means this error of blockMesh?
> FOAM FATAL ERROR : Inconsistent number of faces between block pair 2 and 4

From function blockMesh::blockMesh(IOdictionary& meshDescription)
in file createMergeList.C at line 202.

FOAM exiting
Someone can help me?
Thanks in advantage
Giuseppe
derath is offline   Reply With Quote

Old   June 5, 2006, 13:29
Default It means you've got 2 blocks y
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
It means you've got 2 blocks you are trying to connect to each other in blockMesh but they haven't got the matching number of cells in this direction or that the scaling is different.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   July 17, 2012, 09:10
Default Trouble with blockMesh: inconsistent number of faces between block pairs 0 and 1
  #3
New Member
 
Deepak Cheekati
Join Date: Jul 2012
Location: Chennai, India
Posts: 21
Rep Power: 5
Turbulence is on a distinguished road
Hi all,
I tried to manipulate the blockMeshDict, but I am not able to get rid of this problem.
"inconsistent number of faces between block pairs 0 and 1"
Can anyone help?

blockMeshDict:

FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;

vertices
(

(-1 39.8 -0.5)
(81 39.8 -0.5)
(-1 40.2 -0.5)
(81 40.2 -0.5)
(-1 39.8 1)
(-1 39.8 52)
(81 39.8 52)
(81 39.8 1)
(-1 40.2 1)
(-1 40.2 52)
(81 40.2 52)
(81 40.2 1)
(-1 81.2 1)
(-1 81.2 52)
(81 81.2 52)
(81 81.2 1)
(-1 -1.2 1)
(-1 -1.2 52)
(81 -1.2 52)
(81 -1.2 1)
);

blocks
(
hex (0 4 7 1 2 8 11 3) (410 2 5) simpleGrading (1 1 1)

hex (4 5 6 7 8 9 10 11) (410 2 170) simpleGrading (1 1 1)

hex (8 9 10 11 12 13 14 15) (410 205 170) simpleGrading (1 1 1)

hex (16 17 18 19 4 5 6 7) (410 205 170) simpleGrading (1 1 1)

);

boundary
(
bPlane
{
type patch;
faces
(
(0 4 7 1)
);
}
tPlane
{
type patch;
faces
(
(2 3 11 8)
);
}
fPlane
{
type patch;
faces
(
(0 2 8 4)
);
}

backPlane
{
type patch;
faces
(
(1 7 11 3)
);
}

lPlane
{
type patch;
faces
(
(0 1 3 2)
);
}


FPlane
{
type patch;
faces
(
(4 8 9 5)
(8 12 13 9)
(16 4 5 17)
);
}

BackPlane
{
type patch;
faces
(
(7 6 10 11)
(10 14 15 11)
(19 18 6 7)
);
}


LuPlane
{
type patch;
faces
(
(8 11 15 12)
);
}

LbPlane
{
type patch;
faces
(
(16 19 7 4)
);
}

RPlane
{
type patch;
faces
(
(5 6 10 9)
(9 10 14 13)
(17 18 6 5)
);
}

TuPlane
{
type patch;
faces
(
(12 15 14 13)
);
}


blPlane

{

type patch;
faces

(
(16 17 18 19)
);

}

);

................

Thank You
Turbulence is offline   Reply With Quote

Old   July 17, 2012, 10:07
Default
  #4
Member
 
Join Date: Apr 2012
Location: France
Posts: 72
Rep Power: 5
Rider is on a distinguished road
Could you post a drawing ? (about the geometry that you want to create with blockMesh)
Rider is offline   Reply With Quote

Old   July 17, 2012, 10:31
Default
  #5
New Member
 
Deepak Cheekati
Join Date: Jul 2012
Location: Chennai, India
Posts: 21
Rep Power: 5
Turbulence is on a distinguished road
PFA the image.Will this do?
Attached Images
File Type: jpg Photo0221.jpg (90.0 KB, 339 views)
Turbulence is offline   Reply With Quote

Old   July 17, 2012, 10:54
Default
  #6
Member
 
Join Date: Apr 2012
Location: France
Posts: 72
Rep Power: 5
Rider is on a distinguished road
Ok, this is the geometry that I had deduced with the points

The problem is in the syntax of blocks. The correct syntax is :

Code:
hex (0 1 3 2 4 7 11 8) 

hex (4 7 11 8 5 6 10 9) 

hex (16 19 7 4 17 18 6 5) 

hex (8 11 15 12 9 10 14 13)
Rider is offline   Reply With Quote

Old   July 17, 2012, 13:39
Default
  #7
New Member
 
Deepak Cheekati
Join Date: Jul 2012
Location: Chennai, India
Posts: 21
Rep Power: 5
Turbulence is on a distinguished road
Hi Rider,
Thank you very much
Could you explain me how to number,so that I wont make this mistake again..

Thank You
Turbulence.
Turbulence is offline   Reply With Quote

Old   July 18, 2012, 02:35
Default
  #8
Member
 
Join Date: Apr 2012
Location: France
Posts: 72
Rep Power: 5
Rider is on a distinguished road
Hi Turbulence,

You will find the explanation of the rule to use (with illustration) on the following link:

http://www.openfoam.org/docs/user/blockMesh.php



Rider.
Rider is offline   Reply With Quote

Old   July 18, 2012, 04:46
Default
  #9
New Member
 
Deepak Cheekati
Join Date: Jul 2012
Location: Chennai, India
Posts: 21
Rep Power: 5
Turbulence is on a distinguished road
Thank you very much Rider
Turbulence is offline   Reply With Quote

Old   July 18, 2012, 05:01
Default
  #10
Member
 
Join Date: Apr 2012
Location: France
Posts: 72
Rep Power: 5
Rider is on a distinguished road
Your welcome
Rider is offline   Reply With Quote

Reply

Thread Tools
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
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 09:01
Inconsistent declaration of hConstThermo vs janafThermo dominik_christ OpenFOAM Bugs 6 October 31, 2008 05:15
How to access the number of faces on a boundary jam OpenFOAM Running, Solving & CFD 1 January 20, 2008 14:13
Number of Faces on a thread inside a UDF Nathan FLUENT 1 April 26, 2006 11:15
inconsistent edge-face relationship Ana FLUENT 0 January 20, 2006 13:47


All times are GMT -4. The time now is 02:00.