summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorMarius Peter <blendoit@gmail.com>2019-06-24 19:10:41 -0700
committerMarius Peter <blendoit@gmail.com>2019-06-24 19:10:41 -0700
commit576c9232ec279b6f9e50f7c4d56c9836208d1c07 (patch)
tree2ed84801a6857b24107a3d1c68d218094ef0c6f5 /main.py
parentd9e01e38d69111c71308b19bb60d315187f312d9 (diff)
variable name consistency & docstrings
Diffstat (limited to 'main.py')
-rw-r--r--main.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.py b/main.py
index 170901e..0a5dc7f 100644
--- a/main.py
+++ b/main.py
@@ -25,7 +25,7 @@ start_time = time.time()
# Airfoil dimensions
NACA_NUM = 2412
CHORD_LENGTH = 68 # inches
-SEMI_SPAN = 100 # inches
+SEMI_SPAN = 150 # inches
# Airfoil thickness
T_UPPER = 0.1
@@ -44,7 +44,7 @@ STRINGER_AREA = 0.1 # sqin
TOP_STRINGERS = 6
BOTTOM_STRINGERS = 4
NOSE_TOP_STRINGERS = 3
-NOSE_BOTTOM_STRINGERS = 6
+NOSE_BOTTOM_STRINGERS = 5
# population information & save path
POP_SIZE = 1
@@ -98,7 +98,7 @@ def main():
af.stringer.info_save(SAVE_PATH, _)
# Plot components with matplotlib
- creator.plot_geom(af)
+ # creator.plot_geom(af)
# Evaluator object contains airfoil analysis results.
eval = evaluator.Evaluator(af)
@@ -106,7 +106,7 @@ def main():
eval.analysis()
# eval.info_print(2)
eval.info_save(SAVE_PATH, _)
- # evaluator.plot_geom(eval)
+ evaluator.plot_geom(eval)
# evaluator.plot_lift(eval)
# Print final execution time
Copyright 2019--2024 Marius PETER