interface.node.vel

Syntax

Vector Access

v = interface.node.vel(in<,i>)
interface.node.vel(in<,i>) = v

Get/set the velocity vector for the interface node. Returns a vector, unless an optional component argument i is supplied, in which case it returns the component value.

Returns:

v - velocity vector or component

Accepts:

v - velocity vector or component

Arguments:

in - interface node pointer

i - optional vector component, from 1 to 3

Component Access

f = interface.node.vel.x(in)
interface.node.vel.x(in) = f

Get/set the x-component velocity vector of the element node.

Returns:f - x-component velocity vector
Accepts:f - x-component velocity vector
Arguments:in - interface node pointer
f = interface.node.vel.y(in)
interface.node.vel.y(in) = f

Get/set the y-component velocity vector of the element node.

Returns:f - y-component velocity vector
Accepts:f - y-component velocity vector
Arguments:in - interface node pointer
f = interface.node.vel.z(in)
interface.node.vel.z(in) = f

Get/set the z-component velocity vector of the element node.

Returns:f - z-component velocity vector
Accepts:f - z-component velocity vector
Arguments:in - interface node pointer