PartMC
2.6.1
|
Run an exact solution simulation.
[in,out] | file | Spec file. |
The coagulation kernel and initial distribution must be matched for an exact solution to exist. The valid choices are:
Coagulation kernel | Initial aerosol distribution |
---|---|
Additive | Single exponential mode |
Constant | Single exponential mode |
Zero | Anything |
See Input File Format: Spec File Format for the input file text format.
An exact (analytical) simulation spec file has the parameters:
exact
PREFIX_SSSSSSSS.nc
where SSSSSSSS
is is the eight-digit output index (starting at 1 and incremented each time the state is output)do_fractal
is no
, then all the particles are treated as spherical. If do_fractal
is yes
, then the following parameters must also be provided:
do_coagulation
is yes
, then the following parameters must also be provided:
Example:
run_type exact # exact solution output_prefix additive_exact # prefix of output files
t_max 600 # total simulation time (s) t_output 60 # output interval (0 disables) (s)
n_bin 160 # number of bins d_min 1e-8 # minimum diameter (m) d_max 1e-3 # maximum diameter (m)
gas_data gas_data.dat # file containing gas data
aerosol_data aero_data.dat # file containing aerosol data do_fractal no # whether to do fractal treatment aerosol_init aero_init_dist.dat # aerosol initial condition file
temp_profile temp.dat # temperature profile file height_profile height.dat # height profile file gas_emissions gas_emit.dat # gas emissions file gas_background gas_back.dat # background gas mixing ratios file aero_emissions aero_emit.dat # aerosol emissions file aero_background aero_back.dat # aerosol background file
rel_humidity 0.999 # initial relative humidity (1) pressure 1e5 # initial pressure (Pa) latitude 0 # latitude (degrees, -90 to 90) longitude 0 # longitude (degrees, -180 to 180) altitude 0 # altitude (m) start_time 0 # start time (s since 00:00 UTC) start_day 1 # start day of year (UTC)
do_coagulation yes # whether to do coagulation (yes/no) kernel additive # Additive coagulation kernel