Members and sections#
Factory functions#
|
Create a section object defining cross-section geometric properties. |
|
Create a grillage member combining a section and a material. |
Class reference#
Section#
- class Section(op_ele_type='elasticBeamColumn', mass=0, c_mass_flag=False, unit_width=False, op_section_type='Elastic', **kwargs)#
Bases:
objectClass for structural sections of grillage model. Stores geometric properties of cross sections. This class also parses section inputs into relevant
OpenSeesPycommand for creating sections in OpenSees framework.This class wraps
`OpenSeesPy`Section() commands - methods for generating commands are handled by the higher hierarchy:class:~ospgrillage.member.GrillageMember classThe constructor takes in two types of keyword arguments.
General section properties - such as A, I, J for example. These properties are parses into the appropriate OpenSees section arguments.
OpenSeespysection arguments - i.e. specific keyword for a specific ops.section() type.
Section information of OpenSeesPy
Constructor takes following inputs to be parse into arguments for
`OpenSeesPy`Sections.- Parameters:
op_ele_type (str) – OpenSees element type - default elasticBeamColumn
op_section_type (str) – OpenSees section type - default Elastic
mass (float) – Mass of member.
unit_width (bool) – Flag for if unit width properties are defined.
Constructor also takes the following keyword arguments for a section.
- Parameters:
A (float, optional) – Cross-sectional area.
Iz (float, optional) – Second moment of area about the local z axis.
Iy (float, optional) – Second moment of area about the local y axis.
J (float, optional) – Torsional inertia about the local x axis.
Az (float, optional) – Shear area in the local z direction.
Ay (float, optional) – Shear area in the local y direction.
Note
Section properties are defined in local coordinates (x, y, z) and are later transformed according to the orientation of the
GrillageMemberin the grillage model.
GrillageMember#
- class GrillageMember(section, material, member_name='Undefined', quad_ele_flag=False, tri_ele_flag=False)#
Bases:
objectClass for grillage model members. E.g., longitudinal beam members.
This class parses material and section properties of grillage members into corresponding
OpenSeesPyElement() command.- Refer here for more information about
OpenSeesPyElement types and definition workflow.
For developers wishing to expand the library of elements wrapped by GrillageMember, introduce in this class:
The argument input orders of the new element in
get_member_prop_arguments().If the element requires an
OpenSeesPySection definition, add its input arguments toget_section_arguments()andget_ops_section_command().
Init the GrillageMember. Requires two input objects i.e. A
Material, andSection.