-
Notifications
You must be signed in to change notification settings - Fork 45
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
Fluids - Blasius: Some Minor Modifications #1063
Conversation
da246c7
to
73accef
Compare
By the way... Congrats on breaking main! 🎉 We all do it sometimes. (I've lost count of how often I've done it!) It means you are moving the code forward. Thanks for the quick PR to patch things! |
Thanks @jeremylt. Agreed, no shame in getting into this position. I believe the main reason for breakage here is that the mesh mapping ( |
Co-authored-by: Jed Brown <jed@jedbrown.org>
Yes, you are right. Just used the parameters in |
Haha, thanks @jeremylt . Though it seems the main reason was my lack of understanding of the problem setup 😅 |
Oh, maybe this is just because the wall boundary condition is insulated (rather than specified temperature), thus it departs rapidly from the Blasius solution? Could we run it in primitive variables and match the boundary condition? |
Yeah, I'm certainly open to it. We had talked about using an analytic mapping function to handle the warping with |
We use the ideal gas relation that density ~ 1/enthalpy when held at constant pressure.
767c237
to
6b1f51a
Compare
The main flow issue here is that the Blasius solution did not create variable density flow, and that manifested as being a constant temperature solution for inflow. I've fixed that up in my push here. I also notice that |
and close memory leak
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.
This works on Noether with CUDA and HIP so I'll merge it now. Thanks.
Great! Thanks for the fix! |
* main: (63 commits) Fix t568 bug (#1065) ci: patch occa-1.1.0 for spurious sys/sysctl.h t568-operator: fix input order and make test handle nan; skip on broken backends ci: use Noether for CUDA, handle CUDA on Debian CUDA_DIR=/usr examples/petsc: fix missing PetscFunctionBegin Fluids - Blasius: Some Minor Modifications (#1063) ci - newer xsmm for ci Icl/magma ntgemm (#1060) Fluids - fix blasius test Fluids - Some fixes missing from #1039 (#1056) Freed orient's array fluids: Add STATIC and print-% to makefile fluids: Set solution time label for strong stg Fluids - Compressible Blasius boundary layer (#1039) doc: Update fluids state_var option fluids: Switch to StateVar enum JIT: free relative path variable after getting absolute path magma: free memory used in loading jit kernel source fluids: Use newtonian with StateFromQi*_t func pointers fluids: Use StateFromQi* for newt boundary QFs ...
Follow up the comments in #1059.