cfd-gcn icon indicating copy to clipboard operation
cfd-gcn copied to clipboard

Differentiation w.r.t. inlet and outlet pressure

Open thomashlvt opened this issue 4 years ago • 1 comments

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!

thomashlvt avatar Apr 17 '21 23:04 thomashlvt

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.

filipeabperes avatar Apr 21 '21 06:04 filipeabperes