summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Peter <blendoit@gmail.com>2019-06-22 19:51:54 -0700
committerMarius Peter <blendoit@gmail.com>2019-06-22 19:51:54 -0700
commit4fdb14b652ea2a1f13b0ea0b1daaa5b59d8b9f33 (patch)
tree482f5fc65468dc2abb27f21a078130053f5cfb32
parent618b61d6e8781a03ce60725783815b37214024c2 (diff)
various TODOs
-rw-r--r--creator.py1
-rw-r--r--main.py6
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
Copyright 2019--2024 Marius PETER