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

[blockMesh] Difficulty creating internal faces

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 19, 2018, 16:38
Default Difficulty creating internal faces
  #1
New Member
 
Join Date: Aug 2018
Posts: 12
Rep Power: 7
salomama is on a distinguished road
Hello everyone
i tried to create two walls as internal faces in blockmeshdict but i faced lot of errors so i searched and i found many many complicated ways to do it but the easiest was tat below quoted (i attached also the first case and second that i am working on now)
so my problem even when creating the new case i still get an error, but different this time.
first time i used to get this error

#Trying to specify a boundary face 4(7 19 20 8) on the face on cell 3 which is either an internal face or already belongs to some other patch. This is face 0 of patch 6 named walls.

but now i get this one

#face 0 in patch 6 does not have neighbour cell face: 4(18 20 28 26)

i really don't know what i am doing wrong!

i am attaching my first blockmeshdict and the new one that i am working on.

first one;
Show quoted text
new one;
vertices
(
(0 0 0) //0
(1.19 0 0)
(0 0.5 0) //2
(1.19 0.5 0) //3
(0 0.91 0)
(1.49 0.91 0) //5
(0 1.21 0)
(1.49 1.21 0) //7
(0 0 0.1)
(1.19 0 0.1)
(0 0.5 0.1)
(1.19 0.5 0.1) //11
(0 0.91 0.1)
(1.49 0.91 0.1)
(0 1.21 0.1) //14
(1.49 1.21 0.1) //15
(1.19 0 0) //16
(1.5 0 0) //17

(1.19 0.5 0)
(1.5 0.5 0)
(1.49 0.91 0)
(1.5 0.91 0) //21
(1.49 1.21 0)
(1.5 1.21 0) //23
(1.19 0 0.1)
(1.5 0 0.1) //25
(1.19 0.5 0.1)
(1.5 0.5 0.1) // 27
(1.19 0.91 0.1)
(1.5 0.91 0.1) //29
(1.49 1.21 0.1)
(1.5 1.21 0.1) //31
);

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

);

edges
(
);

boundary
(
inlet
{
type patch;
faces
(
(4 12 14 6)
);
}
outlet
{
type patch;
faces
(
(21 23 31 29)
);
}
leftside
{
type patch;
faces
(
(0 8 10 2)
(2 10 12 4)
);
}
righttside
{
type patch;
faces
(
(19 21 29 27)
(17 19 27 25)

);
}
symmetry
{
type patch;
faces
(
(6 14 15 7)
(22 30 31 23)

);
}
farfield
{
type patch;
faces
(
(0 1 9 8)
(16 17 25 24)

);
}
walls
{
type wall;
faces
(
(18 20 28 26)
(21 20 28 29)

);
}
frontAndBack
{
type empty;
faces
(
(0 2 3 1)
(2 4 5 3)
(4 6 7 5)
(8 9 11 10)
(10 11 13 12)
(12 13 15 14)
(16 18 19 17)
(18 20 21 19)
(20 22 23 21)
(24 25 27 26)
(26 27 29 28)
(28 29 31 30)

);
}
);

mergePatchPairs
(
);


The situation:
| | |
ext1 int ext2

should be created as:
| || |
ext1 int1int2 ext2

which is achieved by duplicating the vertices that make up the internal patch,
such that you do not create two faces with the same set of vertices.
That would be ambiguous!
salomama is offline   Reply With Quote

Old   August 19, 2018, 16:45
Default
  #2
New Member
 
Join Date: Aug 2018
Posts: 12
Rep Power: 7
salomama is on a distinguished road
attached the pictures of my cases
Attached Images
File Type: jpg 20180819_142803.jpg (101.7 KB, 9 views)
File Type: jpg 20180819_142207.jpg (84.9 KB, 5 views)
salomama is offline   Reply With Quote

Reply

Tags
#blockmeshdict

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] Layers not growing at all zonda OpenFOAM Meshing & Mesh Conversion 12 June 6, 2020 12:28
[Gmsh] Vertex numbering is dense KateEisenhower OpenFOAM Meshing & Mesh Conversion 7 August 3, 2015 11:49
foam-extend_3.1 decompose and pyfoam warning shipman OpenFOAM 3 July 24, 2014 09:14
Cluster ID's not contiguous in compute-nodes domain. ??? Shogan FLUENT 1 May 28, 2014 16:03
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 10:01


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