CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

MultiRegion SnappyHexMesh Workflow for complex geometries

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 8, 2021, 11:58
Default MultiRegion SnappyHexMesh Workflow for complex geometries
  #1
New Member
 
George
Join Date: Oct 2020
Posts: 24
Rep Power: 5
Dicanic is on a distinguished road
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!
Dicanic is offline   Reply With Quote

Old   March 3, 2022, 16:01
Default Complex geometry multiregion snappyhexmesh
  #2
New Member
 
Luckmore Kadzungura
Join Date: Jul 2021
Posts: 12
Rep Power: 4
Lucky is on a distinguished road
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.
Lucky is offline   Reply With Quote

Old   March 3, 2022, 18:13
Default Solution
  #3
New Member
 
George
Join Date: Oct 2020
Posts: 24
Rep Power: 5
Dicanic is on a distinguished road
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.
Dicanic is offline   Reply With Quote

Old   March 3, 2022, 18:18
Default
  #4
New Member
 
Luckmore Kadzungura
Join Date: Jul 2021
Posts: 12
Rep Power: 4
Lucky is on a distinguished road
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
Lucky is offline   Reply With Quote

Reply

Tags
heat transfer, multiregion, multiregion meshing, snappyhexmesh


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
[snappyHexMesh] Can snappyHexMesh handle intersecting geometries? Attesz OpenFOAM Meshing & Mesh Conversion 5 January 16, 2022 18:39
[snappyHexMesh] Doubts regarding the use of snappyHexMesh for multiregion meshing Shibi OpenFOAM Meshing & Mesh Conversion 4 October 22, 2021 11:38
snappyHexMesh multiRegion failure Liz1219 OpenFOAM 7 March 5, 2021 06:00
snappyHexMesh axisymmetric multiRegion Henning86 OpenFOAM Running, Solving & CFD 0 October 23, 2014 12:05
[snappyHexMesh] SnappyHexMesh and MultiRegion - get regions from Salome to OF dzi OpenFOAM Meshing & Mesh Conversion 2 September 4, 2014 10:04


All times are GMT -4. The time now is 14:02.