|
[Sponsors] |
[snappyHexMesh] Toposet - select cells that are under a certain size and within a given bounding box |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 4, 2014, 08:49 |
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: 13 |
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 14:09. |
|
August 5, 2014, 17:52 |
|
#2 |
New Member
Join Date: Oct 2013
Posts: 6
Rep Power: 13 |
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! |
|
May 5, 2018, 07:18 |
|
#3 |
New Member
Join Date: Mar 2016
Posts: 17
Rep Power: 10 |
Hi jule,
I also simulate ships. I am currently having the problem of refining the free surface. How do you select cells under a certain size? Because I just want to refine those large cells in z direction. Without selecting those cells, refineMesh utility will refine all the cells selected so these cells near the ship will also be refined, which is unnecessary and cause mesh quality problem there. I know it's an old post but i still look forward for your reply. Thanks. Peng DU |
|
Tags |
boxtocell, cell size, cellset, toposet |
|
|