CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [snappyHexMesh] Obtain a cellSet according to sHM refinement level (https://www.cfd-online.com/Forums/openfoam-meshing/170080-obtain-cellset-according-shm-refinement-level.html)

gianlu.it April 23, 2016 17:32

Obtain a cellSet according to sHM refinement level
 
Dear All,

I have to refine a set of cells with the refineMesh utility. The cell set (called set_0) has to be defined as:
a bounding box (called topoSet_A) subtracted with another cell set (called set_B).
The criteria of set_B is the refinement level obtained after sHM castellated operation. Does somebody knows how to obtain the set_0, or at least the set_B?

My mesh pipeline is:

surfaceFeatureExtract
blockMesh
snappyHexMesh -dict system/snappyHexMesh.1 (dictionary with only castellated enabled)
topoSet (in order to obtain topoSet_A)
XXXXXXXXXX (missing command in order to define set_0, i.e. define set_B then (topoSet_A-set_B) )
refineMesh
snappyHexMesh -dict system/snappyHexMesh.2 (dictionary with only snap and layers enabled)

surfaceFeatureExtract and sHM substantially work in a virtual towing tank with stl file for the hull

Thank you in advance


All times are GMT -4. The time now is 21:37.