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

create a new boundary patch on an existing boundary

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 29, 2017, 09:32
Default create a new boundary patch on an existing boundary
  #1
Senior Member
 
Gajendra Gulgulia
Join Date: Apr 2013
Location: Munich
Posts: 144
Rep Power: 6
ggulgulia is on a distinguished road
Hello FOAMers

I am trying to create a new boundary say for example of a square size of 0.2*0.3 mm in the middle of an existing wall boundary of size 2.5*2.5 mm.

The geometry is too complicated already (it's a combustion chamber) and also i am required to demonstrate the usage of various tools and utilities of OpenFoam than just simple blockMesh and hence I don't want to create more blockMesh

What I wish to do is to create a new boundary patch called inlet on the existing mesh.

what i think is using setSet command after defining cellSet in the systems directory. But I have no idea how to do it!

Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      cellSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

name            inlet;  //name of the new patch??
action          new; //?
topoSetSources  ( boxToCell { box ( x1 y1 z1 ) ( x2 y2 z2) ; } );  //no idea what       boxToCell is or topoSetSources is??
any suggestion is appreciated. Thaank you in advance
ggulgulia is offline   Reply With Quote

Old   July 8, 2017, 11:04
Default
  #2
Senior Member
 
Gajendra Gulgulia
Join Date: Apr 2013
Location: Munich
Posts: 144
Rep Power: 6
ggulgulia is on a distinguished road
solved the problem.

used setSet and createPatch for making the small inlet patch on an existing boundary patch.
ggulgulia is offline   Reply With Quote

Reply

Tags
cellset

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
y+ and u+ values with low-Re RANS turbulence models: utility + testcase florian_krause OpenFOAM 110 April 21, 2016 11:54
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 10 June 16, 2015 15:48
Radiation interface hinca CFX 15 January 26, 2014 18:11
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55


All times are GMT -4. The time now is 03:25.