Settings
Structs that configure a run: coalescence/condensation parameters and binning settings.
Droplets.coag_settings — Type
coag_settings{FT<:AbstractFloat}A struct representing the settings for coalescence.
Fields
FT: AbstractFloat.Δt: The time step for the coalescence simulation.ΔV: The volume of the coalescence domain.Ns: The number of superdroplets.R_min: The minimum radius of sampled droplets, used in some initializations. Radius in metersR_max: The maximum radius of sampled droplets, used in some initializations. Radius in meters.golovin_kernel_coeff: The Golovin kernel coefficient, 1/seconds.hydrodynamic_collision_eff_func: A boolean indicating whether to use the hydrodynamic collision efficiency function. Currently not implemented.kernel: The kernel function used for coalescence. Implemented options aregolovinorhydrodynamic, can take any user implemented function with input type (::dropletattributes, pairindex::Tuple{Int,Int}, ::coagsettings{FT}).n0: The initial real world droplet concentration.R0: The initial seed radius of the droplets.
Droplets.dynamic_settings — Type
dynamic_settings
Settings for the SCM, including timestep, number of substeps for condensation/coagulation/radiation,
and which dynamics are on/off.Droplets.scm_settings — Type
scm_settings
Top-level bundle of the settings structs needed to run the single-column model
(coalescence, condensation, turbulence, MPDATA advection, spatial grid), plus the
run-level scalars that don't belong to any one process: RNG seed, coalescence
threading/substep scheme, global timestep, condensation/coalescence/radiation
substep counts, and spin-up duration.Droplets.run_settings — Type
struct run_settings{FT<:AbstractFloat}A struct representing the run settings for the binning process.
Fields:
FT: The type of floating-point numbers used in the run settings.num_bins: The number of bins to use for binning output(default: 128).radius_bins_edges: The edges of the bins for the radius (default: logarithmic scale from 10e-6 to 5e3e-6).smooth: A boolean indicating whether to apply smoothing to the bins (default: true).smooth_scope: The scope of smoothing (default: 2).init_random_seed: The random seed for initialization (default: 30).coag_threading: The threading method for coalescence (default: Serial).- Serial() or Parallel()
scheme: The scheme to use for coalescence (default: none). -none(), Adaptive()output_steps: The time steps at which to output the results (default: [0, 1200, 2400, 3600]).init_method: The method to use for initialization (default: init_logarithmic).- initlogarithmic,initξconst, inituniform_sd
binning_method: The method to use for binning (default: massdensitylnr). (a function that takes droplets and coagsettings as arguments)normalize_bins_dlnr: A boolean indicating whether to normalize the bins by the logarithm of the radius (default: true).