|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Join Date: May 2016
Posts: 25
Rep Power: 11 ![]() |
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);
}
);
Thanks! |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Mar 2010
Location: Germany
Posts: 154
Rep Power: 17 ![]() |
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) Cutter |
|
|
|
|
|
|
|
|
#3 |
|
New Member
Join Date: May 2016
Posts: 25
Rep Power: 11 ![]() |
Yes it works!
Thanks! |
|
|
|
|
|
![]() |
| Tags |
| cellset, cellsetdict, setset |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |