/*!
\page double_nodes_page Duplicate Nodes or/and Elements
\n This operation allows to duplicate nodes or/and elements of your mesh.
Duplication of nodes can be useful to emulate a crack in the model.
Duplication consists in creation of mesh element "equal" to existing ones.
To duplicate nodes or/and elements:
- From the \b Modification menu choose \b Transformation -> Duplicate
Nodes or/and Elements item or click "Duplicate Nodes or/and
Elements" button in the toolbar.
\image html duplicate_nodes.png "Duplicate Nodes or/and Elements button"
- Check in the dialog box one of three radio buttons corresponding to
the type of duplication operation you would like to perform.
- Fill the other fields available in the dialog box (depending on
the chosen operation mode).
- Click the \b Apply or Apply and Close button to perform the
operation of duplication.
\n "Duplicate Nodes or/and Elements" dialog has three working modes:
- \ref mode_without_elem_anchor "Duplicate nodes only"
- \ref mode_with_elem_anchor "Duplicate nodes and border elements"
- \ref mode_elem_only_anchor "Duplicate elements only"
\anchor mode_without_elem_anchor
Duplicate nodes only
In this mode the dialog looks like:
\image html duplicate01.png
Parameters to be defined in this mode:
- Group of nodes to duplicate (mandatory): these
nodes will be duplicated.
- Group of elements to replace nodes with new ones
(optional): the new nodes will replace the nodes to
duplicate within these elements.
- Construct group with newly created nodes option
(checked by default): if checked - the group with just
created nodes will be built.
A schema below explains the crack emulation using the node duplication.
\image html crack_emulation_double_nodes.png "Crack emulation"
This schema shows a virtual crack in a 2D mesh created using this duplication
mode. In this schema:
- Black balls are nodes to duplicate.
- Red balls are new nodes.
- Elements to replace nodes with new ones are marked with green.
Note that in reality nodes to duplicate coincide with new nodes.
\anchor mode_with_elem_anchor
Duplicate nodes and border elements
In this mode the dialog looks like:
\image html duplicate02.png
Parameters to be defined in this mode:
- Group of elements to duplicate (mandatory): these
elements will be duplicated.
- Group of nodes not to duplicate (optional):
group of nodes at crack bottom which will not be duplicated.
- Group of elements to replace nodes with new ones
(mandatory): the new nodes will replace the nodes to
duplicate within these elements.
- Construct group with newly created elements option
(checked by default): if checked - the group of just created
elements will be built.
- Construct group with newly created nodes option
(checked by default): if checked - the group of just
created nodes will be built.
A schema below explains the crack emulation using the node duplication
with border elements.
\image html crack_emulation_double_nodes_with_elems.png "Crack emulation"
This schema shows a virtual crack in a 2D mesh created using this duplication
mode. In this schema:
- Black segments are elements to duplicate (edges in 2D case).
- Black balls (except the lowest one) are nodes of elements to
duplicate that are duplicated.
- The lowest black ball is a node not to duplicate.
- Red balls are creates nodes.
- Red segments are created elements (edges).
- Elements to replace nodes with new ones are marked with green.
Note that in reality nodes to duplicate coincide with new nodes.
In a 3D case, where elements to duplicate are faces, the edges
located at the "crack" (if any) are cloned automatically.
\anchor mode_elem_only_anchor
Duplicate elements only
This mode just duplicates given elements, i.e. creates new elements on
the same nodes as the given elements.
In this mode the dialog looks like:
\image html duplicate03.png
Parameters to be defined in this mode:
- Group of elements to duplicate (mandatory): these
elements will be duplicated.
- Construct group with newly created elements option
(checked by default): if checked - the group of just created
elements will be built. A name of the created group starts from
"DoubleElements".
See Also a sample TUI Script of a
\ref tui_duplicate_nodes "Duplicate nodes or/and elements" operation.
*/