Skip to content

Commit

Permalink
fix bug in total thrust computation
Browse files Browse the repository at this point in the history
  • Loading branch information
juddmehr committed Feb 25, 2025
1 parent f340103 commit 043881f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/postprocess/postprocess.jl
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ function post_process(

# - Total Thrust - #
total_thrust[] = sum(
[rotor_inviscid_thrust'; rotor_viscous_thrust'; body_thrust; body_viscous_drag]
[rotor_inviscid_thrust'; rotor_viscous_thrust'; body_thrust]
)

# - Total Torque - #
Expand Down Expand Up @@ -594,7 +594,7 @@ function post_process(
body_force_coefficient=body_force_coefficient,
inviscid_thrust=body_inviscid_thrust,
viscous_drag=body_viscous_drag,
thrust_comp=body_thrust,
thrust_comp=body_inviscid_thrust .+ body_viscous_drag,
total_thrust=sum(body_thrust),
induced_efficiency,
# surface pressures
Expand Down

0 comments on commit 043881f

Please sign in to comment.