|
[Sponsors] |
March 7, 2016, 06:25 |
error of blockMesh
|
#1 |
Member
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 10 |
Hi to all
Which means this error of blockMesh? /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 3.0.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 1; vertices ( (0 0 0) //0 (0.4 0 0) //1 (0.4 0.2 0) //2 (0 0.2 0) //3 (0.6 0.2 0) //4 (0.6 0 0) //5 (1 0 0) //6 (1 0.2 0) //7 (1 1 0) //8 (0.6 1 0) //9 (0.4 1 0) //10 (0 1 0) //11 (0 0 0.01) //12 (0.4 0 0.01) //13 (0.4 0.2 0.01) //14 (0 0.2 0.01) //15 (0.6 0.2 0.01) //16 (0.6 0 0.01) //17 (1 0 0.01) //18 (1 0.2 0.01) //19 (1 1 0.01) //20 (0.6 1 0.01) //21 (0.4 1 0.01) //22 (0 1 0.01) //23 ); blocks ( hex (0 1 2 3 12 13 14 15) (20 10 1) simpleGrading (1 1 1) //block 1 hex (3 2 10 11 15 14 22 23) (20 20 1) simpleGrading (1 1 1) //block 2 hex (2 4 9 10 14 16 21 22) (10 20 1) simpleGrading (1 1 1) // block 3 hex (4 7 8 9 16 19 20 21) (20 20 1) simpleGrading (1 1 1) //block 4 hex (5 6 7 4 17 18 19 16) (10 20 1) simpleGrading (1 1 1) //block 5 ); edges ( ); boundary ( outlet { type patch; faces ( (6 18 19 7) ); } inlet { type patch; faces ( (2 14 16 4) ); } upperWall { type wall; faces ( (11 10 22 23) (10 9 21 22) (9 8 20 21) ); } downWall { type wall; faces ( (0 12 13 1) (1 13 14 2) (5 4 16 17) (5 17 18 6) ); } leftWall { type wall; faces ( (3 11 23 15) (0 3 15 12) ); } rightWall { type wall; faces ( (7 19 20 8) ); } frontAndback { type emepty; faces ( (0 1 2 3) (3 2 10 11) (4 5 6 7) (4 7 8 9) (2 4 9 10) (15 14 13 12) (15 23 22 14) (14 22 21 16) (16 19 18 17) (16 21 20 19) ); } ); mergePatchPairs ( ); // ************************************************** *********************** // Basic statistics Number of internal faces : 4 Number of boundary faces : 22 Number of defined boundary faces : 22 Number of undefined boundary faces : 0 Checking patch -> block consistency Creating block offsets Creating merge list --> FOAM FATAL ERROR: Inconsistent number of faces between block pair 3 and 4 From function blockMesh::calcMergeInfo() in file blockMesh/blockMeshMerge.C at line 217. FOAM exiting Below is my meshdic Someone can help me? Thanks in advantage QQ??20160307182217.png Ping Last edited by chpjz0391; March 7, 2016 at 07:37. |
|
March 7, 2016, 10:50 |
|
#2 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
This means that the number of divisions that you have specified for an edge (in this case the edge connecting vertices 4 & 7) are different in different blocks. Note that the block numbering in blockMesh/OpenFOAM starts from 0 and not 1. So, in the two blocks that have you have defined that have the edge made up by vertices 4 & 7, one has 10 divisions and the other has 20 divisions. Correct that to be consistent and that problem will be solved. Cheers, Antimony |
|
March 10, 2016, 01:21 |
Thank you very much, yeah the divisions are different.. Thanks again.
|
#3 | |
Member
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 10 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] blockMesh issue on openfoam6 startup - ubuntu 16.04 | bjdarrer | OpenFOAM Installation | 7 | August 25, 2020 20:15 |
[snappyHexMesh] Cylindrical blockmesh to Improve snappyHexMesh Results | nicholas.jones | OpenFOAM Meshing & Mesh Conversion | 3 | May 16, 2019 10:52 |
Is Playstation 3 cluster suitable for CFD work | hsieh | OpenFOAM | 9 | August 16, 2015 15:53 |
[blockMesh] set of xyz data in blockMesh | psk | OpenFOAM Meshing & Mesh Conversion | 12 | August 27, 2013 09:37 |
Blockmesh cavity error message | tonitoney | OpenFOAM Installation | 2 | March 17, 2008 12:59 |