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

Implementing Chen 2022 Terminal Velocity Formulas into 2M scheme #144

Merged
merged 2 commits into from
Aug 10, 2023

Conversation

apoorva-thanvantri
Copy link
Contributor

@apoorva-thanvantri apoorva-thanvantri commented Jul 5, 2023

The purpose of this pull request is to add the new terminal velocity formulas for raindrops (and potentially ice particles) from Chen 2022 to the 2 Moment Cloud Microphysics Scheme.

To-do

implement formulas for ice

Content

wrote documentation page! (might need some edits)

initial implementation of formulas - still have questions/concerns on size distribution; need to edit

made plots comparing terminal velocity formulas between chen and seifert and Ogura(1 moment formula)

made unit tests


  • I have read and checked the items on the review checklist.

@codecov
Copy link

codecov bot commented Jul 6, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.08% 🎉

Comparison is base (73f3e73) 97.58% compared to head (b7a161a) 97.67%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #144      +/-   ##
==========================================
+ Coverage   97.58%   97.67%   +0.08%     
==========================================
  Files          12       12              
  Lines         788      818      +30     
==========================================
+ Hits          769      799      +30     
  Misses         19       19              
Files Changed Coverage Δ
src/Parameters.jl 53.84% <ø> (ø)
src/CommonTypes.jl 77.77% <100.00%> (+1.30%) ⬆️
src/Microphysics2M.jl 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

test/Project.toml Outdated Show resolved Hide resolved
@trontrytel
Copy link
Member

trontrytel commented Jul 20, 2023

I left some small comments. I'm wondering about something. If we move the individual velocity to documentation, then mabe the bulk velocity from Chen2022 could just be defined in the 2-moment microphysics module? I think that would make more sense, sonce it can only be used with it, as we are assuming the same size distribution

It would also be great to add some tests

docs/src/API.md Outdated Show resolved Hide resolved
test/chen_unit_tests.jl Outdated Show resolved Hide resolved
@apoorva-thanvantri apoorva-thanvantri changed the title Implementing New Terminal Velocity Formulas from Chen 2022 Implementing Chen 2022 Terminal Velocity Formulas into 2M scheme Aug 1, 2023
bors bot added a commit to CliMA/ClimaParams.jl that referenced this pull request Aug 9, 2023
120: Add terminal velocity params from Chen et al 2022 r=trontrytel a=trontrytel

Needed for CloudMicrophysics.jl PR:CliMA/CloudMicrophysics.jl#144

Co-authored-by: Anna Jaruga <[email protected]>
@trontrytel
Copy link
Member

bors r+

@bors
Copy link
Contributor

bors bot commented Aug 10, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit abec798 into main Aug 10, 2023
8 checks passed
@bors bors bot deleted the at/terminal_velocity_chen branch August 10, 2023 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants