*adjustcontactsurfacenormal
Adjusts a contact surface normal using an orientation element.
Syntax
*adjustcontactsurfacenormal name mark_id elem_flag orientation_element reverse_normal
Type
HyperMesh Tcl Modify
Description
Adjusts a contact surface normal using an orientation element.
Inputs
- name
- The name of the contact surface entity to adjust.
- mark_id1
- The ID of the mark of elements to adjust, when flag is 1. Valid values are 1 and 2.
- elem_flag
- Flag for reversing the contact normal of all or individual elements of the contact surface.
- orientation_element
- The ID of the shell element that should be used for shell contact surface normal correction on shell face. This element should be part of the selection.
- reverse_normal
- 0 – Correct contact normal along the direction of orientation_element normal (default)
Examples
To adjust the normal of contactsurf "test" for the elements on mark 1 in the normal direction of reference element id 23:
*createmark elems 1 12 29 53 23
*adjustcontactsurfacenormal "test" 1 1 23 0
*createmark elems 1 12 29 53 23
*adjustcontactsurfacenormal "test" 1 1 23 1
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0.130