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

[mesh manipulation] Several actions in one faceSetDict

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 10, 2008, 18:47
Default Several actions in one faceSetDict
  #1
Member
 
Ola Widlund
Join Date: Mar 2009
Location: Sweden
Posts: 87
Rep Power: 17
olwi is on a distinguished road
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...
olwi is offline   Reply With Quote

Old   September 11, 2008, 01:24
Default Why don't you work on it using
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
hjasak will become famous soon enough
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
hjasak is offline   Reply With Quote

Old   September 11, 2008, 11:15
Default Brilliant! It seems setSet als
  #3
Member
 
Ola Widlund
Join Date: Mar 2009
Location: Sweden
Posts: 87
Rep Power: 17
olwi is on a distinguished road
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
olwi is offline   Reply With Quote

Old   October 4, 2011, 15:42
Default
  #4
Member
 
HD
Join Date: Jul 2011
Posts: 56
Rep Power: 14
Rebecca513 is on a distinguished road
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
Rebecca513 is offline   Reply With Quote

Reply


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
Problem with: 'Divergence detected in AMG for Coupled: protective actions enabled!' dengdeng FLUENT 1 September 22, 2018 10:27
Two Phase Flow In Vertical Pipe stonepreston FLUENT 2 October 31, 2017 08:35
[mesh manipulation] mirrorMesh and undoing the joining of patches chegdan OpenFOAM Meshing & Mesh Conversion 3 October 21, 2015 08:09
How to define cells which belongs to ratating patch in MRFSImpleFoam bharat OpenFOAM Running, Solving & CFD 26 August 18, 2013 18:35
record actions via scripting Marabelle ANSYS 0 July 31, 2013 11:57


All times are GMT -4. The time now is 13:10.