CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Other] Problem with Cylindrical Pipe Meshing (https://www.cfd-online.com/Forums/openfoam-meshing/144007-problem-cylindrical-pipe-meshing.html)

Shivam Sinha November 7, 2014 01:59

Problem with Cylindrical Pipe Meshing
 
Hi,

I had written a blockMechDict file for a cylindrical pipe geometry. When I ran blockMesh, the following error was generated :

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

Can anybody help me with this and point out the error?

Here is my blockMeshDict code:

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

convertToMeters 1;

vertices
(
(0 0 0)
(0 0.01 0)
(0 0 -0.01)
(0 -0.01 0)
(0 0 0.01)
(4 0 0)
(4 0.01 0)
(4 0 -0.01)
(4 -0.01 0)
(4 0 0.01)
);

blocks
(
hex (5 9 6 5 0 4 1 0) (10 10 2000) simpleGrading (1 1 1)
hex (5 6 7 5 0 1 2 0) (10 10 2000) simpleGrading (1 1 1)
hex (5 7 8 5 0 2 3 0) (10 10 2000) simpleGrading (1 1 1)
hex (5 8 9 5 0 3 4 0) (10 10 2000) simpleGrading (1 1 1)

);

edges
(
arc 1 4 (0 0.0070710678 0.0070710678)
arc 4 3 (0 -0.0070710678 0.0070710678)
arc 3 2 (0 -0.0070710678 -0.0070710678)
arc 2 1 (0 0.0070710678 -0.0070710678)
arc 6 9 (4 0.0070710678 0.0070710678)
arc 9 8 (4 -0.0070710678 0.0070710678)
arc 8 7 (4 -0.0070710678 -0.0070710678)
arc 7 6 (4 0.0070710678 -0.0070710678)
);

boundary
(

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

outlet
{
type patch;
faces
(
(5 6 9 5)
(5 9 8 5)
(5 8 7 5)
(5 7 6 5)
);
}

walls
{
type wall;
faces
(
(1 4 9 6)
(4 3 8 9)
(3 2 7 8)
(2 1 6 7)
);
}

);

mergePatchPairs
(
);

// ************************************************** *********************** //

alexeym November 7, 2014 03:21

Hi,

and your question is?

Q: What does this error mean? A: You've messed up with numbering of the nodes in patch face description.


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