|
[Sponsors] |
Computing wrong adjoint for multizone problems |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 30, 2021, 22:47 |
Computing wrong adjoint for multizone problems
|
#1 |
New Member
Imran bin Ahmad Azhar
Join Date: Nov 2020
Posts: 3
Rep Power: 6 |
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! |
|
January 31, 2021, 04:06 |
|
#2 |
New Member
Imran bin Ahmad Azhar
Join Date: Nov 2020
Posts: 3
Rep Power: 6 |
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.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problems with parallel computing | Jiuan | FLUENT | 8 | April 19, 2017 11:59 |
Adjoint solver for flow problems | jelmer | OpenFOAM Running, Solving & CFD | 11 | March 12, 2017 07:52 |
BuoyantBoussinesqSimpleFoam and axial-symmetric results wrong mass flow | Thomas Baumann | OpenFOAM | 6 | December 21, 2009 11:31 |
Computing aerodynamic coefficients on bidimensional sections in 3D problems | Aragon | FLUENT | 0 | July 22, 2009 05:07 |
parallel computing problems with CPU time | PAco | FLUENT | 2 | December 16, 2005 13:37 |