PartMC
2.6.1
|
Read a size distribution from a data file.
[in,out] | file | Spec file to read size distribution from. |
[in,out] | sample_radius | Sample radius values (m). |
[in,out] | sample_num_conc | Sample number concentrations (m^{-3}). |
A size distribution file must consist of two lines:
diam
and be followed by num_conc
and be followed by The resulting size distribution is taken to be piecewise constant in log-diameter coordinates.
Example: a size distribution could be:
diam 1e-7 1e-6 1e-5 # bin edge diameters (m) num_conc 1e9 1e8 # bin number concentrations (m^{-3})
This distribution has 1e9 particles per cubic meter with diameters between 0.1 micron and 1 micron, and 1e8 particles per cubic meter with diameters between 1 micron and 10 micron.
See also: