


{"id":186049,"date":"2021-07-22T16:02:58","date_gmt":"2021-07-22T16:02:58","guid":{"rendered":"\/forum\/forums\/reply\/186049\/"},"modified":"2021-07-22T16:02:58","modified_gmt":"2021-07-22T16:02:58","slug":"186049","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/186049\/","title":{"rendered":"Reply To: Create a Table with time, deformation amplitude and node location (length)"},"content":{"rendered":"<p>It would help if you could show a sample data that you want to export by inserting an image. What data goes into the 33 rows and what data goes in each column?<\/p>\n<p>Here are some sample commands that you can use. See if you can modify this for your needs<br \/>\n*dim,narray,array,33,14                   ! define a matrix <br \/>\n*dim,node_vmask,array,ncount!define mask vector ncount is node count. You can use *get command to retrieve that<br \/>\n!select the nodes for which you need the result<br \/>\n*vget,node_vmask(1),node,,nsel<br \/>\nnsel,s,node,,1,ncount<br \/>\n*vmask,node_vmask(1)<br \/>\n*vget,narray(1,1),node,,nlist                 !column 1 has node list<br \/>\n*vget,narray(1,2),node,,loc,x              !column 2 has node location X<\/p>\n<p>*do,i,1,tset                                   !use *do loop to retrieve uy at all result sets. tset is total time set. you will need a *get to retrieve that value<br \/>\nset,,,,,,,i<br \/>\n*vmask,node_vmask(1)<br \/>\n*vget,narray(1,i+2),node,,u,y            !get Y direction displacement<br \/>\n*enddo<\/p>\n<p>*vmask,node_vmask(1)<br \/>\n*mwrite,narray,my_output,txt!writes out a 2D matrix <br \/>\n(F10.0,TL1,13(F20.8))<\/p>\n","protected":false},"template":"","class_list":["post-186049","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/186049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/reply"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/186049\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=186049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}