


{"id":366782,"date":"2024-05-14T14:31:47","date_gmt":"2024-05-14T14:31:47","guid":{"rendered":"\/forum\/forums\/topic\/write-the-parameter-value-to-a-text-file\/"},"modified":"2024-07-08T19:46:57","modified_gmt":"2024-07-08T19:46:57","slug":"write-the-parameter-value-to-a-text-file","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/write-the-parameter-value-to-a-text-file\/","title":{"rendered":"Write the parameter value to a text file"},"content":{"rendered":"<p>I am working on an transient thermal analysis using ansys workbench. I am using a commands(Apdl) to input some apdl commands in the workbench. I am trying to write an output file, for getting some values timevalues. My code is as follows,<\/p>\n<p>TIMINT, ON<\/p>\n<p>DDELE,ALL,TEMP<\/p>\n<p>*DO,i,1,20,1&nbsp; &nbsp;!simulation time for 20 seconds<\/p>\n<p>TIME,i<\/p>\n<p>*CFOPEN,timeout,txt<\/p>\n<p>*VWRITE,TIME<\/p>\n<p>(F9.5)<\/p>\n<p>*CFCLOSE<\/p>\n<p>*ENDDO<\/p>\n<p>&nbsp;<\/p>\n<p>However, My output file only gives one value.Can you please let me know, how to write all the output vales in the file for each iteration.<\/p>\n","protected":false},"template":"","class_list":["post-366782","topic","type-topic","status-closed","hentry","topic-tag-3DTransientThermal-1","topic-tag-mechanical","topic-tag-transient-structural","topic-tag-transient-thermal","topic-tag-transientthermal-2"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["73007","490","20905","170445"],"_bbp_author_ip":["184.24.96.177"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["2943"],"_bbp_topic_status":["answered"],"_edit_lock":["1716806229:291331"],"_bbp_topic_id":["366782"],"_bbp_forum_id":["27791"],"_bbp_engagement":["490","20905","73007","170445"],"_bbp_voice_count":["4"],"_bbp_last_reply_id":["369935"],"_bbp_last_active_id":["369935"],"_bbp_last_active_time":["2024-06-05 14:32:20"]},"test":"mashettyb-tu-de"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/366782","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":1,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/366782\/revisions"}],"predecessor-version":[{"id":366901,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/366782\/revisions\/366901"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=366782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}