sel.node.vel

Syntax

Vector Access

v/f = sel.node.vel(snp<,i>)

Get the node velocity. If the optional argument i is supplied, the return value is restricted by vector component (1 = \(x\), 2 = \(y\), 3 = \(z\)).

Returns:v or f- velocity
Arguments:snp - node pointer i - optional component indicator

Component Access

f = sel.node.vel.x(snp)

Get the \(x\)-component of velocity.

Returns:f - \(x\)- velocity
Arguments:snp - node pointer
f = sel.node.vel.y(snp)

Get the \(y\)-component of velocity.

Returns:f - \(y\)- velocity
Arguments:snp - node pointer
f = sel.node.vel.z(snp)

Get the \(z\)-component of velocity.

Returns:f - \(z\)- velocity
Arguments:snp - node pointer