|
[Sponsors] |
March 5, 2018, 05:25 |
SU2 Drag Sensitivities
|
#1 |
New Member
Join Date: Jun 2017
Posts: 19
Rep Power: 9 |
Dear Developpers
I want to use SU2 to just compute the intial drag sensitivities for a full wing body configuration. Is it necessary to create an FFD box? Can I just run the adjoint solver with grid deformation to obtain the sensitivities? Would be happy if some one can provide an initial ,cfg file for the above case. couldn't find one in the tutorials Regards kaus |
|
March 7, 2018, 16:25 |
|
#2 |
Member
Ole Burghardt
Join Date: Mar 2016
Location: Kiel, Germany
Posts: 60
Rep Power: 10 |
In short: It is not necessary. Running the adjoint solver will give you the sensitivities in the sense "Objective function derivative with respect to grid node positions".
You can then use SU2_DOT_AD if you want to incorporate the sensitivities of a mesh deformation. Be careful that these sensitivities are then only accurate with respect to SU2's mesh deformation algorithm, of course. A FFD box is "just" the build-in functionality in SU2 for real optimization steps, it can be done with every other technique/optimizer as well. So no "special" .cfg files are necessary, run the solvers and use the output files (by default, they all contain the word _sens_ somewhere ;-)) Regards, Ole |
|
March 14, 2018, 23:45 |
|
#3 |
New Member
Join Date: Jun 2017
Posts: 19
Rep Power: 9 |
Thanks I still have a question. I have a converged RANS (Direct) solution stored. Can I start my adjoint solver over this ?
what should be the options in the cfg file? I have given % ------------- DIRECT, ADJOINT, AND LINEARIZED PROBLEM DEFINITION ------------% % % Physical governing equations (EULER, NAVIER_STOKES, % WAVE_EQUATION, HEAT_EQUATION, FEM_ELASTICITY, % POISSON_EQUATION) PHYSICAL_PROBLEM= NAVIER_STOKES % % Mathematical problem (DIRECT, CONTINUOUS_ADJOINT) MATH_PROBLEM=CONTINUOUS_ADJOINT % % Restart solution (NO, YES) RESTART_SOL= YES and the restart file name. However the adjoint solver is failing after a few iterations. do not know the reason. regards Kaus |
|
March 16, 2018, 00:36 |
|
#4 |
New Member
Join Date: Jun 2017
Posts: 19
Rep Power: 9 |
Also is the adjoint grid different from the direct grid. One reason for this question is that the adjoint problem is backward in time and hence may require a different grid than the forward. What is surprising is that the forward problem converges without any problem wheras the adjoint problem diverges!
|
|
March 16, 2018, 05:28 |
|
#5 | |
Member
Ole Burghardt
Join Date: Mar 2016
Location: Kiel, Germany
Posts: 60
Rep Power: 10 |
Quote:
However, I'm not familiar with the continous solver - so maybe someone else can help out. What I said in previous post still accounts for both solvers. |
||
March 18, 2018, 22:04 |
|
#6 |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
If I were you, I would try with the discrete adjoint (Automatic Differentiation). Continuous adjoint could be tricky. Remember that RESTART_SOL= YES should be used if you already have a solution for the adjoint.
Best, Francisco |
|
April 11, 2018, 08:07 |
|
#7 |
New Member
Join Date: Jun 2017
Posts: 19
Rep Power: 9 |
Do we have a tutorial for the discrete adjoint solver? I could not find one
|
|
April 24, 2018, 07:27 |
|
#8 |
Super Moderator
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11 |
In this tutorial you find also information on how to switch to the discrete adjoint:
https://su2code.github.io/tutorials/...ined_NACA0012/
__________________
Developer Director @ SU2 Foundation Get involved:
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
wrong SU2 calculation for lift and drag coefficient for NAC4421 | mechy | SU2 | 7 | January 9, 2017 06:18 |
Induced drag, pressure drag, viscous drag. | aleix.de.toro | FLUENT | 2 | August 24, 2015 19:00 |
Diverging sensitivities in SU2. | amitkamboj | SU2 | 7 | February 18, 2015 23:46 |
Drag Calculation in SU2 | andromeda91 | SU2 | 3 | April 24, 2014 05:41 |
best setting for SU2 | mechy | SU2 | 3 | April 20, 2014 20:13 |