nodeDisp#
- nodeDisp $tag <$dof>
Argument |
Type |
Description |
---|---|---|
tag |
integer |
tag identifying node whose displacements are sought |
dof |
integer |
optional: specific dof at the node (1 through ndf) |
The components are ordered as follows for various combinations of dimension (Model.ndm
) and degrees of freedom (Model.ndf
):
ndm |
ndf |
Order of components |
---|---|---|
1 |
1 |
u1 |
2 |
2 |
u1, u2 |
3 |
3 |
u1, u2, u3 |
2 |
3 |
u1, u2, r3 |
3 |
6 |
u1, u2, u3, r1, r2, r3 |
Example#
The following example is used to set the variable disp1
to the nodal displacement at node given by the variable tag in the 1 degree-of-freedom direction.
Tcl Code
set disp1 [nodeDisp $tag 1]
Python Code
u1 = model.nodeDisp(tag,1)
Code developed by: fmk