*addedgesorfaces
Adds faces of solid elements or edges of shell elements to a segment set and contactsurf.
Syntax
*addedgesorfaces entity_type <select_type>=<selection> reversenormal=<value> main=<value>
Type
HyperMesh Tcl Modify Command
Description
Adds faces of solid elements or edges of shell elements using a specific edge/face number to a segment set or contact surface. Creates interface elements on edges of shell elements or faces of solid elements using specific edge/face numbers.
Inputs
- entity_type
- The type of entity to modify.
- <select_type>=<selection>
- The entity or entities that are to be used as the input. There are several ways to
provide the entities to be used as the input. Only one option can be used at a time:
- id=<id>
- The ID of the single entity to modify.
- name=<name>
- The name of the single entity to modify.
- mark=<mark_id>
- The ID of the mark containing the entities to modify.
- list=<list_id>
- The ID of the list containing the entities to modify.
- user_ids={<id1> <id2> ... <idN>}
- The IDs of one or more entities to modify.
- user_names={<name1> <name2> ... <nameN>}
- The names of one or more entities to modify.
- face_indices=<face_indices>
- The face indices of solid elements.
- edge_indices=<edge_indices>
- The edge indices of shell elements.
- reversenormal=<value>
- Determines if the secondary elements should be reversed when created. Applicable for contact.
- main=<value>
- Determines if main or secondary interface elements are created. Applicable for contact.
Examples
*addedgesorfaces sets id=1 "user_ids={10 11}" "face_indices={{1 2}{1 2}}" reversenormal=1
*addedgesorfaces sets id=1 "user_ids={10 11}" "edge_indices={{1 2}{1 2}}" reversenormal=1
*addedgesorfaces contactsurfs id=1 "user_ids={10 11}" "edge_indices={{1 2}{1 2}}" reversenormal=1
*addedgesorfaces groups id=1 "user_ids={10 11}" "face_indices={{1 2}{1 2}}" main=0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2021.2