leakychannel

leakychannel

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

Function that is parabolic in radius, then drops linearly to zero.

leakychannel Parameters

direction (float vector)

Direction of the ramp (unit vector \({\bf \hat{u}}\) of gradient).

channelPosition (float)

Position of the center of the channel.

maxParabRadius (float)

Radius (transverse to \({\bf \hat{u}}\)) at which the channel starts turning from parabolic to linear.

maxRadius (float)

Radius (transverse to \({\bf \hat{u}}\)) at which the channel vanishes.

centerAmplitude (float)

Value at the center of the channel.

quadCoef (float)

Coefficient of the quadratic term.

expanFunc (float)

Function whose values on axis give the expansion of the channel, with corresponding decrease of the radius.

Example leakyChannel Block

<STFunc channel>
  kind             = leakyChannel
  direction        = [1. 0. 0.]
  channelPosition  = [0. 0. 0.]
  maxParabRadius   = MAXPARABRADIUS
  maxRadius        = MAXRADIUS
  centerAmplitude  = DENSRAT
  quadCoef         = QUADCOEF
</STFunc>