Difference between revisions of "Contrib snapEdge"

From OpenFOAMWiki
(snapEdge)
(snapEdge)
Line 16: Line 16:
  
 
--[[User:Niklas|Niklas]] 08:15, 22 June 2010 (UTC)
 
--[[User:Niklas|Niklas]] 08:15, 22 June 2010 (UTC)
 +
 +
I highly recommend running checkMesh after running snapEdge.

Revision as of 06:17, 24 June 2010

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.

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

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

I highly recommend running checkMesh after running snapEdge.