Replies: 1 comment 1 reply
-
I suspect the reason is that you used a v3 script, which does not support "writeSensMap". Please refer to this v2 script on how to use this feature: dafoam/tests/runTests_DASimpleFoamAD.py Line 46 in 0cf80ff Also, please feel free to create an issue to request the "writeSensMap" feature for DAFoam-v3. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I am trying to print out the total derivatives dFdXs for designVar = FFD, but so far I have not been successful. I am trying the following way. Inside pyDAFoam.py, I got to the point where dFdXs is calculated (inside the function mapdXvTodFFD) and added a json export:
However, this doesn't seem to be working. I traced back to the function where mapdXvToFFD is called, which is solveAdjoint and added printouts as early as in the first line of code to check where is no longer entering the mapdXvToFFD, but none of those printouts was added to the log, so I am wondering when the function solveAdjoint is used, or if there may be other reasons for no printouts?
I also saw that there is a function called writeSurfaceSensitivityMap doing the same, but I also cannot call it for the same reasons.
About my runScript:
"shape": {"designVarType": "FFD"},
Finally, I would like to ask how can we use the bin files of dFdWColoring.bin, how should we read them?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions