CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Issues with splitMeshRegions!

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By vabishek

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 2, 2015, 14:01
Unhappy Issues with splitMeshRegions!
  #1
Member
 
VA
Join Date: Mar 2015
Location: ON, Canada
Posts: 30
Rep Power: 11
vabishek is on a distinguished road
Hello FOAMers,

I am currently working on a chtMultiRegionSimpleFoam problem. I am having issues with creating multiple regions using splitMeshRegions command. The geometry is fairly simple. The computational domain consists of a fluid region and multiple solid regions, as shown in the image (attached). The fluid flows through a rectangular channel (FLUID_CHANNEL) surrounded by solid regions (PLATE1, SOLID1, HEAT_GEN, PLATE2). A heat source is applied to the "heat generation" region, and each of the regions have different material properties.

The geometry is meshed in SALOME and imported into OpenFOAM using the ideasUnvToFoam tool. Everything seems to work fine until I run splitMeshRegions. When I run splitMeshRegions, it creates 6 regions instead of 5 (Fluid_channel, Plate1, Heat_gen, Plate2 and Solid). The heat_gen region is split into two i.e. heat_gen and some domain*. As seen in the attached image, the heat_gen region consists of two blocks separated by the fluid_channel. I am not sure why splitMeshRegions does that.

I also tried an alternative way of defining the regions. I created the domain with only four regions (all same as above except Heat_gen), then used topoSet to create the Heat_gen region. Worked fine till here. However, when I ran splitMeshRegions it again split heat_gen into two regions instead of just one.

I have attached the case files for both the scenarios i.e. with and without heat_gen in the mesh file. Any help on this would be greatly appreciated. Please let me know if more information is needed.

https://www.dropbox.com/sh/ehdiebogz...BcxPIf95a?dl=0


Thanks,

Abishek

PS: I tried one other method. Since the geometry is simple, I used blockMesh to create the geometry. The splitMeshRegions worked fine in this case. Puzzled as to why I am getting different results. I need to use SALOME as I will be moving much more complex geometries than a huge rectangular block.
Attached Images
File Type: jpg full_domain.jpg (15.9 KB, 81 views)
vabishek is offline   Reply With Quote

Old   July 3, 2015, 04:43
Default
  #2
New Member
 
Join Date: Jun 2015
Posts: 12
Rep Power: 10
Ohlzen-Wendy is on a distinguished road
Hi,

are the regions of the heater connected or os there a gap? I think this might be the problem. i had an similar issue were a had to regions wich had the some properties etc but were not connected. splitmeshregion then created 2 regions out of it. maybe name it heater1 and heater2.

with regards

andy
Ohlzen-Wendy is offline   Reply With Quote

Old   July 3, 2015, 10:55
Default
  #3
Member
 
VA
Join Date: Mar 2015
Location: ON, Canada
Posts: 30
Rep Power: 11
vabishek is on a distinguished road
Quote:
Originally Posted by Ohlzen-Wendy View Post
Hi,

are the regions of the heater connected or os there a gap? I think this might be the problem. i had an similar issue were a had to regions wich had the some properties etc but were not connected. splitmeshregion then created 2 regions out of it. maybe name it heater1 and heater2.

with regards

andy
Thanks for your reply!

Yes, these two regions are not connected. I could easily have two regions as heater1 and heater2. I can't do that as I need to use cyclic boundaries on the side walls. Forgot to mention that. So, I when split into two separate regions it is obviously not recognizing the neighbourPatch as that belongs in a different region now. I was able to circumvent this issue when I used blockMesh-topoSet-splitMeshRegions. I defined two boxes (region) as a single region in topoSet (while creating sets). Can't seem to achieve the same using mesh import-topoSet-splitMeshRegions.

Thanks!
vabishek is offline   Reply With Quote

Old   July 6, 2015, 08:41
Default
  #4
Member
 
VA
Join Date: Mar 2015
Location: ON, Canada
Posts: 30
Rep Power: 11
vabishek is on a distinguished road
Any comments/suggestions please?
vabishek is offline   Reply With Quote

Old   July 6, 2015, 10:27
Default
  #5
Member
 
VA
Join Date: Mar 2015
Location: ON, Canada
Posts: 30
Rep Power: 11
vabishek is on a distinguished road
I solved the issue. I was using "splitMeshRegions -cellZones" all this while. I tried "splitMeshRegions -cellZonesOnly", as I wanted the zones to be created based on my mesh,and it works perfectly. The -help option came in handy.

Thanks!
aero.rajat1 likes this.
vabishek is offline   Reply With Quote

Old   July 24, 2018, 19:11
Default
  #6
Member
 
Join Date: Feb 2018
Posts: 91
Rep Power: 8
charles4allme is on a distinguished road
Hello,

I don't know how best to frame the question, but essentially I imported a mesh from salome and while trying to use toposet, I can't get all the regions in OpenFOAM when I input values for the box in toposet. Is the axis of SALOME different from that of OPenFOAM or is it a problem of SI units.Any advice will be greatly appreciated.
charles4allme is offline   Reply With Quote

Old   October 25, 2018, 13:16
Default
  #7
New Member
 
Murilo Mendonça
Join Date: Sep 2018
Location: Brazil
Posts: 4
Rep Power: 7
murilommen is on a distinguished road
Could you find a solution for this Charles? I am facing the same problem with a mesh imported from ANSYS. topoSet runs but creates a cellSet with dimension 0.
murilommen is offline   Reply With Quote

Reply

Tags
chtmultiregionfoam, splitmeshregions


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
[mesh manipulation] why splitMeshRegions creates extra domains? skuznet OpenFOAM Meshing & Mesh Conversion 10 May 31, 2022 05:54
Multigrid Stability Issues ThomasHermann SU2 1 November 5, 2014 16:18
splitMeshRegions doesn't find my regions. GPesch OpenFOAM Pre-Processing 2 November 14, 2013 05:20
[General] Issues with output to VTK format akail ParaView 0 February 19, 2013 14:38
[General] Some Paraview Issues I can not solve MR_Chicho ParaView 1 September 24, 2012 05:03


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