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

[blockMesh] mergePatchPairs Problems

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By anon_a

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 22, 2012, 16:57
Default mergePatchPairs Problems
  #1
Member
 
Adam
Join Date: Jun 2011
Posts: 32
Rep Power: 14
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, 298 views)
Smed is offline   Reply With Quote

Old   February 23, 2012, 06:40
Default
  #2
Disabled
 
Join Date: Mar 2011
Posts: 174
Rep Power: 15
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, 07:59
Default
  #3
Member
 
Adam
Join Date: Jun 2011
Posts: 32
Rep Power: 14
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


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
[blockMesh] mergePatchPairs problem when migrating from OFext1.6 to OFext3.1 ma-tri-x OpenFOAM Meshing & Mesh Conversion 2 January 12, 2021 04:23
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 6 December 1, 2020 11:12
[mesh manipulation] mergePatchPairs with multiple areas bjoern1 OpenFOAM Meshing & Mesh Conversion 1 October 1, 2015 07:07
some problems about mergepatchpairs hei@ge OpenFOAM 0 November 28, 2011 06:14
Needed Benchmark Problems for FSI Mechstud Main CFD Forum 4 July 26, 2011 12:13


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