Detects boundary faces that share points (baffles). Either merges them or duplicate the points.
More...
Detects boundary faces that share points (baffles). Either merges them or duplicate the points.
Original source file mergeOrSplitBaffles.C
- Usage
- mergeOrSplitBaffles [OPTION]
With no action option, baffles are merged into internal faces (default).
Options:
- -detectOnly
- Detect baffles and write to faceSet duplicateFaces.
- -split
- Detect baffles and duplicate the points (used so the two sides can move independently)
- -dict <dictionary>
- Specify a dictionary to read actions from. The dictionary may contain
detect, merge and split sub-dictionaries, each with a patches entry restricting the action to a list of patches. Note that merge is only available via -dict; on the command line, merging is the default action and there is therefore no -merge flag.
- -overwrite
- Overwrite the existing mesh instead of writing to a new time.
- -region <name>
- Specify a non-default mesh region.
- Note
can only handle pairwise boundary faces. So three faces using the same points is not handled (is illegal mesh anyway)
- surfaces consisting of duplicate faces can be topologically split if the points on the interior of the surface cannot walk to all the cells that use them in one go.
- Parallel operation (where duplicate face is perpendicular to a coupled boundary) is supported but not really tested. (Note that coupled faces themselves are not seen as duplicate faces)
- After merging, any patches that no longer hold any face are automatically removed from the boundary file (coupled patches are preserved). This avoids the need for a follow-up
createPatch run.
Definition in file mergeOrSplitBaffles.C.