struct.liner.shear.dir

Syntax

Vector Access

v = struct.liner.shear.dir(p,inode<,i>)

Get the direction (unit vector in global system) in which the liner element is being loaded by the shear coupling spring at node inode (inode ∈ {1, 2, 3}). Returns a vector, unless an optional component argument i is supplied, in which case it returns the component value.

Returns:

v - vector or component of the direction

Arguments:

p - a pointer to a liner element

inode - node number of the element, inode ∈ {1, 2, 3}

i - optional vector component, from 1 to 3

Component Access

f = struct.liner.shear.dir.x(p,in)

Get the x-component of the direction (unit vector in global system) in which the liner element is being loaded by the shear coupling spring at node inode (inode ∈ {1, 2, 3}).

Returns:

f - x-component of the direction

Arguments:

p - a pointer to a liner element

inode - node number of the element, inode ∈ {1, 2, 3}

f = struct.liner.shear.dir.y(p,iend)

Get the y-component of the direction (unit vector in global system) in which the liner element is being loaded by the shear coupling spring at node inode (inode ∈ {1, 2, 3}).

Returns:

f - y-component of the direction

Arguments:

p - a pointer to a liner element

inode - node number of the element, inode ∈ {1, 2, 3}

f = struct.liner.shear.dir.z(p,iend)

Get the z-component of the direction (unit vector in global system) in which the liner element is being loaded by shear coupling spring at node inode (inode ∈ {1, 2, 3}).

Returns:

f - z-component of the direction

Arguments:

p - a pointer to a liner element

inode - node number of the element, inode ∈ {1, 2, 3}