pub struct Margin {
pub mach: f64,
pub angle_of_attack_rad: f64,
pub roll_rad: f64,
pub normal_force_slope_per_rad: f64,
pub slope_magnitude_sum_per_rad: f64,
pub pitch_moment_slope_per_rad: f64,
pub cp_station_m: Option<f64>,
pub margin_cal: Option<f64>,
}Expand description
The stability margin of one flow.
Fields§
§mach: f64The Mach number.
angle_of_attack_rad: f64The total angle of attack, rad.
roll_rad: f64The direction the air crosses the rocket, rad from x_B toward y_B
(hpr_aero::Flow::roll_rad): for weakest_margin, its weakest plane’s.
normal_force_slope_per_rad: f64The rocket’s normal-force slope C_Nα on the reference area, per radian (at an angle of
attack, the secant C_N/α, hpr_aero::NormalForce::slope_per_rad).
slope_magnitude_sum_per_rad: f64Σ |C_Nα,i| over the components, per radian: the scale against which the net slope is
judged (MARGIN_CONDITION_LIMIT). With a normal-force table it is the table’s own slope’s
magnitude.
pitch_moment_slope_per_rad: f64The pitch-moment slope about the center of mass on the reference area and diameter, per
radian: C_mα = −(Σ C_Nα,i x_i − C_Nα x_cg) / d, stations x aft of the nose tip, from
hpr_aero::NormalForce::moment_slope_m. Negative restores. It is finite when the margin
is not, and with a margin it is −C_Nα · margin.
cp_station_m: Option<f64>The center of pressure, m aft of the nose tip; None when the margin is.
margin_cal: Option<f64>The margin (x_cp − x_cg) / d, calibres: positive with the center of pressure aft of the
center of mass. None when the net slope is not positive or is below
Σ |C_Nα,i| / MARGIN_CONDITION_LIMIT, where the quotient would be noise.