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

How to specify a restart file for SU2 during adjoint optimization

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 22, 2022, 19:59
Default How to specify a restart file for SU2 during adjoint optimization
  #1
New Member
 
Vikram Aditya Kumar
Join Date: Jun 2022
Location: Denver, CO
Posts: 2
Rep Power: 0
vikramaditya is on a distinguished road
Hi All,

I'm working on optimizing an aircraft inlet in SU2 that is sensitive to initial conditions in terms of SU2's stability - if the initial solution is not carefully set the solver will sometimes NaN. I have a good grasp of how to initialize a given design in SU2 when just running in analysis mode, but I was wondering if the same could be done for the DIRECT solution step during shape optimization. Is there a way I can point the shape optimizer at an existing SU2 restart file for the DIRECT solution step? Any help would be appreciated on this!

Vikram

Last edited by vikramaditya; June 24, 2022 at 14:15.
vikramaditya is offline   Reply With Quote

Old   June 23, 2022, 00:55
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 14
pcg is on a distinguished road
Hi,
I think you just need the config you use to start the optimization to have restart on, and the initial file to be available.
If you want something more advanced I recommend taking a look here https://su2code.github.io/tutorials/Species_Transport/
pcg is offline   Reply With Quote

Old   June 24, 2022, 14:15
Default
  #3
New Member
 
Vikram Aditya Kumar
Join Date: Jun 2022
Location: Denver, CO
Posts: 2
Rep Power: 0
vikramaditya is on a distinguished road
Hi Pedro,

I tried doing what you said earlier but the first iteration direct solution still has the restart option disabled, and then the optimizer dies during the adjoint process because the restart setting that I put into the optimization cfg file breaks it. It does not look like SU2 is setup for this at this time, though notionally it seems like an easy feature to incorporate.

I will have a look at the Species Transport tutorial and let you know if that helps me with this issue. Thank you for your input.

Vikram
vikramaditya is offline   Reply With Quote

Reply

Tags
direct, initial solution, restart


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
[openSmoke] LaminarSMOKE compilation error mdhfiz OpenFOAM Community Contributions 8 July 2, 2024 11:32
[Other] Tabulated thermophysicalProperties library chriss85 OpenFOAM Community Contributions 62 October 2, 2022 04:50
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 ordinary OpenFOAM Installation 19 September 3, 2019 19:13
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 10:07
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 16:46.