Skip to content

Commit

Permalink
Update runScript_AeroStruct.py
Browse files Browse the repository at this point in the history
  • Loading branch information
friedenhe authored Sep 12, 2024
1 parent fbc6dcb commit 607a4f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MACH_Tutorial_Wing/runScript_AeroStruct.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def aoa(val, DASolver):

# add constraints and the objective
self.add_objective("cruise.aero_post.CD", scaler=1.0)
self.add_constraint("cruise.aero_post.CL", equals=0.3, scaler=1.0)
self.add_constraint("cruise.aero_post.CL", equals=CL_target, scaler=1.0)
# stress constraint
self.add_constraint("cruise.ks_vmfailure", lower=0.0, upper=1.0, scaler=1.0)
self.add_constraint("geometry.thickcon", lower=0.5, upper=3.0, scaler=1.0)
Expand Down

0 comments on commit 607a4f7

Please sign in to comment.