File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ function calculate_relative_alpha_and_relative_velocity(
270270 relative_velocity = panel. va .+ induced_velocity
271271 v_normal = dot (panel. z_airf, relative_velocity)
272272 v_tangential = dot (panel. x_airf, relative_velocity)
273- alpha = atan (v_normal / v_tangential)
273+ alpha = atan (v_normal, v_tangential)
274274
275275 return alpha, relative_velocity
276276end
@@ -354,7 +354,7 @@ function calculate_relative_alpha_and_velocity(panel::Panel, induced_velocity)
354354 relative_velocity = panel. va + induced_velocity
355355 v_normal = dot (panel. z_airf, relative_velocity)
356356 v_tangential = dot (panel. x_airf, relative_velocity)
357- alpha = atan (v_normal / v_tangential)
357+ alpha = atan (v_normal, v_tangential)
358358 return alpha, relative_velocity
359359end
360360
You can’t perform that action at this time.
0 commit comments