summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorMarius Peter <blendoit@gmail.com>2019-06-21 20:19:07 -0700
committerMarius Peter <blendoit@gmail.com>2019-06-21 20:19:07 -0700
commit37fd84611a939bb707dc31ca7bfd9a7e6dd552ce (patch)
tree4f8876a8a1564014b9721e2ab9fcb04715f54321 /main.py
parent9780f7eabdce984692994250b8a179cff1dc135c (diff)
all plots coherent
Diffstat (limited to 'main.py')
-rw-r--r--main.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/main.py b/main.py
index a59fcff..f5f4496 100644
--- a/main.py
+++ b/main.py
@@ -32,7 +32,11 @@ SPAR_MASS = 10 # lbs
STRINGER_MASS = 5 # lbs
# Area
-STRINGER_AREA = 0.1 # sqin
+STRINGER_AREA = 1 # sqin
+TOP_STRINGERS = 4
+BOTTOM_STRINGERS = 6
+NOSE_TOP_STRINGERS = 4
+NOSE_BOTTOM_STRINGERS = 7
# population information
POP_SIZE = 1
@@ -73,7 +77,11 @@ def main():
# Create stringer instance
af.stringer = creator.Stringer()
# Compute the stringer coordinates from their quantity in each zone
- af.stringer.add_coord(af.coord, af.spar.coord, 4, 7, 5, 6)
+ af.stringer.add_coord(af.coord, af.spar.coord,
+ NOSE_TOP_STRINGERS,
+ TOP_STRINGERS,
+ NOSE_BOTTOM_STRINGERS,
+ BOTTOM_STRINGERS)
af.stringer.add_area(STRINGER_AREA)
af.stringer.add_mass(STRINGER_MASS)
# af.stringer.info_print(2)
Copyright 2019--2024 Marius PETER