Grouping elements¶
In Mesh module it is possible to create groups of mesh entities: nodes, edges, faces, volumes, 0D elements or balls. One group contains elements of only one type. Groups, unlike sub-meshes, are exported along with mesh entities into the files of following formats: MED, UNV, and CGNS. The group has a color attribute which is used for visualization only and is not exported.
There are three types of groups different by their internal organization:
- Standalone group is a static set of mesh entities. Its contents can be explicitly controlled by the user. Upon removal of the entities included into the group, e.g. due to modification of meshing parameter, the group becomes empty and its content can be restored only manually. Hence it is reasonable to create standalone groups when the mesh generation is finished and mesh quality is verified.
Warning
Creation and edition of large standalone groups in Create group dialog using manual edition is problematic due to poor performance of the dialog.
Group on geometry is associated to a sub-shape or a group of sub-shapes of the main shape and includes mesh entities generated on these geometrical entities. The association to a geometry is established at group construction and cannot be changed. The group contents are always updated automatically, hence the group can be created even before mesh elements generation.
Group on filter encapsulates a filter, which is used to select mesh entities composing the group from the whole mesh. Criteria of the filter can be changed at any time. The group contents are always updated automatically, hence the group can be created even before mesh elements generation.
The group on geometry and group on filter can be converted to a standalone group.
Groups of different types look differently in the Object Browser
The following ways of group creation are possible:
Create group dialog allows creation of a group of any type: Standalone group, Group on geometry and Group on filter using dedicated tabs.
Create Groups from Geometry dialog allows creation of several groups on geometry at once.
Face Groups Separated By Sharp Edges operation distributes all faces of the mesh among groups using sharp edges and/or existing 1D elements as group boundaries.
Standalone groups of all nodes and elements of the chosen sub-mesh (type of elements depends on dimension of sub-mesh geometry) can be created using Mesh -> Construct Group menu item (available from the context menu as well).
Standalone groups of any element type can be created basing on nodes of other groups - using Group based on nodes of other groups dialog.
Standalone groups can be created by applying Boolean operations to other groups.
Creation of standalone groups is an option of many mesh modification operations.
The created groups can be later:
Deleted, either as an object or together with contained elements.
The group on geometry and group on filter can be converted into the standalone group.
Exported into a file as a whole mesh.
In the Object Browser, if an item contains more than one child group, it is possible to sort the groups by name in ascending order using Sort children context menu item.
Sorting groups
An important tool, providing filters for creation of standalone groups and groups on filter is Selection filter library.
See Also sample TUI Scripts of Grouping Elements operations.
Table of Contents