*optiresponsesetequationdata1
Sets design variables, table entries, responses, and loadsteps for DRESP2 type responses.
Syntax
*optiresponsesetequationdata1 name desvarlistmax tableentrylistmax responselistmax loadsteplistmax 1 integer_array noptiintegers
Type
HyperMesh Tcl Modify
Description
Sets design variables, table entries, responses, and loadsteps for DRESP2 type responses.
Inputs
- name
- The name of the response.
- desvarlistmax
- Number of identifiers in the list of Designvariables.
- tableentrylistmax
- Number of identifiers in the list of table entries.
- responselistmax
- Number of identifiers in the list of responses.
- loadsteplistmax
- Number of identifiers in the list of loadsteps.
- 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 comment below).
Example
*createarray(5) 1 2 3 3 4
*optiresponsesetequationdata1("rfunc",0,3,2,0,1,5)
Before using this command, an array of integers needs to be created.
The first desvarlistmax elements of the array are the identifiers for the design variables.
The next tableentrylistmax elements are the selected table entries.
The next responselistmax elements are the identifiers for the selected responses.
Finally, the next loadsteplistmax elements are the selected loadstep identifiers.
noptiintegers is the sum of these values:
noptiintegers = desvarlistmax + tableentrylistmax + responselistmax + loadsteplistmax