-
-
November 16, 2023 at 2:38 pmnoahveenstraSubscriber
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: /forum/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
-
November 17, 2023 at 1:29 pmAniketForum ModeratorAre you running your script on Linux or windows? -Aniket Forum Rules & Guidelines
-
November 17, 2023 at 2:25 pmnoahveenstraSubscriber
Hello Aniket, I am using windows and the optimization algorithm is running externally through Python.
-
-
February 1, 2024 at 1:55 pmnoahveenstraSubscriber
Thanks for your response Chris. I ended up switching the whole analysis to APDL through a script I run in Python. APDL is much better suited to run my analysis and the results can be exported easier.Â
-
February 1, 2024 at 3:39 pmAniketForum Moderator
That is great! if you have an APDL script already you can check out pyMAPDL here PyMAPDL documentation 0.67.0 — PyMAPDL (pyansys.com)
-Aniket
-
-
- The topic ‘Difficulties Automating PSD Response in Workbench’ is closed to new replies.
- Problem with access to session files
- Ayuda con Error: “Unable to access the source: EngineeringData”
- At least one body has been found to have only 1 element in at least 2 directions
- Error when opening saved Workbench project
- Geometric stiffness matrix for solid elements
- How to apply Compression-only Support?
- How to select the interface delamination surface of a laminate?
- Timestep range set for animation export
- Image to file in Mechanical is bugged and does not show text
- SMART crack under fatigue conditions, different crack sizes can’t growth
-
1216
-
543
-
523
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.