maxwellian

maxwellian

Works with VSimBase, VSimEM, VSimPD, VSimPA, and VSimMD licenses.

An SVTFunc created using a Maxwellian function with kind = maxwellian.

maxwellian Parameters

density

Density of the plasma in the region of simulation.

velocityDim

Number of velocity coordinates.

densGrad_x

x-derivative of the density function specified above.

densGrad_y

y-derivative of the density function specified above.

densGrad_z

z-derivative of the density function specified above.

vthermal

Thermal velocity of the particles (related to energy level).

vdrift_x

Specifies drift velocity of particles in x-direction.

vdrift_y

Specifies drift velocity of particles in y-direction.

vdrift_z

Specifies drift velocity of particles in z-direction.

Example maxwellian Block

Example showing that all parameters (except .. describe:: velocityDim`) are specified through STFuncs of kind .. describe:: expression` or .. attribute:: constantFunc`.

<SVTFunc equilibDist>

  kind = maxwellian
  velocityDim = 3

  <STFunc density>
    kind = expression
    expression = DENSITY_P*x/LX
  </STFunc>

  <STFunc densGrad_x>
    kind = expression
    expression = DENSITY_P/LX
  </STFunc>

  <STFunc densGrad_y>
    kind = constantFunc
    amplitude = 0.
  </STFunc>

  <STFunc densGrad_z>
    kind = constantFunc
    amplitude = 0.
  </STFunc>

  <STFunc vthermal>
    kind = constantFunc
    amplitude = ELECTHERMSPEED
  </STFunc>

  <STFunc vdrift_z>
    kind = constantFunc
    amplitude = 0.
  </STFunc>

</SVTFunc>