Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Differentiation w.r.t. inlet and outlet pressure #5

Open
thomashlvt opened this issue Apr 17, 2021 · 1 comment
Open

Differentiation w.r.t. inlet and outlet pressure #5

thomashlvt opened this issue Apr 17, 2021 · 1 comment

Comments

@thomashlvt
Copy link

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!

@filipeabperes
Copy link
Member

filipeabperes commented Apr 21, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants