pub struct TitaniumTube {
pub outer_diameter_mm: f64,
pub wall_thickness_mm: f64,
pub temperature_c: f64,
}Expand description
Titanium structural beam sizing for aerospace applications.
Sizes a hollow circular tube to carry a given axial load with a safety factor.
Fields§
§outer_diameter_mm: f64Outer diameter (mm).
wall_thickness_mm: f64Wall thickness (mm).
temperature_c: f64Temperature (°C).
Implementations§
Source§impl TitaniumTube
impl TitaniumTube
Sourcepub fn new(
outer_diameter_mm: f64,
wall_thickness_mm: f64,
temperature_c: f64,
) -> Self
pub fn new( outer_diameter_mm: f64, wall_thickness_mm: f64, temperature_c: f64, ) -> Self
Construct a titanium tube.
Sourcepub fn cross_section_area_mm2(&self) -> f64
pub fn cross_section_area_mm2(&self) -> f64
Cross-sectional area (mm²).
Sourcepub fn second_moment_mm4(&self) -> f64
pub fn second_moment_mm4(&self) -> f64
Second moment of area I (mm⁴).
Sourcepub fn euler_buckling_load_n(&self, length_mm: f64) -> f64
pub fn euler_buckling_load_n(&self, length_mm: f64) -> f64
Euler buckling load (N) for a pin-ended column of length l (mm).
Sourcepub fn axial_yield_load_n(&self) -> f64
pub fn axial_yield_load_n(&self) -> f64
Axial load capacity (N) limited by yield.
Sourcepub fn margin_of_safety_yield(&self, applied_load_n: f64) -> f64
pub fn margin_of_safety_yield(&self, applied_load_n: f64) -> f64
Margin of safety against yield under applied_load_n (positive = safe).
Trait Implementations§
Source§impl Clone for TitaniumTube
impl Clone for TitaniumTube
Source§fn clone(&self) -> TitaniumTube
fn clone(&self) -> TitaniumTube
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TitaniumTube
impl Debug for TitaniumTube
impl Copy for TitaniumTube
Auto Trait Implementations§
impl Freeze for TitaniumTube
impl RefUnwindSafe for TitaniumTube
impl Send for TitaniumTube
impl Sync for TitaniumTube
impl Unpin for TitaniumTube
impl UnsafeUnpin for TitaniumTube
impl UnwindSafe for TitaniumTube
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