From 4fdb14b652ea2a1f13b0ea0b1daaa5b59d8b9f33 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sat, 22 Jun 2019 19:51:54 -0700 Subject: various TODOs --- creator.py | 1 + main.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/creator.py b/creator.py index e8bba68..78c537d 100644 --- a/creator.py +++ b/creator.py @@ -302,6 +302,7 @@ class Stringer(Coordinates): self.z_u.append(airfoil.z_u[index]) x += interval # Add upper stringers from first spar until last spar + # TODO: stringer placement if only one spar is created interval = (airfoil.spar.x_u[-1] - airfoil.spar.x_u[0]) / (stringer_u_2 + 1) x = interval + airfoil.spar.x_u[0] diff --git a/main.py b/main.py index acaf774..fd8855f 100644 --- a/main.py +++ b/main.py @@ -41,9 +41,9 @@ SPAR_CAP_AREA = 0.3 # sqin STRINGER_AREA = 0.1 # sqin # Amount of stringers -TOP_STRINGERS = 7 -BOTTOM_STRINGERS = 6 -NOSE_TOP_STRINGERS = 4 +TOP_STRINGERS = 0 +BOTTOM_STRINGERS = 18 +NOSE_TOP_STRINGERS = 0 NOSE_BOTTOM_STRINGERS = 5 # population information & save path -- cgit v1.2.3