summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--creator.py4
-rw-r--r--main.py6
2 files changed, 5 insertions, 5 deletions
diff --git a/creator.py b/creator.py
index aa9fcbd..0bfe529 100644
--- a/creator.py
+++ b/creator.py
@@ -198,8 +198,8 @@ class Airfoil(Coordinates):
x_chord.extend(i for i in range(x_chord_25_percent, self.chord + 1))
# Reversed list for our lower airfoil coordinate densification
x_chord_rev = [i for i in range(self.chord, x_chord_25_percent, -1)]
- ext = [i / 10 for i in range(x_chord_25_percent * 10, -1, -1)]
- x_chord_rev.extend(ext)
+ extend = [i / 10 for i in range(x_chord_25_percent * 10, -1, -1)]
+ x_chord_rev.extend(extend)
# Generate our airfoil geometry from previous sub-functions.
for x in x_chord:
diff --git a/main.py b/main.py
index b62b24f..97cd492 100644
--- a/main.py
+++ b/main.py
@@ -23,8 +23,8 @@ import time
start_time = time.time()
# Airfoil dimensions
-NACA_NUM = 2412
-CHORD_LENGTH = 100
+NACA_NUM = 4412
+CHORD_LENGTH = 133
SEMI_SPAN = 140
# Airfoil thickness
@@ -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