Multi Region Meshing with sHM
1 Attachment(s)
Hi everybody,
I'm currently working on a complex geometry with multiple regions. Therefore I decided to use snappyHexMesh to create a mesh of my geometry. Since my results are not useful, I do have some questions about working with sHM. Perhaps somebody can help me, finding the answers. (1) In my geometry I have two regions that consists of different materials. One region is a pipe with a wall thickness of 2mm and the other one is a cylinder that perfectly fits in that pipe, so that there's no space in between. My question is how sHM works with these two regions. Does it create the mesh for each region one after the other and finally puts them together OR does it uses the regions "in parallel" while creating the mesh? (2) I tried to to create a mesh for each region and manually merge them with mergeMeshRegions. Since sHM cannot exactly resolve the curvature of the pipe and cylinder, it creates some space between these two parts (see picture below). Does anyone can give me some advice to make them perfectly fit? (3) In snappyHexMeshDict I have to define an inside point. Do I have to choose a special point or is it indifferent in which region this point lies? (4) When I use multiple regions with sHM, it doesn't remove the outer cells I don't need. Is there a way to remove them manually? Many thanks in advance! Marango |
Hi marango,
II don't know how you proceed exactly but I think you should try this way. It depends how you created your geometry but I think that if you use SHM you get two .stl files for your two regions. Put the two.stl file in your trisurface folder. Then constrruct your SHMdict this way Code:
For the location in mesh point, you have just to choose a point in your geometry, whatever is the meterial. You also can look (maybe you allready did it) the tutorial mesh/snappyHexMesh/snappyMultiRegionHeater I hope that will help you .... Bye |
Hi Clementhuon,
thanks for your help. I've also tried the way you described. But there occur some other problems. Like I wrote in the first post, I'm working on a high complex geometry, where the cylinder and the pipe only represent a small part. When I use the whole geometry with multi regions sHM creates these spaces between the regions too. But there are less of them. I guess it could be a matter of refinement, but when I choose a higher level of refinement, sHM aborts due to lack of memory. That's why I decided to mesh each region and finally merge them. Perhaps your way is the better one, but I don't know how to avoid the spaces between.:confused: Even if sHM creates a good mesh, the problem in (4) still remains. I have really no idea. Have a nice weekend, marango |
Hi marango,
I'm facing the same problem. Did you already found a solution ? Daniele |
All times are GMT -4. The time now is 06:57. |