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

[mesh manipulation] How to merge the master and slave patch?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By Phicau

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 21, 2014, 05:01
Default How to merge the master and slave patch?
  #1
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17
sharonyue is on a distinguished road
Hi guys,

I made a mesh by snappyHexMesh, this is a snippet of the code:
Code:
baffles
        {
            level       (1 1);
	    faceZone baffle; 
	    faceType baffle;
	    cellZone heater; 
            cellZoneInside inside; 
        }
After its done, in my boundary file this is:
Code:
baffles_BAFFLES
    {
        type            wall;
        nFaces          1220;
        startFace       291324;
    }
    baffles_BAFFLES_slave
    {
        type            wall;
        nFaces          1220;
        startFace       292544;
    }
How can I merge this two exactly same patches? Thanks.

BTW,I tried createPatch, cuz the nFaces is not zero, so the slave patch is still there.
sharonyue is offline   Reply With Quote

Old   October 21, 2014, 05:22
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi sharonyue,

since they are consecutive, you can try this:

Code:
    baffles
    {
        type            wall;
        nFaces          2440;
        startFace       291324;
    }
Best,

Pablo
sharonyue and beatlejuice like this.
Phicau is offline   Reply With Quote

Old   October 21, 2014, 05:24
Default
  #3
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17
sharonyue is on a distinguished road
Quote:
Originally Posted by Phicau View Post
Hi sharonyue,

since they are consecutive, you can try this:

Code:
    baffles
    {
        type            wall;
        nFaces          2440;
        startFace       291324;
    }
Best,

Pablo
So just delete it manually? I try it now, and give u a feedback! Thanks!

It works!!!Thanks very much!
sharonyue 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
big difference between clockTime and executionTime LM4112 OpenFOAM Running, Solving & CFD 21 February 15, 2019 03:05
steadyUniversalMRFFoam Tutorial fails in MixingPlane HenrikJohansson OpenFOAM Bugs 0 February 14, 2019 04:48
foam-extend-3.2 Pstream: "MPI_ABORT was invoked" craven.brent OpenFOAM Running, Solving & CFD 5 November 18, 2015 07:55
Conjugate heat transfer sunilpatil CFX 1 January 25, 2013 11:42
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36


All times are GMT -4. The time now is 22:30.