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

[mesh manipulation] How to handle extra domain creation from splitMeshRegions?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 31, 2021, 07:10
Default How to handle extra domain creation from splitMeshRegions?
  #1
Member
 
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 82
Rep Power: 6
sunagra27 is on a distinguished road
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.
sunagra27 is offline   Reply With Quote

Old   March 7, 2023, 06:23
Default Any solution?
  #2
New Member
 
Atefeh T
Join Date: Jan 2023
Posts: 6
Rep Power: 3
Atefeh T is on a distinguished road
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
Atefeh T is offline   Reply With Quote

Old   November 28, 2023, 17:58
Default
  #3
New Member
 
Dimitris
Join Date: Nov 2023
Posts: 3
Rep Power: 2
kazamiac is on a distinguished road
try splitMeshRegions -cellZonesOnly. it worked for me.
kazamiac is offline   Reply With Quote

Reply

Tags
mesh 3d, openfoam, snappyhexmesh, splitmeshregions

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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 08:30
Sudden increase the residual of Maxwell's equations hsezsz CFX 2 October 13, 2016 07:58
Different diffusivity for additional variable in Fluid and porous domain ftab CFX 4 June 27, 2012 14:03
Creation of Fluid Domain mehduri Main CFD Forum 0 September 21, 2003 01:34


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