elliptical_hollow_section¶
- sectionproperties.pre.library.steel_sections.elliptical_hollow_section(d_x: float, d_y: float, t: float, n: int, material: Material = Material(name='default', elastic_modulus=1, poissons_ratio=0, yield_strength=1, density=1, color='w')) Geometry[source]¶
Constructs an elliptical hollow section (EHS).
Constructs an elliptical hollow section (EHS) centered at the origin
(0, 0), with outer horizontal diameterd_x, outer vertical diameterd_yand thicknesst, usingnpoints to construct the inner and outer ellipses.- Parameters:
d_x (float) – Diameter of the ellipse in the x-dimension
d_y (float) – Diameter of the ellipse in the y-dimension
t (float) – Thickness of the EHS
n (int) – Number of points discretising the inner and outer ellipses
material (Material) – Material to associate with this geometry. Defaults to
pre.DEFAULT_MATERIAL.
- Raises:
RuntimeError – If the geometry generation fails
- Returns:
Elliptical hollow section geometry
- Return type:
Example
The following example creates an EHS discretised with 30 points, with an outer horizontal diameter of 50 mm, outer vertical diameter of 25 mm and thickness of 2 mm:
from sectionproperties.pre.library import elliptical_hollow_section elliptical_hollow_section(d_x=50, d_y=25, t=2, n=64).plot_geometry()
(
Source code,png,hires.png,pdf)
Elliptical hollow section geometry¶