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

Optimization Constraints

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 29, 2019, 13:56
Default Optimization Constraints
  #1
New Member
 
Drashan Y.N
Join Date: Jun 2019
Posts: 14
Rep Power: 7
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 $ 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
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, 12:43
Default
  #2
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: https://su2code.github.io/docs/Windows-Installation/


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

Reply

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


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 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


All times are GMT -4. The time now is 17:43.