Import pressures/temperatures (external data) automatically using scripting
Say we have several csv files (for different named selections), with each file containing 3 columns with X, Y, Z coordinates and the remaining columns corresponding to each time step, how can we using mechanical or workbench scripting automate the set up of first the external data, and then the imported loads inside mechanical (SYS / System A say)?
Comments
-
Below is one way of doing this (wbjn - run via WB/File/Scripting/Run Script File). The file can be easily changed to account for other imported loads. The attached files import Pressures (readexternaldata.wbjn) and Temperatures (readexternaldatatemp)).
0 -
The above works ok if we have less than 200 columns in the csv files - if there are more than 400 columns, then it takes to much time to set the imported load data inside mechanical (even with Transaction). I have seen that there have been some mentions of this before, so wanted to check if you have seen this and if there are any workarounds (except of reducing number of columns in csv files).
Thank you.
Erik0