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

[mesh manipulation] cellSet using setSet

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By mgab

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 13, 2017, 08:13
Default cellSet using setSet
  #1
New Member
 
Join Date: May 2016
Posts: 25
Rep Power: 10
mgab is on a distinguished road
Hi
i'm following a tutorial in which is required to use cellSet but i saw that the tool merged into setSet. But i don't know how to use it!

The original cellSetDict is this:
Code:
// Name of set to operate on
name c0;

// One of clear/new/invert/add/delete|subset/list
action new;

// Actions to apply to cellSet. These are all the topoSetSource's ending
// in ..ToCell (see the meshTools library).

topoSetSources
(

    // Cells with cell centre within box
    boxToCell
    {
       box   (0.1 0.05 0) (0.4 0.15 0.005);
    }
);
Can anyone explain to me how to have the same result using setSet?
Thanks!
frantov likes this.
mgab is offline   Reply With Quote

Old   February 13, 2017, 12:33
Default
  #2
Senior Member
 
Join Date: Mar 2010
Location: Germany
Posts: 154
Rep Power: 16
cutter is on a distinguished road
Hi,

please have a look at the following two wiki pages:
https://openfoamwiki.net/index.php/SetSet
https://openfoamwiki.net/index.php/TopoSet

I have no case to test against, but the given cellSetDict should translate to something like the following command in setSet:

Code:
cellSet c0 new boxToCell (0.1 0.05 0) (0.4 0.15 0.005)
Good luck!
Cutter
cutter is offline   Reply With Quote

Old   February 13, 2017, 13:14
Default
  #3
New Member
 
Join Date: May 2016
Posts: 25
Rep Power: 10
mgab is on a distinguished road
Yes it works!
Thanks!
mgab is offline   Reply With Quote

Reply

Tags
cellset, cellsetdict, setset


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
[snappyHexMesh] MultiRegion(Snappy): how to define new zones Cartuns11 OpenFOAM Meshing & Mesh Conversion 6 May 3, 2019 13:02
cellSet volume in fvOptions pablo_fil OpenFOAM Running, Solving & CFD 6 April 21, 2017 05:47
Access to cellid in cellSet Tobi OpenFOAM Programming & Development 5 April 16, 2017 22:05
irregular model simulation with chtMultiregionFoam lg88 OpenFOAM 59 July 28, 2016 12:44
Creating a cellSet fom yPlus buffi OpenFOAM Post-Processing 0 December 17, 2012 05:19


All times are GMT -4. The time now is 17:04.