Difference between revisions of "StitchMesh"

From OpenFOAMWiki
m
 
m (Description: Improve description thanks to comments in the source code)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
An exaple of how this utility may be used: [http://openfoamwiki.net/index.php/Import_a_fluent_mesh_with_interfaces Import a fluent mesh with interfaces]
+
==Name==
 +
<tt>stitchMesh</tt> - "Stitches" a mesh.
 +
 
 +
{{VersionInfo}}{{Version2.1}}
 +
 
 +
==Synopsis==
 +
stitchMesh [OPTIONS] MASTERPATCH SLAVEPATCH
 +
 
 +
==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: [http://openfoamwiki.net/index.php/Import_a_fluent_mesh_with_interfaces Import a fluent mesh with interfaces]
 +
 
 +
[[Category:Mesh manipulation utilities]]

Latest revision as of 20:08, 3 September 2012

1 Name

stitchMesh - "Stitches" a mesh.

Valid versions: OF Version 21.png

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