CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Error occured when I tried to make mesh (https://www.cfd-online.com/Forums/openfoam/109214-error-occured-when-i-tried-make-mesh.html)

sangje2001 November 12, 2012 13:14

Error occured when I tried to make mesh
 
I tried to make geometry for simulation, but error message
"face 1 in patch 0 does not have neighbour cell face : 4(4 26 30 8)" is on the screen. How can I escape from this error?

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

convertToMeters 0.146;

vertices
(
(0 0 0) //------------------------0
(1.65753 0 0) //------------------1
(2.34247 0 0) //------------------2
(4 0 0) //------------------------3

(0 0.89041 0) //------------------4
(1.65753 0.89041 0) //------------5
(2.34247 0.89041 0) //------------6
(4 0.89041 0) //------------------7

(0 2.12329 0) //------------------8
(1.65753 2.12329 0) //------------9
(2.34247 2.12329 0) //------------10
(4 2.12329 0) //------------------11

(0 2.28767 0) //------------------12
(1.65753 2.28767 0) //------------13
(1.84932 2.28767 0) //------------14
(4 2.28767 0) //------------------15
(2.34247 2.28767 0) //------------16
(2.15068 2.28767 0) //------------17

(1.84932 3.17808 0) //------------18
(0 3.17808 0) //------------------19
(2.15068 3.17808 0) //------------20
(4 3.17808 0) //------------------21

(0 0 0.1) //------------------------22
(1.65753 0 0.1) //------------------23
(2.34247 0 0.1) //------------------24
(4 0 0.1) //------------------------25

(0 0.89041 0.1) //------------------26
(1.65753 0.89041 0.1) //------------27
(2.34247 0.89041 0.1) //------------28
(4 0.89041 0.1) //------------------29

(0 2.12329 0.1) //------------------30
(1.65753 2.12329 0.1) //------------31
(2.34247 2.12329 0.1) //------------32
(4 2.12329 0.1) //------------------33

(0 2.28767 0.1) //------------------34
(1.65753 2.28767 0.1) //------------35
(1.84932 2.28767 0.1) //------------36
(4 2.28767 0.1) //------------------37
(2.34247 2.28767 0.1) //------------38
(2.15068 2.28767 0.1) //------------39

(1.84932 3.17808 0.1) //------------40
(0 3.17808 0.1) //------------------41
(2.15068 3.17808 0.1) //------------42
(4 3.17808 0.1) //------------------43

);

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

);

edges
(
);

boundary
(
leftWall
{
type wall;
faces
(
(0 22 26 4)
(4 26 30 8)
(8 30 34 12)
(8 30 31 9)
(9 31 35 13)
(12 34 35 13)
(12 18 40 34)
);
}
rightWall
{
type wall;
faces
(
(3 7 29 25)
(7 11 33 29)
(11 10 32 33)
(10 16 38 32)
(16 17 39 36)
(17 21 43 39)
);
}
lowerWall
{
type wall;
faces
(
(0 1 23 22)
(1 5 27 23)
(5 6 28 27)
(6 2 24 28)
(2 3 25 24)
);
}
atmosphere
{
type patch;
faces
(
(18 19 41 40)
(19 20 42 41)
(20 21 43 42)
);
}
);

mergePatchPairs
(
);

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


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