General Mechanical

General Mechanical

Topics relate to Mechanical Enterprise, Motion, Additive Print and more

Difficulties Automating PSD Response in Workbench

    • Noah Veenstra
      Subscriber

      Hello, I am currently working on a project where I am trying to optimize the PSD response of composite panels subject to random vibrations in Workbench 2023 R1 (student version). My optimization algorithm iterates through Modal and Random Vibration simulations to assess optimized characteristics. My first version of this algorithm performed optimization based on increasing the fundamental modal frequency of my plate. For my next version, I want to optimize based on the response PSD data retrieved using that Workbench function. For the modal data, I used the modal_solution.TabularData() scripting command to retrieve the fundamental frequency, which caused no issues. 

      I wanted to do the same thing for the tabular data produced by the response PSD tool, but discovered it is not an option, since this tool is a post-processing probe and no default data is stored. My optimization algorithm runs Ansys in batch mode, so solutions that utilize the Mechanical GUI are not an option. I attempted to use the time-history postprocessor in an APDL command attached to the Random Vibration solution using the APDL script specified in: https://forum.ansys.com/forums/topic/act-getting-result-time-history-2/, but continuously got "The geometry is not available" errors when calling the STORE,PSD or NSOL,2,my_node,U,Z commands. 

      Essentially, what I am looking for is the way to export tabular data from the response PSD tool in Workbench using scripting code or an APDL command. I want to reiterate that I am running 1000+ Ansys Modal-Random Vibration simulations in batch mode, so exporting through the GUI is not an option. 

      Thanks in advance for your support!

      Noah

    • Aniket
      Ansys Employee
      Are you running your script on Linux or windows? -Aniket Forum Rules & Guidelines
      • Noah Veenstra
        Subscriber

        Hello Aniket, I am using windows and the optimization algorithm is running externally through Python.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.