|January 29, 2013, 23:17||
Some bugs in SU2
Join Date: Nov 2010
Posts: 5Rep Power: 6
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?
|January 30, 2013, 00:26||
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 260Rep Power: 5
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.
|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 20:52|