aerosandbox.structures.legacy.beams
#
Module Contents#
Classes#
Helper class that provides a standard way to create an ABC using |
Attributes#
- 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)[source]#
Bases:
aerosandbox.common.AeroSandboxObject
Helper class that provides a standard way to create an ABC using inheritance.
- Parameters:
opti (casadi.Opti) –
- add_point_load(location, force=0, bending_moment=0, torsional_moment=0)[source]#
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)[source]#
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)[source]#
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')[source]#
Sets up the problem. Run this last. :return: None (in-place)
- draw_bending(show=True, for_print=False, equal_scale=True)[source]#
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: