


{"id":51471,"date":"2021-01-20T22:16:44","date_gmt":"2021-01-20T22:16:44","guid":{"rendered":"\/forum\/forums\/topic\/how-to-automate-ansys-mechanical-using-python\/"},"modified":"2021-01-20T22:16:44","modified_gmt":"2021-01-20T22:16:44","slug":"how-to-automate-ansys-mechanical-using-python","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-to-automate-ansys-mechanical-using-python\/","title":{"rendered":"How to automate Ansys Mechanical using Python?"},"content":{"rendered":"<p>Hello all,nI am writing a code in Python that carries out the helical compression spring design process. It can for example solve for the required spring wire diameter given the load applied. I wish to send the design parameters (wire diameter, applied load, number of coils, etc&#8230;) to Ansys to perform a simulation for it and plot the stress profile for this particular design.nHow can I automate such process, such that my Python code would automatically send these information to Ansys for it to automatically run the simulation using these information?nAny help would be appreciated.nRegards,nAhmed Zeidn<\/p>\n","protected":false},"template":"","class_list":["post-51471","topic","type-topic","status-closed","hentry","topic-tag-mechanical-apdl","topic-tag-static-structural"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_old_topic_id":["23741"],"_bbp_old_topic_author_name_id":["Anonymous"],"_bbp_old_is_topic_anonymous_id":["false"],"_bbp_old_closed_status_id":["publish"],"_bbp_author_ip":[" \u0001\u0016p\u0000\bZl1(?E?\u0015\u00f6"],"_bbp_old_sticky_status_id":["normal"],"_bbp_likes_count":["0"],"_btv_view_count":["3153"],"_bbp_subscription":["242482"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["51471"],"_bbp_forum_id":["27791"],"_bbp_engagement":["200","168023"],"_bbp_voice_count":["2"],"_bbp_reply_count":["5"],"_bbp_last_reply_id":["140498"],"_bbp_last_active_id":["140498"],"_bbp_last_active_time":["2021-01-29 13:29:30"]},"test":"ahmedzeid"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/51471","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\/51471\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=51471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}