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 between block pair 0 and 1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 23, 2016, 13:29
Default Inconsistent number of faces between block pair 0 and 1
  #1
Member
 
Pedro
Join Date: Nov 2014
Posts: 50
Rep Power: 12
pupo is on a distinguished road
Hello Fellow foamers,


I'm being driven insane about what i think could be a bug.

Code:
vertices
(
    (16.25 0 0) //0
    (22.25 0 0) //1
    (21.446152422706632 2.9999999999999996 0) //2
    (16.25 0 100) //3
    (22.25 0 100) //4
    (21.446152422706632 2.9999999999999996 100) //5
    (16.25 6 0) //6
    (16.25 6 100) //7
);

blocks
(
  hex ( 0 1 2 0 3 4 5 3 ) (1 6 10) simpleGrading (1 1 1)
  hex ( 0 2 6 0 3 5 7 3 ) (1 12 10) simpleGrading (1 1 1)
);
The blockMesh file above gives me a

Code:
--> FOAM FATAL ERROR: 
Inconsistent number of faces between block pair 0 and 1

What am I doing wrong? I have a multitude of similar cases in my meshes that use the same construction time, and none of them have this error, except for this exact orientation of the triangles. changing the mesh nš of cells to the same value in both hexes fixes the problem, but i need this number of cells.


Thank you,
pupo is offline   Reply With Quote

Old   June 24, 2016, 13:14
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 16
Antimony is on a distinguished road
Hi,

AFAIK, you are having problems because you cannot specify two different number of divisions on the same edge. In the first block, you specify 6 while in the second you specify 12, which is not allowed and doesn't make sense.

You can duplicate vertices and in the duplicate edge, you can specify a different number of divisions.

Be warned though! You will need to see how to connect the duplicate entities. I don't know if mergePatchPairs would work.

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   June 25, 2016, 09:48
Default
  #3
Member
 
Pedro
Join Date: Nov 2014
Posts: 50
Rep Power: 12
pupo is on a distinguished road
Thank you for your reply,

I am aware of this limitation, but for both triangles the faces being joined together have only 1 mesh point. The 12 and 6 are for faces that are in no way connected.

Cheers,
pupo is offline   Reply With Quote

Reply


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
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 10:42
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 19:45
[OpenFOAM.org] OF2.3.1 + OS13.2 - Trying to use the dummy Pstream library aylalisa OpenFOAM Installation 23 June 15, 2015 15:49


All times are GMT -4. The time now is 11:00.