interface.node.vel

Syntax

v := interface.node.vel(in)
interface.node.vel(in) := v

Get/set the velocity vector for the interface node.

Returns:

v - velocity vector

Accepts:

v - velocity vector

Arguments:

in - interface node pointer

Component Access

f := interface.node.vel (in)->x
interface.node.vel (in)->x := f

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

Get/set the \(x\)-component of the velocity vector for the interface node.

Returns:

f - \(x\)-component of the velocity vector

Accepts:

f - \(x\)-component of the velocity vector

Arguments:

in - interface node pointer

Access other vector components (\(y\), \(z\) (3D ONLY) ) by substituting the component name where \(x\) appears above. See Member Access Operator for information about accessing members from data types using ->.

Deprecated Component Access

Component access by adding an optional integer in the function arguments (interface.node.vel(in,<int>)) is deprecated. It remains available but will not be supported in future versions. See Component Access with Integers in FISH on the Deprecated Commands and FISH page for details.

This is hidden. Added to include remaining vector component access functions for inline help.

f := interface.node.vel.y(in)
f := interface.node.vel.z(in)