|
[Sponsors] |
[mesh manipulation] Several actions in one faceSetDict |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 10, 2008, 19:47 |
Several actions in one faceSetDict
|
#1 |
Member
Ola Widlund
Join Date: Mar 2009
Location: Sweden
Posts: 87
Rep Power: 17 |
Dear foamers,
All the examples of the faceSetDict and cellSetDict I find in the tutorials do only one action on one single set. Could I work on several sets in the same faceSetDict, and maybe do several actions on one set? What's the syntax? Or do I have to make several faceSetDict:s? Hope I'm missing something trivial... For example, I want to collect the faces of a patch, and have half of them in faceSet "n1" and the other half in faceSet "n2". For "n1", I would create a 'new' set from all patch faces, and then 'delete' half of them with a box selector. Thanks in advance, Ola PS. Information that helps me will end up in the wiki, for the benefit of others... |
|
September 11, 2008, 02:24 |
Why don't you work on it using
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Why don't you work on it using setSet - this will give you an interactive interface and you can manipulate sets in any way you like.
Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
September 11, 2008, 12:15 |
Brilliant! It seems setSet als
|
#3 |
Member
Ola Widlund
Join Date: Mar 2009
Location: Sweden
Posts: 87
Rep Power: 17 |
Brilliant! It seems setSet also takes a batch file. Or I can pipe a text file to stdin. (Thing is I want to have it scripted, rather than interactive.)
Thanks, Ola |
|
October 4, 2011, 16:42 |
|
#4 |
Member
HD
Join Date: Jul 2011
Posts: 56
Rep Power: 15 |
Dear Ola,
Can I ask how you did the patch split. I mean you got a faceSet for half of the patch, and another faceset for the other. That is exactly what I need to do now. I don't know what is the action or criteria you used to create a faceset from a patch. My case is that I have a patch, with two parallel plates, each plate is like the our landscape, not regular. I want to split them into two patches, to give them different boundary conditions. Do you have any idea how to solve this? Thank you so much!!! Best, Hang |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with: 'Divergence detected in AMG for Coupled: protective actions enabled!' | dengdeng | FLUENT | 1 | September 22, 2018 11:27 |
Two Phase Flow In Vertical Pipe | stonepreston | FLUENT | 2 | October 31, 2017 09:35 |
[mesh manipulation] mirrorMesh and undoing the joining of patches | chegdan | OpenFOAM Meshing & Mesh Conversion | 3 | October 21, 2015 09:09 |
How to define cells which belongs to ratating patch in MRFSImpleFoam | bharat | OpenFOAM Running, Solving & CFD | 26 | August 18, 2013 19:35 |
record actions via scripting | Marabelle | ANSYS | 0 | July 31, 2013 12:57 |