-
Notifications
You must be signed in to change notification settings - Fork 37
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
homogeneous nucleation of liquid droplets & expansion chamber example #1492
base: main
Are you sure you want to change the base?
Conversation
…mimic the princeton expansion chamber
… match Fig 4 in the manuscript
…some entries currently failing.
… archive.org); mention both urls in the code
55e53f0
to
3b607ca
Compare
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.
@slayoo I modeled this after the parcel.py
file, but trying to change such that things are defined in terms of the pressure profile (dp_dt
), not the vertical velocity (w
) and altitude profile (dz_dt
). I retain the ideal gas assumption but remove the hydrostatic assumption. I'd appreciate if you can look at this and see if it's sensible. I wasn't sure if it's better to specify the fixed chamber volume and then probably I need to add in the computation of mass_of_dry_air
rather than the opposite way how it's done for the parcel. I also currently have it hard coded with an initial and final pressure (p0
and pf
) and final time (tf
) with an assumed linear profile, but maybe we want to let the user specify a dp_dt
functional form instead?
@AgnieszkaZaba @slayoo - Any status update on the super class |
Copy/pasting the notes @slayoo added from our conversation with @AgnieszkaZaba this morning.
ExpansionChamber
environment (featuring perfect gas expansion, but not featuring hydrostatics) instead of usingParcel
would help in making the code readableInjection
(orNewParticle
,NewParticleFormation
,SuperParticleCreation
?) base-class could be best to derive from two dynamics:Seeding
andHomogeneousLiquidNucleation
The expansion chamber example is aimed to mimic the laboratory experiments described here: https://arxiv.org/abs/2501.01467