*optiresponsesetequationdata2
Sets node identifiers, coordinate type lists, and dvprels for DRESP2 type responses.
Syntax
*optiresponsesetequationdata2 name nodelistmax dvprelmax1 integer_array noptiintegers
Type
HyperMesh Tcl Modify
Description
Sets node identifiers, coordinate type lists, and dvprels for DRESP2 type responses.
Inputs
- name
- The name of the response.
- nodelistmax
- Number of identifiers in the list of nodes.
- dvprelmax
- Number of identifiers in the list of dvprels.
- integer_array
- The ID of the integer array that contains the additional opti response integer parameters. The integer array is created using the *createarray command. This should always be set to 1.
- noptiintegers
- Number of elements in the array of integers (see the comments below).
Example
*createarray(8) 172 191 297 160 1 1 1 1
*optiresponsesetequationdata2("rfunc",4,0,1,8)
Before using this command, an array of integers needs to be created.
The first nodelistmax elements of the array are the identifiers for the nodes.
The second nodelistmax elements are the coordinate type for the nodes above.
The next dvprelmax elements are the identifiers for the dvprels.
noptiintegers can be calculated as :
noptiintegers = 2*nodelistmax+dvprelmax