Expand description
Drag: the terms of Niskanen’s zero-lift drag buildup and the angle-of-attack scaling of axial
drag, as functions of their inputs. crate::AeroModel::drag sums them over a rocket.
The zero-lift drag coefficient on the reference area is (Niskanen 2009 eq. 3.75, 3.97)
C_D0 = C_D,friction + Σ (A_T/A_ref)(C_D•)_T, each pressure, base and parasitic term T taken
on its own area A_T:
- Skin friction (
skin_friction_coefficient): a fully turbulent boundary layer (Niskanen §3.4.1) with the Reynolds numberR = V L/νon the rocket’s length, limited by roughness (eq. 3.78–3.81) and corrected for compressibility (eq. 3.82–3.84). Wetted areas are weighted by the body form factor1 + 1/(2 f_B)and the fin thickness factor1 + 2t/c̄(eq. 3.85). - Body pressure drag: noses, shoulders and steps up in radius from
0.8 sin² φat rest (eq. 3.86) through Mach 1 to appendix B’s wave drag (crate::nose_drag); boattails by the boattail rule (eq. 3.88,boattail_factor) to Mach 0.8 and their supersonic wave drag from Mach 1 (crate::afterbody); a lip in a boattail’s wake loses a share of its own. - Base drag (
base_drag_coefficient, eq. 3.94) on the aft base, less the thrusting motors’ area, relieved behind a boattail faster than sound (crate::afterbody). - Fin pressure drag (
fin_pressure_drag_coefficient, eq. 3.89–3.93) on the fins’ frontal areaN t s. - Parasitic drag of launch lugs and rail buttons (
launch_lug_drag, eq. 3.95–3.96, and Niskanen’s rail-pin rule, p. 52). - Angle of attack (
axial_drag_alpha_factor, §3.4.7):C_A = C_D0 f(α).
Interference drag and fin-tip vortices are neglected, as in Niskanen p. 41.
Every term has its transonic and supersonic branch, and the buildup covers Mach 0 to 5
(BUILDUP_MACH_LIMIT).
See docs/physics/aero.md and the decision records on subsonic drag and drag override tables,
ADR-009, on drag through Mach 1, ADR-028, and on the afterbody faster
than sound, ADR-030.
Structs§
- Base
Behind Boattail - The aft base behind a boattail: its drag coefficient is scaled by
1 − Σ w (1 − k)over its sources, each a boattail the base still takes relief from, withkthat boattail’s base-pressure ratio (Boattail::base_pressure_ratio) andwits share of the flow behind the boattails; the shares add up to at most 1. - Boattail
Term - A narrowing transition’s pressure drag: as a boattail of its own, or, by merge weights, as its share of the boattails it may continue.
- Component
Drag - One component’s share of the drag buildup, at zero lift.
- Component
Drag Terms - A component’s precomputed drag terms, built by
crate::AeroModel::new. Areas are divided by the reference area. - Drag
- A rocket’s drag, or one component’s share of it, at a flow condition. Coefficients are on the reference area.
- Drag
Conditions - What the drag buildup needs beyond the
crate::Flow. - FinPressure
Terms - A fin set’s pressure-drag inputs.
- Merged
Boattail - A narrowing transition’s share of a boattail it continues (
BoattailTerm). - Pressure
Drag Term - A nose’s, shoulder’s or step’s pressure drag: its coefficient against Mach number, on an area.
- Relief
Source - A boattail the aft base takes relief from (
BaseBehindBoattail). - Wake
Term - A lip in a boattail’s wake: its step up’s pressure drag is scaled by
1 − step_fractionand its shoulder’s by1 − shoulder_fraction.
Constants§
- BUILDUP_
MACH_ LIMIT - The top of the buildup’s range, which it doesn’t reach: Mach 5, where the hypersonic region
begins (Niskanen 2009 Table 3.1, p. 19), as for the normal force. Niskanen expects the
simulation “to be reasonably accurate to at least Mach 1.5” (p. 94); how far it holds against
measurements is in
docs/physics/aero.md. - LOW_
REYNOLDS - Reynolds number below which the friction formulas no longer hold and the coefficient is held at its value there (Niskanen 2009 p. 44).
- LOW_
REYNOLDS_ FRICTION - The skin-friction coefficient below
LOW_REYNOLDS(Niskanen 2009 eq. 3.81). - MERGE_
FULL_ TURN_ RAD - Two narrowing parts whose half-angles differ by up to this merge wholly (
BoattailTerm), a judgement for a curved boattail drawn in parts: 3°. - MERGE_
MIN_ ANGLE_ RAD - Below this half-angle a narrowing part is partly a tube: it merges with a boattail, and a later part with it, by the smaller of the two angles over the larger, the larger taken as at most this, a judgement: 1°.
- MERGE_
NONE_ TURN_ RAD - Two narrowing parts whose half-angles differ by this or more don’t merge (
BoattailTerm), a corner: 10°. - MOTOR_
POD_ SETS - The most pod sets holding motor mounts that a rocket’s drag tells apart
(
DragConditions::thrusting_pod_motor_areas_m2); a layout with more is refused. A fixed number keeps the conditions a plain value, built at every step of a flight without allocating. - SUBSONIC_
MACH_ LIMIT - The top of the subsonic region, Mach 0.8 (Niskanen 2009 Table 3.1, p. 19), where Niskanen’s
semi-empirical transonic method starts (p. 47): the lower bound
M_Lof a step’s and a blunt face’s transonic method (crate::nose_drag::PressureDragCurve::step). - WAKE_
FULL_ RISE - A lip behind a boattail rising up to this share of the boattail’s drop in diameter is wholly
in its wake (
WakeTerm). - WAKE_
NONE_ RISE - A lip behind a boattail rising this share of the boattail’s drop in diameter or more is not in
its wake (
WakeTerm).
Functions§
- axial_
drag_ alpha_ factor - The scaling of axial drag with angle of attack,
C_A(α) = C_D0 f(α)(Niskanen 2009 §3.4.7), withC_Apositive along−z_B(toward the tail). - base_
drag_ coefficient - Base drag
(C_D•)_baseon the base area:0.12 + 0.13 M²below Mach 1 and0.25/Mfrom Mach 1, continuous at 0.25 (Niskanen 2009 eq. 3.94, after Fleeman). - boattail_
factor - The boattail rule’s share of base drag (Niskanen 2009 eq. 3.88), from the length ratio
γ = l/(d₁ − d₂): 1 forγ ≤ 1,(3 − γ)/2between 1 and 3, and 0 from 3. A boattail’s pressure drag is this factor times the base drag coefficient on the boattail’s decrease in area, so a zero-length boattail drags like the base it uncovers. - body_
friction_ form_ factor - Body friction form factor
1 + 1/(2 f_B)for a body of fineness ratiof_B= body length over maximum body diameter (Niskanen 2009 eq. 3.85; Barrowman 1967 eq. 4-16). - critical_
reynolds - The roughness-limited critical Reynolds number
R_crit = 51 (R_s/L)^−1.039(Niskanen 2009 eq. 3.79; Barrowman 1967 eq. 4-7), infinite for a perfectly smooth surface. - fin_
friction_ thickness_ factor - Fin friction thickness factor
1 + 2t/c̄, withtthe fin thickness andc̄the mean aerodynamic chord (Niskanen 2009 eq. 3.85). - fin_
pressure_ drag_ coefficient - Pressure drag of a fin set on its frontal area
N t s(Niskanen 2009 eq. 3.89–3.93): the leading edge’s(C_D•)_LE⊥ cos² Γ_Lplus the trailing edge’s share of base drag. - incompressible_
skin_ friction - Incompressible skin-friction coefficient of a fully turbulent boundary layer at Reynolds
number
reynoldson a surface of relative roughnessR_s/L(Niskanen 2009 eq. 3.81): - joint_
pressure_ drag_ coefficient - Pressure drag at rest of a nose cone or shoulder,
(C_D•)_p,0 = 0.8 sin² φon its frontal area (a nose’s base area, or a shoulder’s increase in area), withφthe joint angle between the surface and the body axis at the aft joint (Niskanen 2009 eq. 3.86, after NAVWEPS 1488 p. 237). A smooth joint (φ = 0) has none; a bare step (φ = π/2) has 0.8. - launch_
lug_ drag - Parasitic drag of a launch lug (Niskanen 2009 eq. 3.95–3.96): the coefficient
max{1.3 − 0.3 l/d, 1} (C_D•)_stagon the areaπ r_ext² − π r_int² max{1 − l/d, 0}, returned as(coefficient, area_m2). - rail_
button_ drag_ coefficient - Parasitic drag coefficient of a rail button on its frontal area (the side profile of its base,
waist and flange): Niskanen’s rail-pin rule (2009 p. 52), a pin drags like a solid launch lug
as long as its diameter,
(C_D•)_stag(Hoerner p. 5-8 gives 0.80 for a pin on a wall). - skin_
friction_ coefficient - Skin-friction coefficient with compressibility (Niskanen 2009 eq. 3.82–3.84; Barrowman 1967 eq. 4-12, 4-13):
- stagnation_
drag_ coefficient - Pressure drag of a blunt circular cylinder face,
(C_D•)_stag = 0.85 q_stag/qon its frontal area (Niskanen 2009 eq. B.2). - stagnation_
pressure_ ratio - Stagnation-pressure ratio
q_stag/q(Niskanen 2009 eq. B.1, after Hoerner pp. 15-2, 16-3):1 + M²/4 + M⁴/40below Mach 1 and1.84 − 0.76/M² + 0.166/M⁴ + 0.035/M⁶from Mach 1 (1.275 and 1.281 atM = 1).