*springos

Creates a spring element between two nodes using various orientation methods.

Syntax

*springos node_id1 node_id2 property_name vector_id direction_node_id orient_x orient_y orient_z orient_comps_flag system_id

Type

HyperMesh Tcl Modify

Description

Creates a spring element between two nodes using various orientation methods.

The orientation may be specified using either vector_id, direction_node_id, system_id or individual components (orient_x, orient_y, orient_z).

Inputs

node_id1
The ID of the first node.
node_id2
The ID of the second node.
property_name
The name of the property to assign to the element.
vector_id
The ID of the orientation vector assigned to the element.
direction_node_id
The ID of the direction node assigned to the element.
orient_x
The x-component of the orientation vector.
orient_y
The y-component of the orientation vector.
orient_z
The z-component of the orientation vector.
orient_comps_flag
  • 0 - Do not use individual components to define the orientation
  • 1 - Use individual components to define the orientation
system_id
The ID of the orientation system assigned to the element.

Example

To create a spring element between node 100 and node 101 with property springprop, using node 51 as the orientation node:

*springos 100 101 "springprop" 0 51 0 0 0 0 0

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