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

Issue with Discrete Adjoint solver

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By pcg

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2021, 15:45
Default Issue with Discrete Adjoint solver
  #1
New Member
 
Hareshram
Join Date: Mar 2010
Posts: 4
Rep Power: 16
hareshram.n is on a distinguished road
Hello, I'm trying perform 3D shape optimization of an underwater flow around a turbine.

The Direct problem is run using INC_RANS solver in a rotational frame and converges to an order of 1e-10.

I created an FFD box around one of the blades and use SU2_CFD_AD to perform the DISCRETE_ADJOINT calculation from the converged solution. The code however fails to start and gives the error, "Killed". I have attached the cfg file as well.

I'm not sure what this error means. Any help will be appreciated. Thanks.



Quote:
------------------- Iteration Preprocessing ( Zone 0 ) ------------------
Discrete adjoint Euler/Navier-Stokes/RANS fluid iteration.
Setting dynamic mesh structure for zone 1.
Setting rotating frame grid velocities for zone 0.
Rotational origin (x, y, z): ( 0, 0, 0 )
Angular velocity about x, y, z axes: ( 0, 0, 9.6975 ) rad/s
Direct iteration: Euler/Navier-Stokes/RANS equation.
Euler/Navier-Stokes/RANS fluid iteration.
Info: Ignoring the following screen output fields:
RMS_RES[0], AVG_BGS_RES[0]
Screen output fields: INNER_ITER, RMS_PRESSURE, TORQUE, AVG_CFL
History output group(s): ITER, TIME_DOMAIN, RMS_RES, ROTATING_FRAME, AERO_COEFF, CFL_NUMBER
Convergence field(s): RMS_PRESSURE
Warning: No (valid) fields chosen for time convergence monitoring. Time convergence monitoring inactive.

------------------------------ Begin Solver -----------------------------

Simulation Run using the Single-zone Driver

-------------------------------------------------------------------------

Direct iteration to store the primal computational graph.
Compute residuals to check the convergence of the direct problem.
Killed
Attached Files
File Type: zip config_rotor.zip (4.2 KB, 15 views)
hareshram.n is offline   Reply With Quote

Old   August 17, 2021, 08:02
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 14
pcg is on a distinguished road
You are probably running out of ram. The discrete adjoint can use up to 10 times more than the primal.
If you are using multigrid turn it off for the adjoint.
hareshram.n likes this.
pcg is offline   Reply With Quote

Old   August 17, 2021, 14:55
Default
  #3
New Member
 
Hareshram
Join Date: Mar 2010
Posts: 4
Rep Power: 16
hareshram.n is on a distinguished road
Thanks! That was my issue.
hareshram.n is offline   Reply With Quote

Old   June 21, 2022, 04:23
Default
  #4
New Member
 
Kaan
Join Date: May 2018
Posts: 5
Rep Power: 8
Kaanytk is on a distinguished road
For my experiences, I got this error because memory is not sufficient for discrete adjoint solver.
Kaanytk is offline   Reply With Quote

Reply


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
New obj func in discrete adjoint solver Zhen ZHANG SU2 1 August 2, 2021 00:17
Questions regarding Discrete Adjoint Solver Daaman SU2 1 April 24, 2021 06:25
Discrete adjoint for multi-zone problems pgdelaserna SU2 0 September 18, 2019 05:44
Fluent Adjoint Solver? ex10148 FLUENT 16 September 28, 2018 09:11
Radiation Modeling Using Discrete Ordinates Method and Parallel Solver malicemethods FLUENT 3 May 25, 2018 15:25


All times are GMT -4. The time now is 12:54.