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

[mesh manipulation] TopoSet cellset is not deleting from stl cellZone

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 9, 2021, 01:50
Default 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
sunagra27 is on a distinguished road
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.
sunagra27 is offline   Reply With Quote

Reply

Tags
cellzone, polymesh, snappyhexmesh, stl file, toposet

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
define a cellzone with toposet decibelle OpenFOAM Pre-Processing 5 August 10, 2022 05:53
[mesh manipulation] topoSet for stl files Owais Shabbir OpenFOAM Meshing & Mesh Conversion 4 November 8, 2020 17:42
topoSet ; faceSet and cellSet Raza Javed OpenFOAM Running, Solving & CFD 2 July 24, 2019 06:56
cellZone not taking all the cells inside rahulksoni OpenFOAM Running, Solving & CFD 6 January 25, 2019 00:11
cellZone not taking all the cells inside rahulksoni OpenFOAM 0 January 16, 2019 01:16


All times are GMT -4. The time now is 16:04.