Skip to content

Commit ed75036

Browse files
fix docs tests
1 parent bd3ced3 commit ed75036

File tree

1 file changed

+14
-23
lines changed

1 file changed

+14
-23
lines changed

rocketpy/simulation/flight.py

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3724,15 +3724,16 @@ def max_rail_button2_shear_force(self):
37243724
def calculate_rail_button_bending_moments(self):
37253725
"""Calculate internal bending moments at rail button attachment points.
37263726
3727-
This method uses beam theory to determine the internal structural
3728-
moments for stress analysis of the rail button attachments (fasteners
3729-
and airframe).
3727+
Uses beam theory to determine the internal structural moments for
3728+
stress analysis of the rail button attachments (fasteners and airframe).
37303729
37313730
The bending moment at each button attachment consists of:
37323731
3733-
1. Bending from shear force at button contact point: $M = S \\times h$,
3734-
where $S$ is the shear (tangential) force and $h$ is button height.
3735-
2. Direct moment contribution from the button's reaction forces.
3732+
1. Normal force moment: $M = N \\times d$, where $N$ is the normal
3733+
reaction force and $d$ is the distance from button to center of
3734+
dry mass.
3735+
2. Shear force cantilever moment: $M = S \\times h$, where $S$ is the
3736+
shear (tangential) force and $h$ is the button standoff height.
37363737
37373738
Returns
37383739
-------
@@ -3748,28 +3749,18 @@ def calculate_rail_button_bending_moments(self):
37483749
37493750
Notes
37503751
-----
3751-
This calculation is meaningful only during the rail phase of flight.
3752-
Maximum values use absolute values for worst-case stress analysis.
3753-
The bending moments represent internal stresses in the rocket airframe
3754-
at the rail button attachment points.
3752+
- Calculated only during the rail phase of flight
3753+
- Maximum values use absolute values for worst-case stress analysis
3754+
- The bending moments represent internal stresses in the rocket
3755+
airframe at the rail button attachment points
37553756
37563757
**Assumptions:**
37573758
37583759
- Rail buttons act as simple supports: provide reaction forces (normal
3759-
and shear) but no moment reaction at the rail contact point.
3760-
- The rocket acts as a beam supported at two points (rail buttons).
3760+
and shear) but no moment reaction at the rail contact point
3761+
- The rocket acts as a beam supported at two points (rail buttons)
37613762
- Bending moments arise from the lever arm effect of reaction forces
3762-
and the cantilever moment from button standoff height.
3763-
- Normal force moment: M = N x d, where N is normal reaction force
3764-
and d is distance from button to center of dry mass.
3765-
- Shear force cantilever moment: M = S x h, where S is shear force
3766-
and h is button standoff height.
3767-
3768-
Examples
3769-
--------
3770-
>>> moments = flight.calculate_rail_button_bending_moments
3771-
>>> print(moments[1]) # max rail button 1 bending moment
3772-
>>> print(moments[3]) # max rail button 2 bending moment
3763+
and the cantilever moment from button standoff height
37733764
"""
37743765
# Check if rail buttons exist
37753766
null_moment = Function(0)

0 commit comments

Comments
 (0)