StitchMesh

From OpenFOAMWiki

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