Skip to content

Commit

Permalink
add drag margin and number of plys to elliptical fuselage
Browse files Browse the repository at this point in the history
  • Loading branch information
mjburton committed Apr 20, 2018
1 parent 07c738b commit 6c6cc70
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gpkitmodels/GP/aircraft/fuselage/elliptical_fuselage.py
Expand Up @@ -12,6 +12,7 @@ class FuselageAero(Model):
Cf [-] fuselage skin friction coefficient
Re [-] fuselage reynolds number
Cd [-] fuselage drag coefficient
mfac 1.0 [-] fuselage drag margin
"""
def setup(self, static, state):
Expand All @@ -26,7 +27,7 @@ def setup(self, static, state):
constraints = [
Re == V*rho*l/mu,
Cf >= 0.455/Re**0.3,
Cd >= Cf*k
Cd/mfac >= Cf*k
]

return constraints
Expand All @@ -47,6 +48,7 @@ class Fuselage(Model):
rhofuel 6.01 [lbf/gallon] density of 100LL
rhocfrp 1.6 [g/cm^3] density of CFRP
t [in] fuselage skin thickness
nply 2 [-] number of plys
"""
material = cfrpfabric
Expand All @@ -64,7 +66,7 @@ def setup(self):
3*(S/np.pi)**1.6075 >= 2*(l*R*2)**1.6075 + (2*R)**(2*1.6075),
Vol <= 4*np.pi/3*(l/2)*R**2,
W/mfac >= S*rhocfrp*t*g,
t >= 2*tmin,
t >= nply*tmin,
]

return constraints
Expand Down

0 comments on commit 6c6cc70

Please sign in to comment.