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] How to handle extra domain creation from splitMeshRegions? (https://www.cfd-online.com/Forums/openfoam-meshing/235082-how-handle-extra-domain-creation-splitmeshregions.html)

sunagra27 March 31, 2021 06:10

How to handle extra domain creation from splitMeshRegions?
 
Dear All,


I have created a stl mesh using open3D from point cloud. This mesh was split into two domains as a patch and then added back using "surfaceAdd". Now, this mesh is implemented into snappyHexMeshDict.



I mesh is running well. But, when I do splitMeshRegion after some topoSet addition, it creates multiple domains, where my cellZoneRegion has only two regions and I need only these two regions.



The multiple domains has only one 1 cell in it. How to handle those.? Can it be addressed somehow in ChangeDictionary (Since I am doing chtMultiRegionSimpleFoam). Or the only way is to change the mesh itself?


Below is the snippet of splitMeshRegion.


Region Cells
------ -----
0 457997
1 241
2 1
3 1
4 1

Region Zone Name
------ ---- ----
0 1 gland
1 0 tumor
2 -1 domain2
3 -1 domain3
4 -1 domain4


Any leads will be appreciated.



Regards,
Sunag R A.

Atefeh T March 7, 2023 05:23

Any solution?
 
Hi,
did you find a solution for this problem? I also get an extra region when I use the command splitMeshRegions -cellZones -overwrite , it says that it is a dummy file but when I want to run the simulation, openfoam asks for the information of the polymesh of this region which I dont want and I dont care!
BTW I should say that I use blockMesh and then snappyHexMesh -overwrite so my theory is that this extra region is probably related to the blockMesh region that is created initially which I want to get rid of for my simulation at the end.
Can anybody help me with this problem? how should I get rid of this extra region?!
Thank you in advance

kazamiac November 28, 2023 16:58

try splitMeshRegions -cellZonesOnly. it worked for me.


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