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

[mesh manipulation] TopoSet and setSet is showing different result.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2021, 11:59
Default TopoSet and setSet is showing different result.
  #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 creating a mesh(cellSet) from stl file using "surfaceToCell" option.

1. I used topoSet first and it working fine.

2. But on later stage, I needed to used splitMeshRegions.

3. Since for few test cases, splitMeshRegion creates an extra domain which affects my simulation. So, I try to change it to setSet instead of topoSet.

4. But, setSet does not give effective cellSet compared to topoSet. I have attached the code for both and also images obtained from both. How to obtained setSet as that of topoSet cellSet.

5. TopoSet creates 410293 cellSet which is expected. below is the topoSet code.


Code:
{
        name    geometryCellSet;
        type    cellSet;
        action  new;
        source surfaceToCell;
        sourceInfo
       {
        file            "mesh.stl";
        outsidePoints   ((0.08 0.08 0.03));
        includeCut      false;
        includeInside   true;
        includeOutside  false;
        nearDistance    -0.05;
        curvature       0.9;
        useSurfaceOrientation true;
       }
     }

6. setSet creates only 40994 cellSet. As seen from the image, setSet geometry has holes. Below is the steps from setSet.


Why is that? What is wrong in the code?

Code:
a. cellSet geometryCellSet new.
b. cellSet geometryCellSet add surfaceToCell "mesh.stl" ((0.08 0.08 0.03)) false true false -0.05 0.9
Below are the images from topoSet and setSet.


1. TopoSet link: https://drive.google.com/file/d/1XQE...ew?usp=sharing


2. setSet link: https://drive.google.com/file/d/1N9b...ew?usp=sharing


Any leads will be appreciated.


Regards,
Sunag R A.
sunagra27 is offline   Reply With Quote

Reply

Tags
mesh, meshing, openfoam, setset, toposet


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
[Other] Error: topoSet – create patch from .stl – searchableSurfaceToFaceZone carl_r OpenFOAM Meshing & Mesh Conversion 1 November 18, 2022 18:06
fail to run series of runApplication topoSet -dict jiahui_93 OpenFOAM Programming & Development 1 May 25, 2022 13:56
snappyHexMesh multiRegion failure Liz1219 OpenFOAM 7 March 5, 2021 07:00
topoSet select cells by layers in a structured grid samiahmed OpenFOAM 6 May 15, 2020 18:06
setSet in bash-script (Allrun-file) bjoern1 OpenFOAM Programming & Development 2 December 12, 2014 13:56


All times are GMT -4. The time now is 13:19.