


{"id":223035,"date":"2022-08-02T14:22:52","date_gmt":"2022-08-02T14:22:52","guid":{"rendered":"\/forum\/?post_type=topic&#038;p=223035"},"modified":"2022-08-02T14:22:52","modified_gmt":"2022-08-02T14:22:52","slug":"inputing-temperature-boundary-conditions-from-csv-file","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/inputing-temperature-boundary-conditions-from-csv-file\/","title":{"rendered":"Inputing temperature boundary conditions from CSV file"},"content":{"rendered":"<p>Hello,<\/p>\n<p>I would like to simulate a thermoelastic problem on Ansys workbench. I have externally determined temperatures that I want to input as boundary conditions in a steady state thermal simulation. For each time step, I have several temperatures to input for the thermal simulations, so for each timestep I can copy the temperature in the tabular environment, like in the picture.<\/p>\n<p><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2022\/08\/02-08-2022-1659448871-mceclip0.png\"><\/p>\n<p>However this is just one of my many boundary conditions, and I have many cases of different temperature fields to run, so I would need to copy and paste a lot of columns. This is a screenshot of the temperature boundary conditions I have to set.<\/p>\n<p><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2022\/08\/02-08-2022-1659448904-mceclip1.png\"><\/p>\n<p>My temperature boundary conditions are stored in a CSV file. Instead of copying and pasting the columns for the temperature as a function of time, I wanted to&nbsp; have each temperature associated with a column in that CSV file. For example the time is equal to the values in the first column, FF1 equal to the values in the second column, FF2 equal to the values in the third column etcetera. So if I change the CSV, I can have the simulation quickly run with the new values.<\/p>\n<p>I tried using the External Data block in workbench and it seems to correctly import the data from the CSV:<\/p>\n<p><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2022\/08\/02-08-2022-1659449809-mceclip2.png\"><\/p>\n<p>And I could link it to the model.<\/p>\n<p><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2022\/08\/02-08-2022-1659449865-mceclip3.png\"><\/p>\n<p>However, I cannot use this external data as input for the temperature boundary conditions because the imported temperature cannot be applied because Direct Assignment weighting is not supported.<\/p>\n<p><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2022\/08\/02-08-2022-1659450056-mceclip0.png\"><\/p>\n<p>This is as far as I&#8217;ve got in this problem, there seems to be no possibility of assigning each column of the CSV to the temperature of each geometry object.<\/p>\n<p>Does anyone know a quicker way than copying and pasting the temperatures on each case on each boundary condition?<\/p>\n<p>Thanks for the help.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"template":"","class_list":["post-223035","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_author_ip":["23.218.93.111"],"_bbp_subscription":["260966","200","262690"],"_btv_view_count":["2211"],"_bbpmt_movedon":["2022-08-26 07:27:00"],"_bbpmt_movedfrom":["27820"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["223035"],"_bbp_forum_id":["27791"],"_bbp_engagement":["200","260966","262690"],"_bbp_voice_count":["3"],"_bbp_reply_count":["2"],"_bbp_last_reply_id":["234798"],"_bbp_last_active_id":["234798"],"_bbp_last_active_time":["2022-09-08 16:18:07"]},"test":"v-m-villalbacorbachotudelft-nl"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/223035","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\/223035\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=223035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}