struct.node.disp.global

Syntax

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

Get the generalized displacement (expressed in the global 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.

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.

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.