gaussFuncCrossDev

gaussFuncCrossDev

Works with XSimBase license.

MultiField updater used for launching a Gaussian-shaped pulse from a boundary into the simulation domain. Equivalent to setting the value of a regularCrossDev field on the field and domain boundary.

gaussFuncCrossDev Parameters

The gaussFuncCrossDev updater takes the lowerBounds,

upperBounds, lowerCoords, upperCoords, gridBndry, writeFields, and readFields parameters of Field Slab updaters, as well as the following parameter:

amplitude (required float, default = 0.0)

The maximum amplitude of the Gaussian pulse.

origOrigin (required float, default = 0.0)

The coordinate location at which the pulse enters the simulation domain from the boundary.

velocity (required float, default = 0.0)

The group velocity of the Gaussian pulse in meters/second.

pulseLength (required float, default = 0.0)

The Gaussian RMS length of the pulse in meters. (longitudinal)

pulseWidth (required float, default = 0.0)

The Gaussian RMS width of the pulse in meters. (transverse)

Example gaussFuncCrossDev block

<FieldUpdater setLowerXSlabEz2Gauss>
  kind = gaussFuncCrossDev
  lowerBounds = [ 0  0  0]
  upperBounds = [ 1 NYP1 NZP1]
  readFields = [coordsEzLowerX]
  writeFields = [E]
  writeComponents = [2]
  amplitude = 1.
  velocity = LIGHTSPEED
  origOrigin = [PULSESTART PULSEMIDY PULSEMIDZ]
  pulseLength = PULSELEN
  pulseWidth = PULSEWID
</FieldUpdater>

Notes

gaussFuncCrossDev is only available with text-based setup.

History

gaussFuncCrossDev was introduced in XSim 1.