


{"id":158589,"date":"2021-05-17T20:28:48","date_gmt":"2021-05-17T20:28:48","guid":{"rendered":"\/forum\/forums\/topic\/scripting-workbench-vs-apdl\/"},"modified":"2021-05-24T17:09:04","modified_gmt":"2021-05-24T17:09:04","slug":"scripting-workbench-vs-apdl","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/scripting-workbench-vs-apdl\/","title":{"rendered":"Scripting &#8211; Workbench vs APDL"},"content":{"rendered":"<div class=\"Item-Body\">\n<div class=\"Message userContent\">\n<p>Scripts can be written for Workbench (.wbjn) or APDL (.inp). I&#039;m in a situation where I have a large table with input parameters (eg. xlsx or csv), including geometry parameters. If necessary, I can modify them into any required format or split them into multiple files. Each line represents one simulation. Now I want to convert the data into Ansys jobs which are then queued and solved. The process should be automated. What is the best way to do that? Should I convert each line from the table to an .inp file and have them solved in a loop in APDL? The thing is, I think coding APDL is a bit clunky, especially when dealing with complex geometries. The alternative would be to record an exemplary .wbjn file in Workbench and then parametrize it include some code to read the input parameters for every subsequent sample from the table and wrap the whole thing into a loop. Are both ways equally good (or bad <span class=\"safeEmoji nativeEmoji\">?<\/span>)? Or does one have significant advantages over the other regarding performance etc?<\/p>\n","protected":false},"template":"","class_list":["post-158589","topic","type-topic","status-closed","hentry","topic-tag-ansys-workbench","topic-tag-mechanical-apdl"],"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":["1325"],"_bbp_likes_count":["0"],"_bbp_subscription":["255128"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["158589"],"_bbp_forum_id":["27791"],"_bbp_engagement":["200","181007"],"_bbp_voice_count":["2"],"_bbp_reply_count":["4"],"_bbp_last_reply_id":["179066"],"_bbp_last_active_id":["179066"],"_bbp_last_active_time":["2021-05-24 17:09:04"]},"test":"pineapple"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/158589","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\/158589\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=158589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}