Problem Parameterizing Objective Function in Topology Optimization + Frequency Output
First, I am trying to parameterize the objective function as detailed in https://discuss.ansys.com/discussion/2244/how-to-parameterize-the-objective-weight-using-python-code-object
Here are some screenshots of the code and the Input File for the optimizer.
If I suppress the objective function as stated in the link, the code will not run. Changing the weights in the new detail options does not affect the objective function.
Additionally, I would like to output the 1st natural frequency value from the Topology Optimization so that I can parameterize the output. Without revealing proprietary info, I am doing a senior research project on a genetic algorithm for topology optimization, and I would like to have the ability to input [optimization weights, mass % target, etc.] and output [final mass, max stress, avg. stress, 1st natural frequency] via code and automatic processes. Later I will deal with figuring out how to run 40 individuals/gen on our HPC, but for now, I'd just like to understand how to parameterize the inputs/outputs. Thank you in advance.
Answers
-
Hi Austin! Thanks for your question. Someone in @AKD-Scripting-Team should be able to help
0