FOAM FATAL ERROR: Inconsistent number of faces blockMesh::createMergeList() line 193
Hallo!
I have got some troubles with blockMesh: Here my problem Code:franz@franz-desktop:~/OpenFOAM/franz-1.7.1/DA_aktuell/2D_FreeConvection/020_FreeConvection_SKE_buoyantSimpleFoam$ blockMesh You can see the blockMeshDict-File below: /*--------------------------------*- C++ -*----------------------------------*\If I replace the values for the meshrefinement from (10 1 1) to (1 1 1), see below, then blockMesh will work Code: hex (0 1 5 4 16 17 21 20) (1 1 1) simpleGrading (1 1 1) // Block 0 Can anyone help me to solve this problem? I guess there can be a problem with the block IV coz it is positioned in the middle of the geometry and around there are all other blocks. The block IV does not have any contacts to the walls Thanks for your support best regards Franz |
Quote:
I don't see where the problem is, you seem to have figured it out by yourself! :) The change you did had nothing to do with the refinement (grading), it was the number of elements in each direction (x y z). Regards Marco |
Hallo marval!
Thank you for your attention! I solved the problem. I think the problem is the amout of cells just in the first block. The neighbor cells requires the same amount of cells. If you do not do this then you will get an error like this: --> FOAM FATAL ERROR: Inconsistent number of faces between block pair 0 and 3 From function blockMesh::createMergeList() in file createMergeList.C at line 193. FOAM exiting Solution: I set the some number of cells to the neighbor cells and then it works fine. Btw., can blockMesh work with hanging nodes? Thx best regards Franz |
Quote:
Exactly! You only have one cell in each direction for each block? Quote:
Regards Marco |
Quote:
First of all I had 10 cells in the x direction in the first block, so I had to change the upper and the lower neighbor. Both have 10 cells in the x-direction now. Quote:
Now I think, If the hanging-node-methode is working in OpenFoam the main problem could be the aspect ratio. The max. of aspect ratio is 10:1. best Franz |
help me with this error please
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ /* Windows port by CFD support (www.cfdsupport.com) [based on Symscape] *\ \*---------------------------------------------------------------------------*/ Build : 2.3.x-819030ed51bd Exec : D:\openfoamwindows\OpenFOAM\cygwin64\opt\OpenFOAM\ OpenFOAM-2.3.x\platfo rms\cygwin64mingw-w64DPOpt\bin\blockMesh.exe Date : Dec 30 2015 Time : 10:26:23 Host : "SATYAKI-PC" PID : 4004 Case : D:/openfoamwindows/OpenFOAM/cygwin64/home/satyaki/FOAM_RUN/tutorials/mu ltiphase/multiphaseEulerFoam/bubbleColumnMod1 nProcs : 1 fileModificationChecking : Monitoring run-time modified files using timeStampMas ter allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Creating block mesh from "D:/openfoamwindows/OpenFOAM/cygwin64/home/satyaki/FOAM_RUN/tutorials/multip hase/multiphaseEulerFoam/bubbleColumnMod1/constant/polyMesh/blockMeshDict" Creating curved edges Creating topology blocks Creating topology patches Reading patches section Creating block mesh topology Reading physicalType from existing boundary file Default patch type set to empty --> FOAM Warning : From function polyMesh:: polyMesh(... construct from shapes...) in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 903 Found 14 undefined faces in mesh; adding to default patch. Check topology 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 0 and 1 From function blockMesh::calcMergeInfo() in file blockMesh/blockMeshMerge.C at line 221. FOAM exiting here's my blockmeshdict file /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 0.001; vertices ( (0 0 0) (90 0 0) (90 200 0) (0 200 0) (99 0 0) (99 200 0) (101 200 0) (101 0 0) (110 0 0) (110 200 0) (200 200 0) (200 0 0) (0 0 100) (90 0 100) (90 200 100) (0 200 100) (99 0 100) (99 200 100) (101 200 100) (101 0 100) (110 0 100) (110 200 100) (200 200 100) (200 0 100) ); blocks ( hex (0 1 2 3 12 13 14 15) (10 200 1) simpleGrading (1 1 1) hex (2 1 4 5 14 13 16 17) (10 200 1) simplegrading (1 1 1) hex (5 4 7 6 17 16 19 18) (10 200 1) simplegrading (1 1 1) hex (6 7 8 9 18 19 20 21) (10 200 1) simplegrading (1 1 1) hex (9 8 11 10 21 20 23 22) (10 200 1) simplegrading (1 1 1) ); edges ( ); patches ( patch inlet ( (4 16 19 7) ) patch outlet ( (3 15 14 2) (2 14 17 5) (5 17 18 6) (6 18 21 9) (9 21 22 10) ) wall walls ( (0 12 15 3) (11 23 22 10) ) ); mergePatchPairs ( ); // ************************************************** *********************** // |
The first block should be defined like this to be consistent with the other blocks:
hex (3 0 1 2 15 12 13 14) (10 200 1) simpleGrading (1 1 1) |
--> FOAM FATAL ERROR: Inconsistent number of faces between block pair 0 and 3 Fr
This is an axisymmetric problem.Please help me with the error.
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 0.001; vertices ( (0 0 0) (3.496668776 0 0.152667855) (4.995241108 0 0.218096936) (47.45479053 0 2.0719209) (0 35 0) (3.496668776 35 0.152667855) (4.995241108 35 0.218096936) (47.45479053 35 2.0719209) (0 200 0) (3.496668776 200 0.152667855) (4.995241108 200 0.218096936) (47.45479053 200 2.0719209) (3.496668776 0 -0.152667855) (4.995241108 0 -0.218096936) (47.45479053 0 -2.0719209) (3.496668776 35 -0.152667855) (4.995241108 35 -0.218096936) (47.45479053 35 -2.0719209) (3.496668776 200 -0.152667855) (4.995241108 200 -0.218096936) (47.45479053 200 -2.0719209) ); blocks ( hex (0 1 12 0 4 5 15 4) gas (7 70 1) simpleGrading (1 1 1) hex (1 2 13 12 5 6 16 15) solid ( 3 70 1) simpleGrading (1 1 1) hex (2 3 14 13 6 7 17 16) gas (85 70 1) simpleGrading (1 1 1) hex (4 5 15 4 8 9 18 8) gas (7 330 1) simpleGrading (1 1 1) hex (5 6 16 15 9 10 19 18) gas ( 3 330 1) simpleGrading (1 1 1) hex (6 7 17 16 10 11 20 19) gas (85 330 1) simpleGrading (1 1 1) ); edges ( ); boundary ( inletFuel { type patch; faces ( (0 12 1 0) ); } inletAir { type patch; faces ( (13 14 3 2) ); } outlet { type patch; faces ( (8 9 18 8) (9 10 19 18) (10 11 20 19) (20 11 7 17) ); } external { type patch; faces ( (12 13 2 1) ); } wall { type wall; faces ( (17 7 3 14) ); } wedgeNeg { type wedge; faces ( (4 15 12 0) (15 16 13 12) (16 17 14 13) (8 18 15 4) (18 19 16 15) (19 20 17 16) ); } wedgePos { type wedge; faces ( (0 1 5 4) (1 2 6 5) (2 3 7 6) (4 5 9 8) (5 6 10 9) (6 7 11 10) ); } axis { type empty; faces ( (0 4 4 0) (4 8 8 4) ); } ); mergePatchPairs ( ); ---------------------------------------------------------------------------------------------- /*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*---------------------------------------------------------------------------*/ Build : 7-63349425784a Exec : blockMesh Date : Nov 13 2021 Time : 07:04:19 Host : "tdce115" PID : 3846 I/O : uncollated Case : /home/praise/sktutorial/Burner_MRF nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Creating block mesh from "/home/praise/sktutorial/Burner_MRF/system/blockMeshDict" Creating block edges No non-planar block faces defined Creating topology blocks Creating topology patches Creating block mesh topology Check topology Basic statistics Number of internal faces : 7 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 0 and 3 From function void Foam::blockMesh::calcMergeInfo() in file blockMesh/blockMeshMerge.C at line 222. FOAM exiting |
All times are GMT -4. The time now is 08:00. |