Skip to content

Commit

Permalink
ensure wave drag is dropped from wing calculations if specified
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdsharpe committed Dec 30, 2023
1 parent 027ac52 commit 1a0928d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aerosandbox/aerodynamics/aero_3D/aero_buildup.py
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ def compute_section_aerodynamics(
##### Compute sectional lift at cross-sections using lookup functions. Merge them linearly to get section CL.
kwargs = dict(
alpha=alpha_generalized_effective,
mach=mach_normal,
mach=mach_normal if self.include_wave_drag else 0.,
control_surfaces=symmetry_treated_control_surfaces,
model_size=self.model_size,
)
Expand Down

0 comments on commit 1a0928d

Please sign in to comment.