CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Native Meshers: blockMesh (http://www.cfd-online.com/Forums/openfoam-meshing-blockmesh/)
-   -   Inconsistent number of faces (http://www.cfd-online.com/Forums/openfoam-meshing-blockmesh/61850-inconsistent-number-faces.html)

derath June 5, 2006 13:27

Hi to all Which means this er
 
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

hjasak June 5, 2006 13:29

It means you've got 2 blocks y
 
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

Turbulence July 17, 2012 09:10

Trouble with blockMesh: inconsistent number of faces between block pairs 0 and 1
 
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 :)

Rider July 17, 2012 10:07

Could you post a drawing ? (about the geometry that you want to create with blockMesh)

Turbulence July 17, 2012 10:31

1 Attachment(s)
PFA the image.Will this do?

Rider July 17, 2012 10:54

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)


Turbulence July 17, 2012 13:39

Hi Rider,
Thank you very much :)
Could you explain me how to number,so that I wont make this mistake again..:p

Thank You
Turbulence.

Rider July 18, 2012 02:35

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.

Turbulence July 18, 2012 04:46

Thank you very much Rider :)

Rider July 18, 2012 05:01

Your welcome ;)


All times are GMT -4. The time now is 14:29.