|
[Sponsors] |
June 29, 2019, 13:56 |
Optimization Constraints
|
#1 |
New Member
Drashan Y.N
Join Date: Jun 2019
Posts: 14
Rep Power: 7 |
i Followed all the steps given for ONERA_M6 but at last step it says Execute the shape optimization script by entering $ shape_optimization.py -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 "shape_optimization.py", line 40, in <module> sys.path.append(os.environ['SU2_RUN']) File "C:\Users\dharshan\Anaconda3\lib\os.py", line 678, in __getitem__ raise KeyError(key) from None KeyError: 'SU2_RUN' I used Anaconda Prompt |
|
July 1, 2019, 12:43 |
|
#2 |
Senior Member
Wally Maier
Join Date: Apr 2019
Posts: 123
Rep Power: 7 |
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: https://su2code.github.io/docs/Windows-Installation/ Let us know if update your system path worked. |
|
Tags |
onera m6, optimization parallel, su2 configuration file, su2 error |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ANSYS Optimization failing to update Results component. | harmollo1 | ANSYS | 1 | March 21, 2019 16:30 |
MOGA Direct Optimization | chris15012 | ANSYS | 0 | February 17, 2019 15:55 |
2D Optimization Constraints Not Satisfied | tomp1993 | SU2 Shape Design | 2 | February 24, 2018 14:36 |
Multiple constraints for optimization problem | diwakaranant | SU2 | 1 | August 12, 2014 19:52 |
Geometric Constraints and Gradients for Constrained Wing Optimization | Tommy Chen | SU2 | 5 | January 29, 2014 12:00 |