Skip to content

Commit

Permalink
delete lambda as input to wing setup for tails
Browse files Browse the repository at this point in the history
  • Loading branch information
mjburton committed Oct 26, 2017
1 parent f45cf25 commit 283231f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions gpkitmodels/GP/aircraft/tail/horizontal_tail.py
Expand Up @@ -14,8 +14,9 @@ class HorizontalTail(Wing):
sparModel = None

def setup(self, N=3, lam=0.8):
self.ascs = Wing.setup(self, N, lam)
self.planform.substitutions.update({"AR": 4, "\\tau": 0.08})
self.ascs = Wing.setup(self, N)
self.planform.substitutions.update({"AR": 4, "\\tau": 0.08,
"\\lambda": 0.8})
self.skin.substitutions.update({"\\rho_{CFRP}": 0.049})
self.foam.substitutions.update({"\\bar{A}_{jh01}": 0.0548,
"\\rho_{foam}": 0.024})
Expand Down
4 changes: 2 additions & 2 deletions gpkitmodels/GP/aircraft/tail/vertical_tail.py
Expand Up @@ -13,8 +13,8 @@ class VerticalTail(Wing):
sparModel = None
def setup(self, N=3, lam=0.8):

self.ascs = Wing.setup(self, N, lam)
self.planform.substitutions.update({"\\tau": 0.08})
self.ascs = Wing.setup(self, N)
self.planform.substitutions.update({"\\tau": 0.08, "\\lambda": 0.8})
self.skin.substitutions.update({"\\rho_{CFRP}": 0.049})
self.foam.substitutions.update({"\\bar{A}_{jh01}": 0.0548,
"\\rho_{foam}": 0.024})
Expand Down

0 comments on commit 283231f

Please sign in to comment.