Clarification Required on the solve_linear Method in DAFoamSolver within DAFOAM Source Code #492
lnhang0618
started this conversation in
General
Replies: 2 comments
-
Your understanding of how the apply_linear function works is correct. This function computes the matrix-vector products for dRdInput^T*d_residual["states"]. However, for the solver_linear function, the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Professor He Ping,
I hope this message finds you well. I have been reviewing the DAFOAM source code and have come across a snippet in the solve_linear method within DAFoamSolver that has left me puzzled.
Here is the portion of the code I am referring to:
I am struggling to comprehend the exact functioning of this part. Based on my understanding of the apply_linear definition, it seems that d_output["aero_states"] should be equivalent to dRdw ^T * d_residual, implying that it represents dw in rev mode . This leads me to question why, in this scenario, dFdW is equated to dw. Is this a correct interpretation, or am I missing something in my understanding?
Beta Was this translation helpful? Give feedback.
All reactions