|
[Sponsors] |
[blockMesh] Inconsistent number of faces |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 5, 2006, 14:27 |
Inconsistent number of faces
|
#1 |
New Member
Giuseppe Noviello
Join Date: Mar 2009
Location: Palese bari
Posts: 19
Rep Power: 17 |
Hi to all
Which means this error of blockMesh? > FOAM FATAL ERROR : Inconsistent number of faces between block pair 2 and 4 From function blockMesh::blockMesh(IOdictionary& meshDescription) in file createMergeList.C at line 202. FOAM exiting Someone can help me? Thanks in advantage Giuseppe |
|
June 5, 2006, 14:29 |
It means you've got 2 blocks y
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
It means you've got 2 blocks you are trying to connect to each other in blockMesh but they haven't got the matching number of cells in this direction or that the scaling is different.
Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
July 17, 2012, 10:10 |
Trouble with blockMesh: inconsistent number of faces between block pairs 0 and 1
|
#3 |
New Member
Deepak Cheekati
Join Date: Jul 2012
Location: Chennai, India
Posts: 21
Rep Power: 14 |
Hi all,
I tried to manipulate the blockMeshDict, but I am not able to get rid of this problem. "inconsistent number of faces between block pairs 0 and 1" Can anyone help? blockMeshDict: FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 1; vertices ( (-1 39.8 -0.5) (81 39.8 -0.5) (-1 40.2 -0.5) (81 40.2 -0.5) (-1 39.8 1) (-1 39.8 52) (81 39.8 52) (81 39.8 1) (-1 40.2 1) (-1 40.2 52) (81 40.2 52) (81 40.2 1) (-1 81.2 1) (-1 81.2 52) (81 81.2 52) (81 81.2 1) (-1 -1.2 1) (-1 -1.2 52) (81 -1.2 52) (81 -1.2 1) ); blocks ( hex (0 4 7 1 2 8 11 3) (410 2 5) simpleGrading (1 1 1) hex (4 5 6 7 8 9 10 11) (410 2 170) simpleGrading (1 1 1) hex (8 9 10 11 12 13 14 15) (410 205 170) simpleGrading (1 1 1) hex (16 17 18 19 4 5 6 7) (410 205 170) simpleGrading (1 1 1) ); boundary ( bPlane { type patch; faces ( (0 4 7 1) ); } tPlane { type patch; faces ( (2 3 11 8) ); } fPlane { type patch; faces ( (0 2 8 4) ); } backPlane { type patch; faces ( (1 7 11 3) ); } lPlane { type patch; faces ( (0 1 3 2) ); } FPlane { type patch; faces ( (4 8 9 5) (8 12 13 9) (16 4 5 17) ); } BackPlane { type patch; faces ( (7 6 10 11) (10 14 15 11) (19 18 6 7) ); } LuPlane { type patch; faces ( (8 11 15 12) ); } LbPlane { type patch; faces ( (16 19 7 4) ); } RPlane { type patch; faces ( (5 6 10 9) (9 10 14 13) (17 18 6 5) ); } TuPlane { type patch; faces ( (12 15 14 13) ); } blPlane { type patch; faces ( (16 17 18 19) ); } ); ................ Thank You |
|
July 17, 2012, 11:07 |
|
#4 |
Member
Join Date: Apr 2012
Location: France
Posts: 72
Rep Power: 14 |
Could you post a drawing ? (about the geometry that you want to create with blockMesh)
|
|
July 17, 2012, 11:31 |
|
#5 |
New Member
Deepak Cheekati
Join Date: Jul 2012
Location: Chennai, India
Posts: 21
Rep Power: 14 |
PFA the image.Will this do?
|
|
July 17, 2012, 11:54 |
|
#6 |
Member
Join Date: Apr 2012
Location: France
Posts: 72
Rep Power: 14 |
Ok, this is the geometry that I had deduced with the points
The problem is in the syntax of blocks. The correct syntax is : Code:
hex (0 1 3 2 4 7 11 8) hex (4 7 11 8 5 6 10 9) hex (16 19 7 4 17 18 6 5) hex (8 11 15 12 9 10 14 13) |
|
July 17, 2012, 14:39 |
|
#7 |
New Member
Deepak Cheekati
Join Date: Jul 2012
Location: Chennai, India
Posts: 21
Rep Power: 14 |
Hi Rider,
Thank you very much Could you explain me how to number,so that I wont make this mistake again.. Thank You Turbulence. |
|
July 18, 2012, 03:35 |
|
#8 |
Member
Join Date: Apr 2012
Location: France
Posts: 72
Rep Power: 14 |
Hi Turbulence,
You will find the explanation of the rule to use (with illustration) on the following link: http://www.openfoam.org/docs/user/blockMesh.php Rider. |
|
July 18, 2012, 05:46 |
|
#9 |
New Member
Deepak Cheekati
Join Date: Jul 2012
Location: Chennai, India
Posts: 21
Rep Power: 14 |
Thank you very much Rider
|
|
July 18, 2012, 06:01 |
|
#10 |
Member
Join Date: Apr 2012
Location: France
Posts: 72
Rep Power: 14 |
Your welcome
|
|
November 26, 2019, 10:17 |
Inconsistent number of faces between block pair 0 and 1
|
#11 |
New Member
Sama
Join Date: Jan 2019
Posts: 16
Rep Power: 7 |
I have same problem and dont know what is wrong with my mesh. I get error of "Inconsistent number of faces between block pair 0 and 1". Here is copy of my blockmesh dict:
FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // scale 1; vertices ( (-296 -296.6 -5000) (-296 -296.6 2192) (-296 -296.6 2792) (-296 -296.6 2992) (-296 296.6 2992) (-296 296.6 2792) (-296 396.6 2792) (-296 396.6 2192) (-296 296.6 2192) (-296 296.6 -5000) (296 -296.6 -5000) (296 -296.6 2192) (296 -296.6 2792) (296 -296.6 2992) (296 296.6 2992) (296 296.6 2792) (296 396.6 2792) (296 396.6 2192) (296 296.6 2192) (296 296.6 -5000) ); blocks ( hex (0 9 8 1 10 19 18 11) (16 16 194) simpleGrading (1 1 1) hex (1 8 5 2 11 18 15 12) (16 16 22) simpleGrading (1 1 1) hex (2 5 4 3 12 15 14 13) (16 16 5) simpleGrading (1 1 1) hex (8 7 6 5 18 17 16 15) (16 2 22) simpleGrading (1 1 1) ); edges ( ); boundary ( frontAndBack { type wall; faces ( (10 11 18 19) (11 12 15 18) (12 13 14 15) (18 15 16 17) (9 8 1 0) (8 5 2 1) (5 4 3 2) (7 6 5 8) ); } walls { type wall; faces ( (0 1 11 10) (1 2 12 11) (2 3 13 12) (15 14 4 5) (16 15 5 6) (18 17 7 8) (19 18 8 9) ); } outlet { type patch; faces ( (0 10 19 9) ); } inletone { type patch; faces ( (3 13 14 4) ); } inlettwo { type patch; faces ( (17 16 6 7) ); } ); Could you please help me how to solve this problem? Thanks alot! |
|
July 9, 2020, 11:52 |
Inconsistent number of specified cell
|
#12 |
New Member
George
Join Date: Jul 2020
Location: TU Delft, The Netherlands
Posts: 18
Rep Power: 6 |
I am reviving this thread, since i found a problem that is not listed here. It could help somebody.
This errror can appear also if the number of specified cell in the same direction is different. In example: (50 10 1) (50 20 1) It is logical, but still i made it wrong the first time |
|
September 11, 2021, 11:33 |
same problem
|
#13 |
New Member
Pradeep Mamillapalli
Join Date: Aug 2021
Posts: 2
Rep Power: 0 |
Creating block offsets
Creating merge list --> FOAM FATAL ERROR: Inconsistent number of faces between block pair 0 and 1 From function void Foam::blockMesh::calcMergeInfo() in file blockMesh/blockMeshMerge.C at line 222. FOAM exiting blockMesh file convertToMeters 1; vertices ( (0 0 -0.01) //0 (0.1 0 -0.01) //1 (0.234 0.02127 -0.01) //2 (0.279 0.308 -0.01) //3 (0.659 0.308 -0.01) //4 (0.8545 0 -0.01) //5 (0 0.321 -0.01) //6 (0.1 0.321 -0.01) //7 (0.234 0.321 -0.01) //8 (0.279 0.321 -0.01) //9 (0.659 0.321 -0.01) //10 (0.8545 0.321 -0.01) //11 (0 0 0.01) //12 (0.1 0 0.01) //13 (0.234 0.02127 0.01) //14 (0.279 0.308 0.01) //15 (0.659 0.308 0.01) //16 (0.8545 0 0.01) //17 (0 0.321 0.01) //18 (0.1 0.321 0.01) //19 (0.234 0.321 0.01) //20 (0.279 0.321 0.01) //21 (0.659 0.321 0.01) //22 (0.8545 0.321 0.01) //23 ); blocks ( hex (0 1 7 6 12 13 19 18) (110 110 1) simpleGrading (1 1 1) hex (1 2 8 7 13 14 20 19) (110 456 1) simpleGrading (1 1 1) hex (2 3 9 8 14 15 21 20) (110 300 1) simpleGrading (1 1 1) hex (3 4 10 9 15 16 22 21) (110 1454 1) simpleGrading (1 1 1) hex (4 5 11 10 16 17 23 22) (110 718 1) simpleGrading (1 1 1) ); edges ( ); boundary ( inlet { type patch; faces ( (0 12 18 6) ); } outlet { type patch; faces ( (5 11 23 17) ); } bottom { type symmetryPlane; faces ( (0 1 13 12) ); } top { type patch; faces ( (6 18 19 7) (7 19 20 8) (8 20 21 9) (9 21 22 10) (10 22 23 11) ); } obstacle { type wall; faces ( (1 2 14 13) (2 3 15 14) (3 4 16 15) (4 5 17 16) ); } ); mergePatchPairs ( ); can anyone please address my problem? |
|
September 11, 2021, 11:42 |
|
#14 |
New Member
Pradeep Mamillapalli
Join Date: Aug 2021
Posts: 2
Rep Power: 0 |
geometry attached here
|
|
January 31, 2023, 17:07 |
|
#15 |
New Member
Andrew Mills
Join Date: Oct 2019
Posts: 6
Rep Power: 7 |
I know this is old but, the link is no longer working. Is there an updated link @rider???
Thanks! |
|
February 1, 2023, 03:51 |
|
#16 |
Senior Member
M
Join Date: Dec 2017
Posts: 703
Rep Power: 13 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Decomposing meshes | Tobi | OpenFOAM Pre-Processing | 22 | February 24, 2023 10:23 |
parallel run OpenFoam | Srinath Reddy | OpenFOAM Running, Solving & CFD | 13 | February 27, 2019 10:15 |
foam-extend_3.1 decompose and pyfoam warning | shipman | OpenFOAM | 3 | July 24, 2014 09:14 |
DecomposePar unequal number of shared faces | maka | OpenFOAM Pre-Processing | 6 | August 12, 2010 10:01 |
Unaligned accesses on IA64 | andre | OpenFOAM | 5 | June 23, 2008 11:37 |