*addicconnectivity

Updates the connectivity of an IC element.

Syntax

*addicconnectivity id inode_id dependency_array nrows ncols

Type

HyperMesh Tcl Modify Command

Description

Updates the connectivity of an IC element.

Inputs

id
The ID of the IC element to update.
inode_id
The independent node ID.
dependency_array
The 2D integer array ID created by *createintarray2d. Each row contains a dependent node ID and its associated DOF.
nrows
The number of rows in dependency_array. Must always be set to 2.
ncols
The number of columns in dependency_array.

Examples

Create an IC element and update the independent node to 15, and dependent nodes to 16, 17, 18, and 19 with DOF’s 123, 345, 1234, and 123456:

*icelementcreate
*createintarray2d 2 4 16 17 18 19 123 345 1234 123456
*addicconnectivity 1 15 1 2 4

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