3.4.6. nodeReaction Command

This command returns the reactions at a node. The reactions must first be calculated with the reactions Command command.

nodeReaction $nodeTag <$dof>

Argument

Type

Description

$nodeTag

integer

tag of the node

$dof

integer

degree-of-freedom at the node (1 through ndf) (optional: default = all)

Note

  1. If $dof is given, the command returns a single value. Otherwise it returns a list of the reactions for every degree-of-freedom at the node.

  2. The values are those calculated by the last reactions Command command. If the command has not been called, they are not the current reactions.

Example:

The following example calculates the reactions, sets the variable Rx to the reaction at node 1 in the 1 degree-of-freedom, and R to all the reactions at the node.

reactions
set Rx [nodeReaction 1 1]
set R [nodeReaction 1]

Code Developed by: fmk