|
[Sponsors] |
[blockMesh] edges not aligned with or perpendicular to non-empty directions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 14, 2014, 11:11 |
edges not aligned with or perpendicular to non-empty directions
|
#1 |
Member
ynos
Join Date: Jan 2011
Posts: 39
Rep Power: 15 |
Hi Foamers
I maked a BlockMesh with 3 blocks-hex, but when I make the checkMesh, this is tne message: Checking topology... Boundary definition OK. ***Total number of faces on empty patches is not divisible by the number of cells in the mesh. Hence this mesh is not 1D or 2D. Cell to face addressing OK. Point usage OK. Upper triangular ordering OK. Face vertices OK. Number of regions: 1 (OK). ...... ***Number of edges not aligned with or perpendicular to non-empty directions: 117036 <<Writing 150853 points on non-aligned edges to set nonAlignedEdges Attached my BlockMesh, please can you help me, i dont get a solution, i cant find the error . FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } convertToMeters 1; vertices ( ( -63 -60.1 0) //pt0 ( 63 -60.1 0) //pt1 (63 -2.5 0) //pt2 ( -63 -2.5 0) //pt3 ( -63 -60.1 1.0)//pt4 (63 -60.1 1.0)//pt5 (63 -2.5 1.0)//pt6 ( -63 -2.5 1.0)//pt7 ( -63 2.5 0) //pt8 ( 63 2.5 0) //pt9 (63 2.5 1.0) //pt10 ( -63 2.5 1.0) //pt11 ( -63 60.1 0) //pt12 ( 63 60.1 0) //pt13 (63 60.1 1.0) //pt14 ( -63 60.1 1.0) //pt15 ); blocks ( hex (0 1 2 3 4 5 6 7) (200 18 1) simpleGrading (1 0.08 1)//simpleGrading (1 0.0025 1) // lower block hex (3 2 9 8 7 6 10 11) (200 75 1) simpleGrading (1 1 1)//simpleGrading (1 500 1) // middle block hex (8 9 13 12 11 10 14 15) (200 18 1) simpleGrading (1 12 1)//simpleGrading (1 500 1) // upper block ); boundary ( inlet { type patch; faces ( (0 4 7 3) (3 7 11 8) (8 11 15 12) ); } outlet { type patch; faces ( (2 6 5 1) (9 10 6 2) (13 14 10 9) ); } upperWall { type patch; faces ( (12 15 14 13) ); } lowerWall { type patch; faces ( (1 5 4 0) ); } frontAndBack { type empty; faces ( (0 3 2 1) (3 8 9 2) (8 12 13 9) (4 5 6 7) (7 6 10 11) (11 10 14 15) ); } ); mergePatchpairs (); Thanks in advanced |
|
January 15, 2014, 07:14 |
|
#2 |
Member
ynos
Join Date: Jan 2011
Posts: 39
Rep Power: 15 |
I forgot add in blockmesh the next:
blocks ( hex (0 1 4 3 9 10 13 12) (60 75 1) simpleGrading (0.025 0.012 1)//inletinferior .... ); edges //if I put this ,the message is ok ( ); boundary ( .... |
|
October 22, 2014, 06:03 |
|
#3 |
Senior Member
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 240
Rep Power: 17 |
change "type empty" to something else like a wall
|
|
March 24, 2015, 08:16 |
The mesh has multiple regions which are not connected by any face.
|
#4 |
New Member
Diana
Join Date: Dec 2014
Posts: 8
Rep Power: 12 |
I have define a blockMeshdic and when check the checkMesh
I got following output . I dn't know how to solve this problem please kind to help me . /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.3.0-f5222ca19ce6 Exec : checkMesh Date : Mar 24 2015 Time : 10:48:19 Host : "diana-Veriton-X2610G" PID : 3345 Case : /home/diana/OpenFOAM/diana-2.3.0/run/tutorials/heatTransfer/buoyantBoussinesqPimpleFoam/hotcylinderm nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create polyMesh for time = 0 Time = 0 Mesh stats points: 1706 faces: 3708 internal faces: 2532 cells: 1040 faces per cell: 6 boundary patches: 5 point zones: 0 face zones: 0 cell zones: 0 Overall number of cells of each type: hexahedra: 1008 prisms: 0 wedges: 32 pyramids: 0 tet wedges: 0 tetrahedra: 0 polyhedra: 0 Checking topology... Boundary definition OK. ***Total number of faces on empty patches is not divisible by the number of cells in the mesh. Hence this mesh is not 1D or 2D. Cell to face addressing OK. Point usage OK. Upper triangular ordering OK. Face vertices OK. *Number of regions: 7 The mesh has multiple regions which are not connected by any face. <<Writing region information to "0/cellToRegion" <<Writing region 0 with 80 cells to cellSet region0 <<Writing region 1 with 80 cells to cellSet region1 <<Writing region 2 with 40 cells to cellSet region2 <<Writing region 3 with 40 cells to cellSet region3 <<Writing region 4 with 40 cells to cellSet region4 <<Writing region 5 with 40 cells to cellSet region5 <<Writing region 6 with 720 cells to cellSet region6 Checking patch topology for multiply connected surfaces... Patch Faces Points Surface topology uppipewall 120 147 ok (non-closed singly connected) downpipewall 120 147 ok (non-closed singly connected) inflow 52 75 ok (non-closed singly connected) outflow 52 75 ok (non-closed singly connected) defaultFaces 832 852 ok (non-closed singly connected) Checking geometry... Overall domain bounding box (-0.05 -0.05 0) (0.05 0.05 1) Mesh (non-empty, non-wedge) directions (0 0 0) Mesh (non-empty) directions (0 0 0) ***Number of edges not aligned with or perpendicular to non-empty directions: 2700 <<Writing 1652 points on non-aligned edges to set nonAlignedEdges Boundary openness (1.8035e-16 4.9005e-17 5.2265e-18) OK. ***Open cells found, max cell openness: 1, number of open cells 40 <<Writing 40 non closed cells to set nonClosedCells ***Zero or negative face area detected. Minimum area: 0 <<Writing 2 zero area faces to set zeroAreaFaces ***Zero or negative cell volume detected. Minimum negative volume: -4.8531e-06, Number of negative volume cells: 161 <<Writing 161 zero volume cells to set zeroVolumeCells Mesh non-orthogonality Max: 180 average: 43.969 *Number of severely non-orthogonal (> 70 degrees) faces: 26. ***Number of non-orthogonality errors: 324. <<Writing 350 non-orthogonal faces to set nonOrthoFaces ***Error in face pyramids: 950 faces are incorrectly oriented. <<Writing 653 faces with incorrect orientation to set wrongOrientedFaces ***Max skewness = 23.18, 2 highly skew faces detected which may impair the quality of the results <<Writing 2 skew faces to set skewFaces Coupled point location match (average 0) OK. Failed 7 mesh checks. End |
|
March 24, 2015, 08:16 |
|
#5 | |
New Member
Diana
Join Date: Dec 2014
Posts: 8
Rep Power: 12 |
Quote:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.7.1 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 1; vertices ( (0 0 0)//0 (0.02 0 0)//1 (0 0.02 0)//2 (0 0 0.5)//3 (0.02 0 0.5)//4 (0 0.02 0.5)//5 (0 0 1)//6 (0.02 0 1)//7 (0 0.02 1)//8 (-0.02 0 0)//9 (-0.02 0 0.5)//10 (-0.02 0 1)//11 (0 -0.02 0)//12 (0 -0.02 0.5)//13 (0 -0.02 1)//14 (0.05 0 0)//15 (0 0.05 0)//16 (0.05 0 0.5)//17 (0 0.05 0.5)//18 (0.05 0 1)//19 (0 0.05 1)//20 (-0.05 0 0)//21 (-0.05 0 0.5)//22 (-0.05 0 1)//23 (0 -0.05 0)//24 (0 -0.05 0.5)//25 (0 -0.05 1)//26 ); blocks ( hex (0 0 1 2 5 3 3 4) (2 2 10) simpleGrading (1 1 1) hex (3 3 5 4 7 6 6 8) (2 2 10) simpleGrading (1 1 1) hex (0 0 2 9 5 3 3 10) (2 2 10) simpleGrading (1 1 1) hex (3 3 5 10 8 6 6 11) (2 2 10) simpleGrading (1 1 1) hex (0 0 9 12 10 3 3 13) (2 2 10) simpleGrading (1 1 1) hex (3 3 10 13 11 6 6 14) (2 2 10) simpleGrading (1 1 1) hex (0 0 12 1 13 3 3 4) (2 2 10) simpleGrading (1 1 1) hex (3 3 13 4 14 6 6 7) (2 2 10) simpleGrading (1 1 1) hex (1 15 16 2 4 17 18 5) (3 3 10) simpleGrading (1 1 1) hex (4 17 18 5 7 19 20 8) (3 3 10) simpleGrading (1 1 1) hex (2 16 21 9 5 18 22 10) (3 3 10) simpleGrading (1 1 1) hex (5 18 22 10 8 20 23 11) (3 3 10) simpleGrading (1 1 1) hex (9 21 24 12 10 22 25 13) (3 3 10) simpleGrading (1 1 1) hex (10 22 25 13 11 23 26 14) (3 3 10) simpleGrading (1 1 1) hex (12 24 15 1 13 25 17 4) (3 3 10) simpleGrading (1 1 1) hex (13 25 17 4 14 26 19 7) (3 3 10) simpleGrading (1 1 1) ); edges ( arc 1 2 (0.01 0.0173205080756888 0) arc 4 5 (0.01 0.0173205080756888 0.5) arc 7 8 (0.01 0.0173205080756888 1) arc 2 9 (-0.01 0.0173205080756888 0) arc 5 10 (-0.01 0.0173205080756888 0.5) arc 8 11 (-0.01 0.0173205080756888 1) arc 9 12 (-0.0173205080756888 -0.01 0) arc 10 13 (-0.0173205080756888 -0.01 0.5) arc 11 14 (-0.0173205080756888 -0.01 1) arc 10 1 (0.03 0.04 0) arc 13 4 (0.03 0.04 0.5) arc 14 7 (0.03 0.04 1) ); boundary ( uppipewall// patch 1 { type cyclic; neighbourPatch downpipewall; faces ( (15 16 18 17) (17 18 20 19) (16 21 22 18) (18 22 23 20) ); } downpipewall// patch 2 { type cyclic; neighbourPatch uppipewall; faces ( (24 15 17 25) (17 25 26 19) (24 25 22 21) (25 26 23 22) ); } inflow { type patch;// patch 3 faces ( (0 0 1 2) (1 2 16 15) (0 0 2 9) (9 21 16 2) (0 0 9 12) (12 24 21 9) (0 0 12 1) (1 15 24 12) ); } outflow// patch 4 { type patch; faces ( (6 6 7 8) (8 20 19 7) (6 6 8 11) (11 23 20 8) (6 6 11 14) (14 26 23 11) (6 6 14 7) (7 19 26 14) ); } ); mergePatchPairs ( //(uppipewall downpipewall) ); // ************************************************** *********************** // |
||
March 24, 2015, 09:15 |
|
#6 |
Member
ynos
Join Date: Jan 2011
Posts: 39
Rep Power: 15 |
Have you tried repair the blockMeshDict? because when I run your blockMeshDict with OPF2.3.0 I get the next :
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.3.1-bcfaaa7b8660 Exec : blockMesh Date : Mar 24 2015 Time : 14:08:43 Host : "simon-simon" PID : 3323 Case : /home/simon/Escritorio/prueba nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Creating block mesh from "/home/simon/Escritorio/prueba/constant/polyMesh/blockMeshDict" Creating curved edges Creating topology blocks Creating topology patches Creating block mesh topology --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -8.33333e-06 for face 0 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -8.33333e-06 for face 1 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -8.33333e-06 for face 2 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -8.33333e-06 for face 3 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -1.66667e-05 for face 4 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -1.66667e-05 for face 5 --> FOAM Warning : From function blockMesh::createTopology(IOdictionary&) in file blockMesh/blockMeshTopology.C at line 255 negative volume block : 1, probably defined inside-out --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -8.33333e-06 for face 0 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -8.33333e-06 for face 2 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -1.66667e-05 for face 5 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -8.33333e-06 for face 0 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -8.33333e-06 for face 2 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -1.66667e-05 for face 5 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -8.33333e-06 for face 0 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -8.33333e-06 for face 2 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -1.66667e-05 for face 5 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -8.33333e-06 for face 0 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -8.33333e-06 for face 2 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -1.66667e-05 for face 5 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -8.33333e-06 for face 0 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -8.33333e-06 for face 2 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -1.66667e-05 for face 5 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -8.33333e-06 for face 0 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -8.33333e-06 for face 2 --> FOAM Warning : From function cellModel::mag(const labelList&, const pointField&) in file meshes/meshShapes/cellModel/cellModel.C at line 128 zero or negative pyramid volume: -1.66667e-05 for face 5 --> FOAM Warning : From function polyMesh:olyMesh(... construct from shapes...) in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 903 Found 44 undefined faces in mesh; adding to default patch. Check topology Basic statistics Number of internal faces : 14 Number of boundary faces : 68 Number of defined boundary faces : 68 Number of undefined boundary faces : 0 Checking patch -> block consistency Creating block offsets Creating merge list .. Creating polyMesh from blockMesh Creating patches Creating cells Creating points with scale 1 Block 0 cell size : i : 0 .. 0 j : 0.01 .. 0.01 k : 0.05004 .. 0.05004 Block 1 cell size : i : 0 .. 0 j : 0.01 .. 0.01 k : 0.05004 .. 0.05004 Block 2 cell size : i : 0 .. 0 j : 0.01 .. 0.01 k : 0.05004 .. 0.05004 Block 3 cell size : i : 0 .. 0 j : 0.01 .. 0.01 k : 0.05004 .. 0.05004 Block 4 cell size : i : 0 .. 0 j : 0.01 .. 0.01 k : 0.05004 .. 0.05004 Block 5 cell size : i : 0 .. 0 j : 0.01 .. 0.01 k : 0.05004 .. 0.05004 Block 6 cell size : i : 0 .. 0 j : 0.01 .. 0.01 k : 0.05004 .. 0.05004 Block 7 cell size : i : 0 .. 0 j : 0.01 .. 0.01 k : 0.05004 .. 0.05004 Block 8 cell size : i : 0.01 .. 0.01 j : 0.0103528 .. 0.0103528 k : 0.05 .. 0.05 Block 9 cell size : i : 0.01 .. 0.01 j : 0.0103528 .. 0.0103528 k : 0.05 .. 0.05 Block 10 cell size : i : 0.01 .. 0.01 j : 0.0103528 .. 0.0103528 k : 0.05 .. 0.05 Block 11 cell size : i : 0.01 .. 0.01 j : 0.0103528 .. 0.0103528 k : 0.05 .. 0.05 Block 12 cell size : i : 0.01 .. 0.01 j : 0.0103528 .. 0.0103528 k : 0.05 .. 0.05 Block 13 cell size : i : 0.01 .. 0.01 j : 0.0103528 .. 0.0103528 k : 0.05 .. 0.05 Block 14 cell size : i : 0.01 .. 0.01 j : 0.00942809 .. 0.00942809 k : 0.05 .. 0.05 Block 15 cell size : i : 0.01 .. 0.01 j : 0.00949523 .. 0.00949523 k : 0.05 .. 0.05 Writing polyMesh ---------------- Mesh Information ---------------- boundingBox: (-0.05 -0.05 0) (0.05 0.05 1) nPoints: 1706 nCells: 1040 nFaces: 3708 nInternalFaces: 2532 ---------------- Patches ---------------- patch 0 (start: 2532 size: 120) name: uppipewall patch 1 (start: 2652 size: 120) name: downpipewall patch 2 (start: 2772 size: 52) name: inflow patch 3 (start: 2824 size: 52) name: outflow patch 4 (start: 2876 size: 832) name: defaultFaces End You have zero or negative pyramid volume....you must fix it. |
|
March 26, 2020, 16:02 |
|
#7 | |
Member
Gang Wang
Join Date: Oct 2019
Location: China
Posts: 64
Rep Power: 8 |
Quote:
Best regards, Gang |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] blockMesh "Number of edges not aligned with or perpendicular to non-empty direction" | DuarteMagalhaes | OpenFOAM Meshing & Mesh Conversion | 9 | July 2, 2018 02:04 |
[cfMesh] Number of edges not aligned with or perpendicular to non-empty directions | gian93 | OpenFOAM Community Contributions | 2 | December 10, 2017 17:11 |
[snappyHexMesh] sHM quality of multi-region | aminem | OpenFOAM Meshing & Mesh Conversion | 0 | April 16, 2015 12:38 |
[blockMesh] Number of edges not aligned with or perpendicular to non-empty directions | am9109 | OpenFOAM Meshing & Mesh Conversion | 0 | April 14, 2013 08:33 |
[Other] OF 1.6-ext Number of edges not aligned with or perpendicular to non-empty directions | esteban88 | OpenFOAM Meshing & Mesh Conversion | 0 | December 21, 2012 04:26 |