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

[snappyHexMesh] Bad snappy - an igloo challenge

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By GerhardHolzinger

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 24, 2016, 10:10
Question Bad snappy - an igloo challenge
  #1
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 339
Rep Power: 28
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
I have been playing around with snappyHexMesh the last days and my conclusion is, that I am either not using snappy right, or that snappy is bad at adding layers when there is bad alignment of the patches in question with the cartesian axes.
If we're honest, which real-life geometry is really aligned to the cartesian axes?

So I took a step back and messed around with the tutorials. However, even though the tutorials work out, if we leave the domain of "everthing is aligned" we run into trouble.

I rebuilt the iglooWithFridges tutorial based on STLs, since I had problems with the original when I tried to change the geometry a bit. So, what we have now is an igloo with fridges, which can be axially rotated, thus worsening the alignment between fridges and mesh.


In the case I added, the STLs are generated with OpenSCAD, which is available for all major operating systems. There are two *.scad files, one creates the igloo and the other one is for the two fridges. The latter file contains a parameter alpha, which is the angle to rotate the fridges.

Play around with alpha and watch snappy do a bad job on the layers as the alignment between fridges and mesh gets lost.


Enough of the rant: Here is may challenge.

Are there settings for snappy, so that the layers are generated without holes for any angle alpha.
Attached Images
File Type: png smallMisalignment.png (52.2 KB, 45 views)
File Type: png mediumMisalignment.png (56.2 KB, 44 views)
Attached Files
File Type: gz iglooSTL_skew.tar.gz (51.7 KB, 2 views)
chaitanyaarige likes this.
GerhardHolzinger is offline   Reply With Quote

Reply

Tags
layer addition, snappyhexmesh, snappyhexmeshdict


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
Error while running pisoFoam with snappy but ran smoothly without snappy in empty dm faiazk OpenFOAM Running, Solving & CFD 0 October 24, 2018 13:51
[snappyHexMesh] Snappy Hex Mesh Generation: error preventing the .eMesh file generation. Mariana Garcia OpenFOAM Meshing & Mesh Conversion 1 January 7, 2016 04:24
[ICEM] How to improve bad quality elements that are obtained after creating prism layers? Rohith Giridhar ANSYS Meshing & Geometry 2 July 11, 2015 18:04
[snappyHexMesh] snappy snaps to bad surface petr.f. OpenFOAM Meshing & Mesh Conversion 3 October 18, 2014 14:59
Problems of Duns Codes! Martin J Main CFD Forum 8 August 14, 2003 23:19


All times are GMT -4. The time now is 08:22.