Used by xvLoaderEmitter, gridLoader and boostLoader particle sources to determine the velocities (and all internal variables) of particles when loaded or emitted into the simulation. Each xvLoaderEmitter or gridLoader or boostLoader block must have a VelocityGenerator block.
A VelocityGenerator block defines how the newly added (loaded or emitted particles) get their velocity. VelocityGenerator is used to generate all internal variables associated with the ParticleSource species, including particle weight for variable-weight species. Using VelocityGenerator features you could design a 3D simulation with variable-weight particles that might define a beamVelocityGen with 4 components for both vbar and vsig.
Note
Internal variables associated with particles, such as weights when using variably-weighted particles, are contained within the velocity vector. Therefore, the means (vbar) and the deviations (vsig) should also be specified for these other velocity components. Otherwise, the default value for unspecified velocity components is zero.
kind
Type of VelocityGenerator; one of:
relBorisVWScale
particles.
The velocity generator correctly sets the tags for the particles
as well as creating several particles at each location each with
a different scale parameter that scales
the electromagnetic fields the particle experience.velocityIsLocal
Specifies the orientation of the component references in the block. When false, components refer to the overall coordinate system axes, and when true, components refer to local orientation of the emission surface, that is to say, component0 = normal, component1 = parallel_1, and component2 = parallel_2, where the choice of the two parallel directions are not available to the user. A setting of true is commonly used when emitting from a cut-cell surface, in order to ensure normal emission. In this case, the normal direction is inward, towards the surface, so that the sign of the component0 velocity is typically negative to ensure outward flow of particles.
seed (integer)
One can specify a seed
or randomSeed
input argument
for Vorpal’s random number generator, so as to get reproducible behavior.
randomSeed (integer)
One can specify a seed
or randomSeed
input argument
for Vorpal’s random number generator, so as to get reproducible behavior.