|
[Sponsors] |
MultiRegion SnappyHexMesh Workflow for complex geometries |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 8, 2021, 12:58 |
MultiRegion SnappyHexMesh Workflow for complex geometries
|
#1 |
New Member
George
Join Date: Oct 2020
Posts: 24
Rep Power: 6 |
Hi all,
I have had great success doing conjugate heat transfer simulations using Salome to perform meshing. However, I wish to have more control and the ability to parallelize my mesh generation. I have followed the snappyMultiRegionHeater tutorial to explore the possibilities for this. It works great for simple cases. However, my cases are more complex. First off, the method this tutorial uses for multiple regions is that the external boundaries and geometry is set by blockMesh. However, my cases require a complex external geometry as well and I guess I could contain that all in a blockMesh but I rather not due to increased computational time. Secondly, I have several (sometimes hundreds) of regions which are of the same material and separated. With salome meshing, this is easy to make all these regions one region in OpenFOAM and I guess I could make a python script to assign all the region properties and initial conditions, but sometimes I cannot differentiate between which region is which. So with all that in mind, my two questions are: 1. How can I setup a multiregion snappyHexMesh case with stl surfaces such that one stl determines the exterior bounds? (I know I can do the whole surface then partitions method, but this is tedious for the cad design unless we can figure out the second problem). 2. How can I setup a multiregion case for snappyHexMesh where several separated geometries are contained in the same region? For example, a random suspension of hollow cylinders in a cube and all the cylinders are the same material and the inside of the cylinders are a different material. The end goal being three regions, the cube medium, cylinder medium, and interior cylinder medium. Any help is appreciated, Thanks! |
|
March 3, 2022, 17:01 |
Complex geometry multiregion snappyhexmesh
|
#2 |
New Member
Luckmore Kadzungura
Join Date: Jul 2021
Posts: 12
Rep Power: 5 |
Hie there, please help if you eventually found the solution to your meshing problem. I am trying to model a heat exchanger with complex porous structures which has sides 1 and 2 for flow of hot and cold fluid resp. I have tried to use the shell and tube heat exchanger tutorial to help but i am facing challenges and there are more than 1000 faces wrongly oriented. Free standing faces. Where is the problem exactly with my mesh or anything. Please help.
|
|
March 3, 2022, 19:13 |
Solution
|
#3 |
New Member
George
Join Date: Oct 2020
Posts: 24
Rep Power: 6 |
The best solution here is to model the entire heat exchanger and use toposet (surface) and then setsToZones. This may become complex if your interfaces don't match up, so make sure they do.
|
|
March 3, 2022, 19:18 |
|
#4 |
New Member
Luckmore Kadzungura
Join Date: Jul 2021
Posts: 12
Rep Power: 5 |
I will try that and see if i will get something different. I am also creating my surfaces using blender, its too much work when using blender to make porous surfaces like those. I will give feedback on the progress
|
|
Tags |
heat transfer, multiregion, multiregion meshing, snappyhexmesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Can snappyHexMesh handle intersecting geometries? | Attesz | OpenFOAM Meshing & Mesh Conversion | 5 | January 16, 2022 19:39 |
[snappyHexMesh] Doubts regarding the use of snappyHexMesh for multiregion meshing | Shibi | OpenFOAM Meshing & Mesh Conversion | 4 | October 22, 2021 12:38 |
snappyHexMesh multiRegion failure | Liz1219 | OpenFOAM | 7 | March 5, 2021 07:00 |
snappyHexMesh axisymmetric multiRegion | Henning86 | OpenFOAM Running, Solving & CFD | 0 | October 23, 2014 13:05 |
[snappyHexMesh] SnappyHexMesh and MultiRegion - get regions from Salome to OF | dzi | OpenFOAM Meshing & Mesh Conversion | 2 | September 4, 2014 11:04 |