Vector operations and commands #

Sheldon Imaoka (CSI) #

PDF

Vector notation/functions in ANSYS allow the user to execute some of these *DO loops in a much more efficient manner. Instead of looping through individual functions, vector functions act upon arrays, resulting in faster execution times. This memo will provide some basic/introductory examples on the use of *VGET as well as the undocumented vector notation.

Accompanying input file, BUILDN1 macro, and BUILDN2 macro.

In the memo, in Section 2, please note that there is a typo. The section with the following lines:

*vget,NARRAY(1,1),node,1,u,x
*vmask,NMASK(1)
*vget,NARRAY(1,2),node,2,u,y
*vmask,NMASK(1)
*vget,NARRAY(1,3),node,3,u,z

should be replaced as follows:

*vget,NARRAY(1,1),node,1,u,x
*vmask,NMASK(1)
*vget,NARRAY(1,2),node,1,u,y
*vmask,NMASK(1)
*vget,NARRAY(1,3),node,1,u,z