CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Mesh Utilities (http://www.cfd-online.com/Forums/openfoam-meshing-utilities/)
-   -   SnappyHexMesh Problem with edge matching (http://www.cfd-online.com/Forums/openfoam-meshing-utilities/61539-snappyhexmesh-problem-edge-matching.html)

andersking August 25, 2008 04:21

Hi, Is there a way to get sn
 
Hi,
Is there a way to get snappyHexMesh to follow sharp edges? I have meshed a geometry however patch boundaries become irregular, which is causing problems in the solution. The attached image hopefully makes it clearer.

http://www.cfd-online.com/OpenFOAM_D...ges/1/8845.jpg

I would like to get this to work, otherwise I'll have to go back to another mesher.

Cheers,
Andrew

johndeas August 25, 2008 05:13

Just a little question: are th
 
Just a little question: are there advantages to snap hex to mesh instead of creating polygons which would better fit the immersed object ?

andersking August 25, 2008 07:22

Actually, I should explain my
 
Actually, I should explain my diagram a bit better. The red and blue patches actually do line up (I moved one so that the join can be seen) the problem are the non flat faces in the red patch.

To answer your question - I use snappyHexMesh as it generally gives a very well behaved mesh, and is (very) easy to set up for complex geometries (stl surfaces).

Prior to this I have generally used netget/gmsh. I have tried to use polyDualMesh to convert these to polyhedral meshes, but without much success. I have downloaded engrid and am going to give it a try instead.

Cheers,
Andrew

fra76 August 25, 2008 14:43

As far as I know, snappyHexMes
 
As far as I know, snappyHexMesh has no automatic feature line capturing, unfortunately. You can somehow explicitly provide some feature edge through a file separated from the STL, but I haven't tried it and don't know how well it works.

Cheers,
Francesco

andersking August 26, 2008 00:01

Thanks Francesco. I managed
 
Thanks Francesco.

I managed to find this thread after another search http://www.cfd-online.com/cgi-bin/Op...c=1&post=24651 - It appears that edge matching won't be a part of snappyHex Mesh for quite a while. It's a pity as apart from this I am impressed with the meshes snappyHexMesh creates. Looks like I'll have to go back to netgen for now.

Cheers,
Andrew

xyz August 12, 2009 22:20

Is there anyone have any hope that edge capturing will be a possibility with snappy. I think that a must for many peoples..

preichl November 2, 2010 20:29

snapEdge may be what you are looking for
 
snapEdge may be what you are looking for

see

http://openfoamwiki.net/index.php/Contrib_snapEdge

Horsty March 6, 2013 03:51

edges of 3D wing
 
1 Attachment(s)
Hi,

I'm encountering the same problem as andersking. Using snappyHexMesh, don't get the edges of my NACA0012 straight. Any suggestions for improvement?

Cheers,
Horsty
Attachment 19610

preichl March 6, 2013 07:39

Hi Horsty,

Try looking at the flange example (http://www.openfoam.com/news/snappyH...ature-edge.php)

While I have not tried it for an aerofoil a similar approach involving the use of:
surfaceFeatureExtract
(as per the flange example) should hopefully help.

The flange example should be in tutorials/mesh/snappyHexMesh/flange

Cheers,

Paul

Horsty March 6, 2013 10:43

surfaceFeatureExtract
 
1 Attachment(s)
Well, that pretty much did the job.

Thanks a lot mate!

Attachment 19634


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