VectorCmd
Jump to navigation
Jump to search
Vector
vector - extract a vector field, and return arrow descriptions
Synopsis
vector
material
[vector=<c>] [vlen=<n>]
Description
This command extracts arrows for a vector field. Each arrow has a length proportional to the magnitude of the vector field, and direction parallel to the vector field. The return value is a list of all arrows represented as individual line segments. This can be used with the [BLTPlot.html BLT plot commands] to create a vector field plot.
- Material Description
- Please see the material section for information on specifying materials. A material must be specified for this command.
- vector
- This option allows specification of the vector field.
- vlen
- This option allows scaling of the field. The longest vector found in this material is scaled to vlen microns.
Examples
vector oxide vector=Velocity vlen=0.1
The command will return arrow line segment lists for the velocity in the oxide. The longest velocity will plot at 0.1um.
Bugs and Missing Features
This works only for two-dimensional simulations.