Difference between revisions of "Contrib snapEdge"
From OpenFOAMWiki
(→snapEdge) |
|||
Line 5: | Line 5: | ||
What it does is that it finds the features on STL surfaces and maps the selected patches to those lines/edges. | 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. | + | 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. | To install it, unpack it anywhere with 'tar zxfv snapEdge.tgz'. Go to the snapEdge directory and run wmake. | ||
Line 12: | Line 12: | ||
− | Here | + | Here are a few examples. |
− | [[File:snapEdge.png | | + | This shows the inlet patch of a pipe before and after using snapEdge. |
+ | |||
+ | [[File:snapEdge.png | 500px | left: inlet patch after snappyHexMesh, right: inlet patch after snapEdge ]] | ||
And another example of a tet. | And another example of a tet. | ||
− | [[File:pyramid.png | | + | [[File:pyramid.png | 500px | left: tet after snappyHexMesh, right: tet after snapEdge ]] |
− | + | The rear part of an Ahmed body | |
+ | [[File:ahmed.png | 500px | left: inlet patch after snappyHexMesh, right: inlet patch after snapEdge ]] | ||
+ | |||
+ | |||
+ | Something I dont know what it is supposed to be. | ||
+ | |||
+ | [[File:geometry.png | 500px | left: inlet patch after snappyHexMesh, right: inlet patch after snapEdge ]] | ||
+ | |||
+ | I highly recommend running checkMesh after running snapEdge. | ||
− | --[[User:Niklas|Niklas]] | + | --[[User:Niklas|Niklas]] 07:49, 1 September 2010 (CEST) |
Revision as of 05:49, 1 September 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 (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.
And another example of a tet.
The rear part of an Ahmed body
Something I dont know what it is supposed to be.
I highly recommend running checkMesh after running snapEdge.
--Niklas 07:49, 1 September 2010 (CEST)