summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Peter <blendoit@gmail.com>2019-06-23 16:02:50 -0700
committerMarius Peter <blendoit@gmail.com>2019-06-23 16:02:50 -0700
commit0d4f7a9cf92c14d31d50eebfd2a6307f8d48e24c (patch)
tree1bccb20ad07ad880d8df3ce0c90fce36b54ac5a9
parent8d6a7e582479a6fc4e0b527c39773cd2d4858faf (diff)
commit to imperial units
-rw-r--r--creator.py2
-rw-r--r--main.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/creator.py b/creator.py
index 6dd3c1c..3d13c8f 100644
--- a/creator.py
+++ b/creator.py
@@ -46,7 +46,7 @@ class Coordinates:
def __init__(self, chord, semi_span):
# Global dimensions
- self.chord = chord if chord > 10 else 10
+ self.chord = chord if chord > 40 else 40
self.semi_span = semi_span
# mass and area
self.mass = float()
diff --git a/main.py b/main.py
index b2f67a3..b560a8d 100644
--- a/main.py
+++ b/main.py
@@ -24,8 +24,8 @@ start_time = time.time()
# Airfoil dimensions
NACA_NUM = 2412
-CHORD_LENGTH = 100
-SEMI_SPAN = 40
+CHORD_LENGTH = 68 # inches
+SEMI_SPAN = 100 # inches
# Airfoil thickness
T_UPPER = 0.1
@@ -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