- gaussDensSrc
gaussDensSrc (deprecated in 8.0)¶
Note
This source has been deprecated. Please use the xvLoaderEmitter kind with the gridPosGen PositionGenerator and the beamVelocityGen VelocityGenerator instead.
This particle source emits particles based on a Gaussian profile.
gaussDensSrc Parameters¶
- density (double)
Positive value describing the density of the particles.
- applyPeriod (integer)
Positive value n, directing the simulation to apply the source at every nth time step. This option works only with emitter algorithms.
- applyTimes (double vector)
Bracketed times for when the source/emitter will generate particles.
- lowerBounds (double vector)
Lower bound (expressed in physical units, not grid units) of the physical extent of the source.
- upperBounds (double vector)
Upper bound (expressed in physical units, not grid units) of the physical extent of the source.
- doShiftLoad (integer, default = 0 (off))
For moving windows, move the particles with the windows.
- vbar (double vector)
Average velocity of the particles in the x, y, and z directions.
- vsig (double vector)
Positive value denoting the thermal velocity in the x, y, and z directions.
- nomMacroPtclsPerStep (double)
A reference (nominal) number of macroparticles emitted from the entire emitter each time step.
- seed (integer)
Specifies the seed for the random number generator.
seed
must be a positive integer.
Example gaussDensSrc Particle Source Block¶
<ParticleSource gaussSrc>
kind = gaussDensSrc
density = DENSITY
lowerBounds = [0.0 0.0 0.0]
upperBounds = [LX LY LZ]
vbar = [0.0 0.0 0.0]
vsig = [ELECTHERMSPEED ELECTHERMSPEED ELECTHERMSPEED]
<STFunc macroDensFunc>
kind = expression
expression = 0.99999-5.5263e7*FIELD/DENSITY*(-PERTHW2I*(x-.5*LX)*exp(-2.*(x-.5*LX)*(x-.5*LX)*PERTHW2I))
</STFunc>
</ParticleSource>