Skip to content

Which coagulation processes matter in three atmospheric regimes?

View code · Download Python script · Download complete ZIP

Start each process pair from the same published spectrum. The saved run includes number and dry volume at 1, 6 and 24 h, plus independently sampled GPU boxes. The study report gives the size distributions and charge balance.

Python · section 1

import matplotlib.pyplot as plt
from scripts.mam4xx_coagulation.regime_plots import coefficients, plot, spectra
if "saved_data" in globals():
report = globals()["saved_data"]
else:
from scripts.mam4xx_coagulation.regimes import simulate
report = simulate()
Warp 1.11.1 initialized:
   CUDA Toolkit 12.9, Driver 13.4
   Devices:
     "cpu"      : "CPU"
     "cuda:0"   : "NVIDIA GeForce RTX 5060" (8 GiB, sm_120, mempool enabled)
   Kernel cache:
     ~/.cache/warp/1.11.1
Module particula.gpu.kernels.environment e11375e load on device 'cuda:0' took 1.33 ms  (cached)
Module particula.gpu.kernels.coagulation 84ae354 load on device 'cuda:0' took 1.34 ms  (cached)
Module particula.gpu.kernels._coagulation_native f93a244 load on device 'cuda:0' took 1.54 ms  (cached)
Module particula.execution.prepared_guards 5366864 load on device 'cuda:0' took 1.36 ms  (cached)
Module particula.gpu.kernels._brownian_parallel 5433dfc load on device 'cuda:0' took 4.90 ms  (cached)
Module particula.gpu.kernels._brownian_parallel f84feee load on device 'cuda:0' took 5.81 ms  (cached)
Module particula.gpu.kernels._coagulation_subcycling 93efbd4 load on device 'cuda:0' took 11.22 ms  (cached)
Module particula.gpu.kernels._coagulation_budget b4a3978 load on device 'cuda:0' took 3.49 ms  (cached)
Module particula.gpu.kernels._brownian_parallel c0acfec load on device 'cuda:0' took 6.92 ms  (cached)
Module particula.gpu.kernels.coagulation fd5b5c9 load on device 'cuda:0' took 7.83 ms  (cached)
Module particula.gpu.kernels.coagulation 79e9aa8 load on device 'cuda:0' took 3.15 ms  (cached)
Module particula.gpu.kernels._coagulation_subcycling ca6b3ba load on device 'cuda:0' took 3.62 ms  (cached)
Module particula.gpu.kernels._coagulation_subcycling a49d377 load on device 'cuda:0' took 1.92 ms  (cached)
Module scripts.mam4xx_coagulation.regime_rates b46e6d3 load on device 'cuda:0' took 8.76 ms  (cached)
Completed central marine
Completed central continental
Completed central polluted
Completed grid marine
Completed grid continental
Completed grid polluted
Completed weak material marine
Completed weak material continental
Completed weak material polluted
Completed strong material marine
Completed strong material continental
Completed strong material polluted
Completed cold/lower marine
Completed cold/lower continental
Completed cold/lower polluted
Completed warm/higher marine
Completed warm/higher continental
Completed warm/higher polluted

Dots show the central change in sub-100 nm retention relative to the paired reference. Bars span material, atmospheric and numerical controls. Each panel has its own horizontal scale.

Python · section 2
plot(report)
plt.show()
Which coagulation processes matter in three atmospheric regimes?: saved scientific figure
Which coagulation processes matter in three atmospheric regimes? · saved execution output

The upper panels show the published representative trimodal inputs. The middle panels compare the two-fine-mode sectional Brownian result with the native particle ensemble at 24 hours. Shading is one sample standard deviation among four refined collision histories, clipped at zero for display. In the third row, solid curves are the three-mode sectional spectra used for the ranking. The log plot omits nonpositive solver tails within its absolute tolerance of 10⁻¹⁰ cm⁻³. The saved arrays retain them. Dashed curves and ribbons give the mean and pointwise 16th–84th percentiles of 16 collision histories using the same initial modes and kernel grid. The last row magnifies the percentile bounds relative to each sectional bin where at least ten particles per box are expected. Integrate bin density below 100 nm for ultrafine number.

Python · section 3
spectra(report)
plt.show()
Which coagulation processes matter in three atmospheric regimes?: saved scientific figure
Which coagulation processes matter in three atmospheric regimes? · saved execution output

Which collision coefficients would change in MAM4xx?

Section titled “Which collision coefficients would change in MAM4xx?”

Solid lines are number-weighted enhancement factors on the evolving archived host states. Dashed lines weight the donor mode by its dry volume. The two weights give different answers even for the same pair. Coarse collection is the study extension to the archived fine-mode update.

Python · section 4
coefficients(report)
plt.show()
Which coagulation processes matter in three atmospheric regimes?: saved scientific figure
Which coagulation processes matter in three atmospheric regimes? · saved execution output

Explore this topic: Brownian coagulation