Error writing out the sensitivity map #506
-
Hi, I am using DAFoam v3.0.6 and I am interested in writing out the sensitivity map. I know that the v3 script does not allow for this so I use the v2 script. I tested the case for the field inversion for a NACA0018 airfoil (i did runAdjoint) and got a file named totalDerivHist.txt But now, I tried the same for fvSource as a design variable but there seems to be some issue in the function that is being called in pyDAFoam.py that writes out the derivatives here is the error
so it is in this function
why is You can see that the adjoint solver converged in this instant but then when the adjoint solution computation restarted, I could not manage convergence. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
by the way, I want to know how to visualize the senitivity map through paraview? |
Beta Was this translation helpful? Give feedback.
-
@uttamcadambi07 Thanks for reporting. The error you saw was caused by a bug in the code. We have just fixed it. Please check this commit: 767274c. |
Beta Was this translation helpful? Give feedback.
-
@raisePiginYourhome You can visualize the sens map in Paraview by simply selecting the |
Beta Was this translation helpful? Give feedback.
@uttamcadambi07 Thanks for reporting. The error you saw was caused by a bug in the code. We have just fixed it. Please check this commit: 767274c.