Difference between revisions of "StitchMesh"
From OpenFOAMWiki
(Modify to be coherent with the new framework and update to OF21) |
m (→Description: Improve description thanks to comments in the source code) |
||
Line 8: | Line 8: | ||
==Description== | ==Description== | ||
− | "Stitches" the mesh | + | "Stitches" the mesh. |
+ | |||
+ | Takes a mesh and two patches and merges the faces on the two patches (if geometrically possible) so the faces become internal. | ||
'''-partial''' | '''-partial''' | ||
− | :Couple partially overlapping patches | + | :Couple partially overlapping patches - non-overlapping part of the surface remains in the respective patch. |
'''-perfect''' | '''-perfect''' | ||
− | :Couple perfectly aligned patches | + | :Couple perfectly aligned faces and points on patches - order might be different though. |
'''-toleranceDict''' ''FILENAME'' | '''-toleranceDict''' ''FILENAME'' | ||
:Dictionary ''FILENAME'' with tolerances | :Dictionary ''FILENAME'' with tolerances | ||
Line 29: | Line 31: | ||
'''-help''' | '''-help''' | ||
:Display the help and exit | :Display the help and exit | ||
+ | |||
+ | Note: This is just a front-end to ''perfectInterface''/''slidingInterface'' | ||
An example of how this utility is shown there: [http://openfoamwiki.net/index.php/Import_a_fluent_mesh_with_interfaces Import a fluent mesh with interfaces] | An example of how this utility is shown there: [http://openfoamwiki.net/index.php/Import_a_fluent_mesh_with_interfaces Import a fluent mesh with interfaces] | ||
[[Category:Mesh manipulation utilities]] | [[Category:Mesh manipulation utilities]] |
Latest revision as of 20:08, 3 September 2012
1 Name
stitchMesh - "Stitches" a mesh.
2 Synopsis
stitchMesh [OPTIONS] MASTERPATCH SLAVEPATCH
3 Description
"Stitches" the mesh.
Takes a mesh and two patches and merges the faces on the two patches (if geometrically possible) so the faces become internal.
-partial
- Couple partially overlapping patches - non-overlapping part of the surface remains in the respective patch.
-perfect
- Couple perfectly aligned faces and points on patches - order might be different though.
-toleranceDict FILENAME
- Dictionary FILENAME with tolerances
-overwrite
- Overwrite the existing mesh files
-region NAME
- Specify a mesh region by its NAME
-case DIR
- Execute the command on the case directory DIR. If not provided, use the current directory
-noFunctionObjects
- Skip the execution of the functionObjects
-help
- Display the help and exit
Note: This is just a front-end to perfectInterface/slidingInterface
An example of how this utility is shown there: Import a fluent mesh with interfaces