CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

Some bugs in SU2

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 29, 2013, 23:17
Question Some bugs in SU2
  #1
New Member
 
Kun Qu
Join Date: Nov 2010
Posts: 5
Rep Power: 16
quaintchewster is on a distinguished road
1 merge_unsteady.py dosen't support merging steady solution files. When "-b" and "-e" options are not provided, it dosen't merge data files. And this file maybe need a "-o" option.

2 In the manual, page 89, step 3,
"Execute the shape optimization script by entering ”python shape optimization.py -f inv_ONERAM6.cfg -g 1.0” at the command line. Again, note that Python, NumPy, and SciPy are all required to run the script."
Here, "-g 1.0" is not right. It should be "-g ADJOINT" ??



BTW, if I already have a flow solution file. And I want to compute adjoint problem based on the solution, how should I set up SU2_CFD read the flow solution file but solve the adjoint problem from no solution file?

THX
quaintchewster is offline   Reply With Quote

Old   January 30, 2013, 00:26
Default
  #2
Super Moderator
 
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 14
economon is on a distinguished road
Hi,

1. Please try to use the merge_solution.py script for merging steady solution files instead. Note that the merge_unsteady.py script is actually just a wrapper for merge_solution.py that should only be used for a set of flow solutions at successive time steps. Also, the calls to these scripts will all be automated appropriately through use of the parallel_computation.py script for parallel jobs.

2. Thanks for letting us know about this. The shape design scripts were improved for the 2nd release, and some of the inputs changed slightly. Please use the more recently updated online version of this tutorial that can be found here (we will update the manual): http://adl.stanford.edu/docs/display...f+a+Fixed+Wing. Also, remember that you can always view the available options for any of the python scripts by using the "--help" option.

For computing the adjoint, please see the basic steps in the quick start tutorial found here: http://adl.stanford.edu/docs/display...Start+Tutorial. Note that you can use any available flow solution to compute the adjoint simply by making sure you change the file name to "solution_flow.dat" (this is the name by default, but this can be changed in the config file) and by setting the MATH_PROBLEM option in the config file to ADJOINT.
economon is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why can't I download the SU2 installer for win7(x86) sxhqjfl SU2 Installation 18 February 11, 2013 23:44
Why choosing SU2 deltaquattro SU2 6 January 12, 2013 15:27
Welcome to the Stanford University Unstructured (SU2) forum! economon SU2 0 January 7, 2013 03:48
New SU2 Forum Opened at CFD Online pete Site News & Announcements 0 January 5, 2013 18:59
Stanford University Unstructured (SU2) Open-Source Code Released Today praveen Main CFD Forum 1 May 21, 2012 21:52


All times are GMT -4. The time now is 22:25.