|
[Sponsors] |
July 2, 2015, 15:01 |
Issues with splitMeshRegions!
|
#1 |
Member
VA
Join Date: Mar 2015
Location: ON, Canada
Posts: 30
Rep Power: 11 |
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. |
|
July 3, 2015, 05:43 |
|
#2 |
New Member
Join Date: Jun 2015
Posts: 12
Rep Power: 11 |
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 |
|
July 3, 2015, 11:55 |
|
#3 | |
Member
VA
Join Date: Mar 2015
Location: ON, Canada
Posts: 30
Rep Power: 11 |
Quote:
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! |
||
July 6, 2015, 09:41 |
|
#4 |
Member
VA
Join Date: Mar 2015
Location: ON, Canada
Posts: 30
Rep Power: 11 |
Any comments/suggestions please?
|
|
July 6, 2015, 11:27 |
|
#5 |
Member
VA
Join Date: Mar 2015
Location: ON, Canada
Posts: 30
Rep Power: 11 |
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! |
|
July 24, 2018, 20:11 |
|
#6 |
Member
Join Date: Feb 2018
Posts: 91
Rep Power: 8 |
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. |
|
October 25, 2018, 14:16 |
|
#7 |
New Member
Murilo Mendonça
Join Date: Sep 2018
Location: Brazil
Posts: 4
Rep Power: 8 |
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.
|
|
Tags |
chtmultiregionfoam, splitmeshregions |
|
|
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 06:54 |
Multigrid Stability Issues | ThomasHermann | SU2 | 1 | November 5, 2014 17:18 |
splitMeshRegions doesn't find my regions. | GPesch | OpenFOAM Pre-Processing | 2 | November 14, 2013 06:20 |
[General] Issues with output to VTK format | akail | ParaView | 0 | February 19, 2013 15:38 |
[General] Some Paraview Issues I can not solve | MR_Chicho | ParaView | 1 | September 24, 2012 06:03 |