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] MSHA mesh error (https://www.cfd-online.com/Forums/openfoam-meshing/61818-msha-mesh-error.html)

msha September 23, 2007 00:46

MSHA mesh error
 
my blockmeshdict file is:

/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

FoamFile
{
version 2.0;
format ascii;

root "";
case "";
instance "";
local "";

class dictionary;
object blockMeshDict;
}

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


convertToMeters 0.1;

vertices
(
(0 1 0)
(5 1 0)
(5 0 0)
(35 0 0)
(35 3 0)
(0 3 0)
(0.1 1 0)
(5.1 0 0)
(34.9 0 0)
(34.9 3 0)
(0.1 3 0)
(0.1 1.1 0)
(5 1.1 0)
(5.1 1.1 0)
(5.1 0.1 0)
(13 0.1 0)
(34.9 0.1 0)
(34.9 1.1 0)
(34.9 2.9 0)
(5.1 2.9 0)
(0.1 2.9 0)
(13 1.1 0)

(0 1 1)
(5 1 1)
(5 0 1)
(35 0 1)
(35 3 1)
(0 3 1)
(0.1 1 1)
(5.1 0 1)
(34.9 0 1)
(34.9 3 1)
(0.1 3 1)
(0.1 1.1 1)
(5 1.1 1)
(5.1 1.1 1)
(5.1 0.1 1)
(13 0.1 1)
(34.9 0.1 1)
(34.9 1.1 1)
(34.9 2.9 1)
(5.1 2.9 1)
(0.1 2.9 1)
(13 1.1 1)

);

blocks
(
hex (0 6 10 5 22 28 32 27) (10 200 1) simpleGrading (1 1 1)
hex (6 1 12 11 28 23 34 33) (490 10 1) simpleGrading (1 1 1)
hex (2 7 13 12 24 29 35 34) (10 110 1) simpleGrading (1 1 1)
hex (7 8 16 14 29 30 38 36) (280 10 1) simpleGrading (1 1 1)
hex (8 3 4 9 30 25 26 31) (10 300 1) simpleGrading (1 1 1)
hex (20 18 9 10 42 40 31 32) (330 10 1) simpleGrading (1 1 1)
hex (11 13 19 20 33 35 41 42) (50 18 1) simpleGrading (1 1 1)
hex (14 15 21 13 36 37 43 35) (790 100 1) simpleGrading (1 1 1)
hex (15 16 17 21 37 38 39 43) (219 10 1) simpleGrading (1 1 1)
hex (13 17 18 19 35 39 40 41) (28 10 1) simpleGrading (1 1 1)







);

edges
(
);

patches
(
patch
inlet
(
(0 22 27 5)
)
patch
outlet
(
(3 4 26 25)

)


wall fixedWalls

(
(4 9 31 26)
(9 10 32 31)
(10 5 27 32)
(0 6 28 22)
(6 1 23 28)
(1 2 24 23)
(2 7 29 24)
(7 8 30 29)
(8 3 25 30)
)
);

mergePatchPairs
(
);


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


and when I run blockMesh this error appears:

Reading block mesh description dictionary

Creating block mesh

Creating blockCorners

Creating curved edges

Creating blocks

Creating patches

Creating block mesh topology

Default patch type set to empty


--> FOAM FATAL ERROR : face 5 in patch 2 does not have neighbour cell face: 4(1 2 24 23)

From function polyMesh::facePatchFaceCells(const faceList& patchFaces,const labelListList& pointCells,const faceListList& cellsFaceShapes,const label patchID)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 127.

FOAM aborting

Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&)
Foam::error::abort()
Foam::polyMesh::facePatchFaceCells(Foam::List<foam ::face> const&, Foam::List<foam::list<int> > const&, Foam::List<foam::list<foam::face> > const&, int) const
Foam::polyMesh::polyMesh(Foam::IOobject const&, Foam::Field<foam::vector<double> > const&, Foam::List<foam::cellshape> const&, Foam::List<foam::list<foam::face> > const&, Foam::List<foam::word> const&, Foam::List<foam::word> const&, Foam::word const&, Foam::List<foam::word> const&)
blockMesh [0x806116f]
blockMesh [0x8059228]
blockMesh [0x806f2c1]
__libc_start_main
__gxx_personality_v0
Aborted


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