hm_getunoffsetablenodes

Saves to the user list the unoffsetable nodes. Useful for CFD BL meshing.

Syntax

hm_getunoffsetablenodes entity_type mark_id angle_threshold

Type

HyperMesh Tcl Query

Description

Saves to the user list the unoffsetable nodes. Useful for CFD BL meshing.

Consider a node and all its surrounding elements. The visibility angle of an element is the signed angle between the node normal and the element normal after subtracting 90 degrees. The visibility angle of the node is the minimum of the element visibility angle for all surrounding elements. The best visibility angle of the node is the maximum of the node visibility angle for all choices on the node normal. A node having zero or negative best visibility angle is considered absolutely unoffsetable. A node having its best visibility angle less than angle_threshold is considered unoffsetable.

Inputs

entity_type
The type of entity to query. Valid values are comps and elems.
mark_id
The ID of the mark containing the entities to query. Valid values are 1 and 2.
angle_threshold
A value >=0.0 and < 45.0 that defines the threshold visibility angle in degrees for determining a node is unoffsetable.

Example

To find all unoffsetable nodes in comp1 using an angle threshold of 2.5:

*createmark comps 1 comp1
hm_getunoffsetablenodes comps 1 2.5

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

14.0