Skip to content

Commit 0fd455b

Browse files
MateusStanoclaude
andauthored
ENH: base the tube fins on ring wing measurements and drop add_tube_fins (#1218)
* ENH: base the tube fins on ring wing measurements and drop add_tube_fins Follow-up of #1144 for the v1.14.0 release. - Normal force: Ribner's result that a ring wing lifts twice as much as an elliptic flat wing spanning its diameter, with Helmbold's equation for that wing. Within 3.1% of the five lift slopes measured in NACA TN 4117. The lifting-line formula used before is 11 to 68% higher on those points. - Center of pressure: the positions measured in NACA TN 4117, interpolated on inner diameter over length, in place of a fixed quarter of the length. - The 20 degree cap on the normal force is removed. No other surface has a stall model. - Roll damping: each tube takes the normal force its sideways motion produces. - Rocket.add_tube_fins and Rocket.tube_fins are removed. Tube fins are added with Rocket.add_surfaces. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * DOC: describe the tube fin model, its data and its limits Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * DOC: say where the Prandtl factor is applied in AeroSurface._beta Only the fins use it. The docstring also named the nose cone and the tails, which stopped using it in 97ea9ae. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * DOC: link the tube fin references Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
1 parent 96bfbb3 commit 0fd455b

6 files changed

Lines changed: 418 additions & 172 deletions

File tree

Lines changed: 141 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
Tube Fin Aerodynamics
22
=====================
33

4-
RocketPy models a tube-fin set as a symmetric ring of uncanted ring airfoils.
5-
The implementation follows the preliminary tube-fin model in OpenRocket's
6-
`TubeFinSetCalc <https://github.com/openrocket/openrocket/blob/unstable/core/src/main/java/info/openrocket/core/aerodynamics/barrowman/TubeFinSetCalc.java>`_.
7-
The normal-force derivative is based on Ribner's analysis of a ring airfoil in
8-
nonaxial flow [1]_.
4+
RocketPy models a tube-fin set as a symmetric ring of uncanted ring wings, each
5+
treated as if it were alone in the flow. The model started from the tube-fin
6+
calculation of OpenRocket
7+
(`TubeFinSetCalc <https://github.com/openrocket/openrocket/blob/unstable/core/src/main/java/info/openrocket/core/aerodynamics/barrowman/TubeFinSetCalc.java>`_).
8+
The normal force and the center of pressure are different from OpenRocket's:
9+
they follow the wind tunnel measurements of ring wings in NACA TN 4117 [2]_.
910

1011
Geometry
1112
--------
@@ -23,60 +24,162 @@ This constraint also places each tube against the rocket body. Configurations
2324
with fewer than three tubes, gaps between tubes, or overlapping tubes are
2425
rejected.
2526

27+
The aspect ratio of one tube is its inner diameter divided by its length:
28+
29+
.. math::
30+
31+
A = \frac{2 r_i}{L}.
32+
2633
Normal Force
2734
------------
2835

29-
The ring-airfoil aspect ratio and its modified form are
36+
Ribner [1]_ showed that a ring wing lifts twice as much as an elliptic flat
37+
wing that spans its diameter and has the length of the ring as root chord.
38+
That wing has the area and the aspect ratio
3039

3140
.. math::
3241
33-
AR = \frac{2 r_i}{L}, \qquad AR' = \frac{2 AR}{\pi}.
42+
S_e = \frac{\pi r_i L}{2}, \qquad A_e = \frac{(2 r_i)^2}{S_e} = \frac{4 A}{\pi}.
3443
35-
For a rocket reference area :math:`A_{ref} = \pi R^2`, the normal-force
36-
coefficient derivative of the complete tube set is
44+
Its lift slope is taken from Helmbold's equation [3]_, which holds for both
45+
low and high aspect ratios:
3746

3847
.. math::
3948
40-
C_{N_\alpha} =
41-
\frac{n}{A_{ref}}
42-
2 \left(\frac{AR'}{1 + AR'}\right) \pi^2 r_i L.
49+
a_e = \frac{2 \pi A_e}{2 + \sqrt{A_e^2 + 4}}.
4350
44-
RocketPy applies this derivative symmetrically for positive and negative
45-
angles of attack and caps the magnitude at 20 degrees:
51+
For a rocket reference area :math:`A_{ref} = \pi R^2`, the normal-force
52+
coefficient derivative of the complete tube set is
4653

4754
.. math::
4855
49-
C_N(\alpha) = C_{N_\alpha}
50-
\operatorname{clip}\left(\alpha, -20^\circ, 20^\circ\right).
56+
C_{N_\alpha} = \frac{n}{A_{ref}} \, 2 \, a_e \, S_e.
57+
58+
The normal force grows in proportion to the angle of attack,
59+
:math:`C_N = C_{N_\alpha} \alpha`.
60+
61+
For a long tube this tends to the slender-body value, a normal force of
62+
:math:`4 \pi r_i^2` per unit of dynamic pressure and angle of attack. For a
63+
wide ring it tends to the lifting-line value, :math:`2 \pi^2 r_i L`.
64+
65+
The table compares the lift slope of one ring wing, per degree and based on
66+
the area :math:`2 r_i L`, with the measurements of NACA TN 4117 (figure 11).
67+
The last column is the lifting-line formula of [1]_, which OpenRocket uses and
68+
which only holds for wide rings.
69+
70+
.. list-table::
71+
:header-rows: 1
72+
:widths: 16 20 22 22 20
73+
74+
* - :math:`A`
75+
- Measured
76+
- RocketPy
77+
- Difference
78+
- Lifting line
79+
* - 1/3
80+
- 0.018
81+
- 0.0181
82+
- +0.4%
83+
- 0.0302
84+
* - 2/3
85+
- 0.034
86+
- 0.0350
87+
- +3.1%
88+
- 0.0513
89+
* - 1.0
90+
- 0.049
91+
- 0.0502
92+
- +2.4%
93+
- 0.0670
94+
* - 1.5
95+
- 0.069
96+
- 0.0690
97+
- +0.1%
98+
- 0.0841
99+
* - 3.0
100+
- 0.102
101+
- 0.1042
102+
- +2.2%
103+
- 0.1131
51104

52105
Center of Pressure
53106
------------------
54107

55-
For Mach numbers up to 0.5, the center of pressure is placed at the quarter
56-
chord:
108+
The center of pressure of a ring wing depends on its aspect ratio. RocketPy
109+
uses the positions measured in NACA TN 4117 (figure 8), given from the tube
110+
leading edge as a fraction of the tube length:
111+
112+
.. list-table::
113+
:header-rows: 1
114+
:widths: 30 30
115+
116+
* - :math:`A`
117+
- :math:`x_{CP} / L`
118+
* - 1/3
119+
- -0.11
120+
* - 2/3
121+
- 0.14
122+
* - 1.0
123+
- 0.20
124+
* - 1.5
125+
- 0.25
126+
* - 3.0
127+
- 0.35
128+
129+
Values in between are interpolated linearly. Below :math:`A = 1/3` and above
130+
:math:`A = 3` the nearest measured value is used. A negative value means the
131+
center of pressure is ahead of the leading edge, as it is on a slender body.
132+
133+
Roll Damping
134+
------------
135+
136+
When the rocket rolls at the rate :math:`\omega`, the center of each tube
137+
moves sideways at :math:`\omega (R + r_o)`. The tube sees this as an angle of
138+
attack :math:`\omega (R + r_o) / V`, with :math:`V` the airspeed, and the
139+
normal force it produces acts against the roll. For the complete set the roll
140+
moment is
57141

58142
.. math::
59143
60-
x_{CP} = \frac{L}{4}.
144+
M_{roll} = -\frac{1}{2} \rho V A_{ref} C_{N_\alpha} (R + r_o)^2 \omega.
145+
146+
This is the same assumption OpenRocket makes. It has not been compared with
147+
measurements.
148+
149+
Mach Number
150+
-----------
61151

62-
The position is measured from the tube leading edge. OpenRocket moves this
63-
position with Mach number above Mach 0.5; RocketPy does not yet implement that
64-
correction. Simulations that exceed Mach 0.5 should use aerodynamic data from a
65-
higher-fidelity source instead of this fixed-CP model.
152+
The measurements behind the normal force and the center of pressure were made
153+
at low speed. RocketPy uses both unchanged at every Mach number.
154+
155+
For the normal force this is a small approximation in subsonic flight. The
156+
Prandtl-Glauert rule, which RocketPy applies to the fins, would raise the lift
157+
slope of a tube with :math:`A = 1` by 2.0% at Mach 0.5 and by 5.6% at Mach 0.8.
158+
For :math:`A = 1/3` the increase is 0.7% at Mach 0.8. The longer the tube, the
159+
closer it is to a slender body, whose normal force does not depend on the Mach
160+
number.
161+
162+
Above about Mach 0.8 the model should not be relied on. The flow through the
163+
tubes and through the gaps between the tubes and the body changes in ways this
164+
model does not describe.
165+
166+
OpenRocket also keeps the normal force independent of the Mach number. For the
167+
center of pressure it uses the quarter of the tube length up to Mach 0.5 and
168+
the rule of its flat fins above that. RocketPy does not, because that rule was
169+
not derived for ring wings.
66170

67171
Model Limits
68172
------------
69173

70-
The tube-fin surface contributes normal force and the corresponding pitch and
71-
yaw moments about its center of pressure. It does not calculate:
72-
73-
- friction or pressure drag from the tubes;
74-
- roll forcing or damping;
75-
- side-force or yaw behavior for asymmetric tube layouts;
76-
- tube cant; or
77-
- aerodynamic corrections for separated or overlapping tubes.
174+
- Each tube is treated as an isolated ring wing. The effect of the tubes on
175+
each other, and of the rocket body on the tubes, is not accounted for. The
176+
measurements used here were made on single ring wings with no body.
177+
- There is no stall. In the measurements the normal force is proportional to
178+
the angle of attack up to about 16 to 20 degrees and levels off beyond that.
179+
- Friction and pressure drag of the tubes are not calculated. Represent them
180+
in the rocket's power-on and power-off drag curves.
181+
- Tube cant, separated tubes and overlapping tubes are not supported.
78182

79-
Represent tube-fin drag in the rocket's power-on and power-off drag curves.
80183
Use :class:`rocketpy.GenericSurface` when measured, wind-tunnel, or CFD
81184
coefficients are available outside the limits above.
82185

@@ -85,3 +188,9 @@ References
85188

86189
.. [1] Ribner, H. S. "The Ring Airfoil in Nonaxial Flow." *Journal of the
87190
Aeronautical Sciences*, 14(9), 529--530, 1947.
191+
https://doi.org/10.2514/8.1437
192+
.. [2] Fletcher, H. S. "Experimental Investigation of Lift, Drag, and Pitching
193+
Moment of Five Annular Airfoils." NACA Technical Note 4117, 1957.
194+
https://ntrs.nasa.gov/citations/19930084906
195+
.. [3] Helmbold, H. B. "Der unverwundene Ellipsenflügel als tragende Fläche."
196+
*Jahrbuch 1942 der Deutschen Luftfahrtforschung*, I111--I113, 1942.

‎docs/user/aerodynamics/surfaces.rst‎

Lines changed: 31 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ RocketPy distinguishes between two levels of fin definition:
112112
configurations, or when you need fine-grained control.
113113

114114
- **Tube-fin sets** (:class:`rocketpy.TubeFins`): This class defines a
115-
symmetric ring of cylindrical fins. Its normal-force derivative follows
116-
Ribner's ring-airfoil model rather than the planar-fin Barrowman equations.
115+
symmetric ring of cylindrical fins. Each tube is treated as a ring wing,
116+
not with the planar-fin Barrowman equations.
117117

118118
.. seealso::
119119

@@ -185,23 +185,38 @@ Tube Fins
185185
~~~~~~~~~
186186

187187
Tube fins are defined by the number and length of the tubes, their inner and
188-
outer radii, and the rocket-body radius at the mounting position. Add them to a
189-
rocket with :meth:`rocketpy.Rocket.add_tube_fins` or create a
190-
:class:`rocketpy.TubeFins` object and pass it to
191-
:meth:`rocketpy.Rocket.add_surfaces`.
188+
outer radii, and the rocket-body radius at the mounting position. Create a
189+
:class:`rocketpy.TubeFins` object and add it to the rocket with
190+
:meth:`rocketpy.Rocket.add_surfaces`. The position is that of the leading edge
191+
of the tubes:
192192

193-
The current implementation is a subsonic normal-force model with these
194-
limits:
193+
.. code-block:: python
194+
195+
from rocketpy import TubeFins
196+
197+
tube_fins = TubeFins(
198+
n=6,
199+
length=0.12,
200+
inner_radius=0.060,
201+
outer_radius=0.0635,
202+
rocket_radius=0.0635,
203+
)
204+
rocket.add_surfaces(tube_fins, -1.1)
205+
206+
Things to know about the model:
195207

196-
- The center of pressure is fixed at one quarter of the tube length, measured
197-
from the leading edge. Use the model only through Mach 0.5.
198-
- Lift is capped at an absolute angle of attack of 20 degrees.
208+
- Each tube is treated as a ring wing on its own. The normal force and the
209+
center of pressure follow wind tunnel measurements of single ring wings made
210+
at low speed, and are used unchanged at every Mach number. Do not rely on
211+
the model above about Mach 0.8.
212+
- The normal force grows in proportion to the angle of attack, with no stall.
213+
- A roll rate is damped by the tubes.
199214
- At least three uncanted tubes must be distributed evenly around the body.
200-
Every tube must touch the body and both adjacent tubes. Separated and
201-
overlapping tube layouts are rejected.
202-
- The model does not calculate tube-fin friction drag, pressure drag, roll,
203-
side force, or yaw. Include tube-fin drag in the rocket's power-on and
204-
power-off drag curves.
215+
Every tube must touch the body and both adjacent tubes, which for six tubes
216+
means an outer radius equal to the body radius. Separated and overlapping
217+
tube layouts are rejected.
218+
- The model does not calculate tube-fin friction or pressure drag. Include
219+
tube-fin drag in the rocket's power-on and power-off drag curves.
205220

206221
For the equations and geometry constraint, see
207222
:doc:`Tube Fin Aerodynamics </technical/aerodynamics/tube_fins>`.
@@ -288,7 +303,6 @@ Fins can be added to a rocket using the ``Rocket`` class methods:
288303
- :meth:`rocketpy.Rocket.add_trapezoidal_fins`
289304
- :meth:`rocketpy.Rocket.add_elliptical_fins`
290305
- :meth:`rocketpy.Rocket.add_free_form_fins`
291-
- :meth:`rocketpy.Rocket.add_tube_fins`
292306
- :meth:`rocketpy.Rocket.add_surfaces` (for individual fins)
293307

294308
Tail

‎rocketpy/rocket/aero_surface/aero_surface.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ def _beta(mach):
3030
"""Defines a parameter that is often used in aerodynamic
3131
equations. It is commonly used in the Prandtl factor which
3232
corrects subsonic force coefficients for compressible flow.
33-
This is applied to the lift coefficient of the nose cone,
34-
fins and tails/transitions as in [1].
33+
This is applied to the lift coefficient of the fins as in [1].
34+
The lift coefficients of nose cones and tails/transitions do not
35+
depend on the Mach number, so the factor is not applied to them.
3536
3637
Parameters
3738
----------

0 commit comments

Comments
 (0)