CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2 > SU2 Shape Design

inequality constraints incompatible in shape_optimization.py (SLSQP exit mode 4)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2018, 15:40
Default inequality constraints incompatible in shape_optimization.py (SLSQP exit mode 4)
  #1
Member
 
tom pratt
Join Date: Jan 2016
Posts: 55
Rep Power: 10
tomp1993 is on a distinguished road
Hi,
I am running a 3D drag reduction optimization using the fixed CL mode as lift constraint (to reduce need for solving lift adjoint every step).
On running the optimization using already converged and validated flow and adjoint restart files, i am returned the message:
Code:
  NIT    FC           OBJFUN            GNORM
    1     1     6.646769E-05     2.307356E+21
Inequality constraints incompatible    (Exit mode 4)
            Current function value: 6.64676882e-05
            Iterations: 1
            Function evaluations: 1
            Gradient evaluations: 1
in the job output file.
I am using FFD_CONTROL_POINT variables for the geometry deformation.
i have commented out the opt_constraint option in the configuration file.
Any ideas as to what might be causing this error would be greatly welcomed!
is this happening as a result of not specifying lift as an optimization constraint?
Many thanks,
Tom
tomp1993 is offline   Reply With Quote

Old   April 1, 2020, 14:42
Default Answer
  #2
New Member
 
Eduardo Pavoni Gamba
Join Date: Apr 2020
Posts: 1
Rep Power: 0
edugmaba is on a distinguished road
Hi, Tom

It's been a while since you have posted it. Do you have any ideia about this problem? I'm also having trouble on this.

I've noticed that my Adjoint Solution didn't converge (Res = 32.68), and I think this may be your problem too. Take a look at the value of your Gnorm, E+21 is not a normal value for that.

Tanks,

Eduardo P. Gamba

Last edited by edugmaba; April 1, 2020 at 15:51.
edugmaba is offline   Reply With Quote

Old   November 25, 2022, 10:27
Default
  #3
New Member
 
Qiulin
Join Date: Feb 2022
Posts: 5
Rep Power: 4
qren3 is on a distinguished road
try to reduce the number of DEFINITION_DV
qren3 is offline   Reply With Quote

Reply

Tags
constraints, fixed cl mode, optimisation, slsqp, su2 adjoint


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Incompatible dimensions for operation ruben23 OpenFOAM Running, Solving & CFD 2 June 12, 2015 05:14
[PyFoam] Problems with the new PyFoam release zfaraday OpenFOAM Community Contributions 13 December 9, 2014 19:58
[PyFoam] having problems with pyfoam Installation vitorspadetoventurin OpenFOAM Community Contributions 3 December 2, 2014 08:18


All times are GMT -4. The time now is 04:00.