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

SU2_DOT_AD: Sensitivity x not found in file

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 27, 2020, 12:26
Default SU2_DOT_AD: Sensitivity x not found in file
  #1
Member
 
tom pratt
Join Date: Jan 2016
Posts: 55
Rep Power: 6
tomp1993 is on a distinguished road
Hello All

I have run a flow and adjoint problem with SU2 v7.0 in the same way i used to with v6.2, and both have converged as expected.

When i go to visualise the adjoint solution in paraview, i can only see the variables: adjoint density, adjoint momentum and adjoint energy in the .vtu file.
So, i ran SU2_DOT_AD in the hopes it would output surface_sensitivity.vtu, however all it does is give the output:
Error in "virtual void CPhysicalGeometry::SetSensitivity(CConfig*)":
-------------------------------------------------------------------------
Sensitivity x not found in file.
------------------------------ Error Exit -------------------------------


Is there an option in the config file that somehow switched this off or caused the sensitivities to not be saved? i am using a modified version of config-template-v7.cfg
Thanks!
Tom
tomp1993 is offline   Reply With Quote

Old   May 27, 2020, 18:59
Default
  #2
Member
 
Ole Burghardt
Join Date: Mar 2016
Location: Kiel, Germany
Posts: 49
Rep Power: 6
Sprotte is on a distinguished road
Hi,
SU2_DOT_AD should read in the mesh sensitivities from the adjoint solution file, not from a visualization file. Could you have a look what's in solution_adj_* ?

Unless you didn't touch the volume output option, they should be included...

Best, Ole
Sprotte is offline   Reply With Quote

Old   May 29, 2020, 10:24
Default
  #3
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 7
talbring is on a distinguished road
Hi Tom,

the problem was that the sensitivity was not added by default. Should be solved with version 7.0.5 which was just released.

Best,
Tim
__________________
Developer Director @ SU2 Foundation

Get involved:
talbring is offline   Reply With Quote

Reply

Tags
discrete adjoint, sensitivity, su2 v7, su2_dot, su2_dot_ad

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
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 04:23
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 09:48
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 05:26


All times are GMT -4. The time now is 18:43.