Contrib snapEdge

From OpenFOAMWiki
Revision as of 08:33, 24 June 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.

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 is a simple example. 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

I highly recommend running checkMesh after running snapEdge.


--Niklas 08:15, 22 June 2010 (UTC)