struct.beam.moi

Syntax

Vector Access

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

Get/set the moment of inertia of the beam.

This is defined as the second moment of inertia with respect to the x-, y-, and z-axes.

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

Returns:

v - moment of inertia vector or component

Accepts:

v - moment of inertia vector or component

Arguments:

p - a pointer to a beam element

i - optional vector component, from 1 to 3

Component Access

f = struct.beam.moi.x(p)
struct.beam.moi.x(p) = f

Get/set the second moment of inertia with respect to the x-axis.

Returns:f - x-component moment of inertia vector
Accepts:f - x-component moment of inertia vector
Arguments:p - a pointer to a beam element
f = struct.beam.moi.y(p)
struct.beam.moi.y(p) = f

Get/set the second moment of inertia with respect to the y-axis.

Returns:f - y-component moment of inertia vector
Accepts:f - y-component moment of inertia vector
Arguments:p - a pointer to a beam element
f = struct.beam.moi.z(p)
struct.beam.moi.z(p) = f

Get/set the second moment of inertia with respect to the z-axis.

Returns:f - z-component moment of inertia vector
Accepts:f - z-component moment of inertia vector
Arguments:p - a pointer to a beam element