-
Notifications
You must be signed in to change notification settings - Fork 4
Build abstraction for computing saturation vapor pressure over mixed phase surfaces #142
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✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Co-authored-by: Mosè Giordano <[email protected]>
|
better tests in a future PR |
| Δcˡ = cᵖᵛ - cˡ | ||
| ``` | ||
|
|
||
| This difference ``\Delta c^l ≈`` $(round(1885 - 4181, digits=1)) J/(kg⋅K) is negative because |
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.
I don't think you can do that in markdown
| This difference ``\Delta c^l ≈`` $(round(1885 - 4181, digits=1)) J/(kg⋅K) is negative because | |
| This difference ``\Delta c^l ≈`` -2296.0 J/(kg⋅K) is negative because |
?
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.
Yeah, this is not doing what you wanted: https://numericalearth.github.io/BreezeDocumentation/previews/PR142/thermodynamics/#Example:-liquid-water-and-ice-parameters. Edit: done in #143 (comment)
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.
yarg sorry
This PR fleshes out our abstractions for computing the saturation vapor pressure. It adds the concept of a "surface" over which the saturation vapor pressure is to be computed, and builds support for
PlanarLiquidSurfacePlanarIceSurfacePlanarMixedPhaseSurfacewithPlanarMixedPhaseSurface.liquid_fractionThis encodes an expectation that we may also want to compute saturation vapor pressure over curved surfaces in the future.
Once we add docs and test for this, we can then start work on mixed phase saturation adjustment, which will use this new feature to compute the saturation specific humidity in a mixed phase situation.