How to create a custom objective function in Optistruct

Shalmi Gurunathan
Shalmi Gurunathan Altair Community Member
edited April 17 in Community Q&A

Hi, I am currently trying to perform topology optimisation to create a morphing wing. Basically I want to morph one airfoil into another. My objective function is to get the distances between the coordinates of the initial and final airfoils, and minimise that distance. So that over each iteration, the distance gets smaller, and the initial airfoil gets closer to the final one. I already have an equation for the objective function, which is something in the form of a polynomial in (x,y) where x and y are coordinates of the airfoil. I want to create a custom objective function in optistruct to do this optimisation. Is there any way to do so? Or are there any existing responses that can be used to model this?

Answers