|
[Sponsors] |
November 13, 2017, 16:28 |
Can`t Setup ONERA optimization case
|
#1 |
Member
MM
Join Date: Aug 2017
Posts: 30
Rep Power: 9 |
Hello All,
I am trying to setup the ONERA optimization case but I am not able to, I tried to use the guide of github but couldn't make it, i can`t run the SU2_DEF inv_ONERAM6_adv.cfg , if anyone could tell me how to make it I'd be very glad. Thanks very much in advance |
|
November 14, 2017, 06:44 |
|
#2 |
Super Moderator
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11 |
Hi,
can you describe the problem that you have ? What exactly is not working ? Tim
__________________
Developer Director @ SU2 Foundation Get involved:
|
|
November 14, 2017, 07:28 |
|
#3 |
Member
MM
Join Date: Aug 2017
Posts: 30
Rep Power: 9 |
Thanks very very much for your reply
Excuse me cause i don`t have good experience in Linux I am having a problem in running the python script in the terminal it`s in both cases , onera and naca0012 2D i have already the numpy and scipy and all required libraries for example when i run the naca0012 case by using "`$ python shape_optimization.py -f inv_NACA0012_basic.cfg'" i have the attached error and also for the onera using this command "SU2_DEF inv_ONERAM6_adv.cfg" i have another error Kindly find attached Thanks very much for your support and concern ) |
|
November 14, 2017, 14:47 |
|
#4 |
New Member
Amir A. Abdelqodus
Join Date: Nov 2017
Posts: 7
Rep Power: 9 |
Have you compiled SU2 with python wrapper?
If this is not the case, follow this: https://github.com/su2code/SU2/wiki/...-Wrapper-Build |
|
November 15, 2017, 05:22 |
|
#5 | |
Super Moderator
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11 |
Quote:
First of all make sure that you have set the environment variables correctly like it is described here: https://github.com/su2code/SU2/wiki/...ment-variables Second, it seems that the version you have try to run with SU2_DEF does not match with the version of the test cases. It may be related to the first issue (maybe your PATH variable points to an older version of SU2, use the command "which SU2_DEF" in the terminal to check that). Tim
__________________
Developer Director @ SU2 Foundation Get involved:
|
||
November 15, 2017, 09:24 |
|
#6 | |
Member
MM
Join Date: Aug 2017
Posts: 30
Rep Power: 9 |
Quote:
Thanks for your reply no i haven`t i tried to use the command and i have this : Mich@MMcAero:~/SU2v4.0.0$ ./configure --prefix=/path/to/install/SU2 CXXFLAGS="-O3" --enable-mpi ./configure: line 2032: config.log: Permission denied ./configure: line 2042: config.log: Permission denied Mich@MMcAero:~/SU2v4.0.0$ --with-cc=/path/to/mpicc --with-cxx=/path/to/mpicxx --enable-PY_WRAPPER bash: --with-cc=/path/to/mpicc: No such file or directory What shall i do ? |
||
November 15, 2017, 09:29 |
|
#7 | |
Member
MM
Join Date: Aug 2017
Posts: 30
Rep Power: 9 |
Quote:
it`s true that i am using SU2 v4 since i am not able to install v5 for parallel computations unti now i followed your advice but found that i shoul add '' export SU2_RUN="your/prefix/bin" export SU2_HOME="/path/to/SU2" export PATH=$PATH:$SU2_RUN to ~/.bashrc file which i cant` find it , where should i find it ? thanks again for your reply and concern |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Copy solution setup and Boundary Conditions from a case file | nonstopthinker | FLUENT | 1 | October 6, 2016 01:50 |
folded mesh in shape optimization of ONERA M6 shock bumps | uyuig0 | SU2 Shape Design | 0 | August 2, 2016 06:57 |
ONERA C1 test case | CFD Student | Main CFD Forum | 0 | June 30, 2007 08:31 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |
Unsteady state case setup | Christian | FLUENT | 2 | February 16, 2003 18:11 |