Building the Cloud Parcel Model on Matlab - Part 2: Create the core ODE system (B. use a realistic particle size distribution (PSD) instead of a single size)
INTRODUCTION ✅ What does generate the aerosol size distribution? They generate the initial aerosol size distribution using a sum of lognormal modes , defined by: Number concentration (N), Geometric mean diameter (rg), Geometric standard deviation (σ). This gives you dN/dlogDp as a function of Dp (dry diameter), independently of composition. Black carbon doesn't influence : Mode centers (rg), Widths (σ), Total number per mode (N). 🟢 These are purely geometrical/statistical parameters for the aerosol distribution. This code block sets up a realistic aerosol size distribution based on a tri-modal lognormal fit commonly used in cloud activation studies, including in Nenes et al. (2001, 2002) . Let's break it down and explain each part: 🔧 Function Overview function [Dp, Nd, kappa, bc_frac] = setup_aerosol_distribution (N_bins) This function generates: Dp : Particle diameters [m] Nd : Number distribution dN/dlogDp [#/m³] kappa : Hygr...