CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] Multi region mesh with snappyHexMesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 2, 2022, 10:05
Default Multi region mesh with snappyHexMesh
  #1
New Member
 
Matteo
Join Date: Mar 2022
Posts: 4
Rep Power: 4
Matteo_Kamenjasevic is on a distinguished road
Dear Foamers,
I am newie in multi region simulations and want to learn mesh this cases with snappyHexMesh. I watched a several videos on YT and I have to say that they are very bad and a lot of confusing. Also I tried to find something on internet and no success. This is my case: heatsink in which fluid flows through and it interfaces a solid with some high temperature. For me in this moment I am not so interese in physics I just want to use snappyHexMesh for multiregion simulations.
For creating groups and triangulation I am using Salome. My question is: should I define this interface between heatsink and solid like just one group, for example "heatsink_to_fluid"?

This is what I did:
For heatsink: "inlet", "outlet" and "walls_heatsink" (this walls are without interface ).
For solid: "walls_solid" (without interface).
And I set this interface like "heatsink_to_solid".
Then I exported this groups in STL files and set up snappyHexMeschDict.
When I run "splitMeshRegions -cellZones" it says that I have one region.
I hope that you can help me with this because I have a project in my Formula Student in Zagreb and want to provide some CFD simulations for my sub-team Cooling.
Matteo_Kamenjasevic is offline   Reply With Quote

Old   April 5, 2022, 07:57
Default
  #2
Senior Member
 
Nico
Join Date: Jan 2022
Location: Germany
Posts: 122
Rep Power: 6
Hr_kules is on a distinguished road
Hey Matteo,

maybe the chtmultiregionfoam tutorials would be helpfull? Especially the shell and tube heat exchanger does demonstrate quite well how to set up the snappyhexmesh and the usage of interfaces.

If this doesn't help you with the interfaces, after a lot of trial and error, in noticed that you can use the 'createPatch' dict to manually create mapped walls of disered surfaces.
Hr_kules is offline   Reply With Quote

Old   April 6, 2022, 13:26
Default
  #3
New Member
 
Matteo
Join Date: Mar 2022
Posts: 4
Rep Power: 4
Matteo_Kamenjasevic is on a distinguished road
Hi, thank your for replying. Should I use createBafflesDict for chtMultiRegion simulations?
Matteo_Kamenjasevic is offline   Reply With Quote

Old   April 7, 2022, 08:40
Default
  #4
Senior Member
 
Nico
Join Date: Jan 2022
Location: Germany
Posts: 122
Rep Power: 6
Hr_kules is on a distinguished road
Nema problema,

i would say that this depends on your geometry, since I understood baffles as internal boundaries it could be mandatory, that you use createBafflesDict. However keep in mind, that you will need to define FaceZones prior to creating baffles. For the last case i worked on, where manually creating mapped walls was needed, i could use createPatchesDict.

If you use createBafflesDict, use topoSetDict to create the faceZones from the patches relevant for the interface
Hr_kules is offline   Reply With Quote

Old   April 11, 2022, 03:10
Default
  #5
New Member
 
ismail sevimli
Join Date: Jun 2020
Location: Istanbul,Turkey
Posts: 1
Rep Power: 0
ismailsevimli is on a distinguished road
I was at the same situations a month before. I tried to setup case like in Youtube videos as u mentioned. I am using OF9 .org version.In tutorials of chtMultiRegion "sheelTube heat exchanger" case solved my problem with salome CAD usage. (I prepared my geometry like heat sink tutorial on Youtube.) I just fit my problem with tutorial case and its works perfect now. U can check what to do in case with look at "Allmesh.layers" like files.

I hope its can help you, have a nice day.
ismailsevimli is offline   Reply With Quote

Reply

Tags
chtmultiregionfoam, snappyhexmesh

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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] snappyHexMesh does not detect highly skewed faces? ptpacheco OpenFOAM Meshing & Mesh Conversion 1 January 4, 2022 12:37
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell Arman_N OpenFOAM Meshing & Mesh Conversion 1 May 20, 2019 17:16
[snappyHexMesh] snappyHexMesh & Mesh around a missile sasanghomi OpenFOAM Meshing & Mesh Conversion 2 October 15, 2014 19:54
[snappyHexMesh] multi region with snappyHexMesh vikthor OpenFOAM Meshing & Mesh Conversion 0 August 24, 2012 03:47
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11


All times are GMT -4. The time now is 15:37.