*segmentsetadjustnormal

Adjusts a segment set normal using an orientation element.

Syntax

*segmentsetadjustnormal name elem_mark_id elem_flag orientation_element reverse_normals

Type

HyperMesh Tcl Modify Command

Description

Adjusts a segment set normal using an orientation element.

Inputs

name
The name of the segment set to update.
elem_mark_id
The ID of the mark containing the elements to adjust when elem_flag is 1. Valid values are 1 and 2.
elem_flag
Flag for reversing the contact normal of all or individual elements of the segment set:
0 - Adjust all elements, elem_mark_id is ignored
1 - Adjust individual elements, elem_mark_id is used
orientation_element
The ID of the shell element used to define the segment set normal correction.
reverse_normals
0 - Correct contact normal along orientation_element normal (default)
0 - Correct contact normal opposite orientation_element normal

Examples

To adjust the normal of segment set "test" for the elements on mark 1 in the normal direction of reference element 23:
*createmark elems 1 12 29 53 23
*segmentsetadjustnormal "test" 1 1 23 0
To adjust the normal of segment set "test" for the elements on mark 1 in the reverse normal direction of reference element 23:
*createmark elems 1 12 29 53 23
*segmentsetadjustnormal "test" 1 1 23 1

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

2020