# struct.beam.force

Syntax

v := struct.beam.force(p,iend)

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

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

Returns: v - force at one end of the beam p - beam pointer iend - indicates which end of the beam is used, can be 1 or 2

Component Access

f := struct.beam.force (p, iend)->x

f := struct.beam.force.x(p,iend)

Get the $$x$$-component of the force at one end of the beam in element local system.

Returns: f - $$x$$-component of the force vector at one end of the beam p - beam pointer iend - indicates which end of the beam is used, can be 1 or 2

Access other vector components ($$y$$, $$z$$) by substituting the component name where $$x$$ appears above. See Member Access Operator for information about accessing members from data types using ->.

Deprecated Component Access

Component access by adding an optional integer in the function arguments (struct.beam.force(p,iend,<int>)) is deprecated. It remains available but will not be supported in future versions. See Component Access with Integers in FISH on the Deprecated Commands and FISH page for details.

This is hidden. Added to include remaining vector component access functions for inline help.

f := struct.beam.force.y(p,iend)
f := struct.beam.force.z(p,iend)