CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > SU2

Optimization Constraints

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   June 29, 2019, 12:56
Default Optimization Constraints
New Member
Drashan Y.N
Join Date: Jun 2019
Posts: 14
Rep Power: 6
darshangowda046 is on a distinguished road
i Followed all the steps given for ONERA_M6 but at last step it says Execute the shape optimization script by entering $ -g DISCRETE_ADJOINT -f inv_ONERAM6_adv.cfg. But the system says "The system cannot execute the specified program.". Traceback (most recent call last):
File "", line 40, in <module>
File "C:\Users\dharshan\Anaconda3\lib\", line 678, in __getitem__
raise KeyError(key) from None
KeyError: 'SU2_RUN'
I used Anaconda Prompt
Attached Images
File Type: jpg a.JPG (22.8 KB, 8 views)
File Type: jpg 1.JPG (47.8 KB, 8 views)
darshangowda046 is offline   Reply With Quote

Old   July 1, 2019, 11:43
Senior Member
Wally Maier
Join Date: Apr 2019
Posts: 123
Rep Power: 7
wallym is on a distinguished road
Thanks for using SU2.

One thing that may be causing this is that your environment variables aren't set properly. SU2_RUN is simply a path to the SU2_CFD executable. That is my guess of whats happening.

Im sure you have already checked here, but the instructions are here:

Let us know if update your system path worked.
wallym is offline   Reply With Quote


onera m6, optimization parallel, su2 configuration file, su2 error

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
ANSYS Optimization failing to update Results component. harmollo1 ANSYS 1 March 21, 2019 15:30
MOGA Direct Optimization chris15012 ANSYS 0 February 17, 2019 14:55
2D Optimization Constraints Not Satisfied tomp1993 SU2 Shape Design 2 February 24, 2018 13:36
Multiple constraints for optimization problem diwakaranant SU2 1 August 12, 2014 18:52
Geometric Constraints and Gradients for Constrained Wing Optimization Tommy Chen SU2 5 January 29, 2014 11:00

All times are GMT -4. The time now is 21:03.