**fuse_nset#
Description#
This command joins nodes forming a “mini-union” algorithm, or can also be used to “clean up” a mesh with possible gaps in nodes. This is very useful when batch mesher transforms are applied to an initially exploded arrangement of sub-meshes, which are then to be transformed together and glued. It is also an effective method to make cracks (in the absence of using **crack_2d).
Syntax#
**fuse_nset
\(~\,\) [ *nset1 nset-name ]
\(~\,\) [ *nset2 nset-name ]
\(~\,\) [ *cleanup_nset nset ]
\(~\,\) [ *cleanup_mesh ]
\(~\,\) [ *tolerance tol ]
\(~\,\) [ *relative ]
\(~\,\) [ *exclude_nset excluded_nset ]
\(~\,\) [ *average_locations ]
\(~\,\) [ *allow_mixed_fuse ]
\(~\,\) [ *keep_orphans ]
\(~\,\) [ *iterate ]
\(~\,\) [ *debug ]
\(~\,\) [ *debug_nset_name ]
*nset1when not running in
*cleanup_meshmode, this specifies the name of one of the two node sets which will be compared. It is required for standard use.*nset2enter the node set name to be compared with nset1.
*cleanup_nsetcleanup only the nodes of a given nset. It must be used jointly with
*cleanup_mesh.*cleanup_meshthis changes the mode of operation to a “clean up” mode, where all nodes closer than the tolerance are joined.
*toleranceenter a real value for the magnitude of distance between nodes at or below which they will be considered the same (its default value is that of the global parameter
Mesher.MeshFusion).*relativeRelative tolerance with respect to the size of the mesh zone in which the nodes are merged.
*exclude_nsetexclude a nset from the clean-up.
*average_locationsthis indicates that the new node position for joined nodes is in the middle of their original positions. By default the node position in node set one is taken.
*allow_mixed_fusefuse nodes of different dimension.
*keep_orphansA flag to keep orphan nodes (by default orphan nodes are removed).
*iterateTo iterate the fusion process until no node can be merged.
*debugcreate a new nset (the default name is
debug_nset. The name can also be specified using*debug_nset_namename) which shows the nodes that have been fused (only the remaining ones). Useful to see what would happen isfuse_nsetwere not called. You can for instance make a fake call tofuse_nsetwith the cleanup_mesh option to see where nodes are doubled.