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/)
-   -   [mesh manipulation] TopoSet and setSet is showing different result. (https://www.cfd-online.com/Forums/openfoam-meshing/236022-toposet-setset-showing-different-result.html)

sunagra27 May 10, 2021 11:59

TopoSet and setSet is showing different result.
 
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.


All times are GMT -4. The time now is 18:31.