How the partial derivatives R/w, f/w, R/x and f/x are computed? #296
Replies: 1 comment
-
To the best of my knowledge, the partial derivatives (the Jacobians) are computed by automatic differentiation. The maintainer of this repository (friedenhe) wrote an article about the algorithm implemented in DAFoam: |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
I have a very basic question in which I have stranded. we know that for finding the partial derivatives or simple derivatives, we need to have two initial and final values of the parameters involved. For an instance, if we need to find out the partial derivatives of R/w, f/w, R/x and f/x by using finite difference method then we need to have R1, R2, w1,w2 , x1, x2, f1 and f2. (f is objective function).
As we are computing the flow only once, and are not even perturbing the design variables x then how we gonna compute the partial derivatives i.e. partial f/x. , partial R/x.
Moreover, as flow is computed only once then how flow variables are varying so that we could find the partial derivatives R/w (change in R with respect to change in w). and so on.
Please guide me about it,
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions