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

mergePatchPairs Problems

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

Like Tree1Likes
  • 1 Post By anon_a

Reply
 
LinkBack Thread Tools Display Modes
Old   February 22, 2012, 17:57
Default mergePatchPairs Problems
  #1
Member
 
Adam
Join Date: Jun 2011
Posts: 32
Rep Power: 6
Smed is on a distinguished road
I am trying to mesh the attached drawing. Below is my blockMeshDict file which is receiving a fatal error when I try to run blockMesh. The error says "point 10 already marked for removal" and I'm not sure what this means. Any help getting this to work would be appreciated.

Quote:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

//convertToMeters 0.1;

vertices
(
//front
(0 0 0) //0
(1 0 0)
(2 0 0)
(0 1 0)
(1 1 0)
(2 1 0)
(0 2 0)
(1 2 0)

(0 0 1)
(1 0 1)
(2 0 1)
(0 1 1)
(1 1 1)
(2 1 1)
(0 2 1)
(1 2 1)

(2 2 0)
(2 2 1)
(1 1.5 0)
(1 1.5 1)
(2 1.5 0)
(2 1.5 1)
);

blocks
(
hex (0 1 7 6 8 9 15 14) (10 20 1) simpleGrading (1 1 1)
hex (1 2 5 4 9 10 13 12) (10 10 1) simpleGrading (1 1 1)
hex (18 20 16 7 19 21 17 15) (10 10 1) simpleGrading (1 1 1)
);

edges
(
);

boundary
(
inlet
{
type patch;
faces
(
(0 3 11 8)
(3 6 14 11)
);
}
outlet1
{
type patch;
faces
(
(2 5 13 10)
);
}
shell
{
type wall;
faces
(
(6 7 15 14)
(7 16 17 15)
(16 20 21 17)
(20 18 19 21)
(18 4 12 19)
(4 5 13 12)

(1 2 10 9)
(0 1 9 8)
);
}

frontAndBack
{
type empty;
faces
(
(0 1 7 6)
(1 2 5 4)
(8 9 15 14)
(9 10 13 12)

(18 20 16 7)
(19 21 17 15)
);
}
);

patches
(
patch slave
(
(1 7 15 9)
)

patch master1
(
(1 4 12 9)
)

patch master2
(
(18 7 15 19)
)
);

mergePatchPairs
(
(master1 slave)
(master2 slave)
);

// ************************************************** *********************** //
Attached Images
File Type: jpg blockMesh.JPG (12.6 KB, 226 views)
Smed is offline   Reply With Quote

Old   February 23, 2012, 07:40
Default
  #2
Senior Member
 
Join Date: Mar 2011
Posts: 174
Rep Power: 6
anon_a is on a distinguished road
I can't look in detail to what you have done right now, but I have to say that when I use mergePatchPairs, I define the "master" and "slave" patches the other way around. The master is the one that remains in the end, not the one that is merged.
Arjun Jayakumar likes this.
anon_a is offline   Reply With Quote

Old   February 23, 2012, 08:59
Default
  #3
Member
 
Adam
Join Date: Jun 2011
Posts: 32
Rep Power: 6
Smed is on a distinguished road
anon_a, that was exactly what was wrong. My "master" and "slave" patch definitions were backward. Thanks for your help!
Smed 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
Problems using mergePatchPairs Peter83 OpenFOAM Native Meshers: blockMesh 11 November 19, 2014 03:34
some problems about mergepatchpairs hei@ge OpenFOAM 0 November 28, 2011 07:14
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 0 August 5, 2011 16:02
Needed Benchmark Problems for FSI Mechstud Main CFD Forum 4 July 26, 2011 12:13
Some problems with Star CD Micha CD-adapco 0 August 6, 2003 13:55


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