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

Continuous Adjoint computation with two separate walls

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2022, 07:05
Default Continuous Adjoint computation with two separate walls
  #1
New Member
 
Join Date: Feb 2018
Posts: 27
Rep Power: 8
CarlosLozano is on a distinguished road
Hi,
I am reproducing the nozzle test case but with inviscid flow and the complete nozzle geometry (i.e., adding also a lower wall). I have two separate markers for the upper and lower walls (UWALL and DWALL, resp), and when I compute the drag adjoint solution it only obeys the adj bc
(psi2,psi3).(nx,ny) = (cos aoa,sin aoa).(nx,ny) on the upper wall. On the lower wall it obeys (psi2,psi3).(nx,ny) =0. I am using v5 (yes, I know....). Any clues?

In the .su2 file I have
.
.
.
NMARK= 4
MARKER_TAG= DWALL
MARKER_ELEMS= 943
3 0 1
3 1 2
.
.
.
3 941 942
3 942 943
MARKER_TAG= OUTFLOW
MARKER_ELEMS= 200
3 943 1887
3 1887 2831
.
.
.
3 187855 188799
3 188799 189743
MARKER_TAG= UWALL
MARKER_ELEMS= 943
3 189743 189742
3 189742 189741
.
.
.
3 188802 188801
3 188801 188800
MARKER_TAG= INFLOW
MARKER_ELEMS= 200
3 188800 187856
3 187856 186912
.
.
.

In the .cfg file I have

% ---------------- BOUNDARY CONDITION DEFINITION -------------------%
%
% Marker of the Euler boundary (0 = no marker)
MARKER_EULER= ( UWALL, DWALL )
%
% Marker of the far field (0 = no marker)
MARKER_FAR= ( INFLOW,OUTFLOW )
%
% Marker of the surface which is going to be plotted or designed
MARKER_PLOTTING= ( UWALL, DWALL )
%
% Marker of the surface where the functional (Cd, Cl, etc.) will be evaluated
MARKER_MONITORING= ( UWALL, DWALL )
%

(Yes, I am using far-field type inlt/outlet since in v5 inflow and outflow for adjoint are not defined). Shouldn't make much of a difference for the problem at hand).

Thanks in advance!
CarlosLozano is offline   Reply With Quote

Old   November 2, 2022, 07:48
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 504
Rep Power: 17
bigfootedrockmidget is on a distinguished road
Quote:
Originally Posted by CarlosLozano View Post
I am using v5
...... why?
bigfootedrockmidget is offline   Reply With Quote

Old   November 2, 2022, 07:54
Default
  #3
New Member
 
Join Date: Feb 2018
Posts: 27
Rep Power: 8
CarlosLozano is on a distinguished road
Short answer: the cluster i work with has a very old SO version and v6 and higher do not compile properly. I am not the admin, so there's little i can do. Besides, v5 works fine for me and i am not sure that v6 and higher have brought much improvement for the continuous adjoint solver.
CarlosLozano is offline   Reply With Quote

Old   November 2, 2022, 08:23
Default
  #4
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 504
Rep Power: 17
bigfootedrockmidget is on a distinguished road
It will be impossible to help you with this. I think it is better if you try to recompile the latest su2, and we can then support you with the compilation difficulties. When the problem with continuous adjoints that you are now reporting still exists, we can then dive into the latest code and try to fix it.



Also note that system admins are there to make sure that the cluster is working properly for its users.
bigfootedrockmidget is offline   Reply With Quote

Old   November 2, 2022, 08:29
Default
  #5
New Member
 
Join Date: Feb 2018
Posts: 27
Rep Power: 8
CarlosLozano is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
It will be impossible to help you with this. I think it is better if you try to recompile the latest su2, and we can then support you with the compilation difficulties. When the problem with continuous adjoints that you are now reporting still exists, we can then dive into the latest code and try to fix it.



Also note that system admins are there to make sure that the cluster is working properly for its users.

Ok, thanks
CarlosLozano 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
Continuous Adjoint - Linear solver diverged pedropcb13 SU2 0 August 6, 2021 17:34
Discrete Adjoint Euler Computation doan.nak SU2 2 June 6, 2014 04:01
Inaccurate gradient results from continuous Adjoint method Yminjo SU2 1 January 11, 2014 22:08
adjoint method- uniformity Envolly OpenFOAM Programming & Development 8 July 9, 2013 01:29
Question about Continuous Adjoint Method fumiya Main CFD Forum 6 November 1, 2011 10:09


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