pub struct SteelSection {
pub area: f64,
pub ix: f64,
pub iy: f64,
pub zx: f64,
pub zy: f64,
pub fy: f64,
pub e: f64,
}Expand description
Wide-flange (I-beam) or channel steel section properties.
Fields§
§area: f64Cross-sectional area A (mm²).
ix: f64Moment of inertia about strong axis Ix (mm⁴).
iy: f64Moment of inertia about weak axis Iy (mm⁴).
zx: f64Plastic section modulus about strong axis Zx (mm³).
zy: f64Plastic section modulus about weak axis Zy (mm³).
fy: f64Yield strength Fy (MPa).
e: f64Modulus of elasticity E (MPa).
Implementations§
Source§impl SteelSection
impl SteelSection
Sourcepub fn i_section(bf: f64, tf: f64, d: f64, tw: f64, fy: f64) -> Self
pub fn i_section(bf: f64, tf: f64, d: f64, tw: f64, fy: f64) -> Self
Create an I-section from flange/web dimensions.
bf = flange width, tf = flange thickness, d = total depth,
tw = web thickness, all in mm.
Sourcepub fn plastic_moment(&self) -> f64
pub fn plastic_moment(&self) -> f64
Plastic moment capacity Mp = Zx * Fy (N·mm).
Sourcepub fn axial_capacity(&self) -> f64
pub fn axial_capacity(&self) -> f64
Axial load capacity Pn = A * Fy (N) for short columns (no buckling).
Sourcepub fn elastic_buckling_stress(&self, kl_over_r: f64) -> f64
pub fn elastic_buckling_stress(&self, kl_over_r: f64) -> f64
Critical buckling stress (Euler) for slenderness ratio KL/r.
Trait Implementations§
Source§impl Clone for SteelSection
impl Clone for SteelSection
Source§fn clone(&self) -> SteelSection
fn clone(&self) -> SteelSection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SteelSection
impl RefUnwindSafe for SteelSection
impl Send for SteelSection
impl Sync for SteelSection
impl Unpin for SteelSection
impl UnsafeUnpin for SteelSection
impl UnwindSafe for SteelSection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more