CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [snappyHexMesh] Bad snappy - an igloo challenge (https://www.cfd-online.com/Forums/openfoam-meshing/165711-bad-snappy-igloo-challenge.html)

GerhardHolzinger January 24, 2016 10:10

Bad snappy - an igloo challenge
 
3 Attachment(s)
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.


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