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

Add FallVelocity attribute and RelaxedVelocity dynamic (and tests) #1105

Merged
merged 111 commits into from
Jul 27, 2023

Conversation

bradybhalla
Copy link
Collaborator

Allows droplets to have a memory of their current velocity and tend towards their terminal velocity over a relaxation timescale. Adds a parameter for existing dynamics to use this attribute instead of terminal velocity. Also includes unit tests for the attribute, dynamic, and initialisation function.

This will allow simulation of super-terminal and sub-terminal droplets as discussed in this paper.

With help from @edejong-caltech.

remove unused import
add relaxed velocity option to Gravitational, Geometric, and Parameterized collision kernels
@slayoo
Copy link
Member

slayoo commented Jul 27, 2023

trying if closing and reopening would sort out README.md changes from other PR popping up here?

@slayoo slayoo closed this Jul 27, 2023
@slayoo slayoo reopened this Jul 27, 2023
slayoo
slayoo previously approved these changes Jul 27, 2023
@slayoo
Copy link
Member

slayoo commented Jul 27, 2023

@bradybhalla I've just committed a few cosmetic changes - please have a look and confirm it that is all OK, and let's merge!
Big thanks for this contribution!

@bradybhalla
Copy link
Collaborator Author

It looks great to me! Thank you for all your help getting the code ready to merge!

@slayoo
Copy link
Member

slayoo commented Jul 27, 2023

Just added one more unit test (checking if a warning is issued by request_attribute).
After CI will be green, I'll merge and make a new release.
Thanks!

@slayoo slayoo added this pull request to the merge queue Jul 27, 2023
Merged via the queue into open-atmos:main with commit 94d2c01 Jul 27, 2023
82 checks passed
@bradybhalla bradybhalla deleted the bb/relaxed-velocity branch July 27, 2023 22:16
slayoo added a commit to mikhailmints/PySDM that referenced this pull request Aug 17, 2023
open-atmos#1105)

Co-authored-by: Sylwester Arabas <sylwester.arabas@agh.edu.pl>
Co-authored-by: Sylwester Arabas <sylwester.arabas@uj.edu.pl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants