- maxwellian
maxwellian
Works with VSimBase, VSimEM, VSimPD, VSimPA, and VSimVE 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>