|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Ercan Umut
Join Date: Aug 2022
Posts: 64
Rep Power: 4 ![]() |
Hello Everybody,
Iam trying to use Discrete Adjoint method in SU2 for unsteady simulations. After the simulation solves for DSN001/DIRECT, it goes into DSN001/ADJOINT but it starts the adjoint simulation using 3 restart_iter files at once, as shown in below Code:
Simulation Run using the Single-zone Driver The simulation will run for 50 time steps. Loading flow solution from direct iteration 47 for zone 0. Loading flow solution from direct iteration 48 for zone 0. Loading flow solution from direct iteration 49 for zone 0. Code:
Clearing the computational graph. ------------------------------------------------------------------------- Storing computational graph wrt MESH COORDINATES. +-----------------------------------------------------------------------+ | File Writing Summary | Filename | +-----------------------------------------------------------------------+ |SU2 binary restart |restart_adj_pe_00047.dat | | | (311.658 MB/s)| |Paraview |adj_vol_solution_00047.vtu | | | (184.353 MB/s)| |Paraview surface |surface_adjoint_00047.vtu | | | (30.7611 MB/s)| +-----------------------------------------------------------------------+ Setting freestream conditions at direct iteration -1 for zone 0. ------------------------------------------------------------------------- Clearing the computational graph. Error in "void CSolver::SetResidual_RMS(const CGeometry*, const CConfig*)": ------------------------------------------------------------------------- SU2 has diverged (NaN detected). ------------------------------ Error Exit ------------------------------- |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Ercan Umut
Join Date: Aug 2022
Posts: 64
Rep Power: 4 ![]() |
Okay it was my mistake, adjoint simulation starts using 3 files at the first adjoint iteration and goes to the minus iterations for Unsteady Adjoint. My simulation itself was diverging.
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 737
Rep Power: 21 ![]() |
Thank you for letting us know, yes adjoints can be tricky to set up.
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with restart in FSI unsteady simulation | david_mocholi | SU2 | 1 | June 24, 2023 07:06 |
Some problems about DV_VALUE for aerodynamic shape optimization | 948104577 | SU2 | 0 | August 9, 2022 20:12 |
Problem with airfoil shape optimization | robyTKD | SU2 Shape Design | 7 | March 7, 2022 17:18 |
Unsteady problem with volumetric heat source | Jonathan94 | STAR-CCM+ | 1 | July 21, 2018 03:26 |
problems with winglet shape optimization, cannot impose geometrical constrains | lpustin | SU2 | 2 | February 26, 2018 08:02 |