


{"id":163708,"date":"2021-11-04T07:31:34","date_gmt":"2021-11-04T07:31:34","guid":{"rendered":"\/forum\/forums\/topic\/export-of-a-2d-array-with-apdl-command-block-as-an-csv-file\/"},"modified":"2021-11-04T13:44:52","modified_gmt":"2021-11-04T13:44:52","slug":"export-of-a-2d-array-with-apdl-command-block-as-an-csv-file","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/export-of-a-2d-array-with-apdl-command-block-as-an-csv-file\/","title":{"rendered":"Export of a 2D- Array with apdl-command-block as an csv- file"},"content":{"rendered":"<div class=\"Item-Body\">\n<div class=\"Message userContent\">\n<p>Hello to everybody,<\/p>\n<p>I am trying to export an 2D- with an apdl command. The has n rows and m columns (m is greater than 19). For different simulations the size of the array differs and therefore the export is depended on variables. So far I used this type of command to export:<\/p>\n<p>*VWRITE,Eig(1,1),Eig(1,2),Eig(1,3),Eig(1,4)&nbsp;&nbsp;<\/p>\n<p>(F0.0,&#039;;&#039;,F0.4,&#039;;&#039;,F0.4,&#039;;&#039;,F0.4)<\/p>\n<p>where &quot;Eig&quot; is an array with 4 columns. Since the arrays are increasing in size I think I need an other approach (I also think *VWRITE is limited to 19 columns). With the written code above I have to enter every column and the format of that column seperately. For varaible depending sizes I have to automate this. <\/p>\n<p>Can someone give me a hint or an approach for my problem?<\/p>\n<p>I am grateful for every answer<\/p>\n","protected":false},"template":"","class_list":["post-163708","topic","type-topic","status-closed","hentry","topic-tag-apdl","topic-tag-export-data","topic-tag-mechanical","topic-tag-mechanical-apdl","topic-tag-workbench"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_author_ip":[""],"_bbp_old_reply_author_name_id":["Anonymous"],"_bbp_old_is_reply_anonymous_id":["false"],"_btv_view_count":["3595"],"_bbp_likes_count":["1"],"_bbp_subscription":["237388","284018"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["163708"],"_bbp_forum_id":["27791"],"_bbp_engagement":["58821","237388","284018"],"_bbp_voice_count":["3"],"_bbp_reply_count":["7"],"_bbp_last_reply_id":["287472"],"_bbp_last_active_id":["287472"],"_bbp_last_active_time":["2023-06-07 06:40:12"]},"test":"2060592stud-hs-mannheim-de"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/163708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/163708\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=163708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}