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 \(\{ u_x, u_y, u_z, \theta_x, \theta_y, \theta_z \}\) or \(\{ u_x, u_y, \theta \}\) in 2D.

are ordered \(\{ u_x, u_y, u_z, \theta_x, \theta_y, \theta_z \}\)\(( \{ u_x, u_y, \theta \}\ {\rm 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.