|
[Sponsors] |
[snappyHexMesh] MultiRegions: Snappy creates extra domains between Regions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 29, 2015, 10:40 |
MultiRegions: Snappy creates extra domains between Regions
|
#1 |
New Member
Join Date: May 2015
Location: Barcelona
Posts: 24
Rep Power: 11 |
Hello,
I have been working on a multiRegion model using snappyHexMesh. I created complex surfaces in stl format, these were closed and had good contacts, but after the snappyHexMesh process, between regions and even on faces-region to outside volume, there were extra domains with 1 or 3 cells...... I have seen some posts in the forum, which talk about this, but I haven't found the solution or the problem cause. May be, for complex geometries, the snappy has problems to approach on surface, I don't know...... Does anyone know some solution? Thanks. Greetings. |
|
January 14, 2018, 14:31 |
|
#2 |
Member
Çağatay Emre Ayhan
Join Date: Sep 2017
Location: Istanbul, Turkey
Posts: 31
Rep Power: 9 |
Hello, Did you find a solution ?
|
|
January 17, 2018, 09:12 |
|
#3 |
New Member
Join Date: May 2015
Location: Barcelona
Posts: 24
Rep Power: 11 |
Hi,
(using OF+1606) Yes! I solved this problem last month! ( coincidence) The solution is how you name the control volume (==blockMesh volume) and the commands of "splitMeshRegion" application.
First step is to name the blockMesh. I threw blockMesh and snappyHexMesh without a name for the control volume/blockMesh and as consequence, splitMeshRegion named controlVolume as "domain0".....for default. So, blockMesh has to have a name and following codes show where you have to write name in the blockMeshDict ( in this case the name is "air": Old: Code:
vertices ( (2.7 -0.8 0.57) (2.95 -0.8 0.57) (2.95 -0.5 0.57) (2.7 -0.5 0.57) (2.7 -0.8 0.85) (2.95 -0.8 0.85) (2.95 -0.5 0.85) (2.7 -0.5 0.85) ); blocks ( hex (0 1 2 3 4 5 6 7) (60 60 60) simpleGrading (1 1 1) ) Solution: Code:
vertices ( (2.7 -0.8 0.57) (2.95 -0.8 0.57) (2.95 -0.5 0.57) (2.7 -0.5 0.57) (2.7 -0.8 0.85) (2.95 -0.8 0.85) (2.95 -0.5 0.85) (2.7 -0.5 0.85) ); blocks ( hex (0 1 2 3 4 5 6 7) air (60 60 60) simpleGrading (1 1 1) ) And the last step consists in which commands are introduced in the splitMeshRegion line: Old: Code:
splitMeshRegions -cellZones Solution: I hope this explanation is useful for you.Code:
splitMeshRegions -cellZonesOnly Using these steps, I haven seen the extra domains anymore. |
|
January 22, 2018, 09:39 |
|
#4 | |
Member
Çağatay Emre Ayhan
Join Date: Sep 2017
Location: Istanbul, Turkey
Posts: 31
Rep Power: 9 |
Thank you my friend. I also have found a solution to this problem. I have changed the location in mesh coordianates.
There were more than one locations in mesh and. I think that was the problem. Solution was to put just one location inside the small geometry Quote:
|
||
Tags |
openfoam, snappyhexmesh |
|
|
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 |
[Gmsh] gmshToFoam - Hybrid mesh conversion creates 2 regions | bhanu2204 | OpenFOAM Meshing & Mesh Conversion | 5 | February 18, 2018 08:04 |
[snappyHexMesh] Multi region meshing with SHM creates extra regions | Dav3dum | OpenFOAM Meshing & Mesh Conversion | 0 | August 8, 2016 09:54 |
MultiRegions: How are neighbouring domains coupled? | Ivooo | OpenFOAM Programming & Development | 2 | May 24, 2016 09:58 |
[snappyHexMesh] snappyHexMesh: extra domains domain1 domain2 ... appear | skuznet | OpenFOAM Meshing & Mesh Conversion | 3 | November 29, 2015 07:43 |