CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: blockMesh

Inconsistent number of faces

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 26, 2012, 20:25
Default Inconsistent number of faces
  #1
New Member
 
Matthias
Join Date: Oct 2012
Location: Erlangen
Posts: 8
Rep Power: 4
hiasl is on a distinguished road
I want to create a axisymmetric mesh consisting of a wedge-part with a block added on the outer side. I need this to get two different patches on one side, to be able to realize two velocityfields and two boundaryconditions there.
Can anyone give me advice? Thank you!

Code:
Create time

Creating block mesh from
    "/tmp/OpenFOAM/matthias-2.1.1/tutorials/incompressible/icoFoam/cavity/consta                                                                                        nt/polyMesh/blockMeshDict"
Creating curved edges
Creating topology blocks
Creating topology patches

Creating block mesh topology
--> FOAM Warning :
    From function polyMesh::polyMesh(... construct from shapes...)
    in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 888
    Found 2 undefined faces in mesh; adding to default patch.

Check topology

        Basic statistics
                Number of internal faces : 2
                Number of boundary faces : 14
                Number of defined boundary faces : 14
                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 2

    From function blockMesh::calcMergeInfo()
    in file blockMesh/blockMeshMerge.C at line 221.

FOAM exiting
hiasl is offline   Reply With Quote

Old   November 28, 2012, 15:11
Default
  #2
New Member
 
Abdulhaq
Join Date: Oct 2012
Posts: 24
Rep Power: 4
aljazari is on a distinguished road
Quote:
Originally Posted by hiasl View Post
I want to create a axisymmetric mesh consisting of a wedge-part with a block added on the outer side. I need this to get two different patches on one side, to be able to realize two velocityfields and two boundaryconditions there.
Can anyone give me advice? Thank you!

Code:
Create time

Creating block mesh from
    "/tmp/OpenFOAM/matthias-2.1.1/tutorials/incompressible/icoFoam/cavity/consta                                                                                        nt/polyMesh/blockMeshDict"
Creating curved edges
Creating topology blocks
Creating topology patches

Creating block mesh topology
--> FOAM Warning :
    From function polyMesh::polyMesh(... construct from shapes...)
    in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 888
    Found 2 undefined faces in mesh; adding to default patch.

Check topology

        Basic statistics
                Number of internal faces : 2
                Number of boundary faces : 14
                Number of defined boundary faces : 14
                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 2

    From function blockMesh::calcMergeInfo()
    in file blockMesh/blockMeshMerge.C at line 221.

FOAM exiting
Attach your blockMeshDict as well.
aljazari is offline   Reply With Quote

Old   November 28, 2012, 19:47
Default
  #3
New Member
 
Matthias
Join Date: Oct 2012
Location: Erlangen
Posts: 8
Rep Power: 4
hiasl is on a distinguished road
Thanks you for the answer!
In the meanwhile I solved the problem - it's all about the order of the vertices in the hex-blockdefinitions. Also you have to keep the same kind of order for every block, even the starting point of each patch (in the hex-def.) is important.
hiasl is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mesh Refinement Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Mesh Utilities 41 January 17, 2013 03:43
Error in BlockMesh: inconsistent number of faces pc1 OpenFOAM Native Meshers: blockMesh 7 August 20, 2010 06:24
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 09:01
Unaligned accesses on IA64 andre OpenFOAM 5 June 23, 2008 10:37
meshing F1 front wing Steve FLUENT 0 April 17, 2003 12:37


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