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

[snappyHexMesh] Can snappyHexMesh handle intersecting geometries?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 14, 2015, 13:03
Default Can snappyHexMesh handle intersecting geometries?
  #1
Senior Member
 
Attesz's Avatar
 
Attesz
Join Date: Mar 2009
Location: Munich
Posts: 368
Rep Power: 17
Attesz is an unknown quantity at this point
Hi all,

can snappyHexMesh handle geometries (closed STL/OBJ shells), that intersect each other? Will the algorithm identify these geometries as one and create a mesh around them, or I need to unite the two geometries?

Also, what happens when the geometry "sticks out" of the domain of the background mesh?

Thanks in advance!
__________________
I am doing CFD Consulting Services.
Ich biete CFD Strömungssimulationen an.
Attesz is offline   Reply With Quote

Old   January 20, 2015, 16:57
Default
  #2
New Member
 
Patrick Greene
Join Date: Aug 2014
Location: New Hampshire
Posts: 7
Rep Power: 11
P Greene is on a distinguished road
If part of your geometry sticks out of the background mesh, that part will simply be cut off.

As for your question about intersecting geometries, I'm not sure what you're referring to. If, as I think, you mean that some part of your geometry overlaps, I'm not sure what sHM will do. I suspect you are correct in that it will consider only those regions which are unambiguously "outside" your geometry as outside, and anything else as "inside". But there's only really one way to find out. Try it! Let me know your result.

Last edited by P Greene; January 20, 2015 at 17:03. Reason: Clarification and omition of unnecessary detail
P Greene is offline   Reply With Quote

Old   January 21, 2015, 06:06
Default
  #3
Senior Member
 
Attesz's Avatar
 
Attesz
Join Date: Mar 2009
Location: Munich
Posts: 368
Rep Power: 17
Attesz is an unknown quantity at this point
Hi Patrick, thanks for your input.
On intersecting I mean not only overlapping, but penetrating geometries (e.g. a cylinder goes into a cube). What will be meshed in this case? The union of the geometries, or the mesh will go inside somehow?
Hope somebody else can also make an input. Nevertheless, I will try it out on a simple geometry!
__________________
I am doing CFD Consulting Services.
Ich biete CFD Strömungssimulationen an.
Attesz is offline   Reply With Quote

Old   January 16, 2022, 05:27
Default
  #4
New Member
 
Join Date: Jan 2015
Location: Berlin
Posts: 5
Rep Power: 11
ameyer is on a distinguished road
Hi Attesz,
old thread for sure, but i have the exact same question right now - so... beeing lazy to try my self (and for the sake of thread-completeness): Do you remember what your final conclusions were? Did you try it?
ameyer is offline   Reply With Quote

Old   January 16, 2022, 15:38
Default
  #5
Senior Member
 
Attesz's Avatar
 
Attesz
Join Date: Mar 2009
Location: Munich
Posts: 368
Rep Power: 17
Attesz is an unknown quantity at this point
Yes - snappy handles intersecting geometries as they were united. The intersection will not necessarily be captured properly however. It is better to avoid intersection if possible and use one high quality closed surface mesh.
__________________
I am doing CFD Consulting Services.
Ich biete CFD Strömungssimulationen an.
Attesz is offline   Reply With Quote

Old   January 16, 2022, 18:39
Thumbs up
  #6
New Member
 
Join Date: Jan 2015
Location: Berlin
Posts: 5
Rep Power: 11
ameyer is on a distinguished road
Thank you for the quick reply! So it seems that this is not a use-case of snappy and merely works by accident but may produce artifacts. Then I have to think of another solution, thanks again!
ameyer is offline   Reply With Quote

Reply

Tags
intersecting geometry

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
[CAD formats] Creating waterproof STL using snappyHexMesh or salome Tobi OpenFOAM Meshing & Mesh Conversion 58 May 13, 2020 06:01
[snappyHexMesh] Running snappyHexMesh in parallel - optimizing peterhess OpenFOAM Meshing & Mesh Conversion 2 January 3, 2018 02:54
[snappyHexMesh] Error in meshing process with snappyHexMesh and different geometries JoSchl OpenFOAM Meshing & Mesh Conversion 0 June 27, 2017 04:13
[snappyHexMesh] snappyHexMesh for Intersecting surfaces Anamitra OpenFOAM Meshing & Mesh Conversion 0 June 14, 2016 05:38
[snappyHexMesh] SnappyHexMesh complex geometries amp thin wall parts hsieh OpenFOAM Meshing & Mesh Conversion 0 September 22, 2008 17:34


All times are GMT -4. The time now is 13:34.