#[non_exhaustive]pub struct TubeFinSetAero {
pub id: String,
pub count: u32,
pub fore_station_m: f64,
pub length_m: f64,
pub mean_diameter_m: f64,
pub axis_radius_m: f64,
pub area_ratio: f64,
}Expand description
A tube fin set’s precomputed terms.
Serialize-only, like crate::AeroModel.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: StringThe component’s id.
count: u32Number of tubes, at least 3.
fore_station_m: f64Station of the tubes’ leading edges, m aft of the nose tip.
length_m: f64A tube’s length L, m.
mean_diameter_m: f64A tube’s mean diameter d, m: its outer and inner radii added.
axis_radius_m: f64Distance of each tube’s axis from the rocket’s axis, m: the body’s radius plus the tube’s outer radius.
area_ratio: f64One tube’s area d L over the reference area.
Implementations§
Source§impl TubeFinSetAero
impl TubeFinSetAero
Sourcepub fn new(
component: &PlacedComponent,
set: &TubeFinSet,
reference_area_m2: f64,
) -> Result<Self, AeroError>
pub fn new( component: &PlacedComponent, set: &TubeFinSet, reference_area_m2: f64, ) -> Result<Self, AeroError>
The terms of set on component, on a rocket of reference area reference_area_m2.
§Errors
AeroError::Unsupported for fewer than three tubes, solid tubes, tubes shorter than a
third of their diameter (past Fletcher’s measurements) and tubes that overlap their
neighbours; AeroError::Layout for a set without the radius of its body tube, and
AeroError::Domain for a bad dimension.
Sourcepub fn loading(&self, mach: f64) -> Result<(f64, f64), AeroError>
pub fn loading(&self, mach: f64) -> Result<(f64, f64), AeroError>
The whole set’s normal-force slope per radian on the reference area at mach, and its
center of pressure, m aft of the nose tip: N C_Lα(λ/β)/β · d L/A_ref at
x_ac(β A) L behind the leading edge.
§Errors
AeroError::Mach outside [0, 0.8).
Sourcepub fn roll_damping(
&self,
mach: f64,
reference_diameter_m: f64,
) -> Result<f64, AeroError>
pub fn roll_damping( &self, mach: f64, reference_diameter_m: f64, ) -> Result<f64, AeroError>
The set’s roll damping C_lp at mach on a reference diameter reference_diameter_m:
each tube crosses the air at p ρ under the roll rate p, ρ its axis’s distance from the
rocket’s, so its normal force about the axis gives −2 C_Nα ρ²/d², as a pod’s does
(crate::AeroModel::roll).
§Errors
As Self::loading.
Trait Implementations§
Source§impl Clone for TubeFinSetAero
impl Clone for TubeFinSetAero
Source§fn clone(&self) -> TubeFinSetAero
fn clone(&self) -> TubeFinSetAero
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TubeFinSetAero
impl Debug for TubeFinSetAero
Source§impl PartialEq for TubeFinSetAero
impl PartialEq for TubeFinSetAero
Source§fn eq(&self, other: &TubeFinSetAero) -> bool
fn eq(&self, other: &TubeFinSetAero) -> bool
self and other values to be equal, and is used by ==.