.. _nodeVel: nodeVel Command **************** This command returns the current velocity at a specified node. .. function:: nodeVel $nodeTag <$dof> .. csv-table:: :header: "Argument", "Type", "Description" :widths: 10, 10, 40 $nodeTag, |integer|, tag identifying node whose velocities are sought $dof, |integer|, optional: specific dof at the node (1 through ndf) .. note:: If optional $dof is not provided, an array containing all velocity components for every dof at the node is returned. .. admonition:: Example: The following example is used to set the variable **vel1** to the nodal velocity at node given by the variable **nodeTag** in the **1** degree-of-freedom direction. 1. **Tcl Code** (note use of **set** and **[ ]**) .. code-block:: tcl set vel1 [nodeVel $nodeTag 1] 2. **Python Code** .. code-block:: python vel1 = nodeVel(nodeTag,1) Code developed by: |fmk|