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] snappyHexMesh edges (https://www.cfd-online.com/Forums/openfoam-meshing/104042-snappyhexmesh-edges.html)

bephi July 2, 2012 08:32

snappyHexMesh edges
 
Hello!

I really like the idea of sHM and hope to generate some nice meshes but my first attempt were unsuccessful.
Due to the fact that my geometry has no straight edges (only the inlet and outlets are planes) especially the regions at the outlets show bad results. Probably the picture say more than words so maybe someone has an idea what I have done from so far and which setting can deal with those issues. That you very much in advance!


http://s14.directupload.net/file/d/2...kqyuvj_png.htm
http://s7.directupload.net/file/d/2939/hcq5r6gb_png.htm
http://s14.directupload.net/file/d/2...3etuzv_png.htm

StSchiff July 2, 2012 10:41

Hi bephi,
did you turn the snapping step on?
Looks like you are looking at the castellatedMesh. The first two lines of you snappyHexMeshDict should read:

...
castellatedMesh true;
snap true;
...

if it does, how many time folder did snappy create?

Regards
Stefanie

bephi July 2, 2012 10:53

Hi Stefanie,

I didn't turn it on yet because I though at the beginning I should provide a nice mesh which is just refined and afterwards I continue with the snapping.

I get one folder for each stage...

So maybe I have to ask a more general question. When my geometry (inlet/outlet) is not parallel to a cartesian plane, is it therefore impossible to have elements normal to these patches? I assume that they will be snapped somehow but can cause problem with the interpolation of the BCs ?!

StSchiff July 3, 2012 02:31

Hi Bephi,
I guess you would have to build the background mesh parallel to your geometry surface. Otherwise the cells get snapped non-parallel to the surface. Or maybe you should try inserting layers at those surfaces. Don't know if that gives you a nice mesh though.
Regards
Stefanie

bephi July 3, 2012 02:35

Good morning and thanks for the reply. I thought about that as well but there are several in-/outlet faces and they are located arbitrary in space. Therefore, I assume that sHM might be not the best meshing tool for my application... :(


All times are GMT -4. The time now is 17:10.