.

Non-equilibrium cloud formation

CloudMicrophysics.MicrophysicsNonEqModule
Non-equilibrium bulk microphysics scheme, which includes:
  • condensation and evaporation of cloud liquid water and deposition and sublimation of cloud ice (relaxation to equilibrium)
source
CloudMicrophysics.MicrophysicsNonEq.τ_relaxFunction
τ_relax(liquid)
τ_relax(ice)
  • liquid or ice - a type for cloud liquid water or ice

Returns the relaxation timescale for condensation and evaporation of cloud liquid water or the relaxation timescale for sublimation and deposition of cloud ice.

source
CloudMicrophysics.MicrophysicsNonEq.conv_q_vap_to_q_liq_iceFunction
conv_q_vap_to_q_liq_ice(liquid, q_sat, q)
conv_q_vap_to_q_liq_ice(ice, q_sat, q)
  • liquid or ice - a type for cloud water or ice
  • q_sat - PhasePartition at equilibrium
  • q - current PhasePartition

Returns the cloud water tendency due to condensation and evaporation or cloud ice tendency due to sublimation and vapor deposition. The tendency is obtained assuming a relaxation to equilibrium with a constant timescale.

source

0-moment precipitation microphysics

CloudMicrophysics.Microphysics0MModule
Microphysics0M

Zero-moment bulk microphysics scheme that instantly removes moisture above certain threshold. This is equivalent to instanteneous conversion of cloud condensate into precipitation and precipitation fallout with infinite terminal velocity.

source
CloudMicrophysics.Microphysics0M.remove_precipitationFunction
remove_precipitation(params_0M, q; q_vap_sat)
  • params_0M - a struct with 0-moment parameters
  • q - current PhasePartition
  • q_vap_sat - water vapor specific humidity at saturation

Returns the q_tot tendency due to the removal of precipitation. The tendency is obtained assuming a relaxation with a constant timescale to a state with precipitable water removed. The threshold for when to remove q_tot is defined either by the condensate specific humidity or supersaturation. The thresholds and the relaxation timescale are defined in ClimaParams.

source

1-moment precipitation microphysics

CloudMicrophysics.Microphysics1MModule
One-moment bulk microphysics scheme, which includes:
  • terminal velocity of precipitation
  • autoconversion of cloud liquid water into rain and of cloud ice into snow
  • accretion due to collisions between categories of condensed species
  • evaporation and sublimation of hydrometeors
  • melting of snow into rain
source
CloudMicrophysics.Microphysics1M.get_v0Function
get_v0(v, ρ)
  • v - a struct with bulk 1-moment terminal velocity parameters
  • ρ - air density (only for Rain)

Returns the proportionality coefficient in terminal velocity(r/r0).

source
CloudMicrophysics.Microphysics1M.get_n0Function
get_n0(pdf, q_sno, ρ)
  • pdf - a struct with parameters for snow, ice, and rain size distribution
  • q_sno - snow specific humidity (only for Snow)
  • ρ - air density (only for Snow)

Returns the intercept parameter of the assumed Marshall-Palmer distribution

source
CloudMicrophysics.Microphysics1M.lambdaFunction
lambda(pdf, mass, q, ρ)
  • pdf, mass - structs with particle size distribution and mass parameters
  • q - specific humidity of rain, ice or snow
  • ρ - air density

Returns the rate parameter of the assumed size distribution of particles (rain drops, ice crystals, snow crystals).

source
CloudMicrophysics.Microphysics1M.radar_reflectivityFunction
radar_reflectivity(precip, q, ρ)

- `precip` - struct with rain free parameters
- `q` - specific humidity of rain
- `ρ` - air density

Returns logarithmic radar reflectivity from the assumed rain particle size distribution normalized by the reflectivty of 1 millimiter drop in a volume of one meter cube

source
CloudMicrophysics.Microphysics1M.terminal_velocityFunction
terminal_velocity(precip, vel, ρ, q)
  • precip - a struct with precipitation type (rain or snow)
  • vel - a struct with terminal velocity parameters
  • ρ - air density
  • q - rain or snow specific humidity

Returns the mass weighted average terminal velocity assuming a Marshall-Palmer (1948) distribution of particles. Fall velocity of individual rain drops is parameterized:

  • assuming an empirical power-law relations for velocity == Blk1MVelType
  • following Chen et. al 2022, DOI: 10.1016/j.atmosres.2022.106171, for velocity == Chen2022VelType
source
CloudMicrophysics.Microphysics1M.conv_q_liq_to_q_raiFunction
conv_q_liq_to_q_rai(acnv, q_liq, smooth_transition)
  • acnv - 1M autoconversion parameters
  • q_liq - liquid water specific humidity
  • smooth_transition - a flag to switch on smoothing

Returns the q_rai tendency due to collisions between cloud droplets (autoconversion), parametrized following Kessler (1995).

source
CloudMicrophysics.Microphysics1M.conv_q_ice_to_q_sno_no_supersatFunction
conv_q_ice_to_q_sno_no_supersat(acnv, q_ice, smooth_transition)
  • acnv - 1M autoconversion parameters
  • q_ice - cloud ice specific humidity
  • smooth_transition - a flag to switch on smoothing

Returns the q_sno tendency due to autoconversion from ice. This is a simplified version of a snow autoconversion rate that can be used in simulations where there is no supersaturation (for example in TC.jl when using saturation adjustment).

source
CloudMicrophysics.Microphysics1M.conv_q_ice_to_q_snoFunction
conv_q_ice_to_q_sno(ice, aps, tps, q, ρ, T)
  • ice - a struct with ice parameters
  • aps - a struct with air properties
  • tps - a struct with thermodynamics parameters
  • q - phase partition
  • ρ - air density
  • T - air temperature

Returns the q_sno tendency due to autoconversion from ice. Parameterized following Harrington et al. (1996) and Kaul et al. (2015).

source
CloudMicrophysics.Microphysics1M.accretionFunction
accretion(cloud, precip, vel, ce, q_clo, q_pre, ρ)
  • cloud - type for cloud water or cloud ice
  • precip - type for rain or snow
  • vel - a struct with terminal velocity parameters
  • ce - collision efficiency parameters
  • q_clo - cloud water or cloud ice specific humidity
  • q_pre - rain water or snow specific humidity
  • ρ - rain water or snow specific humidity

Returns the source of precipitating water (rain or snow) due to collisions with cloud water (liquid or ice).

source
CloudMicrophysics.Microphysics1M.accretion_rain_sinkFunction
accretion_rain_sink(rain, ice, vel, ce, q_ice, q_rai, ρ)
  • rain - rain type parameters
  • ice - ice type parameters
  • vel - terminal velocity parameters for rain
  • ce - collision efficiency parameters
  • q_ice - cloud ice specific humidity
  • q_rai - rain water specific humidity
  • ρ - air density

Returns the sink of rain water (partial source of snow) due to collisions with cloud ice.

source
CloudMicrophysics.Microphysics1M.accretion_snow_rainFunction
accretion_snow_rain(ce, type_i, type_j, blk1m_type_i, blk1m_type_j, q_i, q_j, ρ)
  • ce - collision efficiency parameters
  • i - snow for temperatures below freezing or rain for temperatures above freezing
  • j - rain for temperatures below freezing or snow for temperatures above freezing
  • type_i, type_j - a type for snow or rain
  • blk1mveltype_ti, blk1mveltype_tj - 1M terminal velocity parameters
  • q_ - specific humidity of snow or rain
  • ρ - air density

Returns the accretion rate between rain and snow. Collisions between rain and snow result in snow at temperatures below freezing and in rain at temperatures above freezing.

source
CloudMicrophysics.Microphysics1M.evaporation_sublimationFunction
evaporation_sublimation(rain, vel, aps, tps, q, q_rai, ρ, T)
evaporation_sublimation(snow, vel, aps, tps, q, q_sno, ρ, T)
  • rain - a struct with rain parameters
  • snow - a struct with snow parameters
  • vel - a struct with terminal velocity parameters
  • aps - a struct with air parameters
  • tps - a struct with thermodynamics parameters
  • q - phase partition
  • q_rai - rain specific humidity
  • q_sno - snow specific humidity
  • ρ - air density
  • T - air temperature

Returns the tendency due to rain evaporation or snow sublimation.

source
CloudMicrophysics.Microphysics1M.snow_meltFunction
snow_melt(snow, vel, aps, tps, q_sno, ρ, T)
  • snow - snow parameters
  • vel - terminal velocity parameters
  • aps - air properties
  • tps - thermodynamics parameters
  • q_sno - snow water specific humidity
  • ρ - air density
  • T - air temperature

Returns the tendency due to snow melt.

source

2-moment precipitation microphysics

CloudMicrophysics.Microphysics2MModule

Double-moment bulk microphysics parametrizations including:

  • autoconversion, accretion, self-collection, breakup, mean terminal velocity of raindrops and rain evaporation rates from Seifert and Beheng 2006,
  • additional double-moment bulk microphysics autoconversion and accretion rates from: Khairoutdinov and Kogan 2000, Beheng 1994, Tripoli and Cotton 1980, and Liu and Daum 2004.
source
CloudMicrophysics.Microphysics2M.raindrops_limited_varsFunction
raindrops_limited_vars(pdf, q_rai, ρ, N_rai)
  • pdf - a struct with SB2006 size distribution parameters
  • q_rai - rain water specific humidity
  • ρ - air density
  • N_rai raindrops number density

Returns a named tupple containing the mean mass of raindrops, xr, and the rate parameter of the assumed size distribution of raindrops (based on drops diameter), λr, limited within prescribed ranges

source
CloudMicrophysics.Microphysics2M.autoconversionFunction
autoconversion(scheme, q_liq, q_rai, ρ, N_liq)
  • scheme - type for 2-moment rain autoconversion parameterization
  • q_liq - cloud water specific humidity
  • q_rai - rain water specific humidity
  • ρ - air density
  • N_liq - cloud droplet number density

Returns a LiqRaiRates object containing q_liq, N_liq, q_rai, N_rai tendencies due to collisions between cloud droplets (autoconversion) for scheme == SB2006Type

source
CloudMicrophysics.Microphysics2M.accretionFunction
accretion(scheme, q_liq, q_rai, ρ, N_liq)
  • scheme - type for 2-moment accretion parameterization
  • q_liq - cloud water specific humidity
  • q_rai - rain water specific humidity
  • ρ - air density
  • N_liq - cloud droplet number density

Returns a LiqRaiRates object containing q_liq, N_liq, q_rai, N_rai tendencies due to collisions between raindrops and cloud droplets (accretion) for scheme == SB2006Type

source
accretion(accretion_scheme, q_liq, q_rai, ρ)
  • accretion_scheme - type for 2-moment rain accretion parameterization
  • q_liq - cloud water specific humidity
  • q_rai - rain water specific humidity
  • ρ - air density (for KK2000Type and Beheng1994Type)

Returns the accretion rate of rain, parametrized following

  • Khairoutdinov and Kogan (2000) for scheme == KK2000Type
  • Beheng (1994) for scheme == B1994Type
  • Tripoli and Cotton (1980) for scheme == TC1980Type
source
CloudMicrophysics.Microphysics2M.liquid_self_collectionFunction
liquid_self_collection(scheme, q_liq, ρ, dN_liq_dt_au)
  • scheme - type for 2-moment liquid self-collection parameterization
  • q_liq - cloud water specific humidity
  • ρ - air density
  • dN_liq_dt_au - rate of change of cloud droplets number density due to autoconversion

Returns the cloud droplets number density tendency due to collisions of cloud droplets that produce larger cloud droplets (self-collection) for scheme == SB2006Type

source
CloudMicrophysics.Microphysics2M.autoconversion_and_liquid_self_collectionFunction
autoconversion_and_liquid_self_collection(scheme, q_liq, q_rai, ρ, N_liq)
  • scheme - type for 2-moment rain autoconversion parameterization
  • q_liq - cloud water specific humidity
  • q_rai - rain water specific humidity
  • ρ - air density
  • N_liq - cloud droplet number density

Returns a named tupple containing a LiqRaiRates object for the autoconversion rate and the liquid self-collection rate for scheme == SB2006Type

source
CloudMicrophysics.Microphysics2M.rain_self_collectionFunction
rain_self_collection(scheme, q_rai, ρ, N_rai)
  • scheme - type for 2-moment rain self-collection parameterization
  • q_rai - rain water specific humidity
  • ρ - air density
  • N_rai - raindrops number density

Returns the raindrops number density tendency due to collisions of raindrops that produce larger raindrops (self-collection) for scheme == SB2006Type

source
CloudMicrophysics.Microphysics2M.rain_breakupFunction
rain_breakup(scheme, q_rai, ρ, dN_rai_dt_sc)
  • scheme - type for 2-moment liquid self-collection parameterization
  • q_rai - rain water specific humidity
  • ρ - air density
  • N_rai - raindrops number density
  • dN_rai_dt_sc - rate of change of raindrops number density due to self-collection

Returns the raindrops number density tendency due to breakup of raindrops that produce smaller raindrops for scheme == SB2006Type

source
CloudMicrophysics.Microphysics2M.rain_self_collection_and_breakupFunction
rain_self_collection_and_breakup(SB2006, q_rai, ρ, N_rai)
  • SB2006 - a struct with SB2006 parameters for size distribution self collection and breakup
  • q_rai - rain water specific humidity
  • ρ - air density
  • N_rai - raindrops number density

Returns a named tupple containing the raindrops self-collection and breakup rates for scheme == SB2006Type

source
CloudMicrophysics.Microphysics2M.rain_terminal_velocityFunction
rain_terminal_velocity(SB2006, vel, q_rai, ρ, N_rai)
  • SB2006 - a struct with SB2006 rain size distribution parameters
  • vel - a struct with terminal velocity parameters
  • q_rai - rain water specific humidity [kg/kg]
  • ρ - air density [kg/m^3]
  • N_rai - raindrops number density [1/m^3]

Returns a tuple containing the number and mass weigthed mean fall velocities of raindrops in [m/s]. Assuming an exponential size distribution from Seifert and Beheng 2006 for scheme == SB2006Type Fall velocity of individual rain drops is parameterized:

  • assuming an empirical relation similar to Rogers (1993) for velo_scheme == SB2006VelType
  • following Chen et. al 2022, DOI: 10.1016/j.atmosres.2022.106171 for velo_scheme == Chen2022Type
source
CloudMicrophysics.Microphysics2M.rain_evaporationFunction
rain_evaporation(evap, aps, tps, q, q_rai, ρ, N_rai, T)
  • evap - evaporation parameterization scheme
  • aps - air properties
  • tps - thermodynamics parameters
  • q - phase partition
  • q_rai - rain specific humidity
  • ρ - air density
  • N_rai - raindrops number density
  • T - air temperature

Returns a tupple containing the tendency of raindrops number density and rain water specific humidity due to rain rain_evaporation, assuming a power law velocity relation for fall velocity of individual drops and an exponential size distribution, for scheme == SB2006Type

source
CloudMicrophysics.Microphysics2M.radar_reflectivityFunction
radar_reflectivity(struct, q_liq, q_rai, N_liq, N_rai, ρ_air, ρ_w)

- `struct` - type for 2-moment rain autoconversion parameterization
- `q_liq` - cloud water specific humidity 
- `q_rai` - rain water specific humidity
- `N_liq` - cloud droplet number density 
- `N_rai` - rain droplet number density 
- `ρ_air` - air density
- `ρ_w` - water density

Returns logarithmic radar reflectivity from the assumed cloud and rain particle size distribuions normalized by the reflectivty of 1 millimiter drop in a volume of one meter cube

source
CloudMicrophysics.Microphysics2M.effective_radiusFunction
effective_radius(struct, q_liq, q_rai, N_liq, N_rai, ρ_air, ρ_w)

- `struct` - type for 2-moment rain autoconversion parameterization
- `q_liq` - cloud water specific humidity 
- `q_rai` - rain water specific humidity
- `N_liq` - cloud droplet number density 
- `N_rai` - rain droplet number density 
- `ρ_air` - air density
- `ρ_w` - water density

Returns effective radius using the 2-moment scheme cloud and rain particle size distributions

source
CloudMicrophysics.Microphysics2M.effective_radius_Liu_Hallet_97Function
effective_radius_Liu_Hallet_97(q_liq, q_rai, N_liq, N_rai, ρ_air, ρ_w)

- `q_liq` - cloud water specific humidity 
- `q_rai` - rain water specific humidity
- `N_liq` - cloud droplet number density 
- `N_rai` - rain droplet number density 
- `ρ_air` - air density
- `ρ_w` - water density

Returns effective radius using the "1/3" power law from Liu and Hallett (1997)

source
CloudMicrophysics.Microphysics2M.conv_q_liq_to_q_raiFunction
conv_q_liq_to_q_rai(acnv, q_liq, ρ, N_d; smooth_transition)
  • acnv - 2-moment rain autoconversion parameterization
  • q_liq - cloud water specific humidity
  • ρ - air density
  • N_d - prescribed cloud droplet number concentration

Returns the q_rai tendency due to collisions between cloud droplets (autoconversion), parametrized following:

  • Khairoutdinov and Kogan (2000) for scheme == KK2000Type
  • Beheng (1994) for scheme == B1994Type
  • Tripoli and Cotton (1980) for scheme == TC1980Type
  • Liu and Daum (2004) for scheme ==LD2004Type

The Beheng1994Type, TC1980Type and LD2004Type of schemes additionally accept smooth_transition flag that smoothes their thershold behaviour if set to true. The default value is false.

source

Flexible N-moment precipitation microphysics

CloudMicrophysics.MicrophysicsFlexibleModule

Flexible N-moment microphysics representation, including:

  • Generalized collisional-coalescence described by a kernel K(x,y), with

default parameterization based on Long collision kernel

  • Power-series representation of fall-speed
  • Power-series representation of condensational growth

TODO: no representation of ventilation effects TODO: conversion back to Nrai, Nliq, qrai, qliq

source
CloudMicrophysics.MicrophysicsFlexible.coalescenceFunction
coalescence(clinfo)
  • clinfo - kwarg structure containing pdists, moments, and coalescence parameters

TODO: currently implemented only for analytical coalescence style

Returns a vector of moment tendencies due to collisional coalescence

source
CloudMicrophysics.MicrophysicsFlexible.condensationFunction
condensation(clinfo, aps, tps, q, ρ, T)
  • clinfo - kwarg structure containing pdists, moments, and coalescence parameters
  • aps - air properties
  • tps - thermodynamics parameters
  • q - phase partition
  • ρ - air density
  • T - air temperature

Returns a vector of moment tendencies due to condensation/evaporation

source

P3 scheme

CloudMicrophysics.P3SchemeModule

Predicted particle properties scheme (P3) for ice, which includes:

  • threshold solver
  • shape parameters solver
  • m(D) regime
  • a(D) regime

Implementation of Morrison and Milbrandt 2015 doi: 10.1175/JAS-D-14-0065.1

Note: Particle size is defined as its maximum length (i.e. max dimesion).

source
CloudMicrophysics.P3Scheme.thresholdsFunction
thresholds(p3, ρ_r, F_r)
  • p3 - a struct with P3 scheme parameters
  • ρr - rime density (qrim/B_rim) [kg/m^3]
  • Fr - rime mass fraction (qrim/q_i) [-]

Solves the nonlinear system consisting of Dcr, Dgr, ρg, ρd for a given rime density and rime mass fraction. Returns a named tuple containing:

  • D_cr - is the threshold size separating partially rimed ice and graupel [m],
  • D_gr - is the threshold size separating graupel and dense nonspherical ice [m],
  • ρ_g - is the effective density of a spherical graupel particle [kg/m3],
  • ρ_d - is the density of the unrimed portion of the particle [kg/m3],
source
CloudMicrophysics.P3Scheme.distribution_parameter_solverFunction
distrbution_parameter_solver()
  • p3 - a struct with P3 scheme parameters
  • q - mass mixing ratio
  • N - number mixing ratio
  • ρr - rime density (qrim/B_rim) [kg/m^3]
  • Fr - rime mass fraction (qrim/q_i)

Solves the nonlinear system consisting of N_0 and λ for P3 prognostic variables Returns a named tuple containing:

  • N_0 - intercept size distribution parameter [1/m4]
  • λ - slope size distribution parameter [1/m]
source

Aerosol model

CloudMicrophysics.AerosolModelModule
A container for information on aerosol size distribution
and chemical properties.

The size distribution is a sum of lognormal internally mixed modes.
The chemical composition can be expressed using kappa parameter
or hygroscopicity parameter B.
source
CloudMicrophysics.AerosolModel.Mode_BType
Mode_B

Represents the sizes and chemical composition of aerosol particles in one size distribution mode. The mode is assumed to be made up of internally mixed components and follow a lognormal size distribution. The chemical composition of aerosol particles in this mode is described using the parameters from Abdul-Razzak and Ghan 2000.

source
CloudMicrophysics.AerosolModel.Mode_κType
Mode_κ

Represents the sizes and chemical composition of aerosol particles in one size distribution mode. The mode is assumed to be made up of internally mixed components and follow a lognormal size distribution. The chemical composition of aerosol particles in this mode is described using the parameters from Petters and Kreidenweis 2007.

source
CloudMicrophysics.AerosolModel.AerosolDistributionType
AerosolDistribution

Represents the aerosol size distribution as a tuple with different modes. All modes have to either be of type ModeB (Abdul-Razzak and Ghan 2000) or of type Modeκ (Petters and Kreidenweis 2007).

Constructors

AerosolDistribution(Modes::T)
source

Aerosol activation

CloudMicrophysics.AerosolActivationModule
Aerosol activation scheme, which includes:
  • mean hygroscopicity for each mode of the aerosol size distribution
  • critical supersaturation for each mode of the aerosol size distribution
  • maximum supersaturation
  • total number of particles actived
  • total mass of particles actived
source
CloudMicrophysics.AerosolActivation.mean_hygroscopicity_parameterFunction
mean_hygroscopicity_parameter(ap, ad)
  • ap - a struct with aerosol activation parameters
  • ad - a struct with aerosol distribution (B or κ based)

Returns a tuple of hygroscopicity parameters (one tuple element for each aerosol size distribution mode). The tuple is computed either as mass-weighted B parameters (Abdul-Razzak and Ghan 2000) or volume weighted kappa parameters (Petters and Kreidenweis 2007). Implemented via a dispatch based on aerosol distribution mode type.

source
CloudMicrophysics.AerosolActivation.max_supersaturationFunction
max_supersaturation(ap, ad, aip, tps, T, p, w, q)
  • ap - a struct with aerosol activation parameters
  • ad - a struct with aerosol distribution
  • aip - a struct with air parameters
  • tps - a struct with thermodynamics parameters
  • T - air temperature
  • p - air pressure
  • w - vertical velocity
  • q - phase partition

Returns the maximum supersaturation.

source
CloudMicrophysics.AerosolActivation.N_activated_per_modeFunction
N_activated_per_mode(ap, ad, aip, tps, T, p, w, q)
  • ap - a struct with aerosol activation parameters
  • ad - aerosol distribution struct
  • aip - a struct with air parameters
  • tps - a struct with thermodynamics parameters
  • T - air temperature
  • p - air pressure
  • w - vertical velocity
  • q - phase partition

Returns the number of activated aerosol particles in each aerosol size distribution mode.

source
CloudMicrophysics.AerosolActivation.M_activated_per_modeFunction
M_activated_per_mode(ap, ad, aip, tps, T, p, w, q)
  • ap - a struct with aerosol activation parameters
  • ad - a struct with aerosol distribution parameters
  • aip - a struct with air parameters
  • tps - a struct with thermodynamics parameters
  • T - air temperature
  • p - air pressure
  • w - vertical velocity
  • q - phase partition

Returns the mass of activated aerosol particles per mode of the aerosol size distribution.

source
CloudMicrophysics.AerosolActivation.total_N_activatedFunction
total_N_activated(ap, ad, aip, tps, T, p, w, q)
  • ap - a struct with aerosol activation parameters
  • ad - aerosol distribution struct
  • aip - a struct with air properties
  • tps - a struct with thermodynamics parameters
  • T - air temperature
  • p - air pressure
  • w - vertical velocity
  • q - phase partition

Returns the total number of activated aerosol particles.

source
CloudMicrophysics.AerosolActivation.total_M_activatedFunction
total_M_activated(ap, ad, aip, tps, T, p, w, q)
  • ap - a struct with aerosol activation parameters
  • ad - aerosol distribution struct
  • aip - a struct with air properties
  • tps - a struct with thermodynamics parameters
  • T - air temperature
  • p - air pressure
  • w - vertical velocity
  • q - phase partition

Returns the total mass of activated aerosol particles.

source

Heterogeneous ice nucleation

CloudMicrophysics.HetIceNucleation.dust_activated_number_fractionFunction
dust_activated_number_fraction(dust, ip, Si, T)
  • dust - a struct with dust parameters
  • ip - a struct with ice nucleation parameters
  • Si - ice saturation ratio
  • T - air temperature [K]

Returns the number fraction of mineral dust particles acting as deposition nuclei (n ice nuclei / n dust particles). From Mohler et al 2006 Table 2 (averages from different measurements excluding those where a was not measured)

source
CloudMicrophysics.HetIceNucleation.MohlerDepositionRateFunction
MohlerDepositionRate(dust, ip, S_i, T, dSi_dt, N_aer)
  • dust - a struct with dust parameters
  • ip - a struct with ice nucleation parameters
  • Si - ice saturation
  • T - ambient temperature
  • dSi_dt - change in ice saturation over time
  • N_aer - number of unactivated aerosols

Returns the ice nucleation rate from deposition. From Mohler et al 2006 equation 5.

source
CloudMicrophysics.HetIceNucleation.deposition_JFunction
deposition_J(dust, Δa_w)
  • dust - a struct with dust parameters
  • Δa_w - change in water activity [unitless].

Returns the deposition nucleation rate coefficient, J, in m^-2 s^-1 for different minerals in liquid droplets. The free parameters m and c are derived from China et al (2017) see DOI: 10.1002/2016JD025817

source
CloudMicrophysics.HetIceNucleation.ABIFM_JFunction
ABIFM_J(dust, Δa_w)
  • dust - a struct with dust parameters
  • Δa_w - change in water activity [unitless].

Returns the immersion freezing nucleation rate coefficient, J, in m^-2 s^-1 for different minerals in liquid droplets. The free parameters m and c are taken from Knopf & Alpert 2013 see DOI: 10.1039/C3FD00035D

source
CloudMicrophysics.HetIceNucleation.P3_deposition_N_iFunction
P3_deposition_N_i(ip, T)
  • ip - a struct with ice nucleation parameters,
  • T - air temperature [K].

Returns the number of ice nucleated via deposition nucleation with units of m^-3. From Thompson et al 2004 eqn 2 as used in Morrison & Milbrandt 2015.

source
CloudMicrophysics.HetIceNucleation.P3_het_N_iFunction
P3_het_N_i(ip, T, N_l, B, V_l, a, Δt)
  • ip - a struct with ice nucleation parameters,
  • T - air temperature [K],
  • N_l - number of droplets [m^-3],
  • B - water-type dependent parameter [cm^-3 s^-1],
  • V_l - volume of droplets to be frozen [m^3],
  • a - empirical parameter [C^-1],
  • Δt - timestep.

Returns the number of ice nucleated within Δt via heterogeneous freezing with units of m^-3. From Pruppacher & Klett 1997 eqn (9-51) as used in Morrison & Milbrandt 2015.

source
CloudMicrophysics.HetIceNucleation.INP_concentration_frequencyFunction
INP_concentration_frequency(params,INPC,T)
  • params - a struct with INPC(T) distribution parameters
  • INPC - concentration of ice nucleating particles [m^-3]
  • T - air temperature [K]

Returns the relative frequency of a given INP concentration, depending on the temperature. Based on Frostenberg et al., 2023. See DOI: 10.5194/acp-23-10883-2023

source

Homogeneous ice nucleation

CloudMicrophysics.HomIceNucleation.homogeneous_J_cubicFunction
homogeneous_J_cubic(ip, Δa_w)
  • ip - a struct with ice nucleation parameters
  • Δa_w - change in water activity [-].

Returns the homogeneous freezing nucleation rate coefficient, J, in m^-3 s^-1 for sulphuric acid solutions. Parameterization based on Koop 2000, DOI: 10.1038/35020537.

source
CloudMicrophysics.HomIceNucleation.homogeneous_J_linearFunction
homogeneous_J_linear(ip, Δa_w)
  • ip - a struct with ice nucleation parameters
  • Δa_w - change in water activity [-].

Returns the homogeneous freezing nucleation rate coefficient, J, in m^-3 s^-1 for sulphuric acid solutions. Parameterization derived from a linear fit of the Koop 2000 parameterization, DOI: 10.1038/35020537.

source

Common utility functions

CloudMicrophysics.Common.G_funcFunction
G_func(air_props, tps, T, Liquid())
G_func(air_props, tps, T, Ice())
  • air_props - struct with air parameters
  • tps - struct with thermodynamics parameters
  • T - air temperature
  • Liquid(), Ice() - liquid or ice phase to dispatch over.

Utility function combining thermal conductivity and vapor diffusivity effects.

source
CloudMicrophysics.Common.logistic_functionFunction
logistic_function(x, x_0, k)
  • x - independent variable
  • x_0 - threshold value for x
  • k - growth rate of the curve, characterizing steepness of the transition

Returns the value of the logistic function for smooth transitioning at thresholds. This is a normalized curve changing from 0 to 1 while x varies from 0 to Inf (for positive k). For x < 0 the value at x = 0 (zero) is returned. For x_0 = 0 H(x) is returned.

source
CloudMicrophysics.Common.logistic_function_integralFunction
logistic_function_integral(x, x_0, k)
  • x - independent variable
  • x_0 - threshold value for x
  • k - growth rate of the logistic function, characterizing steepness of the transition

Returns the value of the indefinite integral of the logistic function, for smooth transitioning of piecewise linear profiles at thresholds. This curve smoothly transition from y = 0 for 0 < x < x0 to y = x - x0 for x_0 < x.

source
CloudMicrophysics.Common.H2SO4_soln_saturation_vapor_pressureFunction
H2SO4_soln_saturation_vapor_pressure(prs, x, T)
  • prs - a struct with H2SO4 solution free parameters
  • x - wt percent sulphuric acid [unitless]
  • T - air temperature [K].

Returns the saturation vapor pressure above a sulphuric acid solution droplet in Pa. x is, for example, 0.1 if droplets are 10 percent sulphuric acid by weight

source
CloudMicrophysics.Common.a_w_xTFunction
a_w_xT(H2SO4_prs, tps, x, T)
  • H2SO4_prs - a struct with H2SO4 solution free parameters
  • tps - a struct with thermodynamics parameters
  • x - wt percent sulphuric acid [unitless]
  • T - air temperature [K].

Returns water activity of H2SO4 containing droplet. x is, for example, 0.1 if droplets are 10 percent sulphuric acid by weight.

source
CloudMicrophysics.Common.a_w_eTFunction
a_w_eT(tps, e, T)
  • tps - struct with thermodynamics parameters
  • e - partial pressure of water [Pa]
  • T - air temperature [K].

Returns water activity of pure water droplet. Valid when droplet is in equilibrium with surroundings.

source
CloudMicrophysics.Common.Chen2022_vel_addFunction
Chen2022_vel_add(a, b, c, λ, k)
  • a, b, c, - free parameters defined in Chen etl al 2022
  • λ - size distribution parameter
  • k - size distribution moment for which we compute the bulk fall speed

Returns the addends of the bulk fall speed of rain or ice particles following Chen et al 2022 DOI: 10.1016/j.atmosres.2022.106171 in [m/s]. We are assuming exponential size distribution and hence μ=0.

source
CloudMicrophysics.Common.Chen2022_vel_coeffs_smallFunction
Chen2022_vel_coeffs_small(precip_type, velo_scheme, ρ)
  • velo_scheme - type for terminal velocity scheme (contains free parameters)
  • ρ - air density

Returns the coefficients from Appendix B in Chen et al 2022 DOI: 10.1016/j.atmosres.2022.106171

source
CloudMicrophysics.Common.Chen2022_vel_coeffs_largeFunction
Chen2022_vel_coeffs_large(velo_scheme, ρ)
  • velo_scheme - type for terminal velocity scheme (contains free parameters)
  • ρ - air density

Returns the coefficients from Appendix B (table B4 for large particles) in Chen et al 2022 DOI: 10.1016/j.atmosres.2022.106171

source

Parameters

CloudMicrophysics.Parameters.ArizonaTestDustType
ArizonaTestDust{FT}

Parameters for Arizona Test Dust from Mohler et al, 2006. DOI: 10.5194/acp-6-3007-2006

Fields

  • S₀_warm: S₀ for T > T_thr [-]

  • S₀_cold: S₀ for T < T_thr [-]

  • a_warm: a for T > T_thr [-]

  • a_cold: a for T < T_thr [-]

source
CloudMicrophysics.Parameters.DesertDustType
DesertDust{FT}

Parameters for desert dust from Knopf and Alpert 2013 DOI: 10.1039/C3FD00035D and from Mohler et al, 2006 DOI: 10.5194/acp-6-3007-2006

Fields

  • S₀_warm: S₀ for T > T_thr [-]

  • S₀_cold: S₀ for T < T_thr [-]

  • a_warm: a for T > T_thr [-]

  • a_cold: a for T < T_thr [-]

  • ABIFM_m: m coefficient for immersion freezing J [-]

  • ABIFM_c: c coefficient for immersion freezing J [-]

source
CloudMicrophysics.Parameters.IlliteType
Illite{FT}

Parameters for illite from Knopf and Alpert 2013 DOI: 10.1039/C3FD00035D

Fields

  • ABIFM_m: m coefficient for immersion freezing J [-]

  • ABIFM_c: c coefficient for immersion freezing J [-]

source
CloudMicrophysics.Parameters.KaoliniteType
Kaolinite{FT}

Parameters for kaolinite from Knopf and Alpert 2013 DOI: 10.1039/C3FD00035D and China et al 2017 DOI: 10.1002/2016JD025817

Fields

  • deposition_m: m coefficient for deposition nucleation J [-]

  • deposition_c: c coefficient for deposition nucleation J [-]

  • ABIFM_m: m coefficient for immersion freezing J [-]

  • ABIFM_c: c coefficient for immersion freezing J [-]

source
CloudMicrophysics.Parameters.FeldsparType
Feldspar{FT}

Parameters for Feldspar from Alpert et al 2022 DOI: 10.1039/D1EA00077B

Fields

  • deposition_m: m coefficient for deposition nucleation J [-]

  • deposition_c: c coefficient for deposition nucleation J [-]

source
CloudMicrophysics.Parameters.FerrihydriteType
Ferrihydrite{FT}

Parameters for Ferrihydrite from Alpert et al 2022 DOI: 10.1039/D1EA00077B

Fields

  • deposition_m: m coefficient for deposition nucleation J [-]

  • deposition_c: c coefficient for deposition nucleation J [-]

source
CloudMicrophysics.Parameters.SeasaltType
Seasalt{FT}

Parameters for seasalt

Fields

  • M: molar mass [kg/mol]

  • ρ: density [kg/m3]

  • ϕ: osmotic coefficient [-]

  • ν: ion number [-]

  • ϵ: water soluble mass fraction [-]

  • κ: hygroscopicity parameter [-]

source
CloudMicrophysics.Parameters.SulfateType
Sulfate{FT}

Parameters for sulfate aerosol

Fields

  • M: molar mass [kg/mol]

  • ρ: density [kg/m3]

  • ϕ: osmotic coefficient [-]

  • ν: ion number [-]

  • ϵ: water soluble mass fraction [-]

  • κ: hygroscopicity parameter [-]

source
CloudMicrophysics.Parameters.AerosolActivationParametersType
AerosolActivationParameters{FT}

Parameters for Abdul-Razzak and Ghan 2000 aerosol activation scheme DOI: 10.1029/1999JD901161

Fields

  • M_w: molar mass of water [kg/mol]

  • R: gas constant [J/mol/K]

  • ρ_w: cloud water density [kg/m3]

  • σ: surface tension of water [N/m]

  • g: gravitational_acceleration [m/s2]

  • f1: scaling coefficient in Abdul-Razzak and Ghan 2000 [-]

  • f2: scaling coefficient in Abdul-Razzak and Ghan 2000 [-]

  • g1: scaling coefficient in Abdul-Razzak and Ghan 2000 [-]

  • g2: scaling coefficient in Abdul-Razzak and Ghan 2000 [-]

  • p1: power of (zeta / eta) in Abdul-Razzak and Ghan 2000 [-]

  • p2: power of (S_m^2 / (zeta + 3 * eta)) in Abdul-Razzak and Ghan 2000 [-]

source
CloudMicrophysics.Parameters.H2SO4SolutionParametersType
H2SO4SolutionParameters{FT}

Parameters for water activity of H2SO4 solutions from Luo et al 1995. DOI: 10.1029/94GL02988

Fields

  • T_max: max temperature for which the parameterization is valid [K]

  • T_min: min temperature for which the parameterization is valid [K]

  • w_2: coefficient [-]

  • c1: coefficient [-]

  • c2: coefficient [-]

  • c3: coefficient [-]

  • c4: coefficient [-]

  • c5: coefficient [-]

  • c6: coefficient [-]

  • c7: coefficient [-]

source
CloudMicrophysics.Parameters.Mohler2006Type
Mohler2006{FT}

Parameters for ice nucleation from Mohler et al 2006 DOI: 10.5194/acp-6-3007-2006

Fields

  • Sᵢ_max: max allowed supersaturation [-]

  • T_thr: threshold temperature [K]

source
CloudMicrophysics.Parameters.Koop2000Type
Koop2000{FT}

Parameters for ice nucleation from Koop et al 2000 DOI: 10.1038/35020537

Fields

  • Δa_w_min: min Δaw [-]

  • Δa_w_max: max Δaw [-]

  • c₁: coefficient [-]

  • c₂: coefficient [-]

  • c₃: coefficient [-]

  • c₄: coefficient [-]

  • linear_c₁: coefficient [-]

  • linear_c₂: coefficient [-]

source
CloudMicrophysics.Parameters.Parameters0MType
Parameters0M{FT}

Parameters for zero-moment bulk microphysics scheme

Fields

  • τ_precip: precipitation timescale [s]

  • qc_0: specific humidity precipitation threshold [-]

  • S_0: supersaturation precipitation threshold [-]

source
CloudMicrophysics.Parameters.ParticleMassType
ParticleMass{FT}

A struct with coefficients of the assumed mass(size) relationship for particles

m(r) = m0 χm (r/r0)^(me + Δm)

Fields

  • r0: particle length scale [m]

  • m0: mass size relation coefficient [kg]

  • me: mass size relation coefficient [-]

  • Δm: mass size relation coefficient [-]

  • χm: mass size relation coefficient [-]

source
CloudMicrophysics.Parameters.ParticleAreaType
ParticleArea{FT}

A struct with coefficients of the assumed crosssectionarea(size) relationship for particles

a(r) = a0 χa (r/r0)^(ae + Δa)

Fields

  • a0: cross section size relation coefficient [m2]

  • ae: cross section size relation coefficient [-]

  • Δa: cross section size relation coefficient [-]

  • χa: cross section size relation coefficient [-]

source
CloudMicrophysics.Parameters.Acnv1MType
Acnv1M{FT}

A struct with autoconversion parameters

Fields

  • τ: autoconversion timescale [s]

  • q_threshold: specific humidity autoconversion threshold [-]

  • k: threshold smooth transition steepness [-]

source
CloudMicrophysics.Parameters.CloudIceType
CloudIce{FT, MS}

The parameters and type for cloud ice condensate

Fields

  • pdf: a struct with size distribution parameters

  • mass: a struct with mass size relation parameters

  • r0: particle length scale [m]

  • r_ice_snow: ice snow threshold radius [m]

  • τ_relax: deposition sublimation non_equil microphysics relaxation timescale [s]

source
CloudMicrophysics.Parameters.RainType
Rain{FT, MS, AR, VT, AC}

The parameters and type for rain

Fields

  • pdf: a struct with size distribution parameters

  • mass: a struct with mass size relation parameters

  • area: a struct with cross section size relation parameers

  • vent: a struct with ventilation coefficients

  • acnv1M: a struct with cloud water to rain autoconversion parameters

  • r0: particle length scale [m]

source
CloudMicrophysics.Parameters.SnowType
Snow{FT, PD, MS, AR, VT, AC}

The parameters and type for snow

Fields

  • pdf: a struct with size distribution parameters

  • mass: a struct with mass size relation parameters

  • area: a struct with cross section size relation parameers

  • vent: a struct with ventilation coefficients

  • acnv1M: a struct with ice to snow autoconversion parameters

  • r0: particle length scale [m]

  • T_freeze: freezing temperature of water [K]

  • ρᵢ: ice density [kg/m3]

source
CloudMicrophysics.Parameters.CollisionEffType
CollisionEff{FT}

Collision efficiency parameters for the 1-moment scheme

Fields

  • e_liq_rai: cloud liquid-rain collision efficiency [-]

  • e_liq_sno: cloud liquid-snow collision efficiency [-]

  • e_ice_rai: cloud ice-rain collision efficiency [-]

  • e_ice_sno: cloud ice-snow collision efficiency [-]

  • e_rai_sno: rain-snow collision efficiency [-]

source
CloudMicrophysics.Parameters.KK2000Type
KK2000

The type and parameters for 2-moment precipitation formation by Khairoutdinov and Kogan (2000)

DOI:10.1175/1520-0493(2000)128<0229:ANCPPI>2.0.CO;2

Fields

  • acnv: Autoconversion parameters

  • accr: Accretion parameters

source
CloudMicrophysics.Parameters.AcnvKK2000Type
AcnvKK2000

Khairoutdinov and Kogan (2000) autoconversion parameters

Fields

  • A: Autoconversion coefficient A

  • a: Autoconversion coefficient a

  • b: Autoconversion coefficient b

  • c: Autoconversion coefficient c

source
CloudMicrophysics.Parameters.B1994Type
B1994

The type and parameter for 2-moment precipitation formation by Beheng (1994) DOI: 10.1016/0169-8095(94)90020-5

Fields

  • acnv: Autoconversion coeff C

  • accr: Autoconversion coeff a

source
CloudMicrophysics.Parameters.AcnvB1994Type
AcnvB1994

Beheng (1994) autoconversion parameters

Fields

  • C: Autoconversion coeff C

  • a: Autoconversion coeff a

  • b: Autoconversion coeff b

  • c: Autoconversion coeff c

  • N_0: Autoconversion coeff N_0

  • d_low: Autoconversion coeff d_low

  • d_high: Autoconversion coeff d_high

  • k: Threshold for smooth tranistion steepness

source
CloudMicrophysics.Parameters.TC1980Type
TC1980

The type and parameters for 2-moment precipitation formation by Tripoli and Cotton (1980)

DOI: 10.1175/1520-0450(1980)019<1037:ANIOSF>2.0.CO;2

Fields

  • acnv: Autoconversion parameters

  • accr: Accretion parameters

source
CloudMicrophysics.Parameters.AcnvTC1980Type
AcnvTC1980

Tripoli and Cotton (1980) autoconversion parameters

Fields

  • a: Autoconversion coefficient a

  • b: Autoconversion coefficient b

  • D: Autoconversion coefficient D

  • r_0: Autoconversion coefficient r_0

  • me_liq: Autoconversion coefficient me_liq

  • m0_liq_coeff: Autoconversion coefficient m0liqcoeff

  • k: Threshold for smooth tranistion steepness

source
CloudMicrophysics.Parameters.LD2004Type
LD2004

The type and parameters for 2-moment precipitation formation by Liu and Daum (2004)

DOI: 10.1175/1520-0469(2004)061<1539:POTAPI>2.0.CO;2

Fields

  • R_6C_0: Autoconversion coefficient R6C0

  • E_0: Autoconversion coefficient E_0

  • ρ_w: liquid water density [kg/m3]

  • k: Threshold for smooth tranistion steepness

source
CloudMicrophysics.Parameters.VarTimescaleAcnvType
VarTimescaleAcnv

The type for 2-moment precipitation formation based on the 1-moment parameterization with variable time scale Azimi et al (2023)

Fields

  • τ: Timescale [s]

  • α: Powerlaw coefficient [-]

source
CloudMicrophysics.Parameters.SB2006Type
SB2006

The type and parameters for 2-moment precipitation formation by Seifert and Beheng (2006)

DOI: 10.1007/s00703-005-0112-4

Fields

  • pdf: Rain particle size distribution parameters

  • acnv: Autoconversion parameters

  • accr: Accretion parameters

  • self: Rain selfcollection parameters

  • brek: Rain breakup parameters

  • evap: Rain evaporation parameters

source
CloudMicrophysics.Parameters.ParticlePDF_SB2006Type
ParticlePDF_SB2006

Rain size distribution parameters from SB2006

Fields

  • xr_min: Raindrop minimal mass

  • xr_max: Raindrop maximum mass

  • N0_min: Raindrop size distribution coefficient N0 min

  • N0_max: Raindrop size distribution coefficient N0 max

  • λ_min: Raindrop size distribution coefficient lambda min

  • λ_max: Raindrop size distribution coefficient lambda max

  • ρw: Cloud liquid water density [kg/m3]

  • ρ0: Reference air density [kg/m3]

source
CloudMicrophysics.Parameters.AcnvSB2006Type
AcnvSB2006

Autoconversion parameters from SB2006

Fields

  • kcc: Collection kernel coefficient

  • νc: Cloud gamma distribution coefficient

  • x_star: Minimum mass of rain droplets

  • ρ0: Reference air density [kg/m3]

  • A: Autoconversion correcting function coeff A

  • a: Autoconversion correcting function coeff a

  • b: Autoconversion correcting function coeff b

source
CloudMicrophysics.Parameters.AccrSB2006Type
AccrSB2006

Accretion parameters from SB2006

Fields

  • kcr: Collection kernel coefficient Kcr

  • τ0: Accretion correcting function coefficient τ_0

  • ρ0: Reference air density [kg/m3]

  • c: Accretion correcting function coefficient c

source
CloudMicrophysics.Parameters.SelfColSB2006Type
SelfColSB2006

Rain selfcollection parameters from SB2006

Fields

  • krr: Collection kernel coefficient krr

  • κrr: Collection kernel coefficient kappa rr

  • d: Raindrop self collection coefficient d

source
CloudMicrophysics.Parameters.BreakupSB2006Type
BreakupSB2006

Rain breakup parameters from SB2006

Fields

  • Deq: Raindrop equilibrium mean diamater

  • Dr_th: Raindrop breakup mean diamater threshold

  • kbr: Raindrops breakup coefficient kbr

  • κbr: Raindrops breakup coefficient kappa br

source
CloudMicrophysics.Parameters.EvaporationSB2006Type
EvaporationSB2006

Rain evaporation parameters from SB2006

Fields

  • av: Ventillation coefficient a

  • bv: Ventillation coefficient b

  • α: Rain evapoartion coefficient α

  • β: Rain evapoartion coefficient β

  • ρ0: Reference air density [kg/m3]

source
CloudMicrophysics.Parameters.ParametersP3Type
ParametersP3{FT}

Parameters for P3 bulk microphysics scheme from Morrison and Milbrandt 2015 doi: 10.1175/JAS-D-14-0065.1

Fields

  • α_va: Coefficient in mass(size) relation [g/μm^β_va]

  • β_va: Coefficient in mass(size) relation [-]

  • ρ_i: Cloud ice density [kg/m3]

  • ρ_l: Cloud liquid water density [kg/m3]

  • γ: Coefficient in area(size) for ice side plane, column, bullet, and planar polycrystal aggregates from Mitchell 1996 [μm^(2-σ)]

  • σ: Coefficient in area(size) for ice side plane, column, bullet, and planar polycrystal aggregates from Mitchell 1996 [-]

  • a: Coefficient for shape parameter mu for ice. See eq 3 in Morrison and Milbrandt 2015. Units: [m^0.8]

  • b: Coefficient for shape parameter mu for ice. See eq 3 in Morrison and Milbrandt 2015. Units: [-]

  • c: Coefficient for shape parameter mu for ice. See eq 3 in Morrison and Milbrandt 2015. Units: [-]

  • μ_max: Limiter for shape parameter mu for ice. See eq 3 in Morrison and Milbrandt 2015. Units: [-]

source
CloudMicrophysics.Parameters.Blk1MVelTypeRainType
Blk1MVelTypeRain

The type for precipitation terminal velocity from the simple 1-moment scheme for rain

Fields

  • r0: particle length scale [m]

  • ve: rain terminal velocity size relation coefficient [-]

  • Δv: rain terminal velocity size relation coefficient [-]

  • χv: rain terminal velocity size relation coefficient [-]

  • ρw: cloud water density [kg/m3]

  • C_drag: rain drop drag coefficient [-]

  • grav: gravitational acceleration [m/s2]

source
CloudMicrophysics.Parameters.Blk1MVelTypeSnowType
Blk1MVelTypeSnow

The type for precipitation terminal velocity from the simple 1-moment scheme for snow

Fields

  • r0: particle length scale [m]

  • ve: snow terminal velocity size relation coefficient [-]

  • Δv: snow terminal velocity size relation coefficient [-]

  • χv: snow terminal velocity size relation coefficient [-]

  • v0: snow terminal velocity size relation coefficient [m/s]

source
CloudMicrophysics.Parameters.Chen2022VelTypeSnowIceType
Chen2022VelTypeSnowIce

The type for precipitation terminal velocity from Chen et al 2022 for snow and ice. See Table B3 for parameter definitions. DOI: 10.1016/j.atmosres.2022.106171

Fields

  • As

  • Bs

  • Cs

  • Es

  • Fs

  • Gs

  • Al

  • Bl

  • Cl

  • El

  • Fl

  • Gl

  • Hl

  • ρᵢ: density of cloud ice [kg/m3]

source

Precipitation susceptibility

CloudMicrophysics.PrecipitationSusceptibility.precipitation_susceptibility_autoconversionFunction
precipitation_susceptibility_autoconversion(param_set, scheme, q_liq, q_rai, ρ, N_liq)
  • scheme - type for 2-moment rain autoconversion parameterization
  • q_liq - cloud water specific humidity
  • q_rai - rain water specific humidity
  • ρ - air density
  • N_liq - cloud droplet number density

Returns the precipitation susceptibility rates due to autoconversion as a precip_susceptibility_rates object, using automatic differentiation. Works for any 2-moment scheme, as long as autoconversion is defined for it.

source
CloudMicrophysics.PrecipitationSusceptibility.precipitation_susceptibility_accretionFunction
precipitation_susceptibility_accretion(param_set, scheme, q_liq, q_rai, ρ, N_liq)
  • scheme - type for 2-moment rain autoconversion parameterization
  • q_liq - cloud water specific humidity
  • q_rai - rain water specific humidity
  • ρ - air density
  • N_liq - cloud droplet number density

Returns the precipitation susceptibility rates due to accretion as a precip_susceptibility_rates object, using automatic differentiation. Works for any 2-moment scheme, as long as accretion is defined for it.

source