struct.node.disp.local

Syntax

m := struct.node.disp.local(sn<,i>)
struct.node.disp.local(sn<,i>) := m

Get the generalized displacement (expressed in the node-local coordinate system) of the structure node. The generalized displacement consists of translational and rotational components that are ordered {ux,uy,uz,θx,θy,θz} or {ux,uy,θ} in 2D.

are ordered {ux,uy,uz,θx,θy,θz}({ux,uy,θ} in 2D).

Returns:

m - matrix of displacement with all degrees-of-freedom if the argument i is not assigned, or displacement at the ith degree-of-freedom if the argument i is assigned.

Accepts:

m - matrix of displacement with all degrees-of-freedom if the argument i is not assigned, or displacement at the ith degree-of-freedom if the argument i is assigned.

Arguments:

sn - pointer to a structure node

i - degree-of-freedom, i ∈ {1, 2, … , 6} or {1, 2, 3} in 2D. The default is 1.