-
Notifications
You must be signed in to change notification settings - Fork 126
Class honeycomb seal (hcomb) #1207
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
Conversation
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1207 +/- ##
==========================================
- Coverage 79.11% 77.18% -1.93%
==========================================
Files 40 41 +1
Lines 11058 11430 +372
==========================================
+ Hits 8748 8822 +74
- Misses 2310 2608 +298
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Enable gas_composition parameter to work seamlessly with or without REFPROP by: - Handling HEOS convergence issues when fitting Sutherland coefficients - Making ccp a required dependency (not optional) to leverage auto-backend selection - Adding comprehensive test coverage for both REFPROP and HEOS backends This ensures users without REFPROP license can still use gas_composition parameter via CoolProp's HEOS backend, while maintaining full backward compatibility.
Similar to test_hcomb.py, add 13 comprehensive tests covering: - Manual parameter tests (always run) - gas_composition tests (both REFPROP and HEOS) - REFPROP vs HEOS comparison tests (REFPROP-only) - Edge cases and error handling - Multiple frequencies support - Coefficient symmetry validation - Backward compatibility Tests verify that gas_composition parameter works seamlessly with or without REFPROP, with differences <0.05% between backends.
Rename class, files, and all references from hcomb/honeycomb to holepattern: - Rename hcomb_seal.py → holepattern_seal.py - Rename test_hcomb.py → test_holepattern.py - Rename HoneycombSeal → HolePatternSeal - Update all imports in __init__.py and rotor_assembly.py - Update all variable names and docstrings - All tests passing (13 passed in 5.40s)
Replace manual thermodynamic parameters (b_suther, s_suther, molar, gamma, r, tz, muz) with gas_composition in docstring examples for both HolePatternSeal and LabyrinthSeal. This promotes the recommended approach and demonstrates the simpler API.
Creating a class for simulating hcomb seals, along with @vitorp0604