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

[blockMesh] Inconsistent number of faces

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

Like Tree2Likes
  • 2 Post By hiasl

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 26, 2012, 19:25
Default Inconsistent number of faces
  #1
New Member
 
Matthias
Join Date: Oct 2012
Location: Erlangen
Posts: 8
Rep Power: 13
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, 14:11
Default
  #2
New Member
 
Abdulhaq
Join Date: Oct 2012
Posts: 27
Rep Power: 13
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, 18:47
Default
  #3
New Member
 
Matthias
Join Date: Oct 2012
Location: Erlangen
Posts: 8
Rep Power: 13
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.
SeaFD and piotr.mecht like this.
hiasl 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 09:23
parallel run OpenFoam Srinath Reddy OpenFOAM Running, Solving & CFD 13 February 27, 2019 09:15
foam-extend_3.1 decompose and pyfoam warning shipman OpenFOAM 3 July 24, 2014 08:14
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


All times are GMT -4. The time now is 05:28.