Section creation

The generic section

class structuralcodes.sections.GenericSection(geometry: SurfaceGeometry | CompoundGeometry, name: str | None = None, integrator: Literal['marin', 'fiber'] = 'marin', **kwargs)[source]

This is the implementation of the generic class section.

The section is a 2D geometry where Y axis is horizontal while Z axis is vertical.

The moments and curvatures around Y and Z axes are assumed positive according to RHR.

geometry

The geometry of the section.

Type:

Union(SurfaceGeometry, CompoundGeometry)

name

The name of the section.

Type:

str

section_calculator

The object responsible for performing different calculations on the section (e.g. bending strength, moment curvature, etc.).

Type:

GenericSectionCalculator

__init__(geometry: SurfaceGeometry | CompoundGeometry, name: str | None = None, integrator: Literal['marin', 'fiber'] = 'marin', **kwargs) None[source]

Initialize a GenericSection.

Parameters:
  • geometry (Union(SurfaceGeometry, CompoundGeometry)) – The geometry of the section.

  • name (str) – The name of the section.

  • integrator (str) – The name of the SectionIntegrator to use.

  • kwargs (dict) – A collection of keyword arguments to pass on to the section calculator.

Note

The GenericSection uses a GenericSectionCalculator for all calculations. The GenericSectionCalculator uses a SectionIntegrator for integrating over the section. Any additional keyword arguments used when creating the GenericSection are passed on to the SectionCalculator to customize the behaviour. See GenericSectionCalculator for available keyword arguments.

property gross_properties: GrossProperties

Return the gross properties of the section.