Lift maximization Drag constrained problem.
Hi, I am using version 3.2.3 both SU2 codes and Testcases. Recently I want to do a Lift maximization Drag constrained optimization of a single foil. That means to increase the lift as high as possible, meantime keep the drag under a certain level. So I practiced on the case of TestCases-master/optimization_euler/steady_naca0012 , in which the configuration file was modified as below: Code:
OBJECTIVE_FUNCTION= LIFT Code:
OPT_OBJECTIVE= LIFT * 0.01 Code:
------------------------------ Begin Solver ----------------------------- Any suggestion about this? |
Hi Antoni,
Is the failure that you are seeing occurring after the first step of the optimizer (i.e., after it chooses the first step for the design variables and then perturbs the airfoil shape and mesh)? If so, please check the resulting mesh/solution files after the deformation to see whether or not it has taken a non-physical step. We often find that the shape design process is incredibly sensitive to the scale factors, like you mention adjusting. Typically, we will run the continuous_adjoint.py script and then adjust the scale factors for our design variables such that the gradient (which becomes the first step with the default optimizer) has a magnitude that is reasonable given the mesh units of the current problem, i.e., if the chord of the airfoil is 1, the gradient should be scaled to an order of magnitude or smaller than 1 to give a reasonable first set of deformations. Lastly, you may want to simplify the optimization problem to start and then add more complexity once you are confident that it is working. For instance, you might first remove all constraints and then add them back in one by one (drag, moment, thickness) as you feel confident in the results and understand the particular problem better. Hope this helps, Thomas D. Economon SU2 lead developer |
All times are GMT -4. The time now is 01:29. |