CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

Toposet - select cells that are under a certain size and within a given bounding box

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 4, 2014, 07:49
Default Toposet - select cells that are under a certain size and within a given bounding box
  #1
New Member
 
Join Date: Oct 2013
Posts: 6
Rep Power: 3
jule is on a distinguished road
Hi Foamers,
I have been trying to use toposet in order to create a set of cells that are both contained within a bounding box (boxToCell) and under a specified size. Is there such a method?
Many thanks for your help!

Last edited by jule; August 4, 2014 at 13:09.
jule is offline   Reply With Quote

Old   August 5, 2014, 16:52
Default
  #2
New Member
 
Join Date: Oct 2013
Posts: 6
Rep Power: 3
jule is on a distinguished road
Quick update on the above:

I have managed to get around that problem by using a different approach in toposetdict (knowing the topology of the existing refinement levels in my domain).

1. action new
source boxtocell

2. action invert

3. action subset
source boxtocell

I use this approach to refine evenly the free surface area (in combination with refinemesh) across a domain in the normal direction.

Hoping it might be of some use to someone!
jule is offline   Reply With Quote

Reply

Tags
boxtocell, cell size, cellset, toposet

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



All times are GMT -4. The time now is 08:35.