|
[Sponsors] |
January 31, 2016, 03:08 |
Script for automatic installation + question
|
#1 |
Member
Tom
Join Date: Oct 2015
Posts: 67
Rep Power: 11 |
hello every body
first i watn to thanks Kumar who wrote this automatic installation for SU2 https://vijaikumar.in/how-to-install...su2-in-ubuntu/ Q: after installing SU2 I tried Quick Start and every thing went well but in in the " invicied supersonic wedge " tutorial when I enter "SU2_DEF inv_wedge_HLLC.cfg" in command line in order to change the mesh from cgns to su2 I get segmentation fault error 1.png add: the SU2_CFD inv_wedge_HLLC.cfg works well so the cgns library is ok then in "optimal shape design of a transonic airfoil" when I enter "shape_optimization.py -f inv_naca0012_basic.cfg" in order to let the python scripts availabe to do optimization automatically the result is 2.png does any one know how to deal with these??? any help would be apriciated |
|
February 2, 2016, 12:41 |
|
#2 |
New Member
Join Date: Dec 2013
Location: Italy
Posts: 29
Rep Power: 13 |
In the first error, it looks like you did not specify the "deformation" parameters. Please check in the configuration file if the following keys are defined
DV_KIND= SCALE DV_MARKER= ( upper, lower, inlet, outlet ) DV_PARAM= ( 1.0 ) DV_VALUE= 1.0 If not add the keys and try to use SU2_DEF. Relative to the second error I had no problems in running the case, but it looks like more an error due to python. Did you manage to run the parallel_computation.py? |
|
February 2, 2016, 23:01 |
|
#3 |
Member
Tom
Join Date: Oct 2015
Posts: 67
Rep Power: 11 |
thanks a lot jiba
the first one worked ( a thought they already add the Design Variable Parameters part in the config file) but in the second one abou the error I posted the problem was with the PATH . I add the following lines and it start to work export SU2_HOME=/home/mgh/SU2v4.0.0 export SU2_RUN=/usr/local/bin export PATH=$PATH:$SU2_RUN (I dont know how to make them permanent, so each time I start a new bash I have to insert them?????) after working (just reading) it again stalk in this error: error.png I check the parallel computation (parallel_computation.py -f inv_wedge_HLLC.cfg -n 2) for the wedge tutorial and it work just fine. any idea on this one?? thanks a lot |
|
February 3, 2016, 05:33 |
|
#4 | |
New Member
Join Date: Dec 2013
Location: Italy
Posts: 29
Rep Power: 13 |
Quote:
|
||
February 3, 2016, 05:37 |
|
#5 |
Member
Tom
Join Date: Oct 2015
Posts: 67
Rep Power: 11 |
thanks man
but what about the mpirun ERROR which I posted? it apear when Im running on one processor??? |
|
February 3, 2016, 05:37 |
|
#6 |
Super Moderator
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11 |
Hi mlooti,
regarding your first problem: Add these lines to ~/.bashrc. For the second one: Look into the log file DESIGNS/DSN_001/DIRECT/log_direct.out |
|
February 3, 2016, 05:51 |
|
#7 |
New Member
Join Date: Dec 2013
Location: Italy
Posts: 29
Rep Power: 13 |
||
February 3, 2016, 05:59 |
|
#8 |
Member
Tom
Join Date: Oct 2015
Posts: 67
Rep Power: 11 |
I use this command which is for 1 processor
$python shape_optimization.py -f inv_NACA0012_basic.cfg even for parallel computation the error shows up ($python shape_optimization.py -f inv_NACA0012_basic.cfg -n 2) this is what is shown on my "DESIGNS/DSN_001/DIRECT/log_direct.out" file log_direct.png and these are values in my config file values.png ?? |
|
February 3, 2016, 06:03 |
|
#9 |
Super Moderator
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11 |
Your version of the test cases (4.1.0) does not match with the version of SU2 (< 4.1.0). Make sure that both are up-to-date.
OPT_BOUND_LOWER and OPT_BOUND_UPPER were introduced with 4.1.0 |
|
February 3, 2016, 06:12 |
|
#10 |
Member
Tom
Join Date: Oct 2015
Posts: 67
Rep Power: 11 |
thanks a lot
yes I have SU2v4.0.0 so now I have to compile the code again |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
Installing OpenFOAM-1.6.x on OpenSUSE 11.2, A question to the developers | Ahmed | OpenFOAM Installation | 0 | December 5, 2009 06:03 |
Perl script for intialisation | pratik mehta | CFX | 2 | September 10, 2008 04:09 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |
Installation problems | shellbell1999 | OpenFOAM Installation | 9 | April 6, 2006 14:29 |