Contrib snapEdge

From OpenFOAMWiki
Revision as of 13:50, 1 September 2010 by Niklas (Talk | contribs)

snapEdge

snapEdge does not work wonders, it sometimes works and sometimes not.

What it does is that it finds the features on STL surfaces and maps the selected patches to those lines/edges.

Download from here http://openfoam.nequam.se/cases/snapEdge.tgz (update: 1 sept 2010).

To install it, unpack it anywhere with 'tar zxfv snapEdge.tgz'. Go to the snapEdge directory and run wmake.

There is a snapEdgeDict example in there as well.


Here are a few examples.

This shows the inlet patch of a pipe before and after using snapEdge.

left: inlet patch after snappyHexMesh, right: inlet patch after snapEdge

And another example of a tet.

left: tet after snappyHexMesh, right: tet after snapEdge left: tet after snappyHexMesh, right: tet after snapEdge


The rear part of an Ahmed body

left: inlet patch after snappyHexMesh, right: inlet patch after snapEdge


Something I dont know what it is supposed to be.

left: inlet patch after snappyHexMesh, right: inlet patch after snapEdgeleft: inlet patch after snappyHexMesh, right: inlet patch after snapEdge

and somethings else I dont know what it is either

left: inlet patch after snappyHexMesh, right: inlet patch after snapEdge

I highly recommend running checkMesh after running snapEdge.

--Niklas 07:49, 1 September 2010 (CEST)