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

Cannot run ONERAM6 optimization correctly

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2018, 10:04
Default Cannot run ONERAM6 optimization correctly
  #1
New Member
 
yonghong
Join Date: Nov 2018
Posts: 3
Rep Power: 2
Kevin_N is on a distinguished road
Hi,

I downloaded the testcase for ONERAM6 optimization including the cfg and mesh file. I used v6.0.0. There is no problem for the Direct and Continuous_adjoint simulation individually. However, when I copy the solution_flow.dat, solution_adj.dat for the optimization work, it diverged at the first iteration.
The message in the log_Adjonit.out says
Sens_Geo Sens_AoA
-nan -nan

and the gredient is all zero

Any ideas what is wrong ? It is the testcase, I didnot change anyting. Any help is appreciated
Kevin_N is offline   Reply With Quote

Old   March 6, 2019, 16:26
Default
  #2
New Member
 
umar
Join Date: Jun 2015
Posts: 4
Rep Power: 5
Mohiumar is on a distinguished road
I am also having the same problem. I am running the cases in windows 10 with su2v6.0 and python 3.7
Mohiumar is offline   Reply With Quote

Old   March 13, 2019, 14:07
Default
  #3
New Member
 
umar
Join Date: Jun 2015
Posts: 4
Rep Power: 5
Mohiumar is on a distinguished road
I am able to run the case after changing the su2 Python files. Problem fixed.
Mohiumar is offline   Reply With Quote

Old   March 15, 2019, 04:28
Default
  #4
New Member
 
yonghong
Join Date: Nov 2018
Posts: 3
Rep Power: 2
Kevin_N is on a distinguished road
Hi Mohiumar

Which su2 Python files did you change? Thanks
Kevin_N is offline   Reply With Quote

Old   March 15, 2019, 08:12
Default
  #5
New Member
 
umar
Join Date: Jun 2015
Posts: 4
Rep Power: 5
Mohiumar is on a distinguished road
Inside windows 10 su2 folder we have folder named su2 which contains number python files. Replace them with su2_py folder files from su2 v6_1 source code
Mohiumar is offline   Reply With Quote

Old   March 15, 2019, 10:04
Default
  #6
New Member
 
umar
Join Date: Jun 2015
Posts: 4
Rep Power: 5
Mohiumar is on a distinguished road
Inside windows 10 su2 folder we have folder named bin which contains number python files. Replace them with su2_py folder files from su2 v6_1 source code.


Python script inside the bin folder contains some error with multiple surface monitoring. You can observe this with your adjoint log file check 'surfaces where the force coefficients are calculated' it takes only upper_side. This causes the sens to become inf. By changing all python scripts in the windows version using the python script files available from su2 v6.1 you will be able to run the onera optimisation.

(There was an error I observed with multiple surface monitor in shape_optimization. Since oneram6 wing named as 3 surfaces upper, lower,tip. If possible change them into single name. No need to change the python scripts in this case)
Mohiumar is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SU2 optimization does not work correctly with CGNS format Andrei SU2 Shape Design 1 April 22, 2016 11:35
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 19:45
Cannot get refineMesh to run in parallel smschnob OpenFOAM Meshing & Mesh Conversion 2 June 3, 2014 12:20
problems in optimization of ONERAM6 mk1989 SU2 Shape Design 1 November 19, 2013 17:38
COMSOL: optimization applied to a laminar flow tdh89 Main CFD Forum 0 April 30, 2012 09:57


All times are GMT -4. The time now is 18:42.