-
Notifications
You must be signed in to change notification settings - Fork 22
fix: missing (1+qv) factor in calculation of derivative of rho_d when… #614
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
base: main
Are you sure you want to change the base?
Conversation
… accounting for water vapour rho_d(z) = rho(z) / (1 + qv(z)) therefore drho_d/dz = drho/dz / (1+ qv) - dqv/dz / (1 + qv)^2 _not_ drho_d/dz = drho/dz / (1+ qv) - dqv/dz / (1 + qv)
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #614 +/- ##
=======================================
Coverage 92.69% 92.69%
=======================================
Files 39 39
Lines 1697 1697
=======================================
Hits 1573 1573
Misses 124 124 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Stale pull request message |
|
@slayoo did this ever get merged? Also in PySDM? |
|
@yoctoyotta1024 Maybe we can do similar test to this: https://github.com/open-atmos/PySDM/blob/main/tests/smoke_tests/kinematic_1d/shipway_and_hill_2012/test_initial_condition.py - |
|
@AgnieszkaZaba Ah yes nice spot thank you, I had forgotten about this 😅 |
… accounting for water vapour
rho_d(z) = rho(z) / (1 + qv(z))
therefore drho_d/dz = drho/dz / (1+ qv) - dqv/dz / (1 + qv)^2
not(!) drho_d/dz = drho/dz / (1+ qv) - dqv/dz / (1 + qv)