**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
]
*nset1
when not running in
*cleanup_mesh
mode, this specifies the name of one of the two node sets which will be compared. It is required for standard use.*nset2
enter the node set name to be compared with nset1.
*cleanup_nset
cleanup only the nodes of a given nset. It must be used jointly with
*cleanup_mesh
.*cleanup_mesh
this changes the mode of operation to a “clean up” mode, where all nodes closer than the tolerance are joined.
*tolerance
enter 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
).*relative
Relative tolerance with respect to the size of the mesh zone in which the nodes are merged.
*exclude_nset
exclude a nset from the clean-up.
*average_locations
this 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_fuse
fuse nodes of different dimension.
*keep_orphans
A flag to keep orphan nodes (by default orphan nodes are removed).
*iterate
To iterate the fusion process until no node can be merged.
*debug
create a new nset (the default name is
debug_nset
. The name can also be specified using*debug_nset_name
name) which shows the nodes that have been fused (only the remaining ones). Useful to see what would happen isfuse_nset
were not called. You can for instance make a fake call tofuse_nset
with the cleanup_mesh option to see where nodes are doubled.