Script for automatic installation + question
2 Attachment(s)
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 Attachment 44850 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 Attachment 44851 does any one know how to deal with these??? any help would be apriciated |
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? |
1 Attachment(s)
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: Attachment 44900 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 |
Quote:
|
thanks man
but what about the mpirun ERROR which I posted? it apear when Im running on one processor??? |
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 |
Quote:
|
2 Attachment(s)
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 Attachment 44905 and these are values in my config file Attachment 44906 ?? |
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 |
thanks a lot
yes I have SU2v4.0.0 so now I have to compile the code again :( |
All times are GMT -4. The time now is 23:16. |