blockmesh生成网格总报错没有相邻面
-
blockmesh生成网格总报错没有相邻面,改来改去总有这个问题,还是不同的面报错,这是为什么呢?哭QvQ
--> FOAM FATAL ERROR: face 0 in patch 0 does not have neighbour cell face: 4(12 13 31 30) From function Foam::labelList Foam::polyMesh::facePatchFaceCells(const faceList&, const labelListList&, const faceListList&, Foam::label) const in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 118. ![e1752f4f83bfed1f6e8b47f61921b5a.jpg](/assets/uploads/files/1700296198954-e1752f4f83bfed1f6e8b47f61921b5a.jpg) blockmeshdict convertToMeters 1; vertices ( (0 1 0) (3 1 0) (3 0 0) (9 0 0) (9 1 0) (11 1 0) (11 2 0) (9 2 0) (9 3 0) (3 3 0) (3 2 0) (2 2 0) (2 3 0) (1 3 0) (1 2 0) (0 2 0) (1 1 0) (2 1 0) (0 1 0.1) (3 1 0.1) (3 0 0.1) (9 0 0.1) (9 1 0.1) (11 1 0.1) (11 2 0.1) (9 2 0.1) (9 3 0.1) (3 3 0.1) (3 2 0.1) (2 2 0.1) (2 3 0.1) (1 3 0.1) (1 2 0.1) (0 2 0.1) (1 1 0.1) (2 1 0.1) ); blocks ( hex (0 16 14 15 18 34 32 33) (10 10 1) simpleGrading (1 1 1) //1 hex (16 17 11 14 34 35 29 32) (10 10 1) simpleGrading (1 1 1) //2 hex (14 11 12 13 29 30 31 32) (10 10 1) simpleGrading (1 1 1) //3 hex (17 11 29 35 1 10 28 19) (10 10 1) simpleGrading (1 1 1) //4 hex (10 9 27 28 7 8 26 25) (60 10 1) simpleGrading (1 1 1) //5 hex (1 4 7 10 19 22 25 28) (60 10 1) simpleGrading (1 1 1) //6 hex (2 1 19 20 3 4 22 21) (60 10 1) simpleGrading (1 1 1) //7 hex (4 7 25 22 5 6 24 23) (20 10 1) simpleGrading (1 1 1) //8 ); boundary ( inletair { type patch; faces ( (12 13 31 30) ); } inletwater { type patch; faces ( (0 18 33 15) ); } outlet { type patch; faces ( (5 6 24 23) ); } wall { type wall; faces ( (0 16 34 18) //FRONT (16 17 35 34) (35 17 1 19) (20 19 1 2) (20 2 3 21) (3 4 22 21) (4 5 23 22) (33 18 34 32) //UP (32 34 35 29) (35 19 28 29) (31 32 29 30) (26 27 28 25) (25 28 19 22) (22 19 20 21) (23 24 25 22) (14 15 33 32) //BACK (32 31 13 14) (12 30 29 11) (29 28 10 11) (10 28 27 9) (9 27 26 8) (7 8 26 25) (6 7 25 24) (0 15 14 16) //DOWN (16 14 11 17) (14 13 12 11) (1 17 11 10) (10 9 8 7) (1 10 7 4) (2 1 4 3) (5 4 7 6) ); } );
-
@chapaofan 在 blockmesh生成网格总报错没有相邻面 中说:
hex (14 11 12 13 29 30 31 32) (10 10 1) simpleGrading (1 1 1) //3
上面的顺序错了。
可能是下面这个:
hex (14 11 12 13 32 29 30 31) (10 10 1) simpleGrading (1 1 1) //3