|
[Sponsors] |
SU2 Version 2.0.3 Released Today (Developer Release) |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Super Moderator
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 13 ![]() |
Dear All,
Just a note that we will be posting another developer release of the code today, version 2.0.3 (su2.stanford.edu). In it, there are some improvements to the solution output routines and the viscous continuous adjoint solver. Some platform dependency issues have also been fixed, among other general bug fixes and improvements. This new release also contains a complete overhaul of the Python scripts used for automating SU2, although their functionality and usage remain essentially the same. One important exception to this is that the specification for shape optimization problems in the config file has changed (more info to come). Thanks to everyone that is working with SU2 and especially to those posting on the forum: you're helping make the community more vibrant, and your feedback is leading directly to improvements in the code. Cheers, Tom |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Greg Power
Join Date: Jan 2013
Posts: 9
Rep Power: 12 ![]() |
Thanks for the continued improvements!
I tried running the original oneram6 case from the TestCases using 2.0.3 exactly as before. I get the following error: Code:
Traceback (most recent call last): File "/lustre/scratch/grjmpower/local/bin/parallel_computation.py", line 109, in <module> main() File "/lustre/scratch/grjmpower/local/bin/parallel_computation.py", line 54, in main options.divide_grid ) File "/lustre/scratch/grjmpower/local/bin/parallel_computation.py", line 74, in parallel_computation state = SU2.io.State() File "/lustre/scratch/grjmpower/local/bin/SU2/io/state.py", line 87, in __init__ super(State,self).__init__(*args,**kwarg) File "/lustre/scratch/grjmpower/local/bin/SU2/util/ordered_bunch.py", line 79, in __init__ super(OrderedBunch,self).__init__(*args,**kwarg) File "/sw/xt/python/2.7.1/sles11.1_gnu4.3.2/lib/python2.7/collections.py", line 74, in __init__ self.update(*args, **kwds) TypeError: update() takes exactly 2 arguments (1 given) Thanks, Greg |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Super Moderator
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 13 ![]() |
Dear Greg,
Thanks for your post. We found a small compatibility issue between Python version 2.6 & some early versions of Python 2.7. We made a small tweak to the python scripts to remedy this. Could you please download v2.0.3 again and give it another try? Tom |
|
![]() |
![]() |
![]() |
![]() |
#4 | |
Member
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 14 ![]() |
Quote:
- Trent % --------------------- OPTIMAL SHAPE DESIGN DEFINITION -----------------------% % Available Objective functions % DRAG, LIFT, SIDEFORCE, PRESSURE, FORCE_X, FORCE_Y, % FORCE_Z, MOMENT_X, MOMENT_Y, MOMENT_Z, EFFICIENCY, % EQUIVALENT_AREA, THRUST, TORQUE % Optimization objective function with optional scaling factor % ex= Objective * Scale OPT_OBJECTIVE= DRAG * 0.001 % Optimization constraint functions with scaling factors, separated by semicolons % ex= (Objective = Value ) * Scale, use '>','<','=' OPT_CONSTRAINT= ( LIFT > 0.328188 ) * 0.001; ( MOMENT_Z > 0.034068 ) * 0.001 |
||
![]() |
![]() |
![]() |
![]() |
#5 | |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 14 ![]() |
Quote:
Hi Trent Thank you so much ! Could you attach a standard configuration file case in this thread that could cover all the available parameters in this 2.0.3 version? In this version 2.0.3, I noticed that the SU2Py folder with the build_SU2.py which would automatically build the components of SU2 in python environment is gone,actually I thought it to be convinient, why is it not in the new version? Besides, none of the rans testcases is a viscous adjoint optmization, could you please add a testcase of rans optimization into the testcase folder. Thanks! Regards Tommy |
||
![]() |
![]() |
![]() |
![]() |
#6 | |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 14 ![]() |
Quote:
I have translated my configuration file into the new syntax as you posted yesterday, however the optmization sill doesn't work well, the error output is attached below. Why is that, what does the error mean , is that due to the link made by the io script?? Thanks and regards Tommy |
||
![]() |
![]() |
![]() |
![]() |
#7 |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 14 ![]() |
It seems that a link to the mesh file is broken so that the script has not found it........
We have to fix it . |
|
![]() |
![]() |
![]() |
![]() |
#8 |
Member
Anant Diwakar
Join Date: Jan 2013
Posts: 68
Rep Power: 12 ![]() |
Dear Tommy
I am getting the same error for rotating airfoil case (shape optimization in euler flow) even after using the modified configuration file. Did you get any fix for this issue ? Thanks Anant |
|
![]() |
![]() |
![]() |
![]() |
#9 |
Member
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 14 ![]() |
Hello,
Yup, it looks like it's have trouble making a link. This is used to run the SU2 suite components in individual folders without copying whole meshes. Would you mind uploading your configuration file? Best, -Trent |
|
![]() |
![]() |
![]() |
![]() |
#10 |
Member
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 14 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#11 | |
Member
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 14 ![]() |
Quote:
build_SU2.py was indeed convenient, but the automake tools are much more flexible and are an industry standard. please refer to the three steps shown here to use these tools. hopefully you'll find them just as convenient. http://adl.stanford.edu/docs/display...on+from+Source |
||
![]() |
![]() |
![]() |
![]() |
#12 |
Member
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 14 ![]() |
hello,
i think i've found the issue, could you please test this for me? replace trunk/SU2_PY/SU2/io/redirect.py with this file - redirect.py.txt sorry for the latency, busy quarter and a paper deadline is approaching... thanks for helping us debug! - trent EDIT - uploaded the wrong file... Last edited by rktchip; April 28, 2013 at 03:35. Reason: uploaded the wrong file... |
|
![]() |
![]() |
![]() |
![]() |
#13 | |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 14 ![]() |
Quote:
Thanks Trent I will try your updated redirect script, let's see whether it would work well |
||
![]() |
![]() |
![]() |
![]() |
#14 | |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 14 ![]() |
Quote:
Hi Trent I have tested the case with the redirect.py script you just oploaded, however it still doesn't work, I recoomend that you have a try in your laptop . The mesh file in the "DESIGNS/DSN_001" folder is broken, so that the python could not find it. The error report is in the attachment. I think the error is due to "File"/home/OPTer/SU2/SU2_v2.0.3_update/TestCases_v2.0.3_Update/RANS_RAE2822_case/test1/SU2/io/redirect.py", line 197, in __enter__make_link(name,new_name) File"/home/OPTer/SU2/SU2_v2.0.3_update/TestCases_v2.0.3_Update/RANS_RAE2822_case/test1/SU2/io/tools.py", line 666, in make_link assert os.path.exists(src) , 'source file does not exist \n%s' % src" Thanks |
||
![]() |
![]() |
![]() |
![]() |
#15 | |
Member
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 14 ![]() |
oops! i uploaded the wrong file. please try this one. (fixed my original post)
Quote:
- trent |
||
![]() |
![]() |
![]() |
![]() |
#16 |
Member
Anant Diwakar
Join Date: Jan 2013
Posts: 68
Rep Power: 12 ![]() |
Dear Trent
I replaced the redirect.py file and tried to run the shape optimization case for rotating naca0012 with SU2 v 2.0.3. But this case is not converging even after 80 design cycles (after which I stopped it), whereas this case used to converge after 17-18 cycles with version 2.0 . Why is this happening ? Have you checked this testcase with SU2 v 2.0.3 ? I am attaching the .cfg file with the post. As mentioned in other post, naca0012 (non rotating) optimization case is working fine with SU2 v.2.0.3 Thanks Anant |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Welcome to the Stanford University Unstructured (SU2) forum! | economon | SU2 | 0 | January 7, 2013 03:48 |
Stanford University Unstructured (SU2) Open-Source Code Released Today | praveen | Main CFD Forum | 1 | May 21, 2012 21:52 |
Stuff that is missing in OpenFOAM 1.7 released today... | wyldckat | OpenFOAM Bugs | 5 | July 14, 2010 06:47 |
What is the final release version of Fluent 6.3? | Paul | FLUENT | 2 | December 8, 2006 09:57 |
Debug and Release version | LiQiang | Main CFD Forum | 1 | March 30, 2005 15:55 |