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

How to merge the master and slave patch?

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

Like Tree1Likes
  • 1 Post By Phicau

Reply
 
LinkBack Thread Tools 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: Torino, Italy
Posts: 743
Rep Power: 9
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: Singapore
Posts: 339
Rep Power: 8
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 likes this.
Phicau is offline   Reply With Quote

Old   October 21, 2014, 05:24
Default
  #3
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 743
Rep Power: 9
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

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
Integer stack memory insufficient mactech001 CFX 1 May 15, 2014 06:22
big difference between clockTime and executionTime LM4112 OpenFOAM Running, Solving & CFD 20 February 19, 2014 08:20
Conjugate heat transfer sunilpatil CFX 1 January 25, 2013 12:42
openfoam 1.6 on debian etch romant OpenFOAM Installation 9 May 6, 2010 02:26
BlockMeshmergePatchPairs hjasak OpenFOAM Native Meshers: blockMesh 11 August 15, 2008 07:36


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