- binaryReaction
Binary Reaction
Works with a VSimPD license. Collision of the form
This is a general reaction where the A, B, C, and D species can each be any fluid or particle species. For example, a user could set up a an inelastic scattering collision between argon ions of the same species:
Or, a user could use this productGenerator to set up a collision between up to four different fluids and particles like the following reaction which creates an an exotic hydrogen molecule:
A generator of 2 product particles with an isotropic angular distribution,
momentum conserved and energy conserved minus the thresholdEnergy
parameter
(which could be the energy required for the reaction).
binaryReaction Attributes
- thresholdEnergy (float, optional, default = 0)
The threshold energy for the reaction in eV. So, a pair of reactants will need at least this much relative energy (i.e. energy in center of momentum frame) in order to react. If the reaction occurs then this much energy is lost from the products to potential energy. If this is zero, then energy will not be lost. If negative, then the products will gain kinetic energy.
- anisotropy (float, optional, default = 0)
A value between -1 and 1 to set the degree of anisotropy. An anisotropy of -1 is full backscatter, 0 is isotropic, and +1 is full forward scatter.
- randomSeed (int, optional, default: random int)
Manually set a random seed used to determine the final velocities of the product particles.
The default is to choose a random seed at run time. To produce identical simulations, advanced users may want to manually set a seed. It is recommended not to include this parameter so that a different random number will be generated for each run.
Example binaryReaction Block
<RxnProductGenerator productGenerator>
kind = binaryReaction
#thresholdEnergy = 1.0
#anisotropy = 0.5
#randomSeed = 324
</RxnProductGenerator>