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

[snappyHexMesh] Multi Region Meshing

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 7, 2024, 02:31
Default Multi Region Meshing
  #1
New Member
 
Suhan Umur Okuducu
Join Date: Oct 2024
Posts: 20
Rep Power: 2
suoCFD is on a distinguished road
Hi

I'm new to OpenFOAM. Before posting this thread, I reviewed almost all the tutorial cases in OpenFOAM, but I couldn't find one that suited my needs.

Let me explain my problem as best as I can: imagine a closed pipe with a certain thickness. There will be air inside and outside of the pipe, and there could also be various solid objects within the pipe, positioned such that they do not touch the pipe walls. Additionally, materials need to be assigned to all solids and fluids. The problem involves both conduction and convection heat transfer.

My question and request from you is this: what would be the correct way to mesh such a geometry? I couldn’t find an example that aligns with this type of geometry using snappyHexMesh.

Best regards, and thank you for your time.
suoCFD is offline   Reply With Quote

Old   November 7, 2024, 07:25
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29
Yann will become famous soon enoughYann will become famous soon enough
Hello,

For multiregion meshes created with snappyHexMesh, you can check the following tutorials:

Be careful to check the tutorial corresponding to your branch/version of OpenFOAM, as they do not handle multi region meshing the same way.
Once you understand how meshing is handled in the tutorial, you should be able to adapt it to your own case.

Have fun!
Yann
Yann is offline   Reply With Quote

Old   November 7, 2024, 10:29
Default
  #3
New Member
 
Suhan Umur Okuducu
Join Date: Oct 2024
Posts: 20
Rep Power: 2
suoCFD is on a distinguished road
Quote:
Originally Posted by Yann View Post
Hello,

For multiregion meshes created with snappyHexMesh, you can check the following tutorials:

Be careful to check the tutorial corresponding to your branch/version of OpenFOAM, as they do not handle multi region meshing the same way.
Once you understand how meshing is handled in the tutorial, you should be able to adapt it to your own case.

Have fun!
Yann

Hello Yann,

Thank you very much for your prompt response. I have reviewed these cases and many others like them.

From what I understand, what you mean is to thoroughly understand the details of mesh generation with snappyHexMesh. However, I don't have the time in this project to delve into those details, which might be why the snappyHexMesh files in these tutorial cases haven't been helpful to me.

Therefore, I need a snappyHexMesh setup that can mesh a geometry with an internal air region and additional solid geometries embedded within the innermost air region.

Best regards
suoCFD is offline   Reply With Quote

Old   November 7, 2024, 11:29
Default
  #4
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29
Yann will become famous soon enoughYann will become famous soon enough
Hello Suhan,

Quote:
Originally Posted by suoCFD View Post
From what I understand, what you mean is to thoroughly understand the details of mesh generation with snappyHexMesh.
Yes, this is indeed the usual way to learn about how to setup a case or learn to use some features in OpenFOAM.

Quote:
Originally Posted by suoCFD View Post
Therefore, I need a snappyHexMesh setup that can mesh a geometry with an internal air region and additional solid geometries embedded within the innermost air region.
There is no such thing as a generic snappyHexMeshDict file. Each case requires its own snappyHexMeshDict file tailored to the geometry you want to mesh. So unless there is someone who meshed the exact same problem than your, it is pretty unlikely to get a ready-to-run file for your case. At some point you will have to get a basic understanding of snappyHexMesh to be able to adapt it to your needs.

Best regards,
Yann
Yann is offline   Reply With Quote

Old   November 7, 2024, 13:34
Default
  #5
New Member
 
Suhan Umur Okuducu
Join Date: Oct 2024
Posts: 20
Rep Power: 2
suoCFD is on a distinguished road
Thank you so much for your responses. I am going to apply what you mentioned when the time comes.
suoCFD is offline   Reply With Quote

Old   November 7, 2024, 17:42
Default
  #6
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 802
Blog Entries: 1
Rep Power: 19
dlahaye is on a distinguished road
Maybe

https://snappyhexmesh-gui.readthedoc...nappy_gui.html

?
dlahaye is offline   Reply With Quote

Reply


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
Multi Region Constant Dictionaries Access MMarczak OpenFOAM Programming & Development 1 July 12, 2024 05:56
[snappyHexMesh] Multi region spliting doesn't result in desired boundaries Hr_kules OpenFOAM Meshing & Mesh Conversion 1 July 20, 2022 09:33
Problem simulating the temperature rise in a composite material (chtMultiRegionFoam) Adam_K OpenFOAM Running, Solving & CFD 2 March 27, 2019 07:51
[Other] mesh interface for multi region Mohammad Jam OpenFOAM Meshing & Mesh Conversion 3 December 5, 2016 08:23
Multi region meshing noob@cfd Siemens 2 March 26, 2012 13:32


All times are GMT -4. The time now is 18:52.