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

[blockMesh] I have problem with my blockMesh

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 24, 2025, 11:22
Default I have problem with my blockMesh
  #1
New Member
 
Bae seung cheol
Join Date: Jul 2025
Posts: 8
Rep Power: 2
shaneee is on a distinguished road
Hello guys

I used my blockMesh for meshing before and i know that i have to match the cell number between adjacent face so i did it but open foam said

--> FOAM FATAL ERROR: (openfoam-2506)
Sub-division mismatch between face 1 of block 0(31 101) and face 0 of block 1(5 101)

It's my intension for different number between x cells because its not adjacent

I don't know what is the problem

I'm so confused

blocks
(
hex (3 19 18 2 4 20 29 13) (300 33 24) simpleGrading (5 0.3333 1)
hex (2 18 17 1 13 29 28 12) (300 4 24) simpleGrading (5 1 1)
hex (1 17 16 0 12 28 27 11) (300 33 24) simpleGrading (5 3 1)
hex (4 20 29 13 5 21 30 14) (300 33 4) simpleGrading (5 0.3333 1)
hex (13 29 28 12 14 30 31 15) (300 4 4) simpleGrading (5 1 1)
hex (12 28 27 11 15 31 26 10) (300 33 4) simpleGrading (5 3 1)
hex (5 21 30 14 6 22 23 7) (300 33 28) simpleGrading (5 0.3333 3)
hex (14 30 31 15 7 23 24 8) (300 4 28) simpleGrading (5 1 3)
hex (15 31 26 10 8 24 25 9) (300 33 28) simpleGrading (5 3 3)

when I used like this it worked but now it didn't work(yes its diffrent vertices and file)

please somebody help me

thank you


this is the problem blockMeshDict file
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2312 |
| \\ / A nd | Website: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

vertices
(
(0 0 0)//0
(0 -9.85 0)//1
(0 -10.15 0)//2
(0 -20 0)//3
(9.85 -20 0)//4
(10.15 -20 0)//5
(70 -20 0)//6
(70 -10.15 0)//7
(70 -9.85 0)//8
(70 0 0)//9
(10.15 0 0)//10
(9.85 0 0)//11
(9.85 -9.85 0)//12
(9.85 -10.15 0)//13
(10.15 -10.15 0)//14
(10.15 -9.85 0)//15
(0 0 50)//16
(0 -9.85 50)//17
(0 -10.15 50)//18
(0 -20 50)//19
(9.85 -20 50)//20
(10.15 -20 50)//21
(70 -20 50)//22
(70 -10.15 50)//23
(70 -9.85 50)//24
(70 0 50)//25
(10.15 0 50)//26
(9.85 0 50)//27
(9.85 -9.85 50)//28
(9.85 -10.15 50)//29
(10.15 -10.15 50)//30
(10.15 -9.85 50)//31
);

blocks
(
hex (0 1 12 11 16 17 28 27) (30 30 100) simpleGrading (1 1 1)
hex (1 2 13 12 17 18 29 28) (30 4 100) simpleGrading (1 1 1)
hex (2 3 4 13 18 19 20 29) (30 30 100) simpleGrading (1 1 1)
hex (11 12 15 10 27 28 31 26) (4 30 100) simpleGrading (1 1 1)
hex (12 13 14 15 28 29 30 31) (4 4 100) simpleGrading (1 1 1)
hex (13 4 5 14 29 20 21 30) (4 30 100) simpleGrading (1 1 1)
hex (10 15 8 9 26 31 24 25) (30 30 100) simpleGrading (1 1 1)
hex (15 14 7 8 31 30 23 24) (30 4 100) simpleGrading (1 1 1)
hex (14 5 6 7 30 21 22 23) (30 30 100) simpleGrading (1 1 1)
);

edges
(
);

boundary
(
methaneSource
{
type patch;
faces
(
(12 13 14 15)
);
}
inlet
{
type patch;
faces
(
(16 0 1 17)
(17 1 2 18)
(18 2 3 19)
);
}
outlet
{
type patch;
faces
(
(25 24 8 9)
(24 23 7 8)
(23 22 6 7)
);
}
atmosphere
{
type patch;
faces
(
(27 11 0 16)
(26 10 11 27)
(25 9 10 26)
(24 25 26 31)
(31 26 27 28)
(28 27 16 17)
(23 24 31 30)
(30 31 28 29)
(29 28 17 18)
(22 23 30 21)
(21 30 29 20)
(20 29 18 19)
(22 21 5 6)
(21 20 4 5)
(20 19 3 4)
);
}
bottomWall
{
type wall;
faces
(
(11 12 1 0)
(12 13 2 1)
(13 4 3 2)
(11 10 15 12)
(15 14 13 12)
(13 14 5 4)
(10 9 8 15)
(15 8 7 14)
(14 7 6 5)
);
}
);
shaneee is offline   Reply With Quote

Old   September 25, 2025, 22:05
Default
  #2
New Member
 
Bae seung cheol
Join Date: Jul 2025
Posts: 8
Rep Power: 2
shaneee is on a distinguished road
ah i fixed it its problem of hex i thought(x y z) but it isn't i'm stupid
shaneee 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
[snappyHexMesh] Problem and doubts with blockMesh, snappyHexMesh and multiple geometry luca1992 OpenFOAM Meshing & Mesh Conversion 0 August 23, 2017 12:40
[blockMesh] BlockMesh problem ari92 OpenFOAM Meshing & Mesh Conversion 2 May 27, 2017 11:23
[blockMesh] blockMesh problem with wedge blocks gned OpenFOAM Meshing & Mesh Conversion 0 September 14, 2016 06:49
[blockMesh] Problem with blockMesh and my shape TneurolF OpenFOAM Meshing & Mesh Conversion 4 June 25, 2013 14:52
Blockmesh problem with more than one block sven82 OpenFOAM Pre-Processing 1 June 4, 2013 18:08


All times are GMT -4. The time now is 03:45.