3.4.17. reactions Command
This command is used to calculate the reactions at the nodes. It must be called before the reactions are obtained with the nodeReaction Command command.
- reactions <-dynamic> <-rayleigh>
ops.reactions('-dynamic', '-rayleigh')
Argument |
Type |
Description |
|---|---|---|
-dynamic |
string |
include the inertia forces in the reactions (optional) |
-rayleigh |
string |
calculate the Rayleigh damping forces at the nodes instead of the reactions (optional) |
Note
Only one of the options can be given.
In a transient analysis the reactions balance the internal, damping and inertia forces, so use -dynamic to obtain the total reactions.
The reactions are calculated for the current state of the model, so call the command again after each step for which reactions are needed.
Example:
The following example calculates the reactions and sets the variable R1 to the reactions at node 1.
reactions
set R1 [nodeReaction 1]
ops.reactions()
R1 = ops.nodeReaction(1)
Code Developed by: fmk