cfd-gcn
cfd-gcn copied to clipboard
Differentiation w.r.t. inlet and outlet pressure
Hi! Thank you for your great work, really like the project!
I have a question regarding the differentiable SU2Module. I noticed it is possible to differentiate w.r.t. the inlet velocity and temperature, however, is it also possible to differentiate w.r.t to the inlet pressure and/or outlet backpressure?
Thanks!
Unfortunately, exposing new variables for differentiation to python/pytorch requires modifying the underlying C++ code for SU2, so that these variables are places on the automatic differentiation tape properly. So in order to make these quantities differentiable, such changes would have to be made.