idealIsothermReactorSim
Particle based kinetics simulation of the reaction of an ensemble of reactive particles with reaction partners in a background gas in an ideally mixed isotherm reactor.
The chemical kinetics is simulated with RS. The reaction system, chemical species parameters and reactions, is defined in an RS configuration file specified in reaction_configuration.
Simulation configuration description
sim_time_stepsintegerNumber of simulation time steps
dt_sfloatTime step length in seconds
n_particlesVector of integersNumber of particles of the
discretechemical substances defined in the reaction configuration. The order in this vector is the same as the order ofdiscretesubstances defined in the reaction configuration.Example: If the
[SUBSTANCES]block in the reaction configuration is[SUBSTANCES] Cl_1 discrete 19 1 3.57e-4 4.00000000e-10 Cl_2 discrete 37 1 2.76e-4 5.17391304e-10 Cl_3 discrete 55 1 2.35e-4 6.07659574e-10
the
n_ionsvector[100, 50, 10]will initalize the simulation with 100 particles ofCl_1, 50 ofCl_2and 10 ofCl_3.background_temperature_KfloatIsotropic background temperature in K.
reaction_configurationfile pathPath to a RS configuration file, defining the chemical reaction system for the simulation. The file path is relative to the simulation run config file.
concentrations_write_intervalintegerInterval, in time steps, between the writes of the species concentration to the concentrations result file.