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/)
-   -   [blockMesh] Flow Around a Cylinder (https://www.cfd-online.com/Forums/openfoam-meshing/67359-flow-around-cylinder.html)

Ahmed August 12, 2009 16:21

Flow Around a Cylinder
 
I am trying to model a flow around a cylinder, I am facing similar problems to those in this post
http://www.cfd-online.com/Forums/ope...mple-mesh.html
the first error message states that
face 0 in patch 0 does not have neighbour cell face: 4(11 8 21 24)#0 Foam::error

I tried to use the blockMesh -blockTopology
But I cannot find the dumped file anywhere
I appreciate any hint
Here is the blockDict file, please note I have commented out all the blocks but the first one , Trying to make it one block by one

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 0.001;

vertices
(
(24500 25000 0) //0
(25000 24500 0) //1
(25500 25000 0) //2
(25000 25500 0) //3
(24475 25000 0) //4
(25000 24475 0) //5
(25525 25000 0) //6
(25000 25525 0) //7
(25000 0 0) //8
(75000 0 0) //9
(75000 50000 0) //10
(25000 50000 0) //11
(0 25000 0) //12
(24500 25000 10) //13 (0)
(25000 24500 10) //14 (1)
(25500 25000 10) //15 (2)
(25000 25500 10) //16 (3)
(24475 25000 10) //17 (4)
(25000 24475 10) //18 (5)
(25525 25000 10) //19 (6)
(25000 25525 10) //20 (7)
(25000 0 10) //21 (8)
(75000 0 10) //22 (9)
(75000 50000 10) //23 (10)
(25000 50000 10) //24 (11)
(0 25000 10) //25 (12)
);

blocks
(
hex (4 0 2 6 4 17 13 15 19 17) (10 10 1) simpleGrading (1 1 1)
// hex (2 3 0 4 7 6 15 16 13 17 20 19) (10 10 1) simpleGrading (1 1 1)
// hex (4 5 8 12 17 18 21 23) (20 10 1) simpleGrading (1 1 1)
// hex (7 11 12 4 20 24 25 17) (20 20 1) simpleGrading (1 1 1)
// hex (5 8 9 10 11 7 6 18 21 22 23 24 20 19) (10 20 1) simpleGrading (1 1 1)
);

edges
(
arc 0 2 (25000 24500 0)
arc 2 0 (25000 25500 0)
arc 4 6 (25000 24475 0)
arc 6 4 (25000 25525 0)
arc 11 8 (0 25000 0)
arc 13 15 (25000 24500 10)
arc 15 13 (25000 25500 10)
arc 17 19 (25000 24475 10)
arc 19 17 (25000 25525 10)
arc 24 21 (0 25000 10)
);

patches
(
patch inlet
(
(11 8 21 24)
)
patch outlet
(
(9 10 23 22)
)

patch bottom
(
(8 9 22 21)
)
patch top
(
(11 10 23 24)
)
wall cylinder
(
(0 1 2 15 14 13)
(2 3 0 13 16 15)
)
empty frontAndBack
(
(12 8 9 10 11)
(25 21 22 23 24)
)
);

mergePatchPairs
(
);

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



Is there a document where the meaning of error messages are explained?

Appreciate all help

lakeat October 30, 2009 00:08

Easy, you will figure it out yourself.

I have done a lot of cylinder flow cases using blockMesh, it is not that hard, so be patient.

Quote:

Is there a document where the meaning of error messages are explained?
NO!

face 0 in patch 0 does not have neighbour cell face: 4(11 8 21 24)#0 Foam::error

You should be glad whenever you see this kind of errors, because it would be easy to solve out.

One hint: please see you do respect the right hand rule.

Cheers,


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