nodeVel#
- nodeVel $tag <$dof>
Argument |
Type |
Description |
|---|---|---|
$tag |
integer |
tag identifying node whose velocities are sought |
$dof |
integer |
optional: specific dof at the node (1 through ndf) |
If optional dof is not provided, an array containing all velocity components for every dof at the node is returned.
Example#
The following example is used to set the variable vel to the nodal velocity at node given by the variable nodeTag in the 1 degree-of-freedom direction.
Tcl Code
set vel [nodeVel $nodeTag 1]
Python Code
vel = model.nodeVel(nodeTag,1)
Code developed by: fmk