Discovery Import

Discovery Import

Topology optimisation automation script

    • o.massanes
      Subscriber

      In a topology optimisation in Discovery Live I want to set up F1 and F2 as variables in a script, this variables will come from an external txt or spreadsheet that I'll integrate in the python script. Then I need to automatically generate the outcome mesh and export it and move forward to the next spreadsheet. Is that something achievable? Or am I overestimating the scripting capabilities of Discovery Live?

      Please understand that I don't want to modify anything in the geometry, the study set up remains always the same, the only thing that changes are the Load values.

       

      Thanks in advance!!

    • Brian Bueno
      Ansys Employee

      oriol massanes

      The Discovery Live functions are not supported yet in the script editor.  It's possible they will be supported in a future release.

    • o.massanes
      Subscriber

      Hello, thanks for your repply, is this something achievable in AIM?

      • Brian Bueno
        Ansys Employee

        oriol massanes 

        I'm not sure, but I'll check with the development team.

    • Brian Bueno
      Ansys Employee

      oriol massanes

      Mesh export is neither possible in Discovery Live nor AIM.  

      If you are referring to exporting the optimized model, then it is possible in AIM. You can set up a parametric study in AIM for different load values and export the geometry. You can record an AIM python script by running a topology optimization parametric study and by using the python file read commands, you can read values from an external txt file and reference them in the parametric study commands of the AIM script.

    • o.massanes
      Subscriber

      Thanks for your answer, will definitely try!

Viewing 4 reply threads
  • You must be logged in to reply to this topic.