Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed incorrect surface moment derivatives and added a moment output to the component #449

Merged
merged 12 commits into from
Dec 18, 2024
Prev Previous commit
Next Next commit
Removed debugging lines
sabakhshi committed Dec 13, 2024
commit 5a4e9e49e0481639a65d6814504143d7de561c6a
2 changes: 0 additions & 2 deletions openaerostruct/functionals/moment_coefficient.py
Original file line number Diff line number Diff line change
@@ -121,8 +121,6 @@ def compute(self, inputs, outputs):

# Output the moment vector
outputs["M"] = M
if not self.under_complex_step:
print(M)

# Compute the normalized CM
outputs["CM"] = M / (0.5 * inputs["rho"] * inputs["v"] ** 2 * inputs["S_ref_total"] * self.MAC_wing)