specularBndry

SpecularBndry

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

This particle source specularly reflects particles at one or more planes defined by the user. Generally, one defines either a single plane as a ‘plate’, two intersecting planes as a ‘rail’, and three intersecting planes as a ‘corner’. To create a full reflecting box, you need six plates, eight rails and eight corners. It is best practice to define the plates first, followed by the rails and finally the corners.

specularBndry Parameters

minDim (integer)

Minimum dimensionality for which this sink is applicable (1, 2, or 3).

lowerBounds (integer vector)

Gives lower bounds of the particle sink in cell indices.

upperBounds (integer vector)

Gives upper bounds of the particle sink in cell indices.

numSurfaces (integer; 1, 2 or 3)

Number of reflecting surfaces in the sink. One surface corresponds to a plate. Two surfaces correspond to a rail and three surfaces correspond to a corner.

direction (double vector)

The direction of the outward normal for the reflecting plane in the case that numSurfaces = 1.

xdirection (double vector)

and

ydirection (double vector)

and

zdirection (double vector)

The direction of the outward normal for the reflecting plane in the x,y,z direction in the case that numSurfaces = 2 or 3.

surface (double)

The location of the reflecting plane in the case that numSurfaces = 1.

xsurface (double vector)

and

ysurface (double vector)

and

zsurface (double vector)

The location of the reflecting plane in the x,y,z direction in the case that numSurfaces = 2 or 3.

specularBndry Example Block

<ParticleSink leftbottomrail>
  kind=specularBndry
  minDim=3
  numSurfaces=2
  xdirection=[-1. 0. 0.]
  xsurface=0.
  zdirection=[0. 0. -1.]
  zsurface=0.
  lowerBounds=[0 0 0]
  upperBounds=[1 NY 1]
</ParticleSink>