Some questions about solving gradients #687
Replies: 3 comments 2 replies
-
I have read your previous replies to others. Do you have any cases related to flow field inversion |
Beta Was this translation helpful? Give feedback.
-
There is no automatic way to do FD for field inversion because there are so many inputs. What you can do is to manually perturb one beta value in the runScript.py file and run the primal to get the FD derivative. Check where you prescribe the initial values for beta in the runScript.py file. You can prescribe some perturbed beta values there. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/DAFoam/tutorials/blob/607a4f7738d067dd0921eecd4a96750c69443811/Ramp/steady/train/runScript_FI.py#L201 |
Beta Was this translation helpful? Give feedback.
-
May I use the finite difference method to calculate the gradient and validate the adjoint method? How should I operate?
Beta Was this translation helpful? Give feedback.
All reactions