Skip to content

Commit

Permalink
MNT: completing compute_forces_and_moments docs for fins class
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas-Prates authored and Gui-FernandesBR committed Sep 14, 2024
1 parent 7f29049 commit c7a4179
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions rocketpy/rocket/aero_surface/fins/fins.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,28 @@ def compute_forces_and_moments(
): # pylint: disable=arguments-differ
"""Computes the forces and moments acting on the aerodynamic surface.
Parameters
----------
stream_velocity : tuple of float
The velocity of the airflow relative to the surface.
stream_speed : float
The magnitude of the airflow speed.
stream_mach : float
The Mach number of the airflow.
rho : float
Air density.
cp : Vector
Center of pressure coordinates in the body frame.
omega: tuple[float, float, float]
Tuple containing angular velocities around the x, y, z axes.
Returns
-------
tuple of float
The aerodynamic forces (lift, side_force, drag) and moments
(pitch, yaw, roll) in the body frame.
"""

R1, R2, R3, M1, M2, _ = super().compute_forces_and_moments(
stream_velocity,
stream_speed,
Expand Down

0 comments on commit c7a4179

Please sign in to comment.