Post · 2 min read· pp. 931–932

aerosandbox.structures.legacy.beams

Attributes

Classes

TubeBeam1Helper class that provides a standard way to create an ABC using

Module Contents

class aerosandbox.structures.legacy.beams.TubeBeam1(opti, length, points_per_point_load=100, E=228000000000.0, isotropic=True, poisson_ratio=0.5, diameter_guess=100, thickness=0.00014 * 5, max_allowable_stress=570000000.0 / 1.75, density=1600, G=None, bending=True, torsion=True) : Bases: aerosandbox.common.AeroSandboxObject

code
Helper class that provides a standard way to create an ABC using
inheritance.

Parameters:
:   **opti** (*casadi.Opti*) –

opti

length

points\_per\_point\_load *= 100*

E *= 228000000000.0*

isotropic *= True*

poisson\_ratio *= 0.5*

diameter\_guess *= 100*

thickness *= 0.0006999999999999999*

max\_allowable\_stress *= 325714285.71428573*

density *= 1600*

G *= None*

bending *= True*

torsion *= True*

point\_loads *= []*

distributed\_loads *= []*

add\_point\_load(*location*, *force=0*, *bending\_moment=0*, *torsional\_moment=0*)
:   Adds a point force and/or moment.
    :param location: Location of the point force along the beam [m]
    :param force: Force to add [N]
    :param bending\_moment: Bending moment to add [N-m] # TODO make this work
    :param torsional\_moment: Torsional moment to add [N-m] # TODO make this work
    :return: None (in-place)

add\_uniform\_load(*force=0*, *bending\_moment=0*, *torsional\_moment=0*)
:   Adds a uniformly distributed force and/or moment across the entire length of the beam.
    :param force: Total force applied to beam [N]
    :param bending\_moment: Bending moment to add [N-m] # TODO make this work
    :param torsional\_moment: Torsional moment to add [N-m] # TODO make this work
    :return: None (in-place)

add\_elliptical\_load(*force=0*, *bending\_moment=0*, *torsional\_moment=0*)
:   Adds an elliptically distributed force and/or moment across the entire length of the beam.
    :param force: Total force applied to beam [N]
    :param bending\_moment: Bending moment to add [N-m] # TODO make this work
    :param torsional\_moment: Torsional moment to add [N-m] # TODO make this work
    :return: None (in-place)

setup(*bending\_BC\_type='cantilevered'*)
:   Sets up the problem. Run this last.
    :return: None (in-place)

draw\_bending(*show=True*, *for\_print=False*, *equal\_scale=True*)
:   Draws a figure that illustrates some bending properties. Must be called on a solved object (i.e. using the substitute\_sol method).
    :param show: Whether or not to show the figure [boolean]
    :param for\_print: Whether or not the figure should be shaped for printing in a paper [boolean]
    :param equal\_scale: Whether or not to make the displacement plot have equal scale (i.e. true deformation only)
    :return:

aerosandbox.structures.legacy.beams.opti