Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
3D Design

3D Design

Topics related to Ansys Discovery and Ansys SpaceClaim.

How to automate model generation in Spaceclaim/Mechanical/fluent via python scripts

    • Zizi96
      Subscriber

      I'm need to conduct a design of experiments study to map out a design space for a component. To do so, I need test 50+ similar geometries. Constructing 50+ FEA/CFD models manually seems mind numbingly repetitive and time consuming so I'm looking to automate the process.


      I've worked with ABAQUS which allowed the automation of pre and post processing operations via altering the ODB files in addition to a few python scripts.


      Example of this automation here (http://ifcuriousthenlearn.com/blog/2015/04/02/Abaqus-FEA-Scripting-with-python/)


      As a result I only had to go through the model setup once, after that, the python script read the geometry data from a csv file before completing the rest of the pre-processing, processing and post processing steps. 


       


      Can anyone share any links/materials which demonstrate python scripting in workbench?


      Alternatively, any resources on how to achieve the same automation within Workbench (without python scripting) would also be greatly appreciated. 


       


       

    • Keyur Kanade
      Ansys Employee

      Please check following. 


      https://www.youtube.com/watch?v=FnqbiLYhJEs


      https://www.youtube.com/watch?v=gIWqNEAcmsw


       

    • Aniket Chavan
      Forum Moderator

      for python scripting in each application check help links:


      SpaceClaim:


      https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v195/act_cust_sc/act_cust_sc.html


      Mechanical:


      https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v195/act_cust_mech/act_cust_mech.html


      Fluent:


      https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v195/act_cust_fluent/act_cust_fluent.html


       


      more info at:


      https://catalog.ansys.com/Developers.cshtml


       


      -Aniket


      Guidelines on the Student Community


      How to access ANSYS help links

Viewing 2 reply threads
  • The topic ‘How to automate model generation in Spaceclaim/Mechanical/fluent via python scripts’ is closed to new replies.
[bingo_chatbox]