CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] FOAM FATAL ERROR: Inconsistent number of faces blockMesh::createMergeList() line 193

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 15, 2010, 09:34
Default FOAM FATAL ERROR: Inconsistent number of faces blockMesh::createMergeList() line 193
  #1
New Member
 
Franz Hengel
Join Date: Apr 2010
Location: Austria, Graz
Posts: 6
Rep Power: 16
Hengel is on a distinguished road
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
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.7.1-03e7e056c215
Exec : blockMesh
Date : Sep 15 2010
Time : 13:12:38
Host : franz-desktop
PID : 4753
Case : /home/franz/OpenFOAM/franz-1.7.1/DA_aktuell/2D_FreeConvection/020_FreeConvection_SKE_buoyantSimpleFoam
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time


Creating block mesh from
"/home/franz/OpenFOAM/franz-1.7.1/DA_aktuell/2D_FreeConvection/020_FreeConvection_SKE_buoyantSimpleFoam/constant/polyMesh/blockMeshDict"


Creating blockCorners

Creating curved edges
Creating blocks
Creating patches
Creating block mesh topology
Default patch type set to empty
Check block mesh topology
Basic statistics
Number of internal faces : 12
Number of boundary faces : 30
Number of defined boundary faces : 30
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 blockMesh::createMergeList()
in file createMergeList.C at line 193.

FOAM exiting



You can see the blockMeshDict-File below:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 1;
vertices
(
(0 0 0) //Punkt 0
(0.00762 0 0) //Punkt 1
(0.06858 0 0) //Punkt 2
(0.0762 0 0) //Punkt 3

(0 0.00762 0) //Punkt 4
(0.00762 0.00762 0) //Punkt 5
(0.06858 0.00762 0) //Punkt 6
(0.0762 0.00762 0) //Punkt 7

(0 2.17238 0) //Punkt 8
(0.00762 2.17238 0) //Punkt 9
(0.06858 2.17238 0) //Punkt 10
(0.0762 2.17238 0) //Punkt 11

(0 2.18 0) //Punkt 12
(0.00762 2.18 0) //Punkt 13
(0.06858 2.18 0) //Punkt 14
(0.0762 2.18 0) //Punkt 15

(0 0 0.01) //Punkt 16
(0.00762 0 0.01) //Punkt 17
(0.06858 0 0.01) //Punkt 18
(0.0762 0 0.01) //Punkt 19

(0 0.00762 0.01) //Punkt 20
(0.00762 0.00762 0.01) //Punkt 21
(0.06858 0.00762 0.01) //Punkt 22
(0.0762 0.00762 0.01) //Punkt 23

(0 2.17238 0.01) //Punkt 24
(0.00762 2.17238 0.01) //Punkt 25
(0.06858 2.17238 0.01) //Punkt 26
(0.0762 2.17238 0.01) //Punkt 27

(0 2.18 0.01) //Punkt 28
(0.00762 2.18 0.01) //Punkt 29
(0.06858 2.18 0.01) //Punkt 30
(0.0762 2.18 0.01) //Punkt 31

);
blocks
(
hex (0 1 5 4 16 17 21 20) (10 1 1) simpleGrading (1 1 1) // Block 0
hex (1 2 6 5 17 18 22 21) (1 1 1) simpleGrading (1 1 1) // Block I
hex (2 3 7 6 18 19 23 22) (1 1 1) simpleGrading (1 1 1) // Block II
hex (4 5 9 8 20 21 25 24) (1 1 1) simpleGrading (1 1 1) // Block III
hex (5 6 10 9 21 22 26 25) (1 1 1) simpleGrading (1 1 1) // Block IV
hex (6 7 11 10 22 23 27 26) (1 1 1) simpleGrading (1 1 1) // Block V
hex (8 9 13 12 24 25 29 28) (1 1 1) simpleGrading (1 1 1) // Block VI
hex (9 10 14 13 25 26 30 29) (1 1 1) simpleGrading (1 1 1) // Block VII
hex (10 11 15 14 26 27 31 30) (1 1 1) simpleGrading (1 1 1) // Block VIII

);
edges
(
);

patches
(
wall hot
(
(19 23 7 3)
(23 27 11 7)
(27 31 15 11)
)
wall cold
(
(0 16 20 4)
(4 20 24 8)
(8 24 28 12)
)
wall topAndBottom
(
(0 1 17 16)
(1 2 18 17)
(2 3 19 18)

(12 28 29 13)
(13 29 30 14)
(14 30 31 15)
)
empty frontAndBackPlanes
(
(0 4 5 1)
(1 5 6 2)
(2 6 7 3)

(4 8 9 5)
(5 9 10 6)
(6 10 11 7)

(8 12 13 9)
(9 13 14 10)
(10 14 15 11)


(16 20 21 17)
(17 21 22 18)
(18 22 23 19)

(20 24 25 21)
(21 25 26 22)
(22 26 27 23)

(24 28 29 25)
(25 29 30 26)
(26 30 31 27)
)
);

mergePatchPairs
(
);

// ************************************************** *********************** //
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

Hengel is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Decomposing meshes Tobi OpenFOAM Pre-Processing 22 February 24, 2023 10:23
[snappyHexMesh] SHM Layer Addition Phase dickcruz OpenFOAM Meshing & Mesh Conversion 4 November 1, 2018 08:05
GenerateVolumeMesh Error - Surface Wrapper Self Interacting (?) AndreP STAR-CCM+ 10 August 2, 2018 08:48
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 14:38
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


All times are GMT -4. The time now is 14:18.