-
Notifications
You must be signed in to change notification settings - Fork 853
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
Physics-informed neural networks for data-driven fluid model #2444
base: develop
Are you sure you want to change the base?
Conversation
…f flame front initialization
…cs-informed neural networks
su2double drhode_p = -dPde_rho/dPdrho_e; | ||
su2double dTde_p = dTde_rho + dTdrho_e*drhode_p; | ||
su2double dhde_p = dhde_rho + drhode_p*dhdrho_e; | ||
Cp = dhde_p / dTde_p; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are Cv and Cp local variables? Why are they not preaccumulated? Do you have any adjoint verification cases yet to be playing with preaccumulation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I initially copied the preaccumulation from the Peng-Robinson fluid model. I added some unit tests for fluid model consistency and I'm planning to add some AD unit tests as well.
… to separate structs
…ig accessor functions.
…tructs rather than config accessor functions.
…ations from structs rather than config accessor functions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks your changes look good, but having the Ramp PR here doesn't.
Probably better to wait for @joshkellyjak to finish the Ramp PR and merge it instead of trying to fix it here.
Check the code QL warnings and const& comments in the meantime.
Proposed Changes
The data-driven fluid model in SU2 has been upgraded with the ability to use physics-informed neural networks (PINN's) to compute the fluid thermodynamic state for NICFD flows. This functionality was presented during the 2024 SU2 conference and the issues regarding non-physical behavior have been addressed.
The use of PINN makes the data-driven fluid model substantially more robust and efficient for flow and adjoint simulations of flows of fluids in the non-ideal thermodynamic state.
PINN's can be trained using SU2 DataMiner for any fluid or compatible mixture of fluids available in the CoolProp library. An elaborate tutorial integrating SU2 DataMiner with the data-driven fluid solver in SU2 will follow soon!
Related Work
PR Checklist
Put an X by all that apply. You can fill this out after submitting the PR. If you have any questions, don't hesitate to ask! We want to help. These are a guide for you to know what the reviewers will be looking for in your contribution.
pre-commit run --all
to format old commits.