struct.beam.moment

Syntax

Vector Access

v = struct.beam.moment(p,iend<,i>)

Get the moment at one end of the beam in element local system.

Which end is determined by iend, which should be 1 or 2.

Returns a vector, unless an optional component argument i is supplied, in which case it returns the component value.

Returns:

v - moment at one end of the beam

Arguments:

p - a beam pointer

iend - indicates which end of the beam is used, can be 1 or 2

i - optional vector component, from 1 to 3

Component Access

f = struct.beam.moment.x(p,iend)

Get the x-component of the moment at end iend in element local system.

Returns:

f - x-component of the y-axis of the local system of the beam element

Arguments:

p - a beam pointer

iend - indicates which end of the beam is used, can be 1 or 2

f = struct.beam.moment.y(p,iend)

Get the y-component of the moment at end iend in element local system.

Returns:

f - y-component of the y-axis of the local system of the beam element

Arguments:

p - a beam pointer

iend - indicates which end of the beam is used, can be 1 or 2

f = struct.beam.moment.z(p,iend)

Get the z-component of the moment at end iend in element local system.

Returns:

f - z-component of the y-axis of the local system of the beam element

Arguments:

p - a beam pointer

iend - indicates which end of the beam is used, can be 1 or 2