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

[snappyHexMesh] snappyHexMesh: Feature snapping of thin membrane edge

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 22, 2012, 20:01
Default snappyHexMesh: Feature snapping of thin membrane edge
  #1
New Member
 
Guenter Bartsch
Join Date: Feb 2011
Posts: 2
Rep Power: 0
gooofy is on a distinguished road
Dear all,

attached to this post is a small test case of a thin membrane I am trying to mesh using snappyHexMesh. while the result overall is good, I noticed the edges are very rough. first intuition was to use a feature edge so snappyHexMesh would snap elements to the exact surface, but clearly that is not working - see screenshot attached.

anybody have an idea what could be wrong here?

thanks,

guenter
Attached Images
File Type: jpg snappy_feature_edge.jpg (72.5 KB, 426 views)
Attached Files
File Type: zip snappy_feature_edge.zip (23.4 KB, 99 views)
gooofy is offline   Reply With Quote

Old   June 25, 2012, 12:39
Default
  #2
New Member
 
Dominic Britto Irudayaraj
Join Date: Mar 2012
Posts: 3
Rep Power: 14
idb1980 is on a distinguished road
Hai Guenter ,

Detected 0 feature points, could be the first point to fix, so

Could you try to use the attached emesh file? or even in your eMesh file replicate the edge list to three times.

( during the initial check, it seems the way Snappy took the points is bit different.Meaning to detect an edge (0 1), you have to put this edge for three times!!!

I hope this can help in using the feature edges properly.


Best regards,
Dominic Britto & Bernhard !
idb1980 is offline   Reply With Quote

Old   June 25, 2012, 12:40
Default attachement
  #3
New Member
 
Dominic Britto Irudayaraj
Join Date: Mar 2012
Posts: 3
Rep Power: 14
idb1980 is on a distinguished road
pls see the attachment.
Attached Files
File Type: gz Mem_down.eMesh.gz (1.1 KB, 148 views)
idb1980 is offline   Reply With Quote

Old   June 26, 2012, 10:31
Default
  #4
New Member
 
Dominic Britto Irudayaraj
Join Date: Mar 2012
Posts: 3
Rep Power: 14
idb1980 is on a distinguished road
Hai Guenter,

It seems for a thin surface the Edge list have to be duplicated min 1 more time.

see the attached pngs, for further comparison btn single edge list - double edge list - double edgelist with tol 10 & 0.01.

But still the snapping is not done very perfectly, probably, this surface is continuously changing in angle in 3D and probably not easy for the snappy to catch the edges in a smoother way, as the initial blocks are done in an orthogonal manner!

Some more suggestions form other users also expected!!!

Thank you,
Dominic Britto.I
Attached Images
File Type: jpg SingleEdgelist_tol1.jpg (85.8 KB, 396 views)
File Type: jpg DoubledEdgelist_tol10.jpg (87.6 KB, 350 views)
File Type: jpg DoubledEdgelist_tol0.01.jpg (86.9 KB, 336 views)
File Type: jpg DoubledEdgelist_tol1.jpg (87.6 KB, 357 views)
idb1980 is offline   Reply With Quote

Old   June 26, 2012, 14:41
Default
  #5
New Member
 
Guenter Bartsch
Join Date: Feb 2011
Posts: 2
Rep Power: 0
gooofy is on a distinguished road
dominic,

very nice work! thanks for looking into this, definitely the idea to have the edge list twice is a big step forward. i am wondering why this is necessary - mabe thin, one-sided objects are not really supported - would be interesting to see if one creates a - still very thin - two-sided version of this shape?

thanks again and best regards,

guenter
gooofy is offline   Reply With Quote

Old   December 18, 2012, 04:03
Default
  #6
Member
 
Robert
Join Date: Aug 2012
Location: Berlin
Posts: 74
Rep Power: 14
vainilreb is on a distinguished road
Hi Dominic,

why does it help to double the edge list? I've got a similar problem with a pipe with a diameter of 1 cm placed under a large desk, which snappy refuses to mesh at all. Even replicating the list ten times won't help. :/

Thanks, Robert

EDIT: I still don't know WHY, but that replication-trick really did it now! Thank you so much!

Last edited by vainilreb; December 19, 2012 at 05:17.
vainilreb is offline   Reply With Quote

Old   February 18, 2013, 13:44
Default
  #7
New Member
 
Nolwenn
Join Date: Apr 2010
Posts: 26
Rep Power: 16
Nolwenn is on a distinguished road
Thanks for this information, it helps a lot !
Nolwenn is offline   Reply With Quote

Old   September 19, 2016, 05:29
Default meshing baffles and boundary condition
  #8
Member
 
Naresh Yathuru
Join Date: Feb 2015
Posts: 66
Rep Power: 11
Naresh yathuru is on a distinguished road
Hello foamers,


Excuse me for restarting this thread again. i have a similar problem. I have a very simple geometry of a box with a zero thickness surface inside. i created the geometry in salome.Exported geometry as stl files and meshing in snappyHexMesh. I used the "facetype baffles" in snappy hex mesh to create baffle.
I have the following questions:
1. After meshing it shows the master and slave boundary in polymesh/boundary files. how to set boundary conditions for theses surfaces in 0 folder?

Am I missing something. There is not tutorials for the method where snappyhexmesh is used to create baffles. I have tried the tutorials Tjunctionfan and thermal baffles tutorials but they use createbafflesDict. but I want to generate baffles for the geometry stl file i created in Salome. Could someone through some light. I m stuck at this point.

I m using OpenFoam 2.3.0

I have posted the question also in
http://www.cfd-online.com/Forums/ope...tml#post618403

#5

regards,
Naresh
Naresh yathuru 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
[snappyHexMesh] SnappyHexMesh running killed! Mark JIN OpenFOAM Meshing & Mesh Conversion 7 June 14, 2022 02:37
[snappyHexMesh] snappyHexMesh not snapping to cylinder end wildfire230 OpenFOAM Meshing & Mesh Conversion 0 March 1, 2019 13:09
Actuator disk model audrich FLUENT 0 September 21, 2009 08:06
Where's the singularity/mesh flaw? audrich FLUENT 3 August 4, 2009 02:07
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55


All times are GMT -4. The time now is 00:20.