From 043881f52ac124c5d1dc2711b68c55e9150f4bae Mon Sep 17 00:00:00 2001 From: juddmehr Date: Tue, 25 Feb 2025 13:45:58 -0700 Subject: [PATCH] fix bug in total thrust computation --- src/postprocess/postprocess.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/postprocess/postprocess.jl b/src/postprocess/postprocess.jl index e0cf9c6..ae20f35 100644 --- a/src/postprocess/postprocess.jl +++ b/src/postprocess/postprocess.jl @@ -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 - # @@ -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