|
[Sponsors] |
[mesh manipulation] TopoSet cellset is not deleting from stl cellZone |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 9, 2021, 02:50 |
TopoSet cellset is not deleting from stl cellZone
|
#1 |
Member
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 82
Rep Power: 7 |
Dear all,
I am using topoSet to create a region inside the mesh. The original mesh is obtained from stl file which is meshed using snappyHexMesh (The stl file mesh is similar to sphere shape). I wanted to create a spherical region inside this stl file for which I am using topoSet. I have created cellSet, cellZoneSet for the spherical region and also deleted it from stl mesh file using surfaceToCell. The topoSet runs well in terminal, but does not create a cellZone for the spherical region. But creates a cellZone for the stl file. What am I missing in topoSet? I have checked in constant/polyMesh/cellZones Below is the the topoSet file. actions ( // gland { name glandCellSet; type cellSet; action new; source surfaceToCell; sourceInfo { file "./constant/triSurface/mesh2.stl"; outsidePoints ((100 70 10)); includeCut true; includeInside true; includeOutside false; nearDistance -0.05; curvature 0.9; useSurfaceOrientation false; } } // tumor { name tumorCellSet; type cellSet; action new; source sphereToCell; sourceInfo { centre (100 100 30); radius 1; } } // set tumor cell zone from cell set { name tumor; type cellZoneSet; action new; source setToCellZone; sourceInfo { set tumorCellSet; } } // gland-tumor { name glandCellSet; type cellSet; action delete; source sphereToCell; sourceInfo { centre (100 100 30); radius 1; } } // set gland cell zone from cell set { name gland; type cellZoneSet; action new; source setToCellZone; sourceInfo { set glandCellSet; } } ); CellZone region which shows 0 cellLabels for the spherical Region "tumor" 2 ( tumor { type cellZone; cellLabels 0(); } I have attached the link for the stl file. https://drive.google.com/file/d/1JAp...ew?usp=sharing Any leads will be appreciated. Regards, Sunag R A. |
|
Tags |
cellzone, polymesh, snappyhexmesh, stl file, toposet |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
define a cellzone with toposet | decibelle | OpenFOAM Pre-Processing | 5 | August 10, 2022 06:53 |
[mesh manipulation] topoSet for stl files | Owais Shabbir | OpenFOAM Meshing & Mesh Conversion | 4 | November 8, 2020 18:42 |
topoSet ; faceSet and cellSet | Raza Javed | OpenFOAM Running, Solving & CFD | 2 | July 24, 2019 07:56 |
cellZone not taking all the cells inside | rahulksoni | OpenFOAM Running, Solving & CFD | 6 | January 25, 2019 01:11 |
cellZone not taking all the cells inside | rahulksoni | OpenFOAM | 0 | January 16, 2019 02:16 |