Is it possible to store the results from a *get (*get,xposition,node,i,loc,x) other than use an array? I was thinking of something similar to 'store' which is used to store results using 'nsol'. Does it exist in Ansys?
Thanks Drej. Can I then ouput all the results stored? My point of doing this is to extract the data. Therefore I need them to be output in the Output File, so that I can copy into a Spreadsheet.
You can *VGET all of the nodal locations and store in an array and then output from the array. Try the following for output of all x-location of the nodes:
! ---------- CODE ----------
nall
*get,n_max,NODE,0,NUM,MAX
*dim,n_storage,array,n_max,1
*vget,n_storage,node,1,loc,x ! GET x-loc of all nodes
*cfopen,nodal_data,csv
*vwrite,n_storage(1)
(1(E15.6))
*cfclos
!---------------------------
Do the same for the Y and Z locations but change the syntax in the *VGET command above. Output will be to a file named "nodal_data.csv".
------------
See faq569-1083 for details on how to make best use of Eng-Tips.com
This is a way to do it using the *msg command and puts them all in one csv file. Must be input through a file though. *msg does not work in command lines.