CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

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

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

LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2021, 10:59
Default TopoSet and setSet is showing different result.
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 82
Rep Power: 6
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.

        name    geometryCellSet;
        type    cellSet;
        action  new;
        source surfaceToCell;
        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?

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:

2. setSet link:

Any leads will be appreciated.

Sunag R A.
sunagra27 is offline   Reply With Quote


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

All times are GMT -4. The time now is 00:52.