itasca.structure.beamarray

Array interface for beam elements.

Functions

itasca.structure.beamarray.area() array float{beam}.

Get a Numpy array of the cross-section area of the beam elements.

itasca.structure.beamarray.component_id() array int{beam}.

Get a NumPy array of the ID of beam component id.

itasca.structure.beamarray.density() array double{beam}.

Get a NumPy array of the density of beam elements.

itasca.structure.beamarray.extra(slot: int) array float{beam} or float{beam,3}.

Get the beam extra data in the given slot as an array. Extra variables accessed by array must be of type float or vec.

itasca.structure.beamarray.force() array float(beam,6).

Get a Numpy array of the force at each end of the beam using the force-moment sign convention.

itasca.structure.beamarray.force_nodal() array float(beam,12).

Get a Numpy array of the generalized nodal force acting at each end in the global system. The end 1 translational and rotational components are given first.

itasca.structure.beamarray.id() array int{beam}.

Get a NumPy array of the ID of beam element id.

itasca.structure.beamarray.in_group(group_name: str, slot=1) array bool{beam}.

Return beam group membership as a Boolean array.

itasca.structure.beamarray.length() array float{beam}.

Get a Numpy array of the length of the beam elements.

itasca.structure.beamarray.load() array float{beam,3}.

Get a Numpy array of the uniform applied distributed load acting on the beam elements in the local y- and z-directions. The x-component of the return value will always be 0.0.

itasca.structure.beamarray.local_system() array double{beam,3,3}.

Get a NumPy array of the local coordinate system of beam elements.

itasca.structure.beamarray.mark() array bool{beam}.

Get a NumPy array of the mark flag of beam elements.

itasca.structure.beamarray.moment() float(beam,6).

Get a Numpy array of the moment at each end of the beam using the force-moment sign convention.

itasca.structure.beamarray.moment_plastic() array float{beam}.

Get a Numpy array of the plastic moment capacity in the beam.

itasca.structure.beamarray.moment_plastic_y() array float{beam}.

Get a Numpy array of the plastic moment capacity in Y in the beam.

itasca.structure.beamarray.moment_plastic_z() array float{beam}.

Get a Numpy array of the plastic moment capacity in Z in the beam.

itasca.structure.beamarray.poisson() array float{beam}.

Get a Numpy array of the Poisson’s ratio of the beam elements.

itasca.structure.beamarray.pos() array vec3{beam}.

Get a NumPy array of the current position of beam elements.

itasca.structure.beamarray.set_area(array float{beam}) None.

Set the cross-section area of the elements.

itasca.structure.beamarray.set_density(array double{beam}) None.

Set the density of beam elements.

itasca.structure.beamarray.set_extra(slot: int, data: array float{beam} or float{beam, 3}) None.

Set the beam extra data in the given slot with an array. Extra variables set by array must be of type float or vec.

itasca.structure.beamarray.set_group(membership: array bool{beam}, group_name: str, slot=1) None.

Set beam group from an array. Where membership True set the corresponding beam to be a member of group group_name in the given slot.

itasca.structure.beamarray.set_load(array float{beam, 3}) None.

Set the uniform applied distributed load acting on the beam elements in the local y- and z-directions. The x-component is ignored on assignment.

itasca.structure.beamarray.set_mark(array bool{beam}) None.

Set the mark flag of beam elements.

itasca.structure.beamarray.set_moment_plastic(array float{beam}) None.

Set the plastic moment capacity in the beam.

itasca.structure.beamarray.set_moment_plastic_y(array float{beam}) None.

Set the plastic moment capacity in Y in the beam.

itasca.structure.beamarray.set_moment_plastic_z(array float{beam}) None.

Set the plastic moment capacity in Z in the beam.

itasca.structure.beamarray.set_poisson(array float{beam}) None.

Set the Poisson’s ratio of the beam elements.

itasca.structure.beamarray.set_thermal_expansion(array double{beam}) None.

Set the thermal expansion coefficient of beam elements.

itasca.structure.beamarray.set_young(array float{beam}) None.

Set the Youngs modulus of the beam elements.

itasca.structure.beamarray.thermal_expansion() array double{beam}.

Get a NumPy array of the thermal expansion coefficient of beam elements.

itasca.structure.beamarray.type() array string{beam}.

Get a NumPy array of the type name of beam elements.

itasca.structure.beamarray.volume() array float{beam}.

Get a Numpy array of the beam elements volume, equal to the cross-sectional area times the length.

itasca.structure.beamarray.ydir() array float{beam,3}.

Get a Numpy array of the y-axis of the beam elements local system.

itasca.structure.beamarray.young() array float{beam}.

Get a Numpy array of the Youngs modulus of the beam elements.