|
[Sponsors] |
SU2 Version 2.0.3 Released Today (Developer Release) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 18, 2013, 15:04 |
SU2 Version 2.0.3 Released Today (Developer Release)
|
#1 |
Super Moderator
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 14 |
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 |
|
April 19, 2013, 09:04 |
|
#2 |
New Member
Greg Power
Join Date: Jan 2013
Posts: 9
Rep Power: 13 |
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 |
|
April 19, 2013, 17:11 |
|
#3 |
Super Moderator
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 14 |
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 |
|
April 19, 2013, 22:07 |
2.0.3 optimization setup
|
#4 | |
Member
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 15 |
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 |
||
April 19, 2013, 22:21 |
|
#5 | |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15 |
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 |
||
April 20, 2013, 11:24 |
|
#6 | |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15 |
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 |
||
April 20, 2013, 11:26 |
|
#7 |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15 |
It seems that a link to the mesh file is broken so that the script has not found it........
We have to fix it . |
|
April 22, 2013, 06:21 |
|
#8 |
Member
Anant Diwakar
Join Date: Jan 2013
Posts: 68
Rep Power: 13 |
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 |
|
April 22, 2013, 13:00 |
|
#9 |
Member
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 15 |
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 |
|
April 22, 2013, 13:08 |
|
#10 |
Member
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 15 |
||
April 22, 2013, 13:16 |
build_SU2.py -> automake
|
#11 | |
Member
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 15 |
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 |
||
April 25, 2013, 14:22 |
su2 optimization
|
#12 |
Member
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 15 |
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... |
|
April 25, 2013, 22:42 |
|
#13 | |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15 |
Quote:
Thanks Trent I will try your updated redirect script, let's see whether it would work well |
||
April 25, 2013, 23:13 |
|
#14 | |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15 |
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 |
||
April 28, 2013, 03:38 |
|
#15 | |
Member
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 15 |
oops! i uploaded the wrong file. please try this one. (fixed my original post)
Quote:
- trent |
||
May 8, 2013, 08:03 |
|
#16 |
Member
Anant Diwakar
Join Date: Jan 2013
Posts: 68
Rep Power: 13 |
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 |
|
|
|
Similar Threads | ||||
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 |