Skip to main content

KnownIssue

Enum KnownIssue 

Source
#[non_exhaustive]
pub enum KnownIssue {
Show 16 variants TransonicNoseDrag, BaseDrag, SharpFinDrag, SteepBoattailDrag, SupersonicPressureDrag, RadiusStepFallback, LongLipFallback, SteepTipFallback, MarginReadsHigh, ForwardSweptFinSlope, SubsonicBoattailDrag, FinSetsAtOneStation, TurbulentFriction, FreeformFinCenterOfPressure, BoosterAirframeDrag, DragFreeSeparatedPart,
}
Expand description

A known error in hpr’s drag or stability that a flight can meet.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

TransonicNoseDrag

#67: the closed-form cone’s pressure drag, which cones, ogives and some power and parabolic series take, reads high from Mach 0.8.

§

BaseDrag

#68: base drag reads high from Mach 0.8 to 1.2 and low from 1.5.

§

SharpFinDrag

#70: a sharp fin section’s drag reads high faster than sound. hpr has no sharp section, so the warning goes with the airfoil.

§

SteepBoattailDrag

#72: a steep boattail’s drag reads high faster than sound.

§

SupersonicPressureDrag

#222: supersonic pressure drag about twice OpenRocket’s on an ogive nose and airfoil fins.

§

RadiusStepFallback

#87: a step in radius takes the whole body off the shock-expansion method faster than Mach 1.2.

§

LongLipFallback

#120: a lip longer than its boattail’s drop in diameter does the same.

§

SteepTipFallback

#121: a pointed tip steeper than the cone tables’ 30° does the same.

§

MarginReadsHigh

#172: the static margin read up to 0.1108 calibres higher than OpenRocket’s on four private designs, cause unknown.

§

ForwardSweptFinSlope

#64: a fin whose leading edge sweeps forward takes a supersonic normal-force slope that rises past linear theory’s start, moving the center of pressure aft.

§

SubsonicBoattailDrag

#73: below Mach 0.8, Niskanen’s rule gives a boattail steeper than 9.46° a share of base drag that read up to +41.7% on a measured one.

§

FinSetsAtOneStation

#325: fin sets at one station are counted apart for fin–fin interference, where OpenRocket counts them together.

§

TurbulentFriction

#18: skin friction is taken as fully turbulent, so on a surface smooth enough to keep its boundary layer laminar for a way it reads high.

§

FreeformFinCenterOfPressure

#326: a kinked freeform fin’s center of pressure sat 1.6 mm aft of OpenRocket’s; other freeform outlines are unprobed.

§

BoosterAirframeDrag

#179: a booster dropped at a separation flies on as a point with only its devices’ drag, tumbling side-on from the split where a real one first coasts nose-first on its airframe’s drag.

§

DragFreeSeparatedPart

#354: a separated part has no drag at all until its first device opens, where a real one has its airframe’s.

Implementations§

Source§

impl KnownIssue

Source

pub fn number(self) -> u32

The issue’s number on GitHub.

Source

pub fn is_stability(self) -> bool

Whether the issue is about the margin and center of pressure (#64, #87, #120, #121, #172, #325, #326) rather than drag.

Source

pub fn has_mach_condition(self) -> bool

Whether the issue has a Mach condition, so its message quotes the flight’s top speed: every one but #73 (any flight is subsonic for a time), #18, #172, #325 and #326, which hold at any speed, and #179 and #354, which are a separated part’s.

Source

pub fn url(self) -> String

The issue’s address.

Trait Implementations§

Source§

impl Clone for KnownIssue

Source§

fn clone(&self) -> KnownIssue

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 KnownIssue

Source§

impl Debug for KnownIssue

Source§

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

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

impl<'de> Deserialize<'de> for KnownIssue

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 Eq for KnownIssue

Source§

impl PartialEq for KnownIssue

Source§

fn eq(&self, other: &KnownIssue) -> 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 KnownIssue

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 KnownIssue

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.