Struct LeafFlutterState
#[repr(C)]pub struct LeafFlutterState {
pub leaf_length_m: f32,
pub strouhal_number: f32,
pub torsional_angle_rad: f32,
pub abscission_limit_n: f32,
pub is_detached: bool,
}Expand description
Aeroelastic leaf oscillator with Strouhal vortex-shedding flutter and petiole abscission.
Fields§
§leaf_length_m: f32Characteristic leaf length in meters (e.g. 0.12m for eucalyptus lanceolate leaf).
strouhal_number: f32Strouhal number ($\text{St} \approx 0.18$ for elliptical leaves).
torsional_angle_rad: f32Torsional flutter angle in radians.
abscission_limit_n: f32Tensile petiole abscission limit in Newtons. When drag exceeds this, leaf detaches.
is_detached: boolTrue if the leaf has detached and become a tumbling airborne particle.
Implementations§
§impl LeafFlutterState
impl LeafFlutterState
pub fn flutter_frequency_hz(&self, wind_speed: f32) -> f32
pub fn flutter_frequency_hz(&self, wind_speed: f32) -> f32
Computes Strouhal vortex shedding flutter frequency $f = \frac{\text{St} \cdot v}{L}$ in Hz.
Trait Implementations§
§impl Clone for LeafFlutterState
impl Clone for LeafFlutterState
§fn clone(&self) -> LeafFlutterState
fn clone(&self) -> LeafFlutterState
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 moreimpl Copy for LeafFlutterState
§impl Debug for LeafFlutterState
impl Debug for LeafFlutterState
§impl Default for LeafFlutterState
impl Default for LeafFlutterState
§fn default() -> LeafFlutterState
fn default() -> LeafFlutterState
Returns the “default value” for a type. Read more
§impl PartialEq for LeafFlutterState
impl PartialEq for LeafFlutterState
impl StructuralPartialEq for LeafFlutterState
Auto Trait Implementations§
impl Freeze for LeafFlutterState
impl RefUnwindSafe for LeafFlutterState
impl Send for LeafFlutterState
impl Sync for LeafFlutterState
impl Unpin for LeafFlutterState
impl UnsafeUnpin for LeafFlutterState
impl UnwindSafe for LeafFlutterState
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