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

Surface sensitivity vector is all zeros

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 25, 2024, 21:05
Default Surface sensitivity vector is all zeros
  #1
New Member
 
Viv Bone
Join Date: Jun 2024
Posts: 15
Rep Power: 2
MaxGains is on a distinguished road
Hello,


I am currently trying to use the adjoint solver to compute the surface sensitivities of a geometry that I have parameterized with an FFD box.
When I run the adjoint solver, I expect SU2 to write values for Sensitivity_x, Sensitivity_y, and Surface_Sensitivity to surface_adjoint.csv, however, I obtain non-zero values ONLY for Surface_Sensitivity.
My adjoint solution converges correctly.

A sample row (with some columns removed) from my surface_adjoint.csv is as follows:
Code:
"PointID","x","y","Sensitivity_x","Sensitivity_y","Surface_Sensitivity"
0, 9.997500181200000e-01, -3.632896519016437e-05,  0.000000000000000e+00, 0.000000000000000e+00, -1.474964799476371e+01
If I understand correctly, Surface_Sensitivity is the dot product of the normal vector at point i with the vector [Sensitivity_x, Sensitivity_y] at point i.
How come I am obtaining zeros for Sensitivity_x and Sensitivity_y?
I have tried repeating this process on the QuickStart example and also have the same problem.


Kind regards.
MaxGains is offline   Reply With Quote

Old   August 27, 2024, 00:59
Default
  #2
New Member
 
Viv Bone
Join Date: Jun 2024
Posts: 15
Rep Power: 2
MaxGains is on a distinguished road
Using the discrete adjoint gives the full sensitivity vector.
Is this the only way to obtain the full vector?


Thanks
MaxGains 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
[Gmsh] gmshToFoam generates patches with 0 faces and 0 points Simurgh OpenFOAM Meshing & Mesh Conversion 4 August 25, 2023 08:58
Surface Sensitivity Vectors Daaman SU2 3 May 12, 2022 03:58
Sensitivity x,y are zeros jannav SU2 Shape Design 0 January 31, 2022 09:29
SU2 7.0.7 Built on CentOS 7, parallel computation pyscript mpi exit error? EternalSeekerX SU2 3 October 9, 2020 19:28
[snappyHexMesh] Add additional boundary layers to complex stl surface tobijingles OpenFOAM Meshing & Mesh Conversion 1 October 26, 2011 11:45


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