CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   Some bugs in SU2 (https://www.cfd-online.com/Forums/su2/112492-some-bugs-su2.html)

quaintchewster January 29, 2013 22:17

Some bugs in SU2
 
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

economon January 29, 2013 23:26

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.


All times are GMT -4. The time now is 23:10.