Skip to content

Materials and sections

Every element has a section, and every section a material. The material says how the stuff behaves: stiffness, density, plasticity, heat. The section says how much of it there is: a beam’s profile, a shell’s thickness, a bar’s area. A solid has a section too, though it holds only the material.

A steel IPE 300 beam: the viewer draws the beam with its section’s profile

An IPE 300 beam: the section’s profile, drawn along the beam.

Material For
ElasticIsotropic(E, v, density) Most structural analysis: steel, concrete, aluminium in their elastic range.
ElasticOrthotropic(Ex, Ey, Ez, vxy, vyz, vzx, Gxy, Gyz, Gzx, density) Timber, laminates: stiffnesses that differ along x, y and z.
ElasticPlastic(E, v, density, strain_stress) Metals past yield: elastic, then the stress-strain curve you give (von Mises).
ThermalElasticIsotropic(k, c, E, v, density) Heat transfer and fire: conductivity and specific heat besides the elastic constants.
steel = ElasticIsotropic(E=210_000, v=0.3, density=7.85e-9) # N, mm, t
s355 = ElasticPlastic(E=210_000, v=0.3, density=7.85e-9,
strain_stress=[(355 / 210_000, 355), (0.05, 470)])

Ready-made grades exist for common materials: ElasticIsotropic.steel("s355"), .concrete("C30/37"), .aluminum(), ElasticPlastic.steel("s355"), ElasticOrthotropic.timber(...). They are in Pa and kg/m³, for a model in N and m; a model in N and mm writes its values out, as above. See Units and conventions.

Section Elements What it holds
RectangularSection, CircularSection, ISection, BoxSection, PipeSection beams the profile’s dimensions: area, inertias and torsion follow
TrussSection, StrutSection, TieSection bars the area
ShellSection, MembraneSection, CompressionOnlyMembraneSection surfaces the thickness
SolidSection tetrahedra, bricks the material only
SpringSection springs stiffnesses along, across and about the spring
ipe = ISection.IPE300(material=steel) # a profile from the table, in mm
box = BoxSection(w=200, h=300, tw=8, tf=12, material=steel)
plate = ShellSection(t=15, material=steel)

Profiles from the tables are class methods, in mm: ISection.IPE300, ISection.HEB200, ISection.HEA400 and the rest of the European I and H series.

A beam section has its own axes, and the beam’s orientation is its local y axis: the axis the section’s Ixx is about. On a beam along global x with orientation=[0, 1, 0], the section’s h is vertical and Ixx carries vertical loads. Getting this backwards bends a beam about its weak axis, the most common mistake in a frame model, and the model picture shows it at once: the viewer draws each beam with its profile.

The API reference has every material and section with its parameters.

© 2026 Francesco Ranaudo · Text and pictures CC BY 4.0 · Code Elastic License 2.0 · how to reuse them