|
[Sponsors] |
How to specify a restart file for SU2 during adjoint optimization |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 22, 2022, 19:59 |
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 |
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. |
|
June 23, 2022, 00:55 |
|
#2 |
Senior Member
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 14 |
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/ |
|
June 24, 2022, 14:15 |
|
#3 |
New Member
Vikram Aditya Kumar
Join Date: Jun 2022
Location: Denver, CO
Posts: 2
Rep Power: 0 |
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 |
|
Tags |
direct, initial solution, restart |
|
|
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 |