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

Computing wrong adjoint for multizone problems

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 30, 2021, 21:47
Default Computing wrong adjoint for multizone problems
  #1
New Member
 
Imran bin Ahmad Azhar
Join Date: Nov 2020
Posts: 3
Rep Power: 2
ImranAzhar is on a distinguished road
Hi there,

I am currently working on a multizone FSI shape optimization problem of a 2D NACA 2412 airfoil. So basically, my design problem will run without problem only when 1 adjoint of a objective function is computed but when multiple adjoints have to be computed, it fails. In my case, I am setting an objective function (OPT_OBJECTIVE) as DRAG and one of the constraints (OPT_CONSTRAINT) as LIFT > 0.5.

Running the solution, it fails because of the ADJOINT_LIFT solution. Looking through the log_adjoint.out file for the ADJOINT_LIFT solution, it is shown that for zone 0 (fluid), it is computing the drag adjoint instead, but for zone 1 (structure), it is computing the lift adjoint, which is why when the python scripts are trying to find the fsisteady_adj_res_cl_0.csv file it is there is no file for it because there is only fsisteady_adj_res_cd_0.csv. It is also noted that the ADJOINT_DRAG has already been computed at this point and I confirm that it is correct for both zones.

adjointlift0.jpg

liftadjoint1.jpg

mainerror.jpg

Any idea why its computing the wrong adjoint? Is there any possible fix for this, or even so, may I find where within the source code this problem could be arising? I have attached my config files, mesh file and the design solution file below:

https://drive.google.com/drive/folde...QB?usp=sharing

Thank you guys so much in advance, and hope to hear from you soon!
ImranAzhar is offline   Reply With Quote

Old   January 31, 2021, 03:06
Default
  #2
New Member
 
Imran bin Ahmad Azhar
Join Date: Nov 2020
Posts: 3
Rep Power: 2
ImranAzhar is on a distinguished road
Okay, nevermind, I found the solution. I realized I defined OBJECTIVE_FUNCTION = DRAG in the fluid zone which conflicts with the adjoint lift calculations for that zone.
ImranAzhar is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
problems with parallel computing Jiuan FLUENT 8 April 19, 2017 10:59
Adjoint solver for flow problems jelmer OpenFOAM Running, Solving & CFD 11 March 12, 2017 06:52
BuoyantBoussinesqSimpleFoam and axial-symmetric results wrong mass flow Thomas Baumann OpenFOAM 6 December 21, 2009 10:31
Computing aerodynamic coefficients on bidimensional sections in 3D problems Aragon FLUENT 0 July 22, 2009 04:07
parallel computing problems with CPU time PAco FLUENT 2 December 16, 2005 12:37


All times are GMT -4. The time now is 15:29.