Skip to main content

NormalForce

Struct NormalForce 

Source
#[non_exhaustive]
pub struct NormalForce { pub coefficient: f64, pub slope_per_rad: f64, pub moment_m: f64, pub moment_slope_m: f64, pub cp_station_m: Option<f64>, pub side_coefficient: f64, pub side_moment_m: f64, pub table: Option<NormalForceLookup>, }
Expand description

The normal force of a whole rocket, or of one component, at a flow condition.

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§coefficient: f64

Normal-force coefficient C_N on the reference area, in the plane of the flow.

§slope_per_rad: f64

C_N/α per radian; at α = 0, the slope ∂C_N/∂α.

§moment_m: f64

Σ C_N,i X_i, m: the normal force’s moment about the nose tip per unit dynamic pressure and reference area, defined even when the net force is zero.

§moment_slope_m: f64

Σ (C_N,i/α) X_i, m per radian: Self::moment_m per radian of angle of attack, and at α = 0 its slope Σ C_Nα,i X_i. It is defined when the slopes cancel, where the center of pressure is not: the loads are then a pure couple.

§cp_station_m: Option<f64>

Center of pressure, m aft of the nose tip; None when the slope is zero, or so small against its terms (below 1e-12 of Σ |C_Nα,i|) that the ratio would be noise.

§side_coefficient: f64

Side-force coefficient across the plane of the flow, along z_B × the lateral-flow direction. Only fin sets of one or two fins produce it (crate::fins::side_sum).

§side_moment_m: f64

Σ C_Y,i X_i, m: the side force’s moment about the nose tip per unit dynamic pressure and reference area.

§table: Option<NormalForceLookup>

The override table’s lookup, on the table’s reference area, when the whole rocket’s normal force came from one (AeroModel::with_normal_force_table): whether the Mach number was outside a column’s range, or the angle past the last column’s.

Trait Implementations§

Source§

impl Clone for NormalForce

Source§

fn clone(&self) -> NormalForce

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for NormalForce

Source§

impl Debug for NormalForce

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for NormalForce

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for NormalForce

Source§

fn eq(&self, other: &NormalForce) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for NormalForce

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for NormalForce

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.