|
| 1 | +# Thermodynamics Interface |
| 2 | + |
| 3 | +The `CloudMicrophysics.jl` library is designed to be flexible and agnostic |
| 4 | + to the specific thermodynamics of the model it is coupled with. |
| 5 | +It requires certain functions and free parameters to be provided by the host model, |
| 6 | + such as, for example, the formula to compute the saturation vapor pressure. |
| 7 | + |
| 8 | +## Assumptions about water categories |
| 9 | + |
| 10 | +The different parameterizations available within the `CloudMicrophysics.jl` library |
| 11 | + do make different assumptions about the partitioning of cloud condensate. |
| 12 | +It is crucial to understand those assumptions when choosing a parameterization |
| 13 | + best suited for your model, and coupling it in a thermodynamics-consistent way. |
| 14 | + - 1-moment scheme splits condensed water into |
| 15 | + cloud liquid `q_lcl`, cloud ice `q_icl`, rain `q_rai` and snow `q_sno`. |
| 16 | + - 2-moment scheme only considers liquid phase and divides the condensed water into |
| 17 | + cloud liquid `q_lcl` and rain `q_rai`. |
| 18 | + - P3 scheme only considers ice phase and has one category for all condensed species `q_ice` |
| 19 | + |
| 20 | +## Additional functions and parameters |
| 21 | + |
| 22 | +Needed by the `CloudMIcrophysics.jl` library: |
| 23 | + - Gas constants for dry air and water vapor |
| 24 | + - Gas constant for moist air |
| 25 | + - Latent heats of vaporization, fusion and sublimation |
| 26 | + - Specific heat capacity under constant pressure for moist air |
| 27 | + - Saturation vapor pressure and supersaturation over liquid and ice |
| 28 | + - Water vapor specific content |
| 29 | + - Specific content from partial pressure and partial pressure from specific content |
| 30 | + |
| 31 | +Needed in tests and examples shown in the documentation |
| 32 | + - Gravitational constant (only used in the adiabatic parcel example) |
| 33 | + - Air density (only used in tests) |
0 commit comments